From f130ffebcace2cae5935e8ee193551fdaaab84f6 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Fri, 20 May 2022 14:26:30 -0500 Subject: [PATCH] Back up old old blog --- CSS/-.css | 1508 +++++ CSS/blog.css | 81 + Download/private​​​.html | 358 ++ Download/​​​ A Mathematical Curiosity.html | 335 ++ .../6a6c4f0379e4178a33eff87191d6d1d881722905.png | Bin 0 -> 1807 bytes .../922786.css | 1508 +++++ .../aops_core.js | 10 + .../aops_errors.js | 4 + .../aopsmods.js | 1791 ++++++ .../avatar_394107.jpg | Bin 0 -> 4144 bytes .../blog_router.js | 582 ++ .../blog_views.js | 1669 ++++++ .../bs_edit.gif | Bin 0 -> 568 bytes .../cmty_core.js | 8 + .../codemirror-compressed.js | 18 + .../codemirrorEdited.css | 627 ++ .../common-combined-2.js | 7 + .../community.css | 1 + .../community_common.css | 1 + .../community_data.js | 497 ++ .../community_header.css | 1 + .../community_term_tag_dictionary.js | 1 + .../community_topics.js | 1 + .../dropzone.css | 388 ++ .../dropzone.js | 3530 +++++++++++ .../epic-fail.css | 35 + .../​​​ A Mathematical Curiosity_files/feed.css | 10 + .../font-awesome.css | 1338 +++++ .../header.css | 125 + .../hyperion.css | 630 ++ .../icon_post_target.gif | Bin 0 -> 122 bytes .../jquery-ui.js | 12 + .../​​​ A Mathematical Curiosity_files/jquery.js | 543 ++ .../jquery_002.js | 6 + .../​​​ A Mathematical Curiosity_files/main.css | 5190 +++++++++++++++++ .../​​​ A Mathematical Curiosity_files/minus.gif | Bin 0 -> 278 bytes .../​​​ A Mathematical Curiosity_files/plus.gif | Bin 0 -> 284 bytes .../polyfill.js | 3 + .../precomp_blogs.js | 1 + .../precomp_community_common.js | 1 + .../precomp_in_community.js | 1 + .../prism-autoloader.js | 407 ++ .../prism-tomorrow.css | 122 + .../​​​ A Mathematical Curiosity_files/prism.js | 1026 ++++ .../skulpt-stdlib.js | 1 + .../​​​ A Mathematical Curiosity_files/skulpt.js | 1004 ++++ .../source_recording.js | 2 + Download/​​​ Hello, World!.html | 398 ++ Download/​​​ Hello, World!_files/1086531.css | 81 + Download/​​​ Hello, World!_files/aops_core.js | 10 + Download/​​​ Hello, World!_files/aops_errors.js | 4 + Download/​​​ Hello, World!_files/aopsmods.js | 1791 ++++++ .../​​​ Hello, World!_files/avatar_531700.jpg | Bin 0 -> 7572 bytes Download/​​​ Hello, World!_files/blog_router.js | 582 ++ Download/​​​ Hello, World!_files/blog_views.js | 1669 ++++++ Download/​​​ Hello, World!_files/bs_edit.gif | Bin 0 -> 568 bytes Download/​​​ Hello, World!_files/cmty_core.js | 8 + .../codemirror-compressed.js | 18 + .../​​​ Hello, World!_files/codemirrorEdited.css | 627 ++ .../​​​ Hello, World!_files/common-combined-2.js | 7 + Download/​​​ Hello, World!_files/community.css | 1 + .../​​​ Hello, World!_files/community_common.css | 1 + .../​​​ Hello, World!_files/community_data.js | 497 ++ .../​​​ Hello, World!_files/community_header.css | 1 + .../community_term_tag_dictionary.js | 1 + .../​​​ Hello, World!_files/community_topics.js | 1 + Download/​​​ Hello, World!_files/dropzone.css | 388 ++ Download/​​​ Hello, World!_files/dropzone.js | 3530 +++++++++++ Download/​​​ Hello, World!_files/epic-fail.css | 35 + Download/​​​ Hello, World!_files/feed.css | 10 + .../​​​ Hello, World!_files/font-awesome.css | 1338 +++++ Download/​​​ Hello, World!_files/header.css | 125 + Download/​​​ Hello, World!_files/hyperion.css | 630 ++ .../​​​ Hello, World!_files/icon_post_target.gif | Bin 0 -> 122 bytes Download/​​​ Hello, World!_files/jquery-ui.js | 12 + Download/​​​ Hello, World!_files/jquery.js | 543 ++ Download/​​​ Hello, World!_files/jquery_002.js | 6 + Download/​​​ Hello, World!_files/main.css | 5190 +++++++++++++++++ Download/​​​ Hello, World!_files/minus.gif | Bin 0 -> 278 bytes Download/​​​ Hello, World!_files/plus.gif | Bin 0 -> 284 bytes Download/​​​ Hello, World!_files/polyfill.js | 3 + .../​​​ Hello, World!_files/precomp_blogs.js | 1 + .../precomp_community_common.js | 1 + .../precomp_in_community.js | 1 + .../​​​ Hello, World!_files/prism-autoloader.js | 407 ++ .../​​​ Hello, World!_files/prism-tomorrow.css | 122 + Download/​​​ Hello, World!_files/prism.js | 1026 ++++ .../​​​ Hello, World!_files/skulpt-stdlib.js | 1 + Download/​​​ Hello, World!_files/skulpt.js | 1004 ++++ .../​​​ Hello, World!_files/source_recording.js | 2 + Download/​​​ This blog is dead.html | 367 ++ Download/​​​ This blog is dead_files/1086531.css | 81 + .../​​​ This blog is dead_files/aops_core.js | 10 + .../​​​ This blog is dead_files/aops_errors.js | 4 + Download/​​​ This blog is dead_files/aopsmods.js | 1791 ++++++ .../avatar_531700.jpg | Bin 0 -> 7572 bytes .../​​​ This blog is dead_files/blog_router.js | 582 ++ .../​​​ This blog is dead_files/blog_views.js | 1669 ++++++ Download/​​​ This blog is dead_files/bs_edit.gif | Bin 0 -> 568 bytes .../​​​ This blog is dead_files/cmty_core.js | 8 + .../codemirror-compressed.js | 18 + .../codemirrorEdited.css | 627 ++ .../common-combined-2.js | 7 + .../​​​ This blog is dead_files/community.css | 1 + .../community_common.css | 1 + .../community_data.js | 497 ++ .../community_header.css | 1 + .../community_term_tag_dictionary.js | 1 + .../community_topics.js | 1 + .../​​​ This blog is dead_files/dropzone.css | 388 ++ Download/​​​ This blog is dead_files/dropzone.js | 3530 +++++++++++ .../​​​ This blog is dead_files/epic-fail.css | 35 + Download/​​​ This blog is dead_files/feed.css | 10 + .../​​​ This blog is dead_files/font-awesome.css | 1338 +++++ Download/​​​ This blog is dead_files/header.css | 125 + .../​​​ This blog is dead_files/hyperion.css | 630 ++ .../icon_post_target.gif | Bin 0 -> 122 bytes .../​​​ This blog is dead_files/jquery-ui.js | 12 + Download/​​​ This blog is dead_files/jquery.js | 543 ++ .../​​​ This blog is dead_files/jquery_002.js | 6 + Download/​​​ This blog is dead_files/main.css | 5190 +++++++++++++++++ Download/​​​ This blog is dead_files/minus.gif | Bin 0 -> 278 bytes Download/​​​ This blog is dead_files/plus.gif | Bin 0 -> 284 bytes Download/​​​ This blog is dead_files/polyfill.js | 3 + .../​​​ This blog is dead_files/precomp_blogs.js | 1 + .../precomp_community_common.js | 1 + .../precomp_in_community.js | 1 + .../prism-autoloader.js | 407 ++ .../prism-tomorrow.css | 122 + Download/​​​ This blog is dead_files/prism.js | 1026 ++++ .../​​​ This blog is dead_files/skulpt-stdlib.js | 1 + Download/​​​ This blog is dead_files/skulpt.js | 1004 ++++ .../source_recording.js | 2 + Download/​​​ This is a test.html | 334 ++ Download/​​​ This is a test_files/922786.css | 1508 +++++ Download/​​​ This is a test_files/aops_core.js | 10 + Download/​​​ This is a test_files/aops_errors.js | 4 + Download/​​​ This is a test_files/aopsmods.js | 1791 ++++++ .../​​​ This is a test_files/avatar_394107.jpg | Bin 0 -> 4144 bytes Download/​​​ This is a test_files/blog_router.js | 582 ++ Download/​​​ This is a test_files/blog_views.js | 1669 ++++++ Download/​​​ This is a test_files/bs_edit.gif | Bin 0 -> 568 bytes Download/​​​ This is a test_files/cmty_core.js | 8 + .../codemirror-compressed.js | 18 + .../codemirrorEdited.css | 627 ++ .../common-combined-2.js | 7 + Download/​​​ This is a test_files/community.css | 1 + .../community_common.css | 1 + .../​​​ This is a test_files/community_data.js | 497 ++ .../community_header.css | 1 + .../community_term_tag_dictionary.js | 1 + .../​​​ This is a test_files/community_topics.js | 1 + Download/​​​ This is a test_files/dropzone.css | 388 ++ Download/​​​ This is a test_files/dropzone.js | 3530 +++++++++++ Download/​​​ This is a test_files/epic-fail.css | 35 + Download/​​​ This is a test_files/feed.css | 10 + .../​​​ This is a test_files/font-awesome.css | 1338 +++++ Download/​​​ This is a test_files/header.css | 125 + Download/​​​ This is a test_files/hyperion.css | 630 ++ .../icon_post_target.gif | Bin 0 -> 122 bytes Download/​​​ This is a test_files/jquery-ui.js | 12 + Download/​​​ This is a test_files/jquery.js | 543 ++ Download/​​​ This is a test_files/jquery_002.js | 6 + Download/​​​ This is a test_files/main.css | 5190 +++++++++++++++++ Download/​​​ This is a test_files/minus.gif | Bin 0 -> 278 bytes Download/​​​ This is a test_files/plus.gif | Bin 0 -> 284 bytes Download/​​​ This is a test_files/polyfill.js | 3 + .../​​​ This is a test_files/precomp_blogs.js | 1 + .../precomp_community_common.js | 1 + .../precomp_in_community.js | 1 + .../​​​ This is a test_files/prism-autoloader.js | 407 ++ .../​​​ This is a test_files/prism-tomorrow.css | 122 + Download/​​​ This is a test_files/prism.js | 1026 ++++ .../​​​ This is a test_files/skulpt-stdlib.js | 1 + Download/​​​ This is a test_files/skulpt.js | 1004 ++++ .../​​​ This is a test_files/source_recording.js | 2 + Download/​​​.html | 427 ++ Download/​​​_files/1086531.css | 81 + .../6a6c4f0379e4178a33eff87191d6d1d881722905.png | Bin 0 -> 1807 bytes Download/​​​_files/922786.css | 1508 +++++ Download/​​​_files/aops_core.js | 10 + Download/​​​_files/aops_errors.js | 4 + Download/​​​_files/aopsmods.js | 1791 ++++++ Download/​​​_files/avatar_394107.jpg | Bin 0 -> 4144 bytes Download/​​​_files/avatar_531700.jpg | Bin 0 -> 7572 bytes Download/​​​_files/blog_router.js | 582 ++ Download/​​​_files/blog_views.js | 1669 ++++++ Download/​​​_files/bs_edit.gif | Bin 0 -> 568 bytes Download/​​​_files/cmty_core.js | 8 + Download/​​​_files/codemirror-compressed.js | 18 + Download/​​​_files/codemirrorEdited.css | 627 ++ Download/​​​_files/common-combined-2.js | 7 + Download/​​​_files/community.css | 1 + Download/​​​_files/community_common.css | 1 + Download/​​​_files/community_data.js | 497 ++ Download/​​​_files/community_header.css | 1 + .../​​​_files/community_term_tag_dictionary.js | 1 + Download/​​​_files/community_topics.js | 1 + Download/​​​_files/dropzone.css | 388 ++ Download/​​​_files/dropzone.js | 3530 +++++++++++ Download/​​​_files/epic-fail.css | 35 + Download/​​​_files/feed.css | 10 + Download/​​​_files/font-awesome.css | 1338 +++++ Download/​​​_files/header.css | 125 + Download/​​​_files/hyperion.css | 630 ++ Download/​​​_files/icon_post_target.gif | Bin 0 -> 122 bytes Download/​​​_files/jquery-ui.js | 12 + Download/​​​_files/jquery.js | 6 + Download/​​​_files/jquery_002.js | 543 ++ Download/​​​_files/main.css | 5190 +++++++++++++++++ Download/​​​_files/minus.gif | Bin 0 -> 278 bytes Download/​​​_files/plus.gif | Bin 0 -> 284 bytes Download/​​​_files/polyfill.js | 3 + Download/​​​_files/precomp_blogs.js | 1 + Download/​​​_files/precomp_community_common.js | 1 + Download/​​​_files/precomp_in_community.js | 1 + Download/​​​_files/prism-autoloader.js | 407 ++ Download/​​​_files/prism-tomorrow.css | 122 + Download/​​​_files/prism.js | 1026 ++++ Download/​​​_files/skulpt-stdlib.js | 1 + Download/​​​_files/skulpt.js | 1004 ++++ Download/​​​_files/source_recording.js | 2 + Source/a-mathematical-curiosity.md | 14 + Source/hello-world-old.md | 78 + Source/this-blog-is-dead.md | 33 + Source/this-is-a-test.md | 12 + 226 files changed, 106677 insertions(+) create mode 100644 CSS/-.css create mode 100644 CSS/blog.css create mode 100644 Download/private​​​.html create mode 100644 Download/​​​ A Mathematical Curiosity.html create mode 100644 Download/​​​ A Mathematical Curiosity_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png create mode 100644 Download/​​​ A Mathematical Curiosity_files/922786.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/aops_core.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/aops_errors.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/aopsmods.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/avatar_394107.jpg create mode 100644 Download/​​​ A Mathematical Curiosity_files/blog_router.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/blog_views.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/bs_edit.gif create mode 100644 Download/​​​ A Mathematical Curiosity_files/cmty_core.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/codemirror-compressed.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/codemirrorEdited.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/common-combined-2.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/community.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/community_common.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/community_data.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/community_header.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/community_term_tag_dictionary.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/community_topics.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/dropzone.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/dropzone.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/epic-fail.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/feed.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/font-awesome.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/header.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/hyperion.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/icon_post_target.gif create mode 100644 Download/​​​ A Mathematical Curiosity_files/jquery-ui.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/jquery.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/jquery_002.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/main.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/minus.gif create mode 100644 Download/​​​ A Mathematical Curiosity_files/plus.gif create mode 100644 Download/​​​ A Mathematical Curiosity_files/polyfill.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/precomp_blogs.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/precomp_community_common.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/precomp_in_community.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/prism-autoloader.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/prism-tomorrow.css create mode 100644 Download/​​​ A Mathematical Curiosity_files/prism.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/skulpt-stdlib.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/skulpt.js create mode 100644 Download/​​​ A Mathematical Curiosity_files/source_recording.js create mode 100644 Download/​​​ Hello, World!.html create mode 100644 Download/​​​ Hello, World!_files/1086531.css create mode 100644 Download/​​​ Hello, World!_files/aops_core.js create mode 100644 Download/​​​ Hello, World!_files/aops_errors.js create mode 100644 Download/​​​ Hello, World!_files/aopsmods.js create mode 100644 Download/​​​ Hello, World!_files/avatar_531700.jpg create mode 100644 Download/​​​ Hello, World!_files/blog_router.js create mode 100644 Download/​​​ Hello, World!_files/blog_views.js create mode 100644 Download/​​​ Hello, World!_files/bs_edit.gif create mode 100644 Download/​​​ Hello, World!_files/cmty_core.js create mode 100644 Download/​​​ Hello, World!_files/codemirror-compressed.js create mode 100644 Download/​​​ Hello, World!_files/codemirrorEdited.css create mode 100644 Download/​​​ Hello, World!_files/common-combined-2.js create mode 100644 Download/​​​ Hello, World!_files/community.css create mode 100644 Download/​​​ Hello, World!_files/community_common.css create mode 100644 Download/​​​ Hello, World!_files/community_data.js create mode 100644 Download/​​​ Hello, World!_files/community_header.css create mode 100644 Download/​​​ Hello, World!_files/community_term_tag_dictionary.js create mode 100644 Download/​​​ Hello, World!_files/community_topics.js create mode 100644 Download/​​​ Hello, World!_files/dropzone.css create mode 100644 Download/​​​ Hello, World!_files/dropzone.js create mode 100644 Download/​​​ Hello, World!_files/epic-fail.css create mode 100644 Download/​​​ Hello, World!_files/feed.css create mode 100644 Download/​​​ Hello, World!_files/font-awesome.css create mode 100644 Download/​​​ Hello, World!_files/header.css create mode 100644 Download/​​​ Hello, World!_files/hyperion.css create mode 100644 Download/​​​ Hello, World!_files/icon_post_target.gif create mode 100644 Download/​​​ Hello, World!_files/jquery-ui.js create mode 100644 Download/​​​ Hello, World!_files/jquery.js create mode 100644 Download/​​​ Hello, World!_files/jquery_002.js create mode 100644 Download/​​​ Hello, World!_files/main.css create mode 100644 Download/​​​ Hello, World!_files/minus.gif create mode 100644 Download/​​​ Hello, World!_files/plus.gif create mode 100644 Download/​​​ Hello, World!_files/polyfill.js create mode 100644 Download/​​​ Hello, World!_files/precomp_blogs.js create mode 100644 Download/​​​ Hello, World!_files/precomp_community_common.js create mode 100644 Download/​​​ Hello, World!_files/precomp_in_community.js create mode 100644 Download/​​​ Hello, World!_files/prism-autoloader.js create mode 100644 Download/​​​ Hello, World!_files/prism-tomorrow.css create mode 100644 Download/​​​ Hello, World!_files/prism.js create mode 100644 Download/​​​ Hello, World!_files/skulpt-stdlib.js create mode 100644 Download/​​​ Hello, World!_files/skulpt.js create mode 100644 Download/​​​ Hello, World!_files/source_recording.js create mode 100644 Download/​​​ This blog is dead.html create mode 100644 Download/​​​ This blog is dead_files/1086531.css create mode 100644 Download/​​​ This blog is dead_files/aops_core.js create mode 100644 Download/​​​ This blog is dead_files/aops_errors.js create mode 100644 Download/​​​ This blog is dead_files/aopsmods.js create mode 100644 Download/​​​ This blog is dead_files/avatar_531700.jpg create mode 100644 Download/​​​ This blog is dead_files/blog_router.js create mode 100644 Download/​​​ This blog is dead_files/blog_views.js create mode 100644 Download/​​​ This blog is dead_files/bs_edit.gif create mode 100644 Download/​​​ This blog is dead_files/cmty_core.js create mode 100644 Download/​​​ This blog is dead_files/codemirror-compressed.js create mode 100644 Download/​​​ This blog is dead_files/codemirrorEdited.css create mode 100644 Download/​​​ This blog is dead_files/common-combined-2.js create mode 100644 Download/​​​ This blog is dead_files/community.css create mode 100644 Download/​​​ This blog is dead_files/community_common.css create mode 100644 Download/​​​ This blog is dead_files/community_data.js create mode 100644 Download/​​​ This blog is dead_files/community_header.css create mode 100644 Download/​​​ This blog is dead_files/community_term_tag_dictionary.js create mode 100644 Download/​​​ This blog is dead_files/community_topics.js create mode 100644 Download/​​​ This blog is dead_files/dropzone.css create mode 100644 Download/​​​ This blog is dead_files/dropzone.js create mode 100644 Download/​​​ This blog is dead_files/epic-fail.css create mode 100644 Download/​​​ This blog is dead_files/feed.css create mode 100644 Download/​​​ This blog is dead_files/font-awesome.css create mode 100644 Download/​​​ This blog is dead_files/header.css create mode 100644 Download/​​​ This blog is dead_files/hyperion.css create mode 100644 Download/​​​ This blog is dead_files/icon_post_target.gif create mode 100644 Download/​​​ This blog is dead_files/jquery-ui.js create mode 100644 Download/​​​ This blog is dead_files/jquery.js create mode 100644 Download/​​​ This blog is dead_files/jquery_002.js create mode 100644 Download/​​​ This blog is dead_files/main.css create mode 100644 Download/​​​ This blog is dead_files/minus.gif create mode 100644 Download/​​​ This blog is dead_files/plus.gif create mode 100644 Download/​​​ This blog is dead_files/polyfill.js create mode 100644 Download/​​​ This blog is dead_files/precomp_blogs.js create mode 100644 Download/​​​ This blog is dead_files/precomp_community_common.js create mode 100644 Download/​​​ This blog is dead_files/precomp_in_community.js create mode 100644 Download/​​​ This blog is dead_files/prism-autoloader.js create mode 100644 Download/​​​ This blog is dead_files/prism-tomorrow.css create mode 100644 Download/​​​ This blog is dead_files/prism.js create mode 100644 Download/​​​ This blog is dead_files/skulpt-stdlib.js create mode 100644 Download/​​​ This blog is dead_files/skulpt.js create mode 100644 Download/​​​ This blog is dead_files/source_recording.js create mode 100644 Download/​​​ This is a test.html create mode 100644 Download/​​​ This is a test_files/922786.css create mode 100644 Download/​​​ This is a test_files/aops_core.js create mode 100644 Download/​​​ This is a test_files/aops_errors.js create mode 100644 Download/​​​ This is a test_files/aopsmods.js create mode 100644 Download/​​​ This is a test_files/avatar_394107.jpg create mode 100644 Download/​​​ This is a test_files/blog_router.js create mode 100644 Download/​​​ This is a test_files/blog_views.js create mode 100644 Download/​​​ This is a test_files/bs_edit.gif create mode 100644 Download/​​​ This is a test_files/cmty_core.js create mode 100644 Download/​​​ This is a test_files/codemirror-compressed.js create mode 100644 Download/​​​ This is a test_files/codemirrorEdited.css create mode 100644 Download/​​​ This is a test_files/common-combined-2.js create mode 100644 Download/​​​ This is a test_files/community.css create mode 100644 Download/​​​ This is a test_files/community_common.css create mode 100644 Download/​​​ This is a test_files/community_data.js create mode 100644 Download/​​​ This is a test_files/community_header.css create mode 100644 Download/​​​ This is a test_files/community_term_tag_dictionary.js create mode 100644 Download/​​​ This is a test_files/community_topics.js create mode 100644 Download/​​​ This is a test_files/dropzone.css create mode 100644 Download/​​​ This is a test_files/dropzone.js create mode 100644 Download/​​​ This is a test_files/epic-fail.css create mode 100644 Download/​​​ This is a test_files/feed.css create mode 100644 Download/​​​ This is a test_files/font-awesome.css create mode 100644 Download/​​​ This is a test_files/header.css create mode 100644 Download/​​​ This is a test_files/hyperion.css create mode 100644 Download/​​​ This is a test_files/icon_post_target.gif create mode 100644 Download/​​​ This is a test_files/jquery-ui.js create mode 100644 Download/​​​ This is a test_files/jquery.js create mode 100644 Download/​​​ This is a test_files/jquery_002.js create mode 100644 Download/​​​ This is a test_files/main.css create mode 100644 Download/​​​ This is a test_files/minus.gif create mode 100644 Download/​​​ This is a test_files/plus.gif create mode 100644 Download/​​​ This is a test_files/polyfill.js create mode 100644 Download/​​​ This is a test_files/precomp_blogs.js create mode 100644 Download/​​​ This is a test_files/precomp_community_common.js create mode 100644 Download/​​​ This is a test_files/precomp_in_community.js create mode 100644 Download/​​​ This is a test_files/prism-autoloader.js create mode 100644 Download/​​​ This is a test_files/prism-tomorrow.css create mode 100644 Download/​​​ This is a test_files/prism.js create mode 100644 Download/​​​ This is a test_files/skulpt-stdlib.js create mode 100644 Download/​​​ This is a test_files/skulpt.js create mode 100644 Download/​​​ This is a test_files/source_recording.js create mode 100644 Download/​​​.html create mode 100644 Download/​​​_files/1086531.css create mode 100644 Download/​​​_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png create mode 100644 Download/​​​_files/922786.css create mode 100644 Download/​​​_files/aops_core.js create mode 100644 Download/​​​_files/aops_errors.js create mode 100644 Download/​​​_files/aopsmods.js create mode 100644 Download/​​​_files/avatar_394107.jpg create mode 100644 Download/​​​_files/avatar_531700.jpg create mode 100644 Download/​​​_files/blog_router.js create mode 100644 Download/​​​_files/blog_views.js create mode 100644 Download/​​​_files/bs_edit.gif create mode 100644 Download/​​​_files/cmty_core.js create mode 100644 Download/​​​_files/codemirror-compressed.js create mode 100644 Download/​​​_files/codemirrorEdited.css create mode 100644 Download/​​​_files/common-combined-2.js create mode 100644 Download/​​​_files/community.css create mode 100644 Download/​​​_files/community_common.css create mode 100644 Download/​​​_files/community_data.js create mode 100644 Download/​​​_files/community_header.css create mode 100644 Download/​​​_files/community_term_tag_dictionary.js create mode 100644 Download/​​​_files/community_topics.js create mode 100644 Download/​​​_files/dropzone.css create mode 100644 Download/​​​_files/dropzone.js create mode 100644 Download/​​​_files/epic-fail.css create mode 100644 Download/​​​_files/feed.css create mode 100644 Download/​​​_files/font-awesome.css create mode 100644 Download/​​​_files/header.css create mode 100644 Download/​​​_files/hyperion.css create mode 100644 Download/​​​_files/icon_post_target.gif create mode 100644 Download/​​​_files/jquery-ui.js create mode 100644 Download/​​​_files/jquery.js create mode 100644 Download/​​​_files/jquery_002.js create mode 100644 Download/​​​_files/main.css create mode 100644 Download/​​​_files/minus.gif create mode 100644 Download/​​​_files/plus.gif create mode 100644 Download/​​​_files/polyfill.js create mode 100644 Download/​​​_files/precomp_blogs.js create mode 100644 Download/​​​_files/precomp_community_common.js create mode 100644 Download/​​​_files/precomp_in_community.js create mode 100644 Download/​​​_files/prism-autoloader.js create mode 100644 Download/​​​_files/prism-tomorrow.css create mode 100644 Download/​​​_files/prism.js create mode 100644 Download/​​​_files/skulpt-stdlib.js create mode 100644 Download/​​​_files/skulpt.js create mode 100644 Download/​​​_files/source_recording.js create mode 100644 Source/a-mathematical-curiosity.md create mode 100644 Source/hello-world-old.md create mode 100644 Source/this-blog-is-dead.md create mode 100644 Source/this-is-a-test.md diff --git a/CSS/-.css b/CSS/-.css new file mode 100644 index 0000000..b240e55 --- /dev/null +++ b/CSS/-.css @@ -0,0 +1,1508 @@ +/*! + * City.css v2.0.0 + * + * Inspired by Air (by asf), Libre (by PythonNut), and Grey (by Tungsten) + * + * https://github.com/tyxchen/aops-city | Released under the MIT License + */ +/** + * Components + */ +@import url(//brick.a.ssl.fastly.net/Raleway:200,300/Merriweather:200,200i,700,700i/Lato:400,700); +@import url("https://fonts.googleapis.com/css?family=Titillium+Web:100,200,300,375,400,500,600,700,800,900"); +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); +/** + * Groups + */ +/* Reset background, padding, border & margin */ +#main, #navigation_box, #header h1, .cmty-hide-content, .bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body, fieldset { + /* Source for %reset-all */ + background: none; + padding: 0; + border: none; + margin: 0; +} + +/* Set box-sizing to border-box */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, #wrapper, #main, #right_navigation_box a, .cmty-posting-modal { + /* Source for %border-box */ + box-sizing: border-box; +} + +/* Set box-sizing to content-box */ +#navigation_box, #blog_keywords + div, .cmty-posting-modal .aops-close-x { + /* Source for %content-box */ + box-sizing: content-box; +} + +/* No user select */ +#navigation_box, #header h1, .cmty-posting-preview-bar { + /* Source for %no-user-select */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Pseudo-element shared styles */ +body::after, #content::before { + /* Source for %pseudo */ + content: ''; + position: absolute; +} + +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6, #navigation_box a, #header h1, .bbcode_quote_head, #user-menu-widget .username-colored, #blog_keywords, .cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before, .cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .aops-modal-title { + /* Source for %heading */ + font-family: Raleway, Lato, Roboto, 'Segoe UI', 'Lucida Grande', 'DejaVu Sans', sans-serif; +} + +/* Import font for modals */ +:root .btn, :root .cmty-editable-item-close, .blog-reply-window, #post-new-entry, .aops-modal-body, +#flyout, #main::after { + /* Source for %modal-font */ + font-family: Lato, 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; +} + +/* Transitions */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, :root .btn, :root .cmty-editable-item-close, #navigation_box, #right_navigation_box a, div.entry h2 > a::before, div.comment h2 > a::before, pre::before, #blog_keywords, .cmty-item-tag, .entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Source for %transition03 */ + transition: 0.3s ease; +} + +/** + * Modules + */ +/** + * General module + * + * Encompasses shared styles for individual component elements + */ +a:link, +a:hover, +a:visited { + color: #2b2b2b; +} + +a:focus { + border-bottom: 1px dotted #ccc !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + /* Rule extends %heading */ + color: inherit; +} + +h1 { + font-size: 1.7em; +} + +h2 { + font-size: 1.2em; +} + +[style*='underline'], .message a:link, +.message a:hover, +.message a:visited, .cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Source for %link-underline */ + text-decoration: none !important; + background-image: linear-gradient(to bottom, currentColor, currentColor); + background-size: 1px 1px; + background-repeat: repeat-x; + background-position: 0 1.06em; +} + +[style*='underline'] { + /* Rule extends %link-underline */ +} + +input[type='text'], +textarea, +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + background-color: #fff; + font-size: inherit; +} + +:root input[type='text'], +:root +textarea, +:root .cmty-poll-question, +:root +.cmty-poll-inputs { + border-width: 0 0 1px; + border-color: #d9d9d9; +} + +:root input[type='text']:hover, +:root +textarea:hover, +:root .cmty-poll-question:hover, +:root +.cmty-poll-inputs:hover { + border-color: #ccc; +} + +:root input[type='text']:focus, +:root +textarea:focus, +:root .cmty-poll-question:focus, +:root +.cmty-poll-inputs:focus { + border-width: 0 0 1px; + border-style: solid; + border-color: #aaa; +} + +:root .btn, :root .cmty-editable-item-close { + /* Rule extends %modal-font */ + /* Rule extends %transition03 */ + background-color: #fff; + color: #444; + font-size: inherit; + line-height: 1.4em; + padding: 0 0.8em; + background: none; + border: none; + margin: 0; + width: auto; + height: 1.4em; +} + +:root .btn:hover, :root .cmty-editable-item-close:hover { + color: #444; + background-color: #f2f2f2; +} + +:root .btn:focus, :root .cmty-editable-item-close:focus { + background-color: #e6e6e6; +} + +::-webkit-scrollbar { + background-color: #fff; + width: 0.6rem; + height: 0.6rem; +} + +::-webkit-scrollbar-thumb { + background-color: #ccc; + border: solid #fff; + border-width: 0.2rem 0.25rem; + border-radius: 0.5rem; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:active { + background-color: #aaa; +} + +::-webkit-scrollbar-thumb:horizontal { + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:horizontal:hover { + border-width: 0.15rem; +} + +/** + * Layout module + * + * Encompasses body, wrapper, and general layout + */ +body { + font-family:'Titillium Web', sans-serif; + font-size: 1rem; + color: #444; + overflow-x: hidden; +} + +body::after { + /* Rule extends %pseudo */ + position: fixed; + background-image: url("https://cdn.artofproblemsolving.com/images/6/a/2/6a28bd61ace416f184719463cacd5268c000cee3.png"); + background-position: 0; + background-size: cover; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 25vh; +} + +#wrapper { + /* Rule extends %border-box */ + width: 100%; + padding: 0; + background: none; + border: none; +} + +#content { + position: relative; + background-color: #fff; + padding: 0 calc((100% - 48em) / 2); + padding-top: 5vh; + margin-top: 72vh; +} + +#content::before { + /* Rule extends %pseudo */ + background-image: linear-gradient(to top, rgba(51, 51, 51, 0.4) 0, rgba(51, 51, 51, 0.1) 60%, transparent 100%); + top: -15vh; + left: 0; + right: 0; + bottom: 100%; +} + +#main { + /* Rule extends %reset-all */ + /* Rule extends %border-box */ + position: relative; + width: 100%; + padding-bottom: 3em; +} + +/** + * Header module + * + * Encompasses the header and the navigation bar + */ +#navigation_box a, #header h1 { + /* Source for %title */ + /* Rule extends %heading */ + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#navigation_box { + /* Rule extends %reset-all */ + /* Rule extends %content-box */ + /* Rule extends %no-user-select */ + /* Rule extends %transition03 */ + position: fixed; + color: transparent; + background-color: #fff; + font-size: 1em; + white-space: nowrap; + padding: 0 1em; + border-bottom: 1px solid #e6e6e6; + opacity: 0.95; + z-index: 100; + top: 0; + left: 0; + right: 0; + width: auto; + height: 3rem; +} + +#navigation_box a { + /* Rule extends %title */ + display: inline; + color: #333; + text-shadow: none; + font-size: inherit; + font-weight: 300; + line-height: 3rem; + padding: 1.1em 0.4em; + border-top: 0.2em solid #333; + margin: 0 -0.3em; + transition: 0.3s ease; +} + +#left_navigation_box { + height: 100%; + font-size: inherit; + line-height: inherit; +} + +#left_navigation_box a:hover, +#left_navigation_box a:focus, +#left_navigation_box a:last-child { + padding-top: 0.75em; + color: #1a1a1a; +} + +#right_navigation_box { + position: relative; + margin-right: 2.7rem; + width: 7.5em; + height: 3em; +} + +#right_navigation_box a { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + position: absolute; + color: transparent; + font-size: 0.01px; + background-color: transparent; + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + width: 2.5rem; + height: 3rem; +} + +#right_navigation_box a:hover, #right_navigation_box a:focus { + background-color: #e6e6e6; + border-bottom: none !important; +} + +#right_navigation_box .blog-info { + left: 0; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjE0IiBjeD0iMTUiIGN5PSIxNSIvPjxjaXJjbGUgaWQ9ImRvdCIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiByPSIxIiBjeD0iMTUiIGN5PSI3LjUiLz48cGF0aCBpZD0iaSIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiBkPSJtMTIuNSwxMS41bDMuNSwwbDAsMTFxMCwwLjUgMC41LDAuNWwxLDBsMCwxbC01LDBsMCwtMWwxLDBxMC41LDAgMC41LC0wLjVsMCwtOS41cTAsLTAuNSAtMC41LC0wLjVsLTEsMGwwLC0xeiIvPjwvZz48L3N2Zz4="); +} + +#right_navigation_box #blog-subscribe { + left: 2.5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box #blog-subscribe[title*='stop'] { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9IiMzMzMiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login, +#right_navigation_box .blog-logout { + left: 5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTE2LDExbC00LjUsNC41bDQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-logout { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTIyLDExbDQuNSw0LjVsLTQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login + .blog-info { + left: 2.5rem; + background-color: #fff; + z-index: 12; +} + +#right_navigation_box .blog-login + .blog-info:hover { + background-color: #e6e6e6; +} + +#header { + position: fixed; + height: 2em; + z-index: 0; + top: calc(36vh - 2.5rem); + left: 0; + right: 0; + background: none; + border: none; +} + +#header h1 { + /* Rule extends %title */ + /* Rule extends %reset-all */ + /* Rule extends %no-user-select */ + font-size: 5rem; + font-weight: 200; + text-decoration: none; + z-index: 10; +} + +#header a:focus h1::before { + content: '\f015'; + position: absolute; + font-family: FontAwesome; + font-size: 0.6em; + opacity: 0.3; + margin-left: -1em; +} + +/** + * Entry module + * + * Encompasses entries and comments + */ +div.actions, +div.modactions { + font-size: 0.7em; +} + +#main > div:first-child { + margin-top: 1em; +} + +div.entrywrap, div.commentwrap, +div.entry, +div.comment { + line-height: 2em; + background-color: transparent; + border: none; +} + +div.entrywrap a, div.commentwrap a { + text-decoration: none !important; +} + +div.entry, div.comment { + position: relative; + padding: 0 1.2em; + margin: 0 -1.4em; +} + +div.entry h1, div.comment h1 { + overflow: hidden; + text-overflow: ellipsis; + padding-right: 0; +} + +div.entry h2, div.comment h2 { + font-size: 0.9em; + margin-left: 0.3em; +} + +div.entry h2 > a::before, div.comment h2 > a::before { + /* Rule extends %transition03 */ + content: '\00B6'; + position: absolute; + color: transparent; + font-size: 1.7em; + margin-right: 0.3em; + top: -2.15rem; + left: -1em; +} + +div.entry h2 img, div.comment h2 img { + display: none; +} + +div.entry h2 .username-colored, div.comment h2 .username-colored, +div.entry h2 .username-coloured, div.comment h2 .username-coloured { + color: #090909 !important; + font-weight: normal; +} + +div.entry:hover h2 > a::before, div.comment:hover h2 > a::before { + color: #ccc; +} + +div.commentwrap { + /* Rule extends .entrywrap */ + padding: 0.5em; + margin: 0.5em; +} + +div.comment { + /* Rule extends .entry */ +} + +.cfooter .author { + margin: 0.7em 0; +} + +.cfooter .author::before { + content: '\2767'; + vertical-align: middle; + font-size: 1.3em; + margin-right: 0.1em; +} + +.cfooter .author img { + display: none; +} + +.cfooter .author strong { + font-weight: normal; +} + +.message { + overflow-x: auto; +} + +.message a:link, +.message a:hover, +.message a:visited { + /* Rule extends %link-underline */ +} + +.message a:visited { + color: #444; +} + +.cmty-hide-heading:link, +.cmty-hide-heading:hover { + border-bottom: none; + background-image: linear-gradient(to right, currentColor 0%, currentColor 50%, #fff 50%, #fff 100%); + background-size: 2px 1px; +} + +.cmty-hide-content { + /* Rule extends %reset-all */ +} + +.bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body { + /* Rule extends %reset-all */ +} + +.bbcode_quote { + width: 90%; + margin: auto; +} + +.bbcode_quote_head { + /* Rule extends %heading */ + color: #aaa; + font-size: 1.1em; + font-weight: normal; + margin-left: 1rem; +} + +.bbcode_quote_head::before { + content: ''; +} + +.bbcode_quote_body { + font-size: 1.4em; + margin: 0.5em 1rem; +} + +.bbcode_quote_body .bbcode_quote_head { + font-size: 0.7em; + margin-top: 1rem; +} + +.bbcode_quote_body .bbcode_quote_body { + font-size: 0.8em; +} + +pre { + position: relative; + font-family: Monaco, 'DejaVu Mono', Consolas, monospace; + white-space: pre; + overflow-x: auto; + margin: 0.5em 1rem; +} + +pre[class] a:link { + background-image: none; +} + +pre::before { + /* Rule extends %transition03 */ + content: 'code'; + position: absolute; + background-color: #fff; + color: #aaa; + opacity: 0.8; + padding: 0 0.7em; + top: 0; + right: 0; +} + +pre[class]::before { + content: attr(class); +} + +pre:hover::before { + opacity: 0.2; +} + +pre.cpp::before { + content: 'c++'; +} + +.cmty-poll-display { + margin-top: 0; + margin-bottom: 1em; + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-poll-display .cmty-poll-result-bar { + background-color: #d9d9d9; +} + +/** + * Side module + * + * Encompasses sidebar + */ +#side { + padding: 0; + width: 0; + height: 0; +} + +#side > div { + display: none; +} + +#user-menu-widget { + display: block !important; + font-size: 0.01px; +} + +#user-menu-widget p { + display: none; +} + +#user-menu-widget .avatar { + position: absolute; + display: block; + margin-left: -2.5rem; + top: -2.95rem; + left: 50%; +} + +#user-menu-widget .avatar img { + background-color: #ccc; + display: block; + color: transparent; + border-radius: 50%; + border: 1px solid #ccc; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored { + /* Rule extends %heading */ + position: absolute; + display: block; + color: transparent; + font-size: 0.8rem; + text-overflow: ellipsis; + line-height: 5rem; + border-radius: 50%; + padding: 0.1rem; + margin-left: -2.5rem; + overflow: hidden; + z-index: 1; + transition: 0.15s 0.06s ease-in; + top: -2.55rem; + left: 50%; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored::after { + content: ""; + position: absolute; + background-image: linear-gradient(to bottom, transparent, transparent 30%, rgba(51, 51, 51, 0.3)); + background-position: 50% 0; + opacity: 0; + z-index: -1; + transition: 0.3s ease-out; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#user-menu-widget .username-colored:hover { + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#user-menu-widget .username-colored:hover::after { + opacity: 1; +} + +#search-widget { + display: block !important; + z-index: 10; +} + +#search-widget .widget-header, +#search-widget .widget-content div { + display: none; +} + +fieldset { + /* Rule extends %reset-all */ +} + +#blog_keywords { + /* Rule extends %heading */ + /* Rule extends %transition03 */ + position: fixed; + top: 0; + right: 0; + display: block; + background-color: transparent; + border-left: 2.4em solid #fff !important; + z-index: 100; + cursor: pointer; + transition: all 0s linear, width 0.3s ease, background-color 0s 0.3s linear; + border: none; + box-shadow: none; + border-radius: 0; + width: 0; + height: 3rem; +} + +#blog_keywords:focus { + width: 15em; + background-color: #e6e6e6; + color: #333; + padding-left: 0.5em; + padding-right: 3.1em; + border-left: none !important; + cursor: auto; + transition: all 0s linear, width 0.3s ease, background-color 0s linear; +} + +#blog_keywords + div { + /* Rule extends %content-box */ + position: fixed; + top: -3px; + right: 0; + display: block !important; + font-size: 0; + overflow: hidden; + pointer-events: none; + z-index: 100; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjEwIiBjeD0iMTEiIGN5PSIxMSIvPjxwYXRoIGlkPSJsaW5lIiBzdHJva2U9IiMzMzMiIGQ9Im0yNy4wNjk2OTEsMzAuMTUxMTFsLTkuNjQxODIxLC0xMS40OTA2NjkiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + border-left: 1px solid #e6e6e6; + transition: background-color 0.3s ease 0.114s, border-right-color 0.3s ease 0.114s; + width: 2.6rem; + height: 3rem; +} + +#blog_keywords:hover + div { + background-color: #e6e6e6; + transition: background-color 0.3s ease; +} + +#blog_keywords:focus + div { + background-color: #e6e6e6; + border-right-color: #e6e6e6; + transition: background-color 0.3s ease, border-right-color 0.3s ease; +} + +#blog_keywords + div input { + display: none; +} + +/** + * Posting module + * + * Encompasses posting & commenting forms + */ +@-webkit-keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +@keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.cmty-posting-modal { + /* Rule extends %border-box */ + border-width: 1.8rem; + border-color: #fff; + box-shadow: 0 0 10% #444; + max-width: 100% !important; + max-height: 100% !important; + /* autoprefixer: off */ + -webkit-transform: none !important; + transform: none !important; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + width: 100% !important; + height: 100% !important; +} + +.cmty-posting-modal .aops-close-x { + /* Rule extends %content-box */ + top: -32px; + right: -32px; + color: transparent; + padding: 1em; + border-radius: 0; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9IngiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwyOCwyOG0wLC0yOGwtMjgsMjgiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: 40%; + background-position: center; + background-clip: content-box; +} + +.cmty-posting-modal .cmty-posting-box-container, +.cmty-posting-modal .cmty-post-preview { + width: 50%; + height: calc(100% - 11.9rem) !important; + margin-top: 1rem; +} + +.cmty-posting-modal .cmty-posting-box-container { + float: left; +} + +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea, +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea:focus { + border-width: 0; +} + +.cmty-posting-modal .cmty-post-preview { + display: block !important; + float: right; + border-left: 1px solid #d9d9d9; +} + +.cmty-posting-modal .cmty-edit-post .cmty-posting-box-container, +.cmty-posting-modal .cmty-edit-post .cmty-post-preview { + height: calc(100% - 9.5rem) !important; +} + +.cmty-posting-modal .cmty-posting-with-poll .cmty-posting-box-container, +.cmty-posting-modal .cmty-posting-with-poll .cmty-post-preview { + height: calc(100% - 26.8rem) !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar { + position: fixed; + left: -100%; +} + +.cmty-posting-modal .cmty-posting-preview-bar-hidden { + display: none !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar-shown { + display: block !important; +} + +.cmty-posting-modal .cmty-refresh-preview, +.cmty-posting-modal .cmty-preview-bar-attachments { + position: fixed; + bottom: 0; + font-size: 0.8rem; + padding: 0.5em; + margin: 0; +} + +.cmty-posting-modal .cmty-refresh-preview { + z-index: 1; + border-top: 1px solid #d9d9d9; + left: 1.8rem; + right: 1.8rem; +} + +.cmty-posting-modal .cmty-preview-bar-attachments { + z-index: 10; + left: 1.5rem; +} + +.cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .cmty-posting-box-container .cmty-post-textarea { + /* Source for %faux-placeholder-input */ + position: relative; + background-color: transparent !important; + transition: background-color 0.3s 6s ease, border-color 0.3s ease; +} + +.cmty-posting-subject-line .cmty-subject-input:focus, .cmty-tags-line .cmty-items-input:focus, .cmty-posting-box-container .cmty-post-textarea:focus { + background-color: #fff !important; + transition: background-color 0.3s 0s ease, border-color 0.3s ease; +} + +.cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before { + /* Rule extends %heading */ + position: absolute; + opacity: 0; + color: #aaa; + font-size: inherit; + -webkit-animation: flash-post-fields 6s ease; + animation: flash-post-fields 6s ease; +} + +.cmty-posting-subject-line { + position: relative; + font-size: 2.5em; + padding: 10px 0; +} + +.cmty-posting-subject-line .cmty-heading-text { + margin: 0.3em 0.1em; +} + +.cmty-posting-subject-line .cmty-subject-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding-left: 0.1rem !important; + width: 100%; + height: 2em; +} + +.cmty-posting-subject-line .cmty-subject-input:focus { + padding-left: 0.1rem !important; +} + +.cmty-posting-subject-line .cmty-post-in { + display: none; +} + +.cmty-tags-line { + padding: 0; +} + +.cmty-tags-line .cmty-heading-text { + text-align: left; + margin: 0.2em 0.3em; +} + +.cmty-tags-line .cmty-items-input-box { + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-tags-line .cmty-items-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding: 0.3em !important; + margin-bottom: 0.5em; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.cmty-tags-line .cmty-items-input:hover { + border-color: #ccc !important; +} + +.cmty-tags-line .cmty-items-input:focus { + padding: 0.3em !important; + border-color: #aaa !important; +} + +.cmty-poll-build { + background-color: #fff; + color: #444; + border-bottom: 1px solid #d9d9d9; +} + +.cmty-poll-build .cmty-poll-inputs { + height: 6em; + resize: none; +} + +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends textarea */ + padding: 0.3em 0.2em; +} + +.cmty-poll-question:focus, +.cmty-poll-inputs:focus { + padding: 0.3em 0.2em; +} + +.cmty-poll-left, +.cmty-poll-right { + width: 100%; +} + +.cmty-posting-box-container::before { + content: 'Message'; + font-size: 1.2em; + margin: 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea { + /* Rule extends %faux-placeholder-input */ + padding: 0 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea:focus { + padding: 0 0.3em; +} + +.cmty-posting-preview-bar { + /* Rule extends %no-user-select */ + background-color: #fff; + color: #444; +} + +.cmty-post-preview-text { + font-family:'Titillium Web', sans-serif; + word-wrap: break-word; + padding: 0 1em 1em !important; +} + +.cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Rule extends %link-underline */ +} + +.cmty-post-preview-text a:visited { + color: #444; +} + +.cmty-posting-top, +.cmty-posting-button-row { + color: #444; + background: none; +} + +.cmty-posting-environ-buttons .btn, .cmty-posting-environ-buttons .cmty-editable-item-close { + vertical-align: top; +} + +.cmty-bbcode-btn { + height: 1.4em; +} + +.cmty-bbcode-other { + color: #444; + z-index: 0; +} + +.blog-reply-window { + /* Rule extends %modal-font */ + position: relative; + z-index: 1; + background-color: #fff; + display: none !important; + padding: 0 1em; + border: 1px solid #fff; + border-top-color: #e6e6e6; +} + +.blog-reply-window.blog-reply-open { + display: block !important; +} + +.blog-reply-window.blog-reply-open::before { + content: ''; + display: table; + clear: both; +} + +.blog-reply-window .cmty-posting-box-container::before { + content: 'Comment'; +} + +.blog-reply-window .cmty-posting-environ { + top: -2.1em; + z-index: 1; + margin-bottom: -2.1em; +} + +.blog-reply-window .cmty-posting-button-row { + background-color: #fff; +} + +.blog-reply-window .cmty-cancel-posting-x { + color: #444; +} + +.blog-reply-window .cmty-submit-button { + float: left; +} + +.blog-reply-window .cmty-posting-button-row.cmty-phone { + margin-bottom: 1.1em; +} + +.blog-reply-window .cmty-post-preview { + border: none; +} + +.cmty-edit-post .cmty-heading-text, +.cmty-edit-post .cmty-posting-box-container::before { + -webkit-animation: none; + animation: none; +} + +/** + * Miscellaneous stuff + */ +#post-new-entry { + /* Rule extends %modal-font */ +} + +#post-new-entry-img { + display: none; +} + +div.post-tags { + font-size: 0.9em; + margin-top: 2em; +} + +.cmty-item-tag { + /* Rule extends %transition03 */ + background-color: #fff !important; + color: #aaa !important; + font-size: 0.7em; +} + +.cmty-item-tag:hover { + background-color: #e6e6e6 !important; +} + +.entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Rule extends %transition03 */ + display: inline; + width: auto; + background-color: transparent !important; + padding: 0em 0.2em !important; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.entrywrap .cmty-items-input:hover, div.commentwrap .cmty-items-input:hover { + border-color: #ccc !important; +} + +.entrywrap .cmty-items-input:focus, div.commentwrap .cmty-items-input:focus { + padding: 0em 0.2em !important; + border-color: #aaa !important; +} + +.cmty-editable-item-close { + /* Rule extends .btn */ + font-family: AoPS; +} + +.cmty-editable-item-close:hover { + background-color: #fff; +} + +#feed-wrapper { + display: none; +} + +#main > h1 { + padding-bottom: 0.2em; + border-bottom: 1px solid #e6e6e6; + margin-top: 0.5em; + margin-bottom: 1.3em; +} + +#main > p:not([id]) { + position: relative; + float: right; + z-index: 1; + margin-top: 1.5em; +} + +#main > p:not([id]) a:link, +#main > p:not([id]) a:hover, +#main > p:not([id]) a:visited { + color: #aaa; +} + +.aops-modal-title { + /* Rule extends %heading */ +} + +.aops-modal-body, +#flyout { + /* Rule extends %modal-font */ +} + +#flyout { + text-align: left; + padding-right: 5px; +} + +#main::after { + /* Rule extends %modal-font */ + content: "City made by NMK, with \262d."; + position: relative; + top: 2em; + display: block; + color: #aaa; + font-size: 0.8em; + text-align: center; +} + +/** + * @media module + */ +@media all { + html { + font-size: 17px; + } +} + +@media only screen and (max-width: 1000px) { + body::after { + height: 16rem; + } + #content { + margin-top: 16rem; + padding-top: 2em; + padding-left: 2em; + padding-right: 2em; + } + #content::before { + display: none; + } + #header { + top: 5.75rem; + } + #header h1 { + font-size: 2.5rem; + text-overflow: ellipsis; + overflow: hidden; + } + #navigation_box { + font-size: 0; + opacity: 1; + } + #left_navigation_box a:nth-last-child(2) { + display: inline-block; + font-size: 1rem; + padding: 0 0.7em; + border-top: none; + } + #left_navigation_box a:nth-last-child(2):hover { + background-color: #e6e6e6; + } + #left_navigation_box a:nth-last-child(2)::before { + content: "\3008"; + font-size: 0.9em; + padding-right: 0.2em; + } + #right_navigation_box { + display: none; + } + #blog_keywords + div { + height: calc(3rem + 1px); + } + #blog_keywords:focus { + width: 100%; + } + #user-menu-widget .avatar { + top: -2.45rem; + margin-left: -2rem; + } + #user-menu-widget .avatar img { + width: 4rem; + height: 4rem; + } + #user-menu-widget .username-colored { + display: none; + } + div.quotetitle, + div.quotecontent { + border-left: 1px solid #ccc; + padding-left: 0.5rem; + margin: 0; + } + div.quotecontent { + padding-top: 0.5em; + } + .codetitle { + display: block; + margin-top: 1em; + } + .codetitle b { + font-weight: normal; + } + pre::before { + display: none; + } + .cmty-posting-modal { + border-top-width: 0; + border-bottom-width: 0.8rem; + } + .aops-modal-open { + position: fixed; + overflow: hidden; + width: 100%; + height: 100%; + } + .cmty-posting-modal .cmty-post-preview, + .cmty-posting-preview-bar { + display: none !important; + } + .cmty-posting-modal .cmty-posting-box-container { + width: 100%; + float: none; + } + .cmty-posting-modal .cmty-posting-button-row { + display: none; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone { + display: block; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-posting-environ-buttons { + width: auto; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .btn, .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-editable-item-close { + display: inline-block; + width: auto; + } + .cmty-post-textarea, + .cmty-post-textarea:focus { + border-width: 0 0 1px; + border-radius: 0; + } +} + +/*Loading bar*/ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/*The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top)*/ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/CSS/blog.css b/CSS/blog.css new file mode 100644 index 0000000..9fcd6d2 --- /dev/null +++ b/CSS/blog.css @@ -0,0 +1,81 @@ +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); + +/* Loading bar */ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/private​​​.html b/Download/private​​​.html new file mode 100644 index 0000000..06bb190 --- /dev/null +++ b/Download/private​​​.html @@ -0,0 +1,358 @@ + + + + + + + + + + + + + + + + + + ​​​ + + + + + + + + + + + + + + + +
+ +

+ Post New Entry +

+

This is a test

+

by Ta180m, Jan 22, 2020, 10:51 AM

+
+ +
This is a test.
+
+
+
+
L
+ + +
+ +
+ +
+
+
+
+
+ +
+

A Mathematical Curiosity

+

by Ta-180m, Aug 13, 2019, 6:51 PM

+
+ +
An interesting mathematical curiosity:
+$$\sum_{n=2}^{\infty} \sum_{p=2}^{\infty} \frac{1}{n^p} = 1$$As a challenge, try to prove it!
+
+
+
+
+ + +
+ +
+ +
+
+
+
+
+ +
+

The zero-width space (U+200B) is arguably the +hackiest and most versatile character in Unicode. Discover more unusual +and useless facts here!

+

avatar

+ + Ta-180m + +
+
Archives
+
+
+
+
+ + + - + January 2020 + + +
+ +
+
+
+ + + + + August 2019 + + + +
+
+
+
Shouts
+
+
+ +
Submit +
+
+ +
+
+
    + 0 shouts +
    +
    +
    Contributors
    +
    +
    + +
    +
    Tags
    +
    +
    +
    +
    +
    +
    +
    About Owner
    +
    +
    +
    +
      +
    • + Posts: + 8 +
    • +
    • + Joined: + Jan 9, 2018 +
    • +
    +
    +
    +
    Blog Stats
    +
    +
    +
    +
      +
    • + Blog created: + Aug 13, 2019 +
    • +
    • + Total entries: + 2 +
    • +
    • + Total visits: + 7 +
    • +
    • + Total comments: + 0 +
    • + +
    +
    +
    +
    +
    +
    Search Blog
    +
    +
    +
    +
    +
    + +
    + +
    +
    + +
    +
    +
    + +
    + Invalid username +
    + +
    + Login to AoPS +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + +
    + +
    +
    +
    + + + +
    + + + + + + + + + + + + + + + + + +
    +
    a
    w
    m
    E
    +
    +
    \ No newline at end of file diff --git a/Download/​​​ A Mathematical Curiosity.html b/Download/​​​ A Mathematical Curiosity.html new file mode 100644 index 0000000..dd9a5dd --- /dev/null +++ b/Download/​​​ A Mathematical Curiosity.html @@ -0,0 +1,335 @@ + + + + + + + + + + + + + + + + + + ​​​ : A Mathematical Curiosity + + + + + + + + + + + + + + + +
    + +

    + Post New Entry +

    +

    A Mathematical Curiosity

    +

    by Ta-180m, Aug 13, 2019, 6:51 PM

    +
    + +
    An interesting mathematical curiosity:
    +$$\sum_{n=2}^{\infty} \sum_{p=2}^{\infty} \frac{1}{n^p} = 1$$As a challenge, try to prove it!
    +
    +
    +
    +
    + + +
    + +
    + +
    +
    +
    +
    +
    + +

    + Comment +

    +
    +
    + +

    0 Comments

    + +
    +
    +

    The zero-width space (U+200B) is arguably the +hackiest and most versatile character in Unicode. Discover more unusual +and useless facts here!

    +

    avatar

    + + Ta-180m + +
    +
    Archives
    +
    +
    +
    +
    + + + - + January 2020 + + +
    + +
    +
    +
    + + + + + August 2019 + + + +
    +
    +
    +
    Shouts
    +
    +
    + +
    Submit +
    +
    + +
    +
    +
      + 0 shouts +
      +
      +
      Contributors
      +
      +
      + +
      +
      Tags
      +
      +
      +
      +
      +
      +
      +
      About Owner
      +
      +
      +
      +
        +
      • + Posts: + 8 +
      • +
      • + Joined: + Jan 9, 2018 +
      • +
      +
      +
      +
      Blog Stats
      +
      +
      +
      +
        +
      • + Blog created: + Aug 13, 2019 +
      • +
      • + Total entries: + 2 +
      • +
      • + Total visits: + 7 +
      • +
      • + Total comments: + 0 +
      • + +
      +
      +
      +
      +
      +
      Search Blog
      +
      +
      +
      +
      +
      + +
      + +
      +
      + +
      +
      +
      + +
      + Invalid username +
      + +
      + Login to AoPS +
      +
      +
      +
      + +
      +
      + +
      +
      +
      +
      + +
      +
      + +
      +
      +
      +
      +
      +
      +
      + + + +
      + +
      +
      +
      + + + +
      + + + + + + + + + + + + + + + + + +
      +
      a
      w
      m
      E
      +
      +
      \ No newline at end of file diff --git a/Download/​​​ A Mathematical Curiosity_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png b/Download/​​​ A Mathematical Curiosity_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png new file mode 100644 index 0000000000000000000000000000000000000000..4e32b706f257cd53a9e54cecb8c8a8c76595bc8f GIT binary patch literal 1807 zcmV+q2k`ibP)=p`2DQwUOA6s2S>Mf(vJ}8pD*kVP~QteU%qtsdvA%WID z6|x{j>`Nj=T3e-kQL7Xiiz2iSStzs*q6wmc4>qma?Y;Z^&m}W+E_2OPeCP+soSgsU z{Fyob?VMczlfA9^37-zRe;vz%!AZCBM5&7$fCN7ZZdyN5Jn^g+N2e2kv7V;|fULT%A%#(}P-Rl82_D+HlRuk00^B`fX- zLXB^vy`B_HH0SCxl2N=a2!Es3hqJYt^bDj%lesMG_2FrNv$N2>{p~)9TadG?hCKfK z*~^k|!oBq?vTh%e?`%H}kgMU765#_gkGBE7!uh^LSX*dDQ3#2)epxORE_V*$I1Ce! z6pp}Mg|Ty2VeH&h$TER4+J;anyCF;wO5qsd!d8n7+l@&}hOmsd-jcnxv#iVh;im|v zFo$^6`B^#s6HU6x_;3>OO{eh4-a6tuaD-C`E77PPYz|d%(P$+RZ?Q7v1JvsRCm|K4 zaX7t2wz^=pYU1?!a2?kZQlV1D`8L;AKr^);Kzx+{LhmNm5mF(vQ25Qz>KNB7nG`R} za!)z5!UE!LzOOj6{T`xFa}3(-=dcQ)idsd+a>~4pBVOla`4aO{SvkL-AL7lFWT8Ga zuL%@aSYcM6r#ok;JwOrB{henWs>NYTg7^RdKVCvTt;x*Ti6~uBP z*o>+$@8xV=cP|YNr*Pb>GO2Fz5K8!DsYToB(7#ya4Rq7r0kq6`O39f#P)hFbz z^=ri=8>HORNMvI5i6Hz3KEWXIiGx;4^a*9;!dT)H&kq|CpGb+BI;<10DsWWpfVCOKUQj zbzZ7MO|$PVJ&xq!xvc>sVD5s1zf9qGGNEJ1^(Rs8kShzPws(Y_W#mu7~RdXbo9jdFu(o-ixaV!PSmCUOzI)${QOpkVlC-RHW!WR9AR!5&rF;5S3o$edZn#~Q9 zz5X+f1}v6bcrHz)ZeQ# zrYQ-nVq^u6(||xw&8%?seBrTSD?tWwk}V(31}v6bp>i_ARe0yEK$D@{>2;j4!doyR zw0`3^ijxkb$*Yi14PlxLq(131nja|idCunxtgdV09uIC%|PCFk(U^mIA!##2g`3?%t>!_l)+dw6ZL{r6Vp-_DXu x>3s*Nw*5xLOwc`MToeQDF=L~K8~uia002ovPDHLkV1gAwK==Rv literal 0 HcmV?d00001 diff --git a/Download/​​​ A Mathematical Curiosity_files/922786.css b/Download/​​​ A Mathematical Curiosity_files/922786.css new file mode 100644 index 0000000..b240e55 --- /dev/null +++ b/Download/​​​ A Mathematical Curiosity_files/922786.css @@ -0,0 +1,1508 @@ +/*! + * City.css v2.0.0 + * + * Inspired by Air (by asf), Libre (by PythonNut), and Grey (by Tungsten) + * + * https://github.com/tyxchen/aops-city | Released under the MIT License + */ +/** + * Components + */ +@import url(//brick.a.ssl.fastly.net/Raleway:200,300/Merriweather:200,200i,700,700i/Lato:400,700); +@import url("https://fonts.googleapis.com/css?family=Titillium+Web:100,200,300,375,400,500,600,700,800,900"); +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); +/** + * Groups + */ +/* Reset background, padding, border & margin */ +#main, #navigation_box, #header h1, .cmty-hide-content, .bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body, fieldset { + /* Source for %reset-all */ + background: none; + padding: 0; + border: none; + margin: 0; +} + +/* Set box-sizing to border-box */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, #wrapper, #main, #right_navigation_box a, .cmty-posting-modal { + /* Source for %border-box */ + box-sizing: border-box; +} + +/* Set box-sizing to content-box */ +#navigation_box, #blog_keywords + div, .cmty-posting-modal .aops-close-x { + /* Source for %content-box */ + box-sizing: content-box; +} + +/* No user select */ +#navigation_box, #header h1, .cmty-posting-preview-bar { + /* Source for %no-user-select */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Pseudo-element shared styles */ +body::after, #content::before { + /* Source for %pseudo */ + content: ''; + position: absolute; +} + +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6, #navigation_box a, #header h1, .bbcode_quote_head, #user-menu-widget .username-colored, #blog_keywords, .cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before, .cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .aops-modal-title { + /* Source for %heading */ + font-family: Raleway, Lato, Roboto, 'Segoe UI', 'Lucida Grande', 'DejaVu Sans', sans-serif; +} + +/* Import font for modals */ +:root .btn, :root .cmty-editable-item-close, .blog-reply-window, #post-new-entry, .aops-modal-body, +#flyout, #main::after { + /* Source for %modal-font */ + font-family: Lato, 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; +} + +/* Transitions */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, :root .btn, :root .cmty-editable-item-close, #navigation_box, #right_navigation_box a, div.entry h2 > a::before, div.comment h2 > a::before, pre::before, #blog_keywords, .cmty-item-tag, .entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Source for %transition03 */ + transition: 0.3s ease; +} + +/** + * Modules + */ +/** + * General module + * + * Encompasses shared styles for individual component elements + */ +a:link, +a:hover, +a:visited { + color: #2b2b2b; +} + +a:focus { + border-bottom: 1px dotted #ccc !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + /* Rule extends %heading */ + color: inherit; +} + +h1 { + font-size: 1.7em; +} + +h2 { + font-size: 1.2em; +} + +[style*='underline'], .message a:link, +.message a:hover, +.message a:visited, .cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Source for %link-underline */ + text-decoration: none !important; + background-image: linear-gradient(to bottom, currentColor, currentColor); + background-size: 1px 1px; + background-repeat: repeat-x; + background-position: 0 1.06em; +} + +[style*='underline'] { + /* Rule extends %link-underline */ +} + +input[type='text'], +textarea, +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + background-color: #fff; + font-size: inherit; +} + +:root input[type='text'], +:root +textarea, +:root .cmty-poll-question, +:root +.cmty-poll-inputs { + border-width: 0 0 1px; + border-color: #d9d9d9; +} + +:root input[type='text']:hover, +:root +textarea:hover, +:root .cmty-poll-question:hover, +:root +.cmty-poll-inputs:hover { + border-color: #ccc; +} + +:root input[type='text']:focus, +:root +textarea:focus, +:root .cmty-poll-question:focus, +:root +.cmty-poll-inputs:focus { + border-width: 0 0 1px; + border-style: solid; + border-color: #aaa; +} + +:root .btn, :root .cmty-editable-item-close { + /* Rule extends %modal-font */ + /* Rule extends %transition03 */ + background-color: #fff; + color: #444; + font-size: inherit; + line-height: 1.4em; + padding: 0 0.8em; + background: none; + border: none; + margin: 0; + width: auto; + height: 1.4em; +} + +:root .btn:hover, :root .cmty-editable-item-close:hover { + color: #444; + background-color: #f2f2f2; +} + +:root .btn:focus, :root .cmty-editable-item-close:focus { + background-color: #e6e6e6; +} + +::-webkit-scrollbar { + background-color: #fff; + width: 0.6rem; + height: 0.6rem; +} + +::-webkit-scrollbar-thumb { + background-color: #ccc; + border: solid #fff; + border-width: 0.2rem 0.25rem; + border-radius: 0.5rem; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:active { + background-color: #aaa; +} + +::-webkit-scrollbar-thumb:horizontal { + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:horizontal:hover { + border-width: 0.15rem; +} + +/** + * Layout module + * + * Encompasses body, wrapper, and general layout + */ +body { + font-family:'Titillium Web', sans-serif; + font-size: 1rem; + color: #444; + overflow-x: hidden; +} + +body::after { + /* Rule extends %pseudo */ + position: fixed; + background-image: url("https://cdn.artofproblemsolving.com/images/6/a/2/6a28bd61ace416f184719463cacd5268c000cee3.png"); + background-position: 0; + background-size: cover; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 25vh; +} + +#wrapper { + /* Rule extends %border-box */ + width: 100%; + padding: 0; + background: none; + border: none; +} + +#content { + position: relative; + background-color: #fff; + padding: 0 calc((100% - 48em) / 2); + padding-top: 5vh; + margin-top: 72vh; +} + +#content::before { + /* Rule extends %pseudo */ + background-image: linear-gradient(to top, rgba(51, 51, 51, 0.4) 0, rgba(51, 51, 51, 0.1) 60%, transparent 100%); + top: -15vh; + left: 0; + right: 0; + bottom: 100%; +} + +#main { + /* Rule extends %reset-all */ + /* Rule extends %border-box */ + position: relative; + width: 100%; + padding-bottom: 3em; +} + +/** + * Header module + * + * Encompasses the header and the navigation bar + */ +#navigation_box a, #header h1 { + /* Source for %title */ + /* Rule extends %heading */ + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#navigation_box { + /* Rule extends %reset-all */ + /* Rule extends %content-box */ + /* Rule extends %no-user-select */ + /* Rule extends %transition03 */ + position: fixed; + color: transparent; + background-color: #fff; + font-size: 1em; + white-space: nowrap; + padding: 0 1em; + border-bottom: 1px solid #e6e6e6; + opacity: 0.95; + z-index: 100; + top: 0; + left: 0; + right: 0; + width: auto; + height: 3rem; +} + +#navigation_box a { + /* Rule extends %title */ + display: inline; + color: #333; + text-shadow: none; + font-size: inherit; + font-weight: 300; + line-height: 3rem; + padding: 1.1em 0.4em; + border-top: 0.2em solid #333; + margin: 0 -0.3em; + transition: 0.3s ease; +} + +#left_navigation_box { + height: 100%; + font-size: inherit; + line-height: inherit; +} + +#left_navigation_box a:hover, +#left_navigation_box a:focus, +#left_navigation_box a:last-child { + padding-top: 0.75em; + color: #1a1a1a; +} + +#right_navigation_box { + position: relative; + margin-right: 2.7rem; + width: 7.5em; + height: 3em; +} + +#right_navigation_box a { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + position: absolute; + color: transparent; + font-size: 0.01px; + background-color: transparent; + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + width: 2.5rem; + height: 3rem; +} + +#right_navigation_box a:hover, #right_navigation_box a:focus { + background-color: #e6e6e6; + border-bottom: none !important; +} + +#right_navigation_box .blog-info { + left: 0; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjE0IiBjeD0iMTUiIGN5PSIxNSIvPjxjaXJjbGUgaWQ9ImRvdCIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiByPSIxIiBjeD0iMTUiIGN5PSI3LjUiLz48cGF0aCBpZD0iaSIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiBkPSJtMTIuNSwxMS41bDMuNSwwbDAsMTFxMCwwLjUgMC41LDAuNWwxLDBsMCwxbC01LDBsMCwtMWwxLDBxMC41LDAgMC41LC0wLjVsMCwtOS41cTAsLTAuNSAtMC41LC0wLjVsLTEsMGwwLC0xeiIvPjwvZz48L3N2Zz4="); +} + +#right_navigation_box #blog-subscribe { + left: 2.5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box #blog-subscribe[title*='stop'] { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9IiMzMzMiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login, +#right_navigation_box .blog-logout { + left: 5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTE2LDExbC00LjUsNC41bDQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-logout { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTIyLDExbDQuNSw0LjVsLTQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login + .blog-info { + left: 2.5rem; + background-color: #fff; + z-index: 12; +} + +#right_navigation_box .blog-login + .blog-info:hover { + background-color: #e6e6e6; +} + +#header { + position: fixed; + height: 2em; + z-index: 0; + top: calc(36vh - 2.5rem); + left: 0; + right: 0; + background: none; + border: none; +} + +#header h1 { + /* Rule extends %title */ + /* Rule extends %reset-all */ + /* Rule extends %no-user-select */ + font-size: 5rem; + font-weight: 200; + text-decoration: none; + z-index: 10; +} + +#header a:focus h1::before { + content: '\f015'; + position: absolute; + font-family: FontAwesome; + font-size: 0.6em; + opacity: 0.3; + margin-left: -1em; +} + +/** + * Entry module + * + * Encompasses entries and comments + */ +div.actions, +div.modactions { + font-size: 0.7em; +} + +#main > div:first-child { + margin-top: 1em; +} + +div.entrywrap, div.commentwrap, +div.entry, +div.comment { + line-height: 2em; + background-color: transparent; + border: none; +} + +div.entrywrap a, div.commentwrap a { + text-decoration: none !important; +} + +div.entry, div.comment { + position: relative; + padding: 0 1.2em; + margin: 0 -1.4em; +} + +div.entry h1, div.comment h1 { + overflow: hidden; + text-overflow: ellipsis; + padding-right: 0; +} + +div.entry h2, div.comment h2 { + font-size: 0.9em; + margin-left: 0.3em; +} + +div.entry h2 > a::before, div.comment h2 > a::before { + /* Rule extends %transition03 */ + content: '\00B6'; + position: absolute; + color: transparent; + font-size: 1.7em; + margin-right: 0.3em; + top: -2.15rem; + left: -1em; +} + +div.entry h2 img, div.comment h2 img { + display: none; +} + +div.entry h2 .username-colored, div.comment h2 .username-colored, +div.entry h2 .username-coloured, div.comment h2 .username-coloured { + color: #090909 !important; + font-weight: normal; +} + +div.entry:hover h2 > a::before, div.comment:hover h2 > a::before { + color: #ccc; +} + +div.commentwrap { + /* Rule extends .entrywrap */ + padding: 0.5em; + margin: 0.5em; +} + +div.comment { + /* Rule extends .entry */ +} + +.cfooter .author { + margin: 0.7em 0; +} + +.cfooter .author::before { + content: '\2767'; + vertical-align: middle; + font-size: 1.3em; + margin-right: 0.1em; +} + +.cfooter .author img { + display: none; +} + +.cfooter .author strong { + font-weight: normal; +} + +.message { + overflow-x: auto; +} + +.message a:link, +.message a:hover, +.message a:visited { + /* Rule extends %link-underline */ +} + +.message a:visited { + color: #444; +} + +.cmty-hide-heading:link, +.cmty-hide-heading:hover { + border-bottom: none; + background-image: linear-gradient(to right, currentColor 0%, currentColor 50%, #fff 50%, #fff 100%); + background-size: 2px 1px; +} + +.cmty-hide-content { + /* Rule extends %reset-all */ +} + +.bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body { + /* Rule extends %reset-all */ +} + +.bbcode_quote { + width: 90%; + margin: auto; +} + +.bbcode_quote_head { + /* Rule extends %heading */ + color: #aaa; + font-size: 1.1em; + font-weight: normal; + margin-left: 1rem; +} + +.bbcode_quote_head::before { + content: ''; +} + +.bbcode_quote_body { + font-size: 1.4em; + margin: 0.5em 1rem; +} + +.bbcode_quote_body .bbcode_quote_head { + font-size: 0.7em; + margin-top: 1rem; +} + +.bbcode_quote_body .bbcode_quote_body { + font-size: 0.8em; +} + +pre { + position: relative; + font-family: Monaco, 'DejaVu Mono', Consolas, monospace; + white-space: pre; + overflow-x: auto; + margin: 0.5em 1rem; +} + +pre[class] a:link { + background-image: none; +} + +pre::before { + /* Rule extends %transition03 */ + content: 'code'; + position: absolute; + background-color: #fff; + color: #aaa; + opacity: 0.8; + padding: 0 0.7em; + top: 0; + right: 0; +} + +pre[class]::before { + content: attr(class); +} + +pre:hover::before { + opacity: 0.2; +} + +pre.cpp::before { + content: 'c++'; +} + +.cmty-poll-display { + margin-top: 0; + margin-bottom: 1em; + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-poll-display .cmty-poll-result-bar { + background-color: #d9d9d9; +} + +/** + * Side module + * + * Encompasses sidebar + */ +#side { + padding: 0; + width: 0; + height: 0; +} + +#side > div { + display: none; +} + +#user-menu-widget { + display: block !important; + font-size: 0.01px; +} + +#user-menu-widget p { + display: none; +} + +#user-menu-widget .avatar { + position: absolute; + display: block; + margin-left: -2.5rem; + top: -2.95rem; + left: 50%; +} + +#user-menu-widget .avatar img { + background-color: #ccc; + display: block; + color: transparent; + border-radius: 50%; + border: 1px solid #ccc; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored { + /* Rule extends %heading */ + position: absolute; + display: block; + color: transparent; + font-size: 0.8rem; + text-overflow: ellipsis; + line-height: 5rem; + border-radius: 50%; + padding: 0.1rem; + margin-left: -2.5rem; + overflow: hidden; + z-index: 1; + transition: 0.15s 0.06s ease-in; + top: -2.55rem; + left: 50%; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored::after { + content: ""; + position: absolute; + background-image: linear-gradient(to bottom, transparent, transparent 30%, rgba(51, 51, 51, 0.3)); + background-position: 50% 0; + opacity: 0; + z-index: -1; + transition: 0.3s ease-out; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#user-menu-widget .username-colored:hover { + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#user-menu-widget .username-colored:hover::after { + opacity: 1; +} + +#search-widget { + display: block !important; + z-index: 10; +} + +#search-widget .widget-header, +#search-widget .widget-content div { + display: none; +} + +fieldset { + /* Rule extends %reset-all */ +} + +#blog_keywords { + /* Rule extends %heading */ + /* Rule extends %transition03 */ + position: fixed; + top: 0; + right: 0; + display: block; + background-color: transparent; + border-left: 2.4em solid #fff !important; + z-index: 100; + cursor: pointer; + transition: all 0s linear, width 0.3s ease, background-color 0s 0.3s linear; + border: none; + box-shadow: none; + border-radius: 0; + width: 0; + height: 3rem; +} + +#blog_keywords:focus { + width: 15em; + background-color: #e6e6e6; + color: #333; + padding-left: 0.5em; + padding-right: 3.1em; + border-left: none !important; + cursor: auto; + transition: all 0s linear, width 0.3s ease, background-color 0s linear; +} + +#blog_keywords + div { + /* Rule extends %content-box */ + position: fixed; + top: -3px; + right: 0; + display: block !important; + font-size: 0; + overflow: hidden; + pointer-events: none; + z-index: 100; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjEwIiBjeD0iMTEiIGN5PSIxMSIvPjxwYXRoIGlkPSJsaW5lIiBzdHJva2U9IiMzMzMiIGQ9Im0yNy4wNjk2OTEsMzAuMTUxMTFsLTkuNjQxODIxLC0xMS40OTA2NjkiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + border-left: 1px solid #e6e6e6; + transition: background-color 0.3s ease 0.114s, border-right-color 0.3s ease 0.114s; + width: 2.6rem; + height: 3rem; +} + +#blog_keywords:hover + div { + background-color: #e6e6e6; + transition: background-color 0.3s ease; +} + +#blog_keywords:focus + div { + background-color: #e6e6e6; + border-right-color: #e6e6e6; + transition: background-color 0.3s ease, border-right-color 0.3s ease; +} + +#blog_keywords + div input { + display: none; +} + +/** + * Posting module + * + * Encompasses posting & commenting forms + */ +@-webkit-keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +@keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.cmty-posting-modal { + /* Rule extends %border-box */ + border-width: 1.8rem; + border-color: #fff; + box-shadow: 0 0 10% #444; + max-width: 100% !important; + max-height: 100% !important; + /* autoprefixer: off */ + -webkit-transform: none !important; + transform: none !important; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + width: 100% !important; + height: 100% !important; +} + +.cmty-posting-modal .aops-close-x { + /* Rule extends %content-box */ + top: -32px; + right: -32px; + color: transparent; + padding: 1em; + border-radius: 0; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9IngiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwyOCwyOG0wLC0yOGwtMjgsMjgiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: 40%; + background-position: center; + background-clip: content-box; +} + +.cmty-posting-modal .cmty-posting-box-container, +.cmty-posting-modal .cmty-post-preview { + width: 50%; + height: calc(100% - 11.9rem) !important; + margin-top: 1rem; +} + +.cmty-posting-modal .cmty-posting-box-container { + float: left; +} + +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea, +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea:focus { + border-width: 0; +} + +.cmty-posting-modal .cmty-post-preview { + display: block !important; + float: right; + border-left: 1px solid #d9d9d9; +} + +.cmty-posting-modal .cmty-edit-post .cmty-posting-box-container, +.cmty-posting-modal .cmty-edit-post .cmty-post-preview { + height: calc(100% - 9.5rem) !important; +} + +.cmty-posting-modal .cmty-posting-with-poll .cmty-posting-box-container, +.cmty-posting-modal .cmty-posting-with-poll .cmty-post-preview { + height: calc(100% - 26.8rem) !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar { + position: fixed; + left: -100%; +} + +.cmty-posting-modal .cmty-posting-preview-bar-hidden { + display: none !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar-shown { + display: block !important; +} + +.cmty-posting-modal .cmty-refresh-preview, +.cmty-posting-modal .cmty-preview-bar-attachments { + position: fixed; + bottom: 0; + font-size: 0.8rem; + padding: 0.5em; + margin: 0; +} + +.cmty-posting-modal .cmty-refresh-preview { + z-index: 1; + border-top: 1px solid #d9d9d9; + left: 1.8rem; + right: 1.8rem; +} + +.cmty-posting-modal .cmty-preview-bar-attachments { + z-index: 10; + left: 1.5rem; +} + +.cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .cmty-posting-box-container .cmty-post-textarea { + /* Source for %faux-placeholder-input */ + position: relative; + background-color: transparent !important; + transition: background-color 0.3s 6s ease, border-color 0.3s ease; +} + +.cmty-posting-subject-line .cmty-subject-input:focus, .cmty-tags-line .cmty-items-input:focus, .cmty-posting-box-container .cmty-post-textarea:focus { + background-color: #fff !important; + transition: background-color 0.3s 0s ease, border-color 0.3s ease; +} + +.cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before { + /* Rule extends %heading */ + position: absolute; + opacity: 0; + color: #aaa; + font-size: inherit; + -webkit-animation: flash-post-fields 6s ease; + animation: flash-post-fields 6s ease; +} + +.cmty-posting-subject-line { + position: relative; + font-size: 2.5em; + padding: 10px 0; +} + +.cmty-posting-subject-line .cmty-heading-text { + margin: 0.3em 0.1em; +} + +.cmty-posting-subject-line .cmty-subject-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding-left: 0.1rem !important; + width: 100%; + height: 2em; +} + +.cmty-posting-subject-line .cmty-subject-input:focus { + padding-left: 0.1rem !important; +} + +.cmty-posting-subject-line .cmty-post-in { + display: none; +} + +.cmty-tags-line { + padding: 0; +} + +.cmty-tags-line .cmty-heading-text { + text-align: left; + margin: 0.2em 0.3em; +} + +.cmty-tags-line .cmty-items-input-box { + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-tags-line .cmty-items-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding: 0.3em !important; + margin-bottom: 0.5em; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.cmty-tags-line .cmty-items-input:hover { + border-color: #ccc !important; +} + +.cmty-tags-line .cmty-items-input:focus { + padding: 0.3em !important; + border-color: #aaa !important; +} + +.cmty-poll-build { + background-color: #fff; + color: #444; + border-bottom: 1px solid #d9d9d9; +} + +.cmty-poll-build .cmty-poll-inputs { + height: 6em; + resize: none; +} + +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends textarea */ + padding: 0.3em 0.2em; +} + +.cmty-poll-question:focus, +.cmty-poll-inputs:focus { + padding: 0.3em 0.2em; +} + +.cmty-poll-left, +.cmty-poll-right { + width: 100%; +} + +.cmty-posting-box-container::before { + content: 'Message'; + font-size: 1.2em; + margin: 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea { + /* Rule extends %faux-placeholder-input */ + padding: 0 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea:focus { + padding: 0 0.3em; +} + +.cmty-posting-preview-bar { + /* Rule extends %no-user-select */ + background-color: #fff; + color: #444; +} + +.cmty-post-preview-text { + font-family:'Titillium Web', sans-serif; + word-wrap: break-word; + padding: 0 1em 1em !important; +} + +.cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Rule extends %link-underline */ +} + +.cmty-post-preview-text a:visited { + color: #444; +} + +.cmty-posting-top, +.cmty-posting-button-row { + color: #444; + background: none; +} + +.cmty-posting-environ-buttons .btn, .cmty-posting-environ-buttons .cmty-editable-item-close { + vertical-align: top; +} + +.cmty-bbcode-btn { + height: 1.4em; +} + +.cmty-bbcode-other { + color: #444; + z-index: 0; +} + +.blog-reply-window { + /* Rule extends %modal-font */ + position: relative; + z-index: 1; + background-color: #fff; + display: none !important; + padding: 0 1em; + border: 1px solid #fff; + border-top-color: #e6e6e6; +} + +.blog-reply-window.blog-reply-open { + display: block !important; +} + +.blog-reply-window.blog-reply-open::before { + content: ''; + display: table; + clear: both; +} + +.blog-reply-window .cmty-posting-box-container::before { + content: 'Comment'; +} + +.blog-reply-window .cmty-posting-environ { + top: -2.1em; + z-index: 1; + margin-bottom: -2.1em; +} + +.blog-reply-window .cmty-posting-button-row { + background-color: #fff; +} + +.blog-reply-window .cmty-cancel-posting-x { + color: #444; +} + +.blog-reply-window .cmty-submit-button { + float: left; +} + +.blog-reply-window .cmty-posting-button-row.cmty-phone { + margin-bottom: 1.1em; +} + +.blog-reply-window .cmty-post-preview { + border: none; +} + +.cmty-edit-post .cmty-heading-text, +.cmty-edit-post .cmty-posting-box-container::before { + -webkit-animation: none; + animation: none; +} + +/** + * Miscellaneous stuff + */ +#post-new-entry { + /* Rule extends %modal-font */ +} + +#post-new-entry-img { + display: none; +} + +div.post-tags { + font-size: 0.9em; + margin-top: 2em; +} + +.cmty-item-tag { + /* Rule extends %transition03 */ + background-color: #fff !important; + color: #aaa !important; + font-size: 0.7em; +} + +.cmty-item-tag:hover { + background-color: #e6e6e6 !important; +} + +.entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Rule extends %transition03 */ + display: inline; + width: auto; + background-color: transparent !important; + padding: 0em 0.2em !important; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.entrywrap .cmty-items-input:hover, div.commentwrap .cmty-items-input:hover { + border-color: #ccc !important; +} + +.entrywrap .cmty-items-input:focus, div.commentwrap .cmty-items-input:focus { + padding: 0em 0.2em !important; + border-color: #aaa !important; +} + +.cmty-editable-item-close { + /* Rule extends .btn */ + font-family: AoPS; +} + +.cmty-editable-item-close:hover { + background-color: #fff; +} + +#feed-wrapper { + display: none; +} + +#main > h1 { + padding-bottom: 0.2em; + border-bottom: 1px solid #e6e6e6; + margin-top: 0.5em; + margin-bottom: 1.3em; +} + +#main > p:not([id]) { + position: relative; + float: right; + z-index: 1; + margin-top: 1.5em; +} + +#main > p:not([id]) a:link, +#main > p:not([id]) a:hover, +#main > p:not([id]) a:visited { + color: #aaa; +} + +.aops-modal-title { + /* Rule extends %heading */ +} + +.aops-modal-body, +#flyout { + /* Rule extends %modal-font */ +} + +#flyout { + text-align: left; + padding-right: 5px; +} + +#main::after { + /* Rule extends %modal-font */ + content: "City made by NMK, with \262d."; + position: relative; + top: 2em; + display: block; + color: #aaa; + font-size: 0.8em; + text-align: center; +} + +/** + * @media module + */ +@media all { + html { + font-size: 17px; + } +} + +@media only screen and (max-width: 1000px) { + body::after { + height: 16rem; + } + #content { + margin-top: 16rem; + padding-top: 2em; + padding-left: 2em; + padding-right: 2em; + } + #content::before { + display: none; + } + #header { + top: 5.75rem; + } + #header h1 { + font-size: 2.5rem; + text-overflow: ellipsis; + overflow: hidden; + } + #navigation_box { + font-size: 0; + opacity: 1; + } + #left_navigation_box a:nth-last-child(2) { + display: inline-block; + font-size: 1rem; + padding: 0 0.7em; + border-top: none; + } + #left_navigation_box a:nth-last-child(2):hover { + background-color: #e6e6e6; + } + #left_navigation_box a:nth-last-child(2)::before { + content: "\3008"; + font-size: 0.9em; + padding-right: 0.2em; + } + #right_navigation_box { + display: none; + } + #blog_keywords + div { + height: calc(3rem + 1px); + } + #blog_keywords:focus { + width: 100%; + } + #user-menu-widget .avatar { + top: -2.45rem; + margin-left: -2rem; + } + #user-menu-widget .avatar img { + width: 4rem; + height: 4rem; + } + #user-menu-widget .username-colored { + display: none; + } + div.quotetitle, + div.quotecontent { + border-left: 1px solid #ccc; + padding-left: 0.5rem; + margin: 0; + } + div.quotecontent { + padding-top: 0.5em; + } + .codetitle { + display: block; + margin-top: 1em; + } + .codetitle b { + font-weight: normal; + } + pre::before { + display: none; + } + .cmty-posting-modal { + border-top-width: 0; + border-bottom-width: 0.8rem; + } + .aops-modal-open { + position: fixed; + overflow: hidden; + width: 100%; + height: 100%; + } + .cmty-posting-modal .cmty-post-preview, + .cmty-posting-preview-bar { + display: none !important; + } + .cmty-posting-modal .cmty-posting-box-container { + width: 100%; + float: none; + } + .cmty-posting-modal .cmty-posting-button-row { + display: none; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone { + display: block; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-posting-environ-buttons { + width: auto; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .btn, .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-editable-item-close { + display: inline-block; + width: auto; + } + .cmty-post-textarea, + .cmty-post-textarea:focus { + border-width: 0 0 1px; + border-radius: 0; + } +} + +/*Loading bar*/ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/*The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top)*/ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​ A Mathematical Curiosity_files/aops_core.js b/Download/​​​ A Mathematical Curiosity_files/aops_core.js new file mode 100644 index 0000000..0ae901e --- /dev/null +++ b/Download/​​​ A Mathematical Curiosity_files/aops_core.js @@ -0,0 +1,10 @@ +!function(i){(i.isEpicFailing=function(){return"undefined"==typeof $},i.isEpicFailing())&&(document.getElementById("epicfail").style.display="block")}(window.AoPS||{}); +;$(document).on("ready",(function(){if(jQuery.support.cors=!0,document.getElementById("side-column")&&($("#breadcrumbs-wrapper").addClass("clickable-breadcrumb"),$("#breadcrumbs-wrapper").click((function(){window.innerWidth<840&&($("#side-column-wrapper").toggleClass("active"),$("#submenu-icon").toggleClass("open"))})),$("#side-column .dropdown-box > .title").click((function(e){$(e.currentTarget).parent().toggleClass("open")})),$("#side-column .menu").click((function(e){$("#side-column .submenu-wrapper").removeClass("open"),$(e.currentTarget).find(".submenu-wrapper").addClass("open")}))),$(".infobar").click((function(e){e.target.className.indexOf("infobar-hide")>=0&&($(this).hide(),AoPS.fixFooter(),$("#main-content").trigger($.Event("resize")),$.ajax({url:"/ajax.php",timeout:5e3,type:"post",data:{a:"infobar-hide",key:$(this).data("key")},success:function(e){}}))})),$("#menu-myaops-toggle").click((function(e){$("#menu-myaops").toggle(),e.preventDefault(),e.stopPropagation()})),!document.getElementById("side-column")){var e=document.getElementById("submenu-icon");e&&e.parentNode.removeChild(e)}AoPS.fixFooter(),$(window).on("resize.fix_footer",(function(){AoPS.fixFooter()})),AoPS.login.initialize(),AoPS.inputPlaceholders.initialize(),document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect?$("html").addClass("svg"):$("html").addClass("no-svg");var o=$("body"),n=$("#top-bar"),t=$("#main-logo"),i=!1,a=!1,r=!1,s=!1;n.on("mousemove.start_loc",(function(){i=!0})),t.on("mousemove.start_loc",(function(){s=!0})),o.on("mousemove.start_loc",(function(){n.off("mousemove.start_loc"),o.off("mousemove.start_loc"),t.off("mousemove.start_loc"),setTimeout((function(){i=!1,s=!1}),350)})),n.on("mouseenter",(function(){a=!0,setTimeout((function(){!i&&a&&$("#header-popin").animate({opacity:1},150)}),350)})),t.on("mouseenter",(function(){r=!0,setTimeout((function(){!s&&r&&$("#header-popin").animate({opacity:1},150)}),350)})),n.on("mouseleave",(function(){a=!1})),t.on("mouseleave",(function(){r=!1})),$("#header").on("mouseleave",(function(){$("#header-popin").animate({opacity:0},150)})),n.find(".site").hover((function(){var e=$(this);e.addClass("dropdown-visible");var o=e.find(".site-dropdown-wrapper");if(o.length){var n=$(window).width(),t=o.outerWidth(),i=o.offset().left+t+10-n;i>0&&o.css("left",-100-i+"px")}}),(function(){$(this).removeClass("dropdown-visible").find(".site-dropdown-wrapper").css("left","")})),AoPS.checkPrivacy()})),$(window).on("load",(function(){AoPS.fixFooter()})),AoPS.checkPrivacy=function(){if(document.URL.indexOf("/privacy")<0&&AoPS.session&&AoPS.session.show_privacy){var e=["

      We've made a few updates to our privacy policy. These updates went into effect on Friday, February 4, 2022.

      ","

      Click ",'here ',"to learn more about the new ",'artofproblemsolving.com policy.

      '],o=1,n=document.location.href;(n.indexOf("community")>0||n.indexOf("alcumus")>0||n.indexOf("baeditor")>0||n.indexOf("class/")>0)&&(o=1e3),setTimeout((function(){alert(e.join(""),{onButtonClick:function(){$.post("/ajax.php",{action:"update-accepted"})},max_width:"600px",closeX:!1,force_response:!0})}),o)}},window.classicAlert=window.alert,window.alert=function(e,o){AoPS.hasOwnProperty("Ui")?(AoPS.Ui.Modal.closeTopModal(),void 0===o?AoPS.Ui.Modal.showAlertQuick(e):AoPS.Ui.Modal.showAlertQuick(e,o)):window.classicAlert(e)},AoPS.setBreadcrumbs=function(e){for(var o,n=[],t=0;t'+o+""),n.push(''+o+"");$(".crumb-wrapper").html(n.join(' '))},AoPS.fixFooter=function(){var e=$(window).height(),o=$("body").hasClass("small-footer");e-=$("#header-wrapper").outerHeight(),e-=$("#top-bar").outerHeight(),$("#breadcrumbs-wrapper:visible").length||(e-=26),e-=o?$("#small-footer-wrapper").outerHeight():$("#main-footer").outerHeight(),$("#main-content").css("min-height",e),o&&$("#small-footer-wrapper").show();var n=document.getElementById("side-column-wrapper");n&&$(n).css("min-height",e),AoPS.fixSidebarOnce()},AoPS.makeSidebarAdjustment=function(e,o,n){if(e&&o&&n){var t=0;o.children().each((function(){t+=$(this).outerHeight(!0)})),e.height()!==Math.max(n.outerHeight(!0),t)&&e.css("height",Math.max(n.outerHeight(!0),t))}},AoPS.fixSidebarOnce=function(){var e=$("#side-column-wrapper"),o=$("#side-column"),n=$("#main-column");AoPS.makeSidebarAdjustment(e,o,n)},AoPS.fixSidebarAnimatedOnce=function(e){AoPS.fixSidebarAnimatedOnceOnElement(e,"main-column")},AoPS.fixSidebarAnimatedOnceOnElement=function(e,o){var n=$("#side-column-wrapper"),t=$("#side-column"),i=2+e?e/15:0,a=0;!function e(){a>i||(a++,AoPS.makeSidebarAdjustment(n,t,$("#"+o)),setTimeout(e,15))}()},AoPS.fixSidebarClassObserver=function(e){var o,n=$("#side-column-wrapper"),t=$("#side-column"),i=$("#main-column");e||(e=[]),o=e.attributeFilter?{attributeFilter:e.attributeFilter,attributes:!0,childList:!0,subtree:!0}:{attributeFilter:["class"],attributes:!0,childList:!0,subtree:!0};new MutationObserver((function(){if(e.animation_length){var o=2+e.animation_length/15,a=0;!function e(){a>o||(a++,AoPS.makeSidebarAdjustment(n,t,i),setTimeout(e,15))}()}else AoPS.makeSidebarAdjustment(n,t,i)})).observe(document.getElementById("main-column"),o),e.animation_length?AoPS.fixSidebarAnimatedOnce(e.animation_length/15):AoPS.makeSidebarAdjustment(n,t,i)},AoPS.login={ajaxing:!1,$login_form:$("#login-form"),logout_url:AoPS.bootstrap_data&&AoPS.bootstrap_data.logout_url,user_clicked_logout:!1,user_clicked_login:!1,modal:null,initialize:function(){$(document).on("click",".online-login-button",AoPS.login.display),$("#header-logout, #small-header-logout").on("click",AoPS.login.logout),$("#register-button").on("click",(function(e){e.preventDefault(),AoPS.login.register()})),$("#login-cancel-button").on("click",AoPS.login.close),$("#login-button").on("click",AoPS.login.login),$("#login-password").on("keypress",(function(e){13===e.keyCode&&AoPS.login.login()})),$("#login-username").on("keypress",(function(e){if(13===e.keyCode){var o=document.getElementById("login-username").value;document.getElementById("login-password").value.length?AoPS.login.login():o.length&&document.getElementById("login-password").focus()}}))},logout:function(e){if(!AoPS.login.ajaxing){e.preventDefault(),e.stopPropagation(),AoPS.login.user_clicked_logout=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php",n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http")),$.ajax({url:o,timeout:1e4,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{a:"logout"},success:function(e){AoPS.login.ajaxing=!1,AoPS.login.logout_url?window.location=AoPS.login.logout_url:window.location.hash?window.location.reload(!0):window.location.href=window.location.href}})}},register:function(){var e=document.getElementById("login-username").value||"",o=document.getElementById("login-password").value||"";if("function"==typeof(AoPS.Register||{}).display)AoPS.login.close(),AoPS.Register.display({username:e,password:o});else{var n=document.getElementById("registration-form");n.username.value=e,n.password.value=o,n.submit()}},loggedin:function(){},login:function(e){if(!AoPS.login.ajaxing){AoPS.login.user_clicked_login=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php";if(void 0!==e&&!0===e){var n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http"))}$.ajax({url:o,timeout:1e4,type:"post",data:{a:"login",username:$("#login-username").val(),password:$("#login-password").val(),stay:$("#login-stay-logged-in").is(":checked")},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),e.error_msg?($("#login-form > .error").show().html(e.error_msg),e.error_msg.toLowerCase().indexOf("account deactivated")>=0&&$.ajax({url:o,timeout:1e4,type:"post",data:{a:"user-get-registration-disabled",username:$("#login-username").val()},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){$("#register-button").hide(),window.location.href.includes("register.php")&&window.location.reload(!0)}})):e.error_code?$("#login-from > .error").show().html(e.error_code):document.location.href.indexOf("com/online?login")>0?document.location="/online":window.location.hash?window.location.reload(!0):window.location.href=window.location.href},error:function(o){void 0!==e&&!0===e?(AoPS.login.user_clicked_login=!1,setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),$("#login-form > .error").show().html("There was an error communicating with the server. Please try again.")):(AoPS.login.ajaxing=!1,AoPS.login.login(!0))}})}},close:function(){AoPS.login.modal&&(AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=null),$(document).off("keyup",AoPS.login.checkKeyPress)},display:function(e){e=!1!==e,0===AoPS.login.$login_form.length&&(window.location.href="/user/login.php?redirect="+encodeURIComponent(window.location.href)),$("#login-cancel-button").toggle(e),$.ajax({url:"/ajax.php",timeout:5e3,type:"get",data:{a:"check-invalid-registration-cookie"},success:function(e){e.response&&$("#register-button").hide()}}),$("#login-password").attr("type","password"),AoPS.login.modal&&AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=AoPS.login.$login_form.showPlainModal({max_width:"500px",closeX:e,force_response:!e,scrollable:!0}),setTimeout((function(){$("#login-username").focus()}),1),e&&$(document).on("keyup",AoPS.login.checkKeyPress)},checkKeyPress:function(e){27===e.keyCode&&AoPS.login.close()},onUserAjaxLogout:function(){AoPS.session.logged_in||($("#header .myaops").remove(),$("#header-login").show())},onUserAjaxLogin:function(){document.location.reload(!0)}},$((function(){var e=$(".menubar-label, .login-dropdown"),o=!1;e.on("click",(function(e){o&&(e.preventDefault(),e.stopPropagation())})).on("mouseover",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverTimeout")&&n.prop("hoverTimeout",clearTimeout(n.prop("hoverTimeout"))),n.prop("hoverIntent",setTimeout((function(){n.addClass("open")}),50))}})).on("mouseleave",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverIntent")&&n.prop("hoverIntent",clearTimeout(n.prop("hoverIntent"))),n.prop("hoverTimeout",setTimeout((function(){n.removeClass("open")}),50))}}));var n=window.navigator.msPointerEnabled?"MSPointerDown":"touchstart";("ontouchstart"in document.documentElement||"MSPointerDown"===n)&&e.each((function(){var t=$(this);this.addEventListener(n,(function(i){if(("MSPointerDown"===n||1===i.touches.length)&&(window.innerWidth>700||t.hasClass("login-dropdown")))if(i.stopPropagation(),t.hasClass("open"))o=!1;else{o=!0,i.target!==this&&i.target.parentNode!==this||i.preventDefault(),e.removeClass("open"),t.addClass("open");document.addEventListener(n,(function e(n){n.stopPropagation(),t.removeClass("open"),document.removeEventListener("touchstart",e),o=!1}))}}),!1)}))})),AoPS.updateLayout=function(){},"undefined"!=typeof Backbone&&(AoPS.Model=Backbone.Model.extend({}),AoPS.Collection=Backbone.Collection.extend({debug:function(){console.log(this),console.log(this.length),console.log(this.models)}}),AoPS.View=Backbone.View.extend({getTemplate:function(e,o){var n=AoPS.View.compileTemplate(e);return $.parseHTML($.trim(n&&n(o)))},compile:function(e){return AoPS.View.compileTemplate(e)},display:function(e,o){this.$el.html($.parseHTML($.trim(e(o))))},debug:function(){console.log("View.model:",this.model),console.log("View.tagName:",this.tagName),console.log("View.className:",this.className),console.log("View.el:",this.el),console.log("View.$el:",this.$el)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},close:function(){this.remove(),this.unbind(),"function"==typeof this.onClose&&this.onClose()},showLoadingModal:function(){this.loadingModal=AoPS.Ui.Modal.showMessage('',{closeX:!1,force_response:!0,frame_class:"loading-modal-frame"})},closeLoadingModal:function(){AoPS.Ui.Modal.closeParticularModal(this.loadingModal)}}),AoPS.View.template_cache={},AoPS.View.compileTemplate=function(e){var o=AoPS.View.template_cache;if(!o.hasOwnProperty(e)){var n=$(e),t=Handlebars.templates&&Handlebars.templates[e.slice(1)];n.length?o[e]=Handlebars.compile(n.html()):t&&(o[e]=t)}return o[e]}),AoPS.inputPlaceholders={initialize:function(){"placeholder"in document.createElement("input")||($("[placeholder]").focus((function(){var e=$(this);e.val()===e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))})).blur((function(){var e=$(this);""!==e.val()&&e.val()!==e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))})).blur(),$(["placeholder"]).parents("form").submit(AoPS.inputPlaceholders.clear),AoPS.inputPlaceholders.clear=function(){$("[placeholder]").each((function(){var e=$(this);e.val()===e.attr("placeholder")&&e.val("")}))})},clear:function(){}},AoPS.doFastMathJax=function(e){AoPS.FastMathJax.push(e)},AoPS.FastMathJax={_elements:[],_isProcessing:!1,_process:function(){if(!this._isProcessing)if(this._elements.length){this._isProcessing=!0;var e=$("
      ").css({position:"fixed",top:"-100vh",left:"-100vw",opacity:0,"z-index":-9999,"pointer-events":"none"}).appendTo($(document.body)),o=this,n=this._elements.splice(0,250);_.each(n,(function(o){o.$hidden=o.$el.clone().removeClass().appendTo(e)})),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e.get(0)]),MathJax.Hub.Queue([function(){_.each(n,(function(e){e.$el.html("").append(e.$hidden.clone()),e.$hidden.remove()})),e.remove(),o._isProcessing=!1,o._process()}])}else this._isProcessing=!1},push:function(e){window.MathJax&&(e instanceof jQuery||_.isArray(e)?_.each(e,_.bind((function(e){this._elements.push({$el:$(e)})}),this)):this._elements.push({$el:$(e)}),setTimeout(_.bind((function(){this._process()}),this),50))}},AoPS.importJavaScript=function(e){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(o)},window.number_format=function(e,o,n,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i,a,r,s=isFinite(+e)?+e:0,l=isFinite(+o)?Math.abs(o):0,c=void 0===t?",":t,u=void 0===n?".":n,d="";return(d=(l?(i=s,a=l,r=Math.pow(10,a),""+(Math.round(i*r)/r).toFixed(a)):""+Math.round(s)).split("."))[0].length>3&&(d[0]=d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(d[1]||"").length-1)&&(parseInt(o)||!1)}(t=t||"init_time");if(!1!==i){var a=function(e){if(!document||_.isUndefined(document.cookie)||!navigator||!navigator.cookieEnabled)return!1;for(var o,n=new RegExp("^\\s*"+e+"_init_time\\s*=\\s*(.*?)\\s*$"),t=document.cookie.split(";"),i=0;i=i?function(){if(!e){e=!0;var o=document.createElement("STYLE"),n=document.createTextNode("body {display: none;}");o.appendChild(n),document.head.appendChild(o),console.log("About to refresh the page due to back button use."),setTimeout((function(){window.location.reload(!0)}),2e3)}}():setTimeout((function(){e||(document.cookie=n+"_init_time="+i+"; path=/")}),3e3)}}}}(),AoPS.isUserLimited=function(){return AoPS.user_is_limited},AoPS.user_is_limited=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("limited_user"),AoPS.isUserNew=function(){return AoPS.user_is_new},AoPS.user_is_new=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("new_user"),AoPS.in_academy=AoPS.bootstrap_data&&AoPS.bootstrap_data.hasOwnProperty("in_academy")&&1===parseInt(AoPS.bootstrap_data.in_academy),AoPS.convertSmartQuotes=function(e){return e.replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[\u2026]/g,"...")};var gOldOnError=window.onerror;window.onerror=function(e,o,n,t,i){return!!gOldOnError&&gOldOnError(e,o,n)},window.onImageLoad=function(){},window.handlebars=function(e,o){var n="";if(o||(o={}),e instanceof Element)n=e.innerHTML;else if("undefined"!=typeof jQuery&&e instanceof jQuery)n=e.html();else{if("string"!=typeof e)return!1;try{var t=document.querySelector(e);n=null===t?e:t.innerHTML}catch(r){n=e}}if("undefined"!=typeof Handlebars)return Handlebars.compile(n)(o);for(var i in o){var a=new RegExp("{{"+i+"}}","g");n=n.replace(a,o[i])}return n},AoPS.handleLocationHash=function(e){var o=function(e){var o=e.offset().top,n=$("#main-menubar").outerHeight();return Math.min(Math.floor(o-n),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},n={};function t(e){if(!n.animating){n.animating=!0;var i=o(e);$("html, body").animate({scrollTop:i},{duration:0,step:function(n,t){t.end=o(e)},always:function(){n.animating=!1,Math.abs($(window).scrollTop()-o(e))>n.threshold&&t(e)}})}}setTimeout((function(){if(location.hash){var e=$(document).find(location.hash);e.length&&t(e)}}),0)},AoPS.handleLocationHash2=function(e,o){o||(o={});var n=function(e){var o=$("#header"),n=$("#main-menubar"),t=n.outerHeight();t=$(window).width()<=700?0:"fixed"===o.css("position")?n.outerHeight():n.outerHeight()+70;var i=e.offset().top;return Math.min(Math.floor(i-t),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},t={};function i(e){if(!t.animating){t.animating=!0;var a=n(e);$("html, body").animate({scrollTop:a},{duration:o&&o.duration?o.duration:0,step:function(o,t){t.end=n(e)},always:function(){t.animating=!1,Math.abs($(window).scrollTop()-n(e))>5&&(o.duration=0,i(e))}})}}setTimeout((function(){if(e)e.length&&i(e);else if(location.hash){var o=$(document).find(location.hash);o.length&&i(o)}}),0)}; +;AoPS.hasOwnProperty("Ui")&&AoPS.hasOwnProperty("ui_main_loaded")||(AoPS.Ui=function(e){var t;t=$(window).height(),setInterval((function(){var e=$(window).height();e!=t&&(t=e,$(window).trigger("resize"))}),100),$(window).on("resize",(function(){t=$(window).height()})),e.buildTableRow=function(e){var t=$(""),o=(e=_.defaults(e,{is_header:!1})).is_header?"th":"td";return _.each(e.data,(function(e){t.append($.parseHTML("<"+o+">"+e+""))})),e.is_header&&t.addClass("aops-no-sort"),t},e.buildTable=function(t){var o,s,a=0,i=!1,n=!1;return t=_.defaults(t,{sortable:!1,table_id:"",sort_on_build:!1,table_class:"",sort_col:0,sort_order:"asc",repeating_header:0}),o=$("",{id:t.table_id,class:t.table_class}),s=$("").appendTo(o),t.hasOwnProperty("footer")&&$("").prependTo(o).append(e.buildTableRow({data:t.footer,is_header:!0})),t.hasOwnProperty("header")&&$("").prependTo(o).append(e.buildTableRow({data:t.header,is_header:!0})),t.hasOwnProperty("rows")&&_.each(t.rows,(function(o){s.append(e.buildTableRow({data:o})),a++,t.repeating_header>0&&a%t.repeating_header==0&&s.append(e.buildTableRow({data:t.header,is_header:!0}))})),t.sortable&&(o.tablesorter(t.sort_on_build?{sortList:t.hasOwnProperty("sortList")?t.sortList:[[t.sort_col,"asc"===t.sort_order?0:1]]}:{}),t.repeating_header>0&&(o.bind("sortStart",(function(){i?(i=!1,n=!0):(i=!0,s.find(".aops-no-sort").remove(),o.trigger("update"))})),o.bind("sortEnd",(function(){n?n=!1:s.find("tr:nth-child("+t.repeating_header+"n)").after(e.buildTableRow({data:t.header,is_header:!0}))})))),o},e.Flyout=function(){var e,t={},o=[],s={width:300,height:150,class:"",time:5e3,animation_time:1e3,close_function:"close"};function a(){if(o.length&&document.body){var e=document.getElementById("flyout");if(!e||!e.parentNode){var t=o.shift();i(t.html,t.opts)}}}function i(o,a){a=$.extend({},s,a),e=a;var i=document.createElement("div");i.id="flyout",i.style.width=a.width+"px",i.style.height=a.height+"px",i.style.right=-a.width+"px",i.className=a.class,i.innerHTML='
      '+o,document.body.appendChild(i),$("#flyout").animate({right:0},a.animation_time,(function(){t.timeout=setTimeout((function(){n()}),a.time)}))}function n(){$("#flyout").animate({right:-e.width},e.animation_time,(function(){t.timeout=0;var e=document.getElementById("flyout");e&&(e.parentNode.removeChild(e),a())}))}return t.display=function(e,s){document.body?(t.close(),o=[],i(e,s)):(AoPS.ErrorUtil.log("E_EARLY_FLYOUT"),t.queue(e,s))},t.queue=function(e,t){o.push({html:e,opts:t}),a()},t.close=function(){if(document.body){t.timeout&&clearTimeout(t.timeout),o=[];var e=document.getElementById("flyout");e&&e.parentNode&&e.parentNode.removeChild(e)}},t.closeWithoutClearingQueue=function(){document.body&&(t.timeout&&clearTimeout(t.timeout),n())},$(a),t}(),$.fn.extend({showUnstyledModal:function(e){var t=_.defaults({$obj:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(t)},showPlainModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showPlainBodyModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.showPlainBody(t)},showModal:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessage(this,t)},showModalQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessageQuick(this,t)},showPlainAlert:function(e){var t=_.defaults({body:this,type:"alert"},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showAlertQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlertQuick(this,t)},showAlert:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlert(this,t)},cloneToPlainModal:function(e){var t=this.clone(!0),o=_.defaults({body:t,type:"message"},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showPlain(o)},cloneToUnstyledModal:function(e){var t=this.clone(!0),o=_.defaults({$obj:t},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(o)},cloneToModal:function(e){var t=this.clone(!0),o=_.extend({},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showMessage(t,o)},replaceTopModalPlain:function(e){var t=_.defaults({body:this,frame_class:"",type:"message"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModalUnstyled:function(e){var t=_.defaults({$obj:this,type:"$"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModal:function(e){var t=_.extend({type:"message",frame_class:"aops-modal-standard",body:this},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o}});var o=1e5;return e.Modal={active_modals:[],fitMasks:function(){function e(){var e={height:$(window).outerHeight(),width:$(window).outerWidth()};function t(t,o){var s=t.options["max_"+o];return"%"===s.substr(s.length-1,1)?Math.min(parseFloat(s)/100*e[o],t.options.overall_max_width):Math.min(parseFloat(s),t.options.overall_max_width)}_.each(this.active_modals,(function(e){var o={height:t(e,"height"),width:t(e,"width")};e.$obj.css({"max-height":"","max-width":""}),e.$obj.css({height:e.options.height,width:e.options.width}),_.each(["width","height"],(function(t){var s=Math.round(o[t]);("height"===t?e.$obj.outerHeight():e.$obj.outerWidth())>=s&&e.$obj[t](s)}));var s=Math.min(1e3,window.innerWidth-12)+"px";e.$obj.css({"max-height":e.options.max_height,"max-width":s})}))}function t(){$("body").toggleClass("modal-page-overflow",$("body").height()>$(window).height()),_.each(this.active_modals,(function(e){e.$wrapper.css({overflow:"hidden"}),e.$obj.css({position:"absolute"}),e.$obj.css({top:parseInt(Math.max(0,($(window).height()-e.$obj.outerHeight())/2*.8)),left:parseInt(Math.max(0,($(window).width()-e.$obj.outerWidth())/2))})}))}e.apply(this),e.apply(this),setTimeout(_.bind((function(){e.apply(this),t.apply(this)}),this),5),t.apply(this)},show$Object:function(e){var t={$wrapper:$("
      ",{class:"aops-modal-wrapper"}),$mask:$("
      ",{class:"aops-modal-mask"}),$obj:e.$obj,options:this.appendDefaults(e)};return $("body").addClass("aops-modal-open"),t.$wrapper.append(t.$obj),this.setZIndices(t),$("body").append(t.$mask),$("body").append(t.$wrapper),t.options.hasOwnProperty("onShow")&&setTimeout((function(){t.options.onShow()}),100),this.active_modals.push(t),this.setZIndices(t),t.$mask.fadeTo(e.mask_fade_in_speed,t.options.mask_alpha),t.$wrapper.fadeIn(e.mask_fade_in_speed,(function(){"alert"===e.type&&e.focus_on_alert&&t.$obj.find("button").first().focus()})),t.options.draggable&&t.$obj.draggable&&t.$obj.draggable(t.options.draggable_options),this.parseForceResponse(t),this.fitMasks(),!("activeElement"in document)||_.isUndefined(document.activeElement)||_.isNull(document.activeElement)||document.activeElement.blur(),t.options.mathjax&&window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$obj[0]]),t.$obj.trigger("modal_shown"),t},show:function(e){var t;switch((t=this.prepareOptions.apply(this,arguments)).type){case"$":return this.show$Object(t);case"unframed_html":return $($.parseHTML(t.body));case"ignore-loading":break;default:return this.show$Object(_.extend({$obj:this.makeFramed$Object(t)},t))}},extFrameClass:function(e,t){return e+(t.hasOwnProperty("frame_class")?" "+t.frame_class:"")},showPlain:function(e){return this.show(e)},showQuick:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-standard aops-modal-quick",e)},e))},showPlainBody:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-plain-body",e)},e))},showMessage:function(e){var t,o=arguments.length>1?arguments[1]:{};return t=o.hasOwnProperty("buttons")?"buttons":"message",this.show(_.extend({type:t,body:e,frame_class:this.extFrameClass("aops-modal-standard",o)},o))},showMessageQuick:function(e){return this.showQuick(_.extend({type:"message",body:e},arguments.length>1?arguments[1]:{}))},showAlert:function(e){var t=arguments.length>1?arguments[1]:{};return this.show(_.extend({type:"alert",body:e,frame_class:this.extFrameClass("aops-modal-standard",t)},t))},showAlertQuick:function(e){return this.showQuick(_.extend({type:"alert",body:e},arguments.length>1?arguments[1]:{}))},showConfirm:function(e,t){var o=arguments.length>2?arguments[2]:{},s=this.show(_.extend({type:"confirm",body:e,onButtonClick:t,frame_class:this.extFrameClass("aops-modal-standard",o)},o));return s.$obj.find(".aops-modal-btn").first().focus(),s},showConfirmQuick:function(e,t){var o=this.showQuick(_.extend({type:"confirm",body:e,onButtonClick:t},arguments.length>2?arguments[2]:{}));return o.$obj.find(".aops-modal-btn").first().focus(),o},showButtons:function(e,t,o){var s=arguments.length>3?arguments[3]:{};return this.show(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o,frame_class:this.extFrameClass("aops-modal-standard",s)},s))},showButtonsQuick:function(e,t,o,s){return s=s||{},this.showQuick(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o},s))},makeFramed$Object:function(e){var t,o,s=null,a=null,i=this,n=$("
      ",{class:e.scrollable?"aops-scroll-content":"aops-modal-noscroll"});function r(e){var t="";return e.removeDefaultBtnCss||(t=" btn-primary"),e.btnClass&&(t=" "+e.btnClass),$(" + + +
      + +
      +
      +
      + + + +
      + + + + + + + + + + + + + + + + + +
      +
      a
      w
      m
      E
      +
      +
      \ No newline at end of file diff --git a/Download/​​​ Hello, World!_files/1086531.css b/Download/​​​ Hello, World!_files/1086531.css new file mode 100644 index 0000000..9fcd6d2 --- /dev/null +++ b/Download/​​​ Hello, World!_files/1086531.css @@ -0,0 +1,81 @@ +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); + +/* Loading bar */ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​ Hello, World!_files/aops_core.js b/Download/​​​ Hello, World!_files/aops_core.js new file mode 100644 index 0000000..0ae901e --- /dev/null +++ b/Download/​​​ Hello, World!_files/aops_core.js @@ -0,0 +1,10 @@ +!function(i){(i.isEpicFailing=function(){return"undefined"==typeof $},i.isEpicFailing())&&(document.getElementById("epicfail").style.display="block")}(window.AoPS||{}); +;$(document).on("ready",(function(){if(jQuery.support.cors=!0,document.getElementById("side-column")&&($("#breadcrumbs-wrapper").addClass("clickable-breadcrumb"),$("#breadcrumbs-wrapper").click((function(){window.innerWidth<840&&($("#side-column-wrapper").toggleClass("active"),$("#submenu-icon").toggleClass("open"))})),$("#side-column .dropdown-box > .title").click((function(e){$(e.currentTarget).parent().toggleClass("open")})),$("#side-column .menu").click((function(e){$("#side-column .submenu-wrapper").removeClass("open"),$(e.currentTarget).find(".submenu-wrapper").addClass("open")}))),$(".infobar").click((function(e){e.target.className.indexOf("infobar-hide")>=0&&($(this).hide(),AoPS.fixFooter(),$("#main-content").trigger($.Event("resize")),$.ajax({url:"/ajax.php",timeout:5e3,type:"post",data:{a:"infobar-hide",key:$(this).data("key")},success:function(e){}}))})),$("#menu-myaops-toggle").click((function(e){$("#menu-myaops").toggle(),e.preventDefault(),e.stopPropagation()})),!document.getElementById("side-column")){var e=document.getElementById("submenu-icon");e&&e.parentNode.removeChild(e)}AoPS.fixFooter(),$(window).on("resize.fix_footer",(function(){AoPS.fixFooter()})),AoPS.login.initialize(),AoPS.inputPlaceholders.initialize(),document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect?$("html").addClass("svg"):$("html").addClass("no-svg");var o=$("body"),n=$("#top-bar"),t=$("#main-logo"),i=!1,a=!1,r=!1,s=!1;n.on("mousemove.start_loc",(function(){i=!0})),t.on("mousemove.start_loc",(function(){s=!0})),o.on("mousemove.start_loc",(function(){n.off("mousemove.start_loc"),o.off("mousemove.start_loc"),t.off("mousemove.start_loc"),setTimeout((function(){i=!1,s=!1}),350)})),n.on("mouseenter",(function(){a=!0,setTimeout((function(){!i&&a&&$("#header-popin").animate({opacity:1},150)}),350)})),t.on("mouseenter",(function(){r=!0,setTimeout((function(){!s&&r&&$("#header-popin").animate({opacity:1},150)}),350)})),n.on("mouseleave",(function(){a=!1})),t.on("mouseleave",(function(){r=!1})),$("#header").on("mouseleave",(function(){$("#header-popin").animate({opacity:0},150)})),n.find(".site").hover((function(){var e=$(this);e.addClass("dropdown-visible");var o=e.find(".site-dropdown-wrapper");if(o.length){var n=$(window).width(),t=o.outerWidth(),i=o.offset().left+t+10-n;i>0&&o.css("left",-100-i+"px")}}),(function(){$(this).removeClass("dropdown-visible").find(".site-dropdown-wrapper").css("left","")})),AoPS.checkPrivacy()})),$(window).on("load",(function(){AoPS.fixFooter()})),AoPS.checkPrivacy=function(){if(document.URL.indexOf("/privacy")<0&&AoPS.session&&AoPS.session.show_privacy){var e=["

      We've made a few updates to our privacy policy. These updates went into effect on Friday, February 4, 2022.

      ","

      Click ",'here ',"to learn more about the new ",'artofproblemsolving.com policy.

      '],o=1,n=document.location.href;(n.indexOf("community")>0||n.indexOf("alcumus")>0||n.indexOf("baeditor")>0||n.indexOf("class/")>0)&&(o=1e3),setTimeout((function(){alert(e.join(""),{onButtonClick:function(){$.post("/ajax.php",{action:"update-accepted"})},max_width:"600px",closeX:!1,force_response:!0})}),o)}},window.classicAlert=window.alert,window.alert=function(e,o){AoPS.hasOwnProperty("Ui")?(AoPS.Ui.Modal.closeTopModal(),void 0===o?AoPS.Ui.Modal.showAlertQuick(e):AoPS.Ui.Modal.showAlertQuick(e,o)):window.classicAlert(e)},AoPS.setBreadcrumbs=function(e){for(var o,n=[],t=0;t'+o+""),n.push(''+o+"");$(".crumb-wrapper").html(n.join(' '))},AoPS.fixFooter=function(){var e=$(window).height(),o=$("body").hasClass("small-footer");e-=$("#header-wrapper").outerHeight(),e-=$("#top-bar").outerHeight(),$("#breadcrumbs-wrapper:visible").length||(e-=26),e-=o?$("#small-footer-wrapper").outerHeight():$("#main-footer").outerHeight(),$("#main-content").css("min-height",e),o&&$("#small-footer-wrapper").show();var n=document.getElementById("side-column-wrapper");n&&$(n).css("min-height",e),AoPS.fixSidebarOnce()},AoPS.makeSidebarAdjustment=function(e,o,n){if(e&&o&&n){var t=0;o.children().each((function(){t+=$(this).outerHeight(!0)})),e.height()!==Math.max(n.outerHeight(!0),t)&&e.css("height",Math.max(n.outerHeight(!0),t))}},AoPS.fixSidebarOnce=function(){var e=$("#side-column-wrapper"),o=$("#side-column"),n=$("#main-column");AoPS.makeSidebarAdjustment(e,o,n)},AoPS.fixSidebarAnimatedOnce=function(e){AoPS.fixSidebarAnimatedOnceOnElement(e,"main-column")},AoPS.fixSidebarAnimatedOnceOnElement=function(e,o){var n=$("#side-column-wrapper"),t=$("#side-column"),i=2+e?e/15:0,a=0;!function e(){a>i||(a++,AoPS.makeSidebarAdjustment(n,t,$("#"+o)),setTimeout(e,15))}()},AoPS.fixSidebarClassObserver=function(e){var o,n=$("#side-column-wrapper"),t=$("#side-column"),i=$("#main-column");e||(e=[]),o=e.attributeFilter?{attributeFilter:e.attributeFilter,attributes:!0,childList:!0,subtree:!0}:{attributeFilter:["class"],attributes:!0,childList:!0,subtree:!0};new MutationObserver((function(){if(e.animation_length){var o=2+e.animation_length/15,a=0;!function e(){a>o||(a++,AoPS.makeSidebarAdjustment(n,t,i),setTimeout(e,15))}()}else AoPS.makeSidebarAdjustment(n,t,i)})).observe(document.getElementById("main-column"),o),e.animation_length?AoPS.fixSidebarAnimatedOnce(e.animation_length/15):AoPS.makeSidebarAdjustment(n,t,i)},AoPS.login={ajaxing:!1,$login_form:$("#login-form"),logout_url:AoPS.bootstrap_data&&AoPS.bootstrap_data.logout_url,user_clicked_logout:!1,user_clicked_login:!1,modal:null,initialize:function(){$(document).on("click",".online-login-button",AoPS.login.display),$("#header-logout, #small-header-logout").on("click",AoPS.login.logout),$("#register-button").on("click",(function(e){e.preventDefault(),AoPS.login.register()})),$("#login-cancel-button").on("click",AoPS.login.close),$("#login-button").on("click",AoPS.login.login),$("#login-password").on("keypress",(function(e){13===e.keyCode&&AoPS.login.login()})),$("#login-username").on("keypress",(function(e){if(13===e.keyCode){var o=document.getElementById("login-username").value;document.getElementById("login-password").value.length?AoPS.login.login():o.length&&document.getElementById("login-password").focus()}}))},logout:function(e){if(!AoPS.login.ajaxing){e.preventDefault(),e.stopPropagation(),AoPS.login.user_clicked_logout=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php",n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http")),$.ajax({url:o,timeout:1e4,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{a:"logout"},success:function(e){AoPS.login.ajaxing=!1,AoPS.login.logout_url?window.location=AoPS.login.logout_url:window.location.hash?window.location.reload(!0):window.location.href=window.location.href}})}},register:function(){var e=document.getElementById("login-username").value||"",o=document.getElementById("login-password").value||"";if("function"==typeof(AoPS.Register||{}).display)AoPS.login.close(),AoPS.Register.display({username:e,password:o});else{var n=document.getElementById("registration-form");n.username.value=e,n.password.value=o,n.submit()}},loggedin:function(){},login:function(e){if(!AoPS.login.ajaxing){AoPS.login.user_clicked_login=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php";if(void 0!==e&&!0===e){var n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http"))}$.ajax({url:o,timeout:1e4,type:"post",data:{a:"login",username:$("#login-username").val(),password:$("#login-password").val(),stay:$("#login-stay-logged-in").is(":checked")},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),e.error_msg?($("#login-form > .error").show().html(e.error_msg),e.error_msg.toLowerCase().indexOf("account deactivated")>=0&&$.ajax({url:o,timeout:1e4,type:"post",data:{a:"user-get-registration-disabled",username:$("#login-username").val()},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){$("#register-button").hide(),window.location.href.includes("register.php")&&window.location.reload(!0)}})):e.error_code?$("#login-from > .error").show().html(e.error_code):document.location.href.indexOf("com/online?login")>0?document.location="/online":window.location.hash?window.location.reload(!0):window.location.href=window.location.href},error:function(o){void 0!==e&&!0===e?(AoPS.login.user_clicked_login=!1,setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),$("#login-form > .error").show().html("There was an error communicating with the server. Please try again.")):(AoPS.login.ajaxing=!1,AoPS.login.login(!0))}})}},close:function(){AoPS.login.modal&&(AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=null),$(document).off("keyup",AoPS.login.checkKeyPress)},display:function(e){e=!1!==e,0===AoPS.login.$login_form.length&&(window.location.href="/user/login.php?redirect="+encodeURIComponent(window.location.href)),$("#login-cancel-button").toggle(e),$.ajax({url:"/ajax.php",timeout:5e3,type:"get",data:{a:"check-invalid-registration-cookie"},success:function(e){e.response&&$("#register-button").hide()}}),$("#login-password").attr("type","password"),AoPS.login.modal&&AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=AoPS.login.$login_form.showPlainModal({max_width:"500px",closeX:e,force_response:!e,scrollable:!0}),setTimeout((function(){$("#login-username").focus()}),1),e&&$(document).on("keyup",AoPS.login.checkKeyPress)},checkKeyPress:function(e){27===e.keyCode&&AoPS.login.close()},onUserAjaxLogout:function(){AoPS.session.logged_in||($("#header .myaops").remove(),$("#header-login").show())},onUserAjaxLogin:function(){document.location.reload(!0)}},$((function(){var e=$(".menubar-label, .login-dropdown"),o=!1;e.on("click",(function(e){o&&(e.preventDefault(),e.stopPropagation())})).on("mouseover",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverTimeout")&&n.prop("hoverTimeout",clearTimeout(n.prop("hoverTimeout"))),n.prop("hoverIntent",setTimeout((function(){n.addClass("open")}),50))}})).on("mouseleave",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverIntent")&&n.prop("hoverIntent",clearTimeout(n.prop("hoverIntent"))),n.prop("hoverTimeout",setTimeout((function(){n.removeClass("open")}),50))}}));var n=window.navigator.msPointerEnabled?"MSPointerDown":"touchstart";("ontouchstart"in document.documentElement||"MSPointerDown"===n)&&e.each((function(){var t=$(this);this.addEventListener(n,(function(i){if(("MSPointerDown"===n||1===i.touches.length)&&(window.innerWidth>700||t.hasClass("login-dropdown")))if(i.stopPropagation(),t.hasClass("open"))o=!1;else{o=!0,i.target!==this&&i.target.parentNode!==this||i.preventDefault(),e.removeClass("open"),t.addClass("open");document.addEventListener(n,(function e(n){n.stopPropagation(),t.removeClass("open"),document.removeEventListener("touchstart",e),o=!1}))}}),!1)}))})),AoPS.updateLayout=function(){},"undefined"!=typeof Backbone&&(AoPS.Model=Backbone.Model.extend({}),AoPS.Collection=Backbone.Collection.extend({debug:function(){console.log(this),console.log(this.length),console.log(this.models)}}),AoPS.View=Backbone.View.extend({getTemplate:function(e,o){var n=AoPS.View.compileTemplate(e);return $.parseHTML($.trim(n&&n(o)))},compile:function(e){return AoPS.View.compileTemplate(e)},display:function(e,o){this.$el.html($.parseHTML($.trim(e(o))))},debug:function(){console.log("View.model:",this.model),console.log("View.tagName:",this.tagName),console.log("View.className:",this.className),console.log("View.el:",this.el),console.log("View.$el:",this.$el)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},close:function(){this.remove(),this.unbind(),"function"==typeof this.onClose&&this.onClose()},showLoadingModal:function(){this.loadingModal=AoPS.Ui.Modal.showMessage('',{closeX:!1,force_response:!0,frame_class:"loading-modal-frame"})},closeLoadingModal:function(){AoPS.Ui.Modal.closeParticularModal(this.loadingModal)}}),AoPS.View.template_cache={},AoPS.View.compileTemplate=function(e){var o=AoPS.View.template_cache;if(!o.hasOwnProperty(e)){var n=$(e),t=Handlebars.templates&&Handlebars.templates[e.slice(1)];n.length?o[e]=Handlebars.compile(n.html()):t&&(o[e]=t)}return o[e]}),AoPS.inputPlaceholders={initialize:function(){"placeholder"in document.createElement("input")||($("[placeholder]").focus((function(){var e=$(this);e.val()===e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))})).blur((function(){var e=$(this);""!==e.val()&&e.val()!==e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))})).blur(),$(["placeholder"]).parents("form").submit(AoPS.inputPlaceholders.clear),AoPS.inputPlaceholders.clear=function(){$("[placeholder]").each((function(){var e=$(this);e.val()===e.attr("placeholder")&&e.val("")}))})},clear:function(){}},AoPS.doFastMathJax=function(e){AoPS.FastMathJax.push(e)},AoPS.FastMathJax={_elements:[],_isProcessing:!1,_process:function(){if(!this._isProcessing)if(this._elements.length){this._isProcessing=!0;var e=$("
      ").css({position:"fixed",top:"-100vh",left:"-100vw",opacity:0,"z-index":-9999,"pointer-events":"none"}).appendTo($(document.body)),o=this,n=this._elements.splice(0,250);_.each(n,(function(o){o.$hidden=o.$el.clone().removeClass().appendTo(e)})),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e.get(0)]),MathJax.Hub.Queue([function(){_.each(n,(function(e){e.$el.html("").append(e.$hidden.clone()),e.$hidden.remove()})),e.remove(),o._isProcessing=!1,o._process()}])}else this._isProcessing=!1},push:function(e){window.MathJax&&(e instanceof jQuery||_.isArray(e)?_.each(e,_.bind((function(e){this._elements.push({$el:$(e)})}),this)):this._elements.push({$el:$(e)}),setTimeout(_.bind((function(){this._process()}),this),50))}},AoPS.importJavaScript=function(e){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(o)},window.number_format=function(e,o,n,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i,a,r,s=isFinite(+e)?+e:0,l=isFinite(+o)?Math.abs(o):0,c=void 0===t?",":t,u=void 0===n?".":n,d="";return(d=(l?(i=s,a=l,r=Math.pow(10,a),""+(Math.round(i*r)/r).toFixed(a)):""+Math.round(s)).split("."))[0].length>3&&(d[0]=d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(d[1]||"").length-1)&&(parseInt(o)||!1)}(t=t||"init_time");if(!1!==i){var a=function(e){if(!document||_.isUndefined(document.cookie)||!navigator||!navigator.cookieEnabled)return!1;for(var o,n=new RegExp("^\\s*"+e+"_init_time\\s*=\\s*(.*?)\\s*$"),t=document.cookie.split(";"),i=0;i=i?function(){if(!e){e=!0;var o=document.createElement("STYLE"),n=document.createTextNode("body {display: none;}");o.appendChild(n),document.head.appendChild(o),console.log("About to refresh the page due to back button use."),setTimeout((function(){window.location.reload(!0)}),2e3)}}():setTimeout((function(){e||(document.cookie=n+"_init_time="+i+"; path=/")}),3e3)}}}}(),AoPS.isUserLimited=function(){return AoPS.user_is_limited},AoPS.user_is_limited=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("limited_user"),AoPS.isUserNew=function(){return AoPS.user_is_new},AoPS.user_is_new=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("new_user"),AoPS.in_academy=AoPS.bootstrap_data&&AoPS.bootstrap_data.hasOwnProperty("in_academy")&&1===parseInt(AoPS.bootstrap_data.in_academy),AoPS.convertSmartQuotes=function(e){return e.replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[\u2026]/g,"...")};var gOldOnError=window.onerror;window.onerror=function(e,o,n,t,i){return!!gOldOnError&&gOldOnError(e,o,n)},window.onImageLoad=function(){},window.handlebars=function(e,o){var n="";if(o||(o={}),e instanceof Element)n=e.innerHTML;else if("undefined"!=typeof jQuery&&e instanceof jQuery)n=e.html();else{if("string"!=typeof e)return!1;try{var t=document.querySelector(e);n=null===t?e:t.innerHTML}catch(r){n=e}}if("undefined"!=typeof Handlebars)return Handlebars.compile(n)(o);for(var i in o){var a=new RegExp("{{"+i+"}}","g");n=n.replace(a,o[i])}return n},AoPS.handleLocationHash=function(e){var o=function(e){var o=e.offset().top,n=$("#main-menubar").outerHeight();return Math.min(Math.floor(o-n),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},n={};function t(e){if(!n.animating){n.animating=!0;var i=o(e);$("html, body").animate({scrollTop:i},{duration:0,step:function(n,t){t.end=o(e)},always:function(){n.animating=!1,Math.abs($(window).scrollTop()-o(e))>n.threshold&&t(e)}})}}setTimeout((function(){if(location.hash){var e=$(document).find(location.hash);e.length&&t(e)}}),0)},AoPS.handleLocationHash2=function(e,o){o||(o={});var n=function(e){var o=$("#header"),n=$("#main-menubar"),t=n.outerHeight();t=$(window).width()<=700?0:"fixed"===o.css("position")?n.outerHeight():n.outerHeight()+70;var i=e.offset().top;return Math.min(Math.floor(i-t),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},t={};function i(e){if(!t.animating){t.animating=!0;var a=n(e);$("html, body").animate({scrollTop:a},{duration:o&&o.duration?o.duration:0,step:function(o,t){t.end=n(e)},always:function(){t.animating=!1,Math.abs($(window).scrollTop()-n(e))>5&&(o.duration=0,i(e))}})}}setTimeout((function(){if(e)e.length&&i(e);else if(location.hash){var o=$(document).find(location.hash);o.length&&i(o)}}),0)}; +;AoPS.hasOwnProperty("Ui")&&AoPS.hasOwnProperty("ui_main_loaded")||(AoPS.Ui=function(e){var t;t=$(window).height(),setInterval((function(){var e=$(window).height();e!=t&&(t=e,$(window).trigger("resize"))}),100),$(window).on("resize",(function(){t=$(window).height()})),e.buildTableRow=function(e){var t=$("
      "),o=(e=_.defaults(e,{is_header:!1})).is_header?"th":"td";return _.each(e.data,(function(e){t.append($.parseHTML("<"+o+">"+e+""))})),e.is_header&&t.addClass("aops-no-sort"),t},e.buildTable=function(t){var o,s,a=0,i=!1,n=!1;return t=_.defaults(t,{sortable:!1,table_id:"",sort_on_build:!1,table_class:"",sort_col:0,sort_order:"asc",repeating_header:0}),o=$("
      ",{id:t.table_id,class:t.table_class}),s=$("").appendTo(o),t.hasOwnProperty("footer")&&$("").prependTo(o).append(e.buildTableRow({data:t.footer,is_header:!0})),t.hasOwnProperty("header")&&$("").prependTo(o).append(e.buildTableRow({data:t.header,is_header:!0})),t.hasOwnProperty("rows")&&_.each(t.rows,(function(o){s.append(e.buildTableRow({data:o})),a++,t.repeating_header>0&&a%t.repeating_header==0&&s.append(e.buildTableRow({data:t.header,is_header:!0}))})),t.sortable&&(o.tablesorter(t.sort_on_build?{sortList:t.hasOwnProperty("sortList")?t.sortList:[[t.sort_col,"asc"===t.sort_order?0:1]]}:{}),t.repeating_header>0&&(o.bind("sortStart",(function(){i?(i=!1,n=!0):(i=!0,s.find(".aops-no-sort").remove(),o.trigger("update"))})),o.bind("sortEnd",(function(){n?n=!1:s.find("tr:nth-child("+t.repeating_header+"n)").after(e.buildTableRow({data:t.header,is_header:!0}))})))),o},e.Flyout=function(){var e,t={},o=[],s={width:300,height:150,class:"",time:5e3,animation_time:1e3,close_function:"close"};function a(){if(o.length&&document.body){var e=document.getElementById("flyout");if(!e||!e.parentNode){var t=o.shift();i(t.html,t.opts)}}}function i(o,a){a=$.extend({},s,a),e=a;var i=document.createElement("div");i.id="flyout",i.style.width=a.width+"px",i.style.height=a.height+"px",i.style.right=-a.width+"px",i.className=a.class,i.innerHTML='
      '+o,document.body.appendChild(i),$("#flyout").animate({right:0},a.animation_time,(function(){t.timeout=setTimeout((function(){n()}),a.time)}))}function n(){$("#flyout").animate({right:-e.width},e.animation_time,(function(){t.timeout=0;var e=document.getElementById("flyout");e&&(e.parentNode.removeChild(e),a())}))}return t.display=function(e,s){document.body?(t.close(),o=[],i(e,s)):(AoPS.ErrorUtil.log("E_EARLY_FLYOUT"),t.queue(e,s))},t.queue=function(e,t){o.push({html:e,opts:t}),a()},t.close=function(){if(document.body){t.timeout&&clearTimeout(t.timeout),o=[];var e=document.getElementById("flyout");e&&e.parentNode&&e.parentNode.removeChild(e)}},t.closeWithoutClearingQueue=function(){document.body&&(t.timeout&&clearTimeout(t.timeout),n())},$(a),t}(),$.fn.extend({showUnstyledModal:function(e){var t=_.defaults({$obj:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(t)},showPlainModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showPlainBodyModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.showPlainBody(t)},showModal:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessage(this,t)},showModalQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessageQuick(this,t)},showPlainAlert:function(e){var t=_.defaults({body:this,type:"alert"},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showAlertQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlertQuick(this,t)},showAlert:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlert(this,t)},cloneToPlainModal:function(e){var t=this.clone(!0),o=_.defaults({body:t,type:"message"},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showPlain(o)},cloneToUnstyledModal:function(e){var t=this.clone(!0),o=_.defaults({$obj:t},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(o)},cloneToModal:function(e){var t=this.clone(!0),o=_.extend({},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showMessage(t,o)},replaceTopModalPlain:function(e){var t=_.defaults({body:this,frame_class:"",type:"message"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModalUnstyled:function(e){var t=_.defaults({$obj:this,type:"$"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModal:function(e){var t=_.extend({type:"message",frame_class:"aops-modal-standard",body:this},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o}});var o=1e5;return e.Modal={active_modals:[],fitMasks:function(){function e(){var e={height:$(window).outerHeight(),width:$(window).outerWidth()};function t(t,o){var s=t.options["max_"+o];return"%"===s.substr(s.length-1,1)?Math.min(parseFloat(s)/100*e[o],t.options.overall_max_width):Math.min(parseFloat(s),t.options.overall_max_width)}_.each(this.active_modals,(function(e){var o={height:t(e,"height"),width:t(e,"width")};e.$obj.css({"max-height":"","max-width":""}),e.$obj.css({height:e.options.height,width:e.options.width}),_.each(["width","height"],(function(t){var s=Math.round(o[t]);("height"===t?e.$obj.outerHeight():e.$obj.outerWidth())>=s&&e.$obj[t](s)}));var s=Math.min(1e3,window.innerWidth-12)+"px";e.$obj.css({"max-height":e.options.max_height,"max-width":s})}))}function t(){$("body").toggleClass("modal-page-overflow",$("body").height()>$(window).height()),_.each(this.active_modals,(function(e){e.$wrapper.css({overflow:"hidden"}),e.$obj.css({position:"absolute"}),e.$obj.css({top:parseInt(Math.max(0,($(window).height()-e.$obj.outerHeight())/2*.8)),left:parseInt(Math.max(0,($(window).width()-e.$obj.outerWidth())/2))})}))}e.apply(this),e.apply(this),setTimeout(_.bind((function(){e.apply(this),t.apply(this)}),this),5),t.apply(this)},show$Object:function(e){var t={$wrapper:$("
      ",{class:"aops-modal-wrapper"}),$mask:$("
      ",{class:"aops-modal-mask"}),$obj:e.$obj,options:this.appendDefaults(e)};return $("body").addClass("aops-modal-open"),t.$wrapper.append(t.$obj),this.setZIndices(t),$("body").append(t.$mask),$("body").append(t.$wrapper),t.options.hasOwnProperty("onShow")&&setTimeout((function(){t.options.onShow()}),100),this.active_modals.push(t),this.setZIndices(t),t.$mask.fadeTo(e.mask_fade_in_speed,t.options.mask_alpha),t.$wrapper.fadeIn(e.mask_fade_in_speed,(function(){"alert"===e.type&&e.focus_on_alert&&t.$obj.find("button").first().focus()})),t.options.draggable&&t.$obj.draggable&&t.$obj.draggable(t.options.draggable_options),this.parseForceResponse(t),this.fitMasks(),!("activeElement"in document)||_.isUndefined(document.activeElement)||_.isNull(document.activeElement)||document.activeElement.blur(),t.options.mathjax&&window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$obj[0]]),t.$obj.trigger("modal_shown"),t},show:function(e){var t;switch((t=this.prepareOptions.apply(this,arguments)).type){case"$":return this.show$Object(t);case"unframed_html":return $($.parseHTML(t.body));case"ignore-loading":break;default:return this.show$Object(_.extend({$obj:this.makeFramed$Object(t)},t))}},extFrameClass:function(e,t){return e+(t.hasOwnProperty("frame_class")?" "+t.frame_class:"")},showPlain:function(e){return this.show(e)},showQuick:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-standard aops-modal-quick",e)},e))},showPlainBody:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-plain-body",e)},e))},showMessage:function(e){var t,o=arguments.length>1?arguments[1]:{};return t=o.hasOwnProperty("buttons")?"buttons":"message",this.show(_.extend({type:t,body:e,frame_class:this.extFrameClass("aops-modal-standard",o)},o))},showMessageQuick:function(e){return this.showQuick(_.extend({type:"message",body:e},arguments.length>1?arguments[1]:{}))},showAlert:function(e){var t=arguments.length>1?arguments[1]:{};return this.show(_.extend({type:"alert",body:e,frame_class:this.extFrameClass("aops-modal-standard",t)},t))},showAlertQuick:function(e){return this.showQuick(_.extend({type:"alert",body:e},arguments.length>1?arguments[1]:{}))},showConfirm:function(e,t){var o=arguments.length>2?arguments[2]:{},s=this.show(_.extend({type:"confirm",body:e,onButtonClick:t,frame_class:this.extFrameClass("aops-modal-standard",o)},o));return s.$obj.find(".aops-modal-btn").first().focus(),s},showConfirmQuick:function(e,t){var o=this.showQuick(_.extend({type:"confirm",body:e,onButtonClick:t},arguments.length>2?arguments[2]:{}));return o.$obj.find(".aops-modal-btn").first().focus(),o},showButtons:function(e,t,o){var s=arguments.length>3?arguments[3]:{};return this.show(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o,frame_class:this.extFrameClass("aops-modal-standard",s)},s))},showButtonsQuick:function(e,t,o,s){return s=s||{},this.showQuick(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o},s))},makeFramed$Object:function(e){var t,o,s=null,a=null,i=this,n=$("
      ",{class:e.scrollable?"aops-scroll-content":"aops-modal-noscroll"});function r(e){var t="";return e.removeDefaultBtnCss||(t=" btn-primary"),e.btnClass&&(t=" "+e.btnClass),$(" + + +
      + +
      +
      +
      + + + +
      + + + + + + + + + + + + + + + + + +
      +
      a
      w
      m
      E
      +
      +
      \ No newline at end of file diff --git a/Download/​​​ This blog is dead_files/1086531.css b/Download/​​​ This blog is dead_files/1086531.css new file mode 100644 index 0000000..9fcd6d2 --- /dev/null +++ b/Download/​​​ This blog is dead_files/1086531.css @@ -0,0 +1,81 @@ +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); + +/* Loading bar */ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​ This blog is dead_files/aops_core.js b/Download/​​​ This blog is dead_files/aops_core.js new file mode 100644 index 0000000..0ae901e --- /dev/null +++ b/Download/​​​ This blog is dead_files/aops_core.js @@ -0,0 +1,10 @@ +!function(i){(i.isEpicFailing=function(){return"undefined"==typeof $},i.isEpicFailing())&&(document.getElementById("epicfail").style.display="block")}(window.AoPS||{}); +;$(document).on("ready",(function(){if(jQuery.support.cors=!0,document.getElementById("side-column")&&($("#breadcrumbs-wrapper").addClass("clickable-breadcrumb"),$("#breadcrumbs-wrapper").click((function(){window.innerWidth<840&&($("#side-column-wrapper").toggleClass("active"),$("#submenu-icon").toggleClass("open"))})),$("#side-column .dropdown-box > .title").click((function(e){$(e.currentTarget).parent().toggleClass("open")})),$("#side-column .menu").click((function(e){$("#side-column .submenu-wrapper").removeClass("open"),$(e.currentTarget).find(".submenu-wrapper").addClass("open")}))),$(".infobar").click((function(e){e.target.className.indexOf("infobar-hide")>=0&&($(this).hide(),AoPS.fixFooter(),$("#main-content").trigger($.Event("resize")),$.ajax({url:"/ajax.php",timeout:5e3,type:"post",data:{a:"infobar-hide",key:$(this).data("key")},success:function(e){}}))})),$("#menu-myaops-toggle").click((function(e){$("#menu-myaops").toggle(),e.preventDefault(),e.stopPropagation()})),!document.getElementById("side-column")){var e=document.getElementById("submenu-icon");e&&e.parentNode.removeChild(e)}AoPS.fixFooter(),$(window).on("resize.fix_footer",(function(){AoPS.fixFooter()})),AoPS.login.initialize(),AoPS.inputPlaceholders.initialize(),document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect?$("html").addClass("svg"):$("html").addClass("no-svg");var o=$("body"),n=$("#top-bar"),t=$("#main-logo"),i=!1,a=!1,r=!1,s=!1;n.on("mousemove.start_loc",(function(){i=!0})),t.on("mousemove.start_loc",(function(){s=!0})),o.on("mousemove.start_loc",(function(){n.off("mousemove.start_loc"),o.off("mousemove.start_loc"),t.off("mousemove.start_loc"),setTimeout((function(){i=!1,s=!1}),350)})),n.on("mouseenter",(function(){a=!0,setTimeout((function(){!i&&a&&$("#header-popin").animate({opacity:1},150)}),350)})),t.on("mouseenter",(function(){r=!0,setTimeout((function(){!s&&r&&$("#header-popin").animate({opacity:1},150)}),350)})),n.on("mouseleave",(function(){a=!1})),t.on("mouseleave",(function(){r=!1})),$("#header").on("mouseleave",(function(){$("#header-popin").animate({opacity:0},150)})),n.find(".site").hover((function(){var e=$(this);e.addClass("dropdown-visible");var o=e.find(".site-dropdown-wrapper");if(o.length){var n=$(window).width(),t=o.outerWidth(),i=o.offset().left+t+10-n;i>0&&o.css("left",-100-i+"px")}}),(function(){$(this).removeClass("dropdown-visible").find(".site-dropdown-wrapper").css("left","")})),AoPS.checkPrivacy()})),$(window).on("load",(function(){AoPS.fixFooter()})),AoPS.checkPrivacy=function(){if(document.URL.indexOf("/privacy")<0&&AoPS.session&&AoPS.session.show_privacy){var e=["

      We've made a few updates to our privacy policy. These updates went into effect on Friday, February 4, 2022.

      ","

      Click ",'here ',"to learn more about the new ",'artofproblemsolving.com policy.

      '],o=1,n=document.location.href;(n.indexOf("community")>0||n.indexOf("alcumus")>0||n.indexOf("baeditor")>0||n.indexOf("class/")>0)&&(o=1e3),setTimeout((function(){alert(e.join(""),{onButtonClick:function(){$.post("/ajax.php",{action:"update-accepted"})},max_width:"600px",closeX:!1,force_response:!0})}),o)}},window.classicAlert=window.alert,window.alert=function(e,o){AoPS.hasOwnProperty("Ui")?(AoPS.Ui.Modal.closeTopModal(),void 0===o?AoPS.Ui.Modal.showAlertQuick(e):AoPS.Ui.Modal.showAlertQuick(e,o)):window.classicAlert(e)},AoPS.setBreadcrumbs=function(e){for(var o,n=[],t=0;t'+o+""),n.push(''+o+"");$(".crumb-wrapper").html(n.join(' '))},AoPS.fixFooter=function(){var e=$(window).height(),o=$("body").hasClass("small-footer");e-=$("#header-wrapper").outerHeight(),e-=$("#top-bar").outerHeight(),$("#breadcrumbs-wrapper:visible").length||(e-=26),e-=o?$("#small-footer-wrapper").outerHeight():$("#main-footer").outerHeight(),$("#main-content").css("min-height",e),o&&$("#small-footer-wrapper").show();var n=document.getElementById("side-column-wrapper");n&&$(n).css("min-height",e),AoPS.fixSidebarOnce()},AoPS.makeSidebarAdjustment=function(e,o,n){if(e&&o&&n){var t=0;o.children().each((function(){t+=$(this).outerHeight(!0)})),e.height()!==Math.max(n.outerHeight(!0),t)&&e.css("height",Math.max(n.outerHeight(!0),t))}},AoPS.fixSidebarOnce=function(){var e=$("#side-column-wrapper"),o=$("#side-column"),n=$("#main-column");AoPS.makeSidebarAdjustment(e,o,n)},AoPS.fixSidebarAnimatedOnce=function(e){AoPS.fixSidebarAnimatedOnceOnElement(e,"main-column")},AoPS.fixSidebarAnimatedOnceOnElement=function(e,o){var n=$("#side-column-wrapper"),t=$("#side-column"),i=2+e?e/15:0,a=0;!function e(){a>i||(a++,AoPS.makeSidebarAdjustment(n,t,$("#"+o)),setTimeout(e,15))}()},AoPS.fixSidebarClassObserver=function(e){var o,n=$("#side-column-wrapper"),t=$("#side-column"),i=$("#main-column");e||(e=[]),o=e.attributeFilter?{attributeFilter:e.attributeFilter,attributes:!0,childList:!0,subtree:!0}:{attributeFilter:["class"],attributes:!0,childList:!0,subtree:!0};new MutationObserver((function(){if(e.animation_length){var o=2+e.animation_length/15,a=0;!function e(){a>o||(a++,AoPS.makeSidebarAdjustment(n,t,i),setTimeout(e,15))}()}else AoPS.makeSidebarAdjustment(n,t,i)})).observe(document.getElementById("main-column"),o),e.animation_length?AoPS.fixSidebarAnimatedOnce(e.animation_length/15):AoPS.makeSidebarAdjustment(n,t,i)},AoPS.login={ajaxing:!1,$login_form:$("#login-form"),logout_url:AoPS.bootstrap_data&&AoPS.bootstrap_data.logout_url,user_clicked_logout:!1,user_clicked_login:!1,modal:null,initialize:function(){$(document).on("click",".online-login-button",AoPS.login.display),$("#header-logout, #small-header-logout").on("click",AoPS.login.logout),$("#register-button").on("click",(function(e){e.preventDefault(),AoPS.login.register()})),$("#login-cancel-button").on("click",AoPS.login.close),$("#login-button").on("click",AoPS.login.login),$("#login-password").on("keypress",(function(e){13===e.keyCode&&AoPS.login.login()})),$("#login-username").on("keypress",(function(e){if(13===e.keyCode){var o=document.getElementById("login-username").value;document.getElementById("login-password").value.length?AoPS.login.login():o.length&&document.getElementById("login-password").focus()}}))},logout:function(e){if(!AoPS.login.ajaxing){e.preventDefault(),e.stopPropagation(),AoPS.login.user_clicked_logout=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php",n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http")),$.ajax({url:o,timeout:1e4,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{a:"logout"},success:function(e){AoPS.login.ajaxing=!1,AoPS.login.logout_url?window.location=AoPS.login.logout_url:window.location.hash?window.location.reload(!0):window.location.href=window.location.href}})}},register:function(){var e=document.getElementById("login-username").value||"",o=document.getElementById("login-password").value||"";if("function"==typeof(AoPS.Register||{}).display)AoPS.login.close(),AoPS.Register.display({username:e,password:o});else{var n=document.getElementById("registration-form");n.username.value=e,n.password.value=o,n.submit()}},loggedin:function(){},login:function(e){if(!AoPS.login.ajaxing){AoPS.login.user_clicked_login=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php";if(void 0!==e&&!0===e){var n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http"))}$.ajax({url:o,timeout:1e4,type:"post",data:{a:"login",username:$("#login-username").val(),password:$("#login-password").val(),stay:$("#login-stay-logged-in").is(":checked")},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),e.error_msg?($("#login-form > .error").show().html(e.error_msg),e.error_msg.toLowerCase().indexOf("account deactivated")>=0&&$.ajax({url:o,timeout:1e4,type:"post",data:{a:"user-get-registration-disabled",username:$("#login-username").val()},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){$("#register-button").hide(),window.location.href.includes("register.php")&&window.location.reload(!0)}})):e.error_code?$("#login-from > .error").show().html(e.error_code):document.location.href.indexOf("com/online?login")>0?document.location="/online":window.location.hash?window.location.reload(!0):window.location.href=window.location.href},error:function(o){void 0!==e&&!0===e?(AoPS.login.user_clicked_login=!1,setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),$("#login-form > .error").show().html("There was an error communicating with the server. Please try again.")):(AoPS.login.ajaxing=!1,AoPS.login.login(!0))}})}},close:function(){AoPS.login.modal&&(AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=null),$(document).off("keyup",AoPS.login.checkKeyPress)},display:function(e){e=!1!==e,0===AoPS.login.$login_form.length&&(window.location.href="/user/login.php?redirect="+encodeURIComponent(window.location.href)),$("#login-cancel-button").toggle(e),$.ajax({url:"/ajax.php",timeout:5e3,type:"get",data:{a:"check-invalid-registration-cookie"},success:function(e){e.response&&$("#register-button").hide()}}),$("#login-password").attr("type","password"),AoPS.login.modal&&AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=AoPS.login.$login_form.showPlainModal({max_width:"500px",closeX:e,force_response:!e,scrollable:!0}),setTimeout((function(){$("#login-username").focus()}),1),e&&$(document).on("keyup",AoPS.login.checkKeyPress)},checkKeyPress:function(e){27===e.keyCode&&AoPS.login.close()},onUserAjaxLogout:function(){AoPS.session.logged_in||($("#header .myaops").remove(),$("#header-login").show())},onUserAjaxLogin:function(){document.location.reload(!0)}},$((function(){var e=$(".menubar-label, .login-dropdown"),o=!1;e.on("click",(function(e){o&&(e.preventDefault(),e.stopPropagation())})).on("mouseover",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverTimeout")&&n.prop("hoverTimeout",clearTimeout(n.prop("hoverTimeout"))),n.prop("hoverIntent",setTimeout((function(){n.addClass("open")}),50))}})).on("mouseleave",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverIntent")&&n.prop("hoverIntent",clearTimeout(n.prop("hoverIntent"))),n.prop("hoverTimeout",setTimeout((function(){n.removeClass("open")}),50))}}));var n=window.navigator.msPointerEnabled?"MSPointerDown":"touchstart";("ontouchstart"in document.documentElement||"MSPointerDown"===n)&&e.each((function(){var t=$(this);this.addEventListener(n,(function(i){if(("MSPointerDown"===n||1===i.touches.length)&&(window.innerWidth>700||t.hasClass("login-dropdown")))if(i.stopPropagation(),t.hasClass("open"))o=!1;else{o=!0,i.target!==this&&i.target.parentNode!==this||i.preventDefault(),e.removeClass("open"),t.addClass("open");document.addEventListener(n,(function e(n){n.stopPropagation(),t.removeClass("open"),document.removeEventListener("touchstart",e),o=!1}))}}),!1)}))})),AoPS.updateLayout=function(){},"undefined"!=typeof Backbone&&(AoPS.Model=Backbone.Model.extend({}),AoPS.Collection=Backbone.Collection.extend({debug:function(){console.log(this),console.log(this.length),console.log(this.models)}}),AoPS.View=Backbone.View.extend({getTemplate:function(e,o){var n=AoPS.View.compileTemplate(e);return $.parseHTML($.trim(n&&n(o)))},compile:function(e){return AoPS.View.compileTemplate(e)},display:function(e,o){this.$el.html($.parseHTML($.trim(e(o))))},debug:function(){console.log("View.model:",this.model),console.log("View.tagName:",this.tagName),console.log("View.className:",this.className),console.log("View.el:",this.el),console.log("View.$el:",this.$el)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},close:function(){this.remove(),this.unbind(),"function"==typeof this.onClose&&this.onClose()},showLoadingModal:function(){this.loadingModal=AoPS.Ui.Modal.showMessage('',{closeX:!1,force_response:!0,frame_class:"loading-modal-frame"})},closeLoadingModal:function(){AoPS.Ui.Modal.closeParticularModal(this.loadingModal)}}),AoPS.View.template_cache={},AoPS.View.compileTemplate=function(e){var o=AoPS.View.template_cache;if(!o.hasOwnProperty(e)){var n=$(e),t=Handlebars.templates&&Handlebars.templates[e.slice(1)];n.length?o[e]=Handlebars.compile(n.html()):t&&(o[e]=t)}return o[e]}),AoPS.inputPlaceholders={initialize:function(){"placeholder"in document.createElement("input")||($("[placeholder]").focus((function(){var e=$(this);e.val()===e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))})).blur((function(){var e=$(this);""!==e.val()&&e.val()!==e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))})).blur(),$(["placeholder"]).parents("form").submit(AoPS.inputPlaceholders.clear),AoPS.inputPlaceholders.clear=function(){$("[placeholder]").each((function(){var e=$(this);e.val()===e.attr("placeholder")&&e.val("")}))})},clear:function(){}},AoPS.doFastMathJax=function(e){AoPS.FastMathJax.push(e)},AoPS.FastMathJax={_elements:[],_isProcessing:!1,_process:function(){if(!this._isProcessing)if(this._elements.length){this._isProcessing=!0;var e=$("
      ").css({position:"fixed",top:"-100vh",left:"-100vw",opacity:0,"z-index":-9999,"pointer-events":"none"}).appendTo($(document.body)),o=this,n=this._elements.splice(0,250);_.each(n,(function(o){o.$hidden=o.$el.clone().removeClass().appendTo(e)})),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e.get(0)]),MathJax.Hub.Queue([function(){_.each(n,(function(e){e.$el.html("").append(e.$hidden.clone()),e.$hidden.remove()})),e.remove(),o._isProcessing=!1,o._process()}])}else this._isProcessing=!1},push:function(e){window.MathJax&&(e instanceof jQuery||_.isArray(e)?_.each(e,_.bind((function(e){this._elements.push({$el:$(e)})}),this)):this._elements.push({$el:$(e)}),setTimeout(_.bind((function(){this._process()}),this),50))}},AoPS.importJavaScript=function(e){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(o)},window.number_format=function(e,o,n,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i,a,r,s=isFinite(+e)?+e:0,l=isFinite(+o)?Math.abs(o):0,c=void 0===t?",":t,u=void 0===n?".":n,d="";return(d=(l?(i=s,a=l,r=Math.pow(10,a),""+(Math.round(i*r)/r).toFixed(a)):""+Math.round(s)).split("."))[0].length>3&&(d[0]=d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(d[1]||"").length-1)&&(parseInt(o)||!1)}(t=t||"init_time");if(!1!==i){var a=function(e){if(!document||_.isUndefined(document.cookie)||!navigator||!navigator.cookieEnabled)return!1;for(var o,n=new RegExp("^\\s*"+e+"_init_time\\s*=\\s*(.*?)\\s*$"),t=document.cookie.split(";"),i=0;i=i?function(){if(!e){e=!0;var o=document.createElement("STYLE"),n=document.createTextNode("body {display: none;}");o.appendChild(n),document.head.appendChild(o),console.log("About to refresh the page due to back button use."),setTimeout((function(){window.location.reload(!0)}),2e3)}}():setTimeout((function(){e||(document.cookie=n+"_init_time="+i+"; path=/")}),3e3)}}}}(),AoPS.isUserLimited=function(){return AoPS.user_is_limited},AoPS.user_is_limited=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("limited_user"),AoPS.isUserNew=function(){return AoPS.user_is_new},AoPS.user_is_new=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("new_user"),AoPS.in_academy=AoPS.bootstrap_data&&AoPS.bootstrap_data.hasOwnProperty("in_academy")&&1===parseInt(AoPS.bootstrap_data.in_academy),AoPS.convertSmartQuotes=function(e){return e.replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[\u2026]/g,"...")};var gOldOnError=window.onerror;window.onerror=function(e,o,n,t,i){return!!gOldOnError&&gOldOnError(e,o,n)},window.onImageLoad=function(){},window.handlebars=function(e,o){var n="";if(o||(o={}),e instanceof Element)n=e.innerHTML;else if("undefined"!=typeof jQuery&&e instanceof jQuery)n=e.html();else{if("string"!=typeof e)return!1;try{var t=document.querySelector(e);n=null===t?e:t.innerHTML}catch(r){n=e}}if("undefined"!=typeof Handlebars)return Handlebars.compile(n)(o);for(var i in o){var a=new RegExp("{{"+i+"}}","g");n=n.replace(a,o[i])}return n},AoPS.handleLocationHash=function(e){var o=function(e){var o=e.offset().top,n=$("#main-menubar").outerHeight();return Math.min(Math.floor(o-n),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},n={};function t(e){if(!n.animating){n.animating=!0;var i=o(e);$("html, body").animate({scrollTop:i},{duration:0,step:function(n,t){t.end=o(e)},always:function(){n.animating=!1,Math.abs($(window).scrollTop()-o(e))>n.threshold&&t(e)}})}}setTimeout((function(){if(location.hash){var e=$(document).find(location.hash);e.length&&t(e)}}),0)},AoPS.handleLocationHash2=function(e,o){o||(o={});var n=function(e){var o=$("#header"),n=$("#main-menubar"),t=n.outerHeight();t=$(window).width()<=700?0:"fixed"===o.css("position")?n.outerHeight():n.outerHeight()+70;var i=e.offset().top;return Math.min(Math.floor(i-t),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},t={};function i(e){if(!t.animating){t.animating=!0;var a=n(e);$("html, body").animate({scrollTop:a},{duration:o&&o.duration?o.duration:0,step:function(o,t){t.end=n(e)},always:function(){t.animating=!1,Math.abs($(window).scrollTop()-n(e))>5&&(o.duration=0,i(e))}})}}setTimeout((function(){if(e)e.length&&i(e);else if(location.hash){var o=$(document).find(location.hash);o.length&&i(o)}}),0)}; +;AoPS.hasOwnProperty("Ui")&&AoPS.hasOwnProperty("ui_main_loaded")||(AoPS.Ui=function(e){var t;t=$(window).height(),setInterval((function(){var e=$(window).height();e!=t&&(t=e,$(window).trigger("resize"))}),100),$(window).on("resize",(function(){t=$(window).height()})),e.buildTableRow=function(e){var t=$("
      "),o=(e=_.defaults(e,{is_header:!1})).is_header?"th":"td";return _.each(e.data,(function(e){t.append($.parseHTML("<"+o+">"+e+""))})),e.is_header&&t.addClass("aops-no-sort"),t},e.buildTable=function(t){var o,s,a=0,i=!1,n=!1;return t=_.defaults(t,{sortable:!1,table_id:"",sort_on_build:!1,table_class:"",sort_col:0,sort_order:"asc",repeating_header:0}),o=$("
      ",{id:t.table_id,class:t.table_class}),s=$("").appendTo(o),t.hasOwnProperty("footer")&&$("").prependTo(o).append(e.buildTableRow({data:t.footer,is_header:!0})),t.hasOwnProperty("header")&&$("").prependTo(o).append(e.buildTableRow({data:t.header,is_header:!0})),t.hasOwnProperty("rows")&&_.each(t.rows,(function(o){s.append(e.buildTableRow({data:o})),a++,t.repeating_header>0&&a%t.repeating_header==0&&s.append(e.buildTableRow({data:t.header,is_header:!0}))})),t.sortable&&(o.tablesorter(t.sort_on_build?{sortList:t.hasOwnProperty("sortList")?t.sortList:[[t.sort_col,"asc"===t.sort_order?0:1]]}:{}),t.repeating_header>0&&(o.bind("sortStart",(function(){i?(i=!1,n=!0):(i=!0,s.find(".aops-no-sort").remove(),o.trigger("update"))})),o.bind("sortEnd",(function(){n?n=!1:s.find("tr:nth-child("+t.repeating_header+"n)").after(e.buildTableRow({data:t.header,is_header:!0}))})))),o},e.Flyout=function(){var e,t={},o=[],s={width:300,height:150,class:"",time:5e3,animation_time:1e3,close_function:"close"};function a(){if(o.length&&document.body){var e=document.getElementById("flyout");if(!e||!e.parentNode){var t=o.shift();i(t.html,t.opts)}}}function i(o,a){a=$.extend({},s,a),e=a;var i=document.createElement("div");i.id="flyout",i.style.width=a.width+"px",i.style.height=a.height+"px",i.style.right=-a.width+"px",i.className=a.class,i.innerHTML='
      '+o,document.body.appendChild(i),$("#flyout").animate({right:0},a.animation_time,(function(){t.timeout=setTimeout((function(){n()}),a.time)}))}function n(){$("#flyout").animate({right:-e.width},e.animation_time,(function(){t.timeout=0;var e=document.getElementById("flyout");e&&(e.parentNode.removeChild(e),a())}))}return t.display=function(e,s){document.body?(t.close(),o=[],i(e,s)):(AoPS.ErrorUtil.log("E_EARLY_FLYOUT"),t.queue(e,s))},t.queue=function(e,t){o.push({html:e,opts:t}),a()},t.close=function(){if(document.body){t.timeout&&clearTimeout(t.timeout),o=[];var e=document.getElementById("flyout");e&&e.parentNode&&e.parentNode.removeChild(e)}},t.closeWithoutClearingQueue=function(){document.body&&(t.timeout&&clearTimeout(t.timeout),n())},$(a),t}(),$.fn.extend({showUnstyledModal:function(e){var t=_.defaults({$obj:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(t)},showPlainModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showPlainBodyModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.showPlainBody(t)},showModal:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessage(this,t)},showModalQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessageQuick(this,t)},showPlainAlert:function(e){var t=_.defaults({body:this,type:"alert"},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showAlertQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlertQuick(this,t)},showAlert:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlert(this,t)},cloneToPlainModal:function(e){var t=this.clone(!0),o=_.defaults({body:t,type:"message"},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showPlain(o)},cloneToUnstyledModal:function(e){var t=this.clone(!0),o=_.defaults({$obj:t},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(o)},cloneToModal:function(e){var t=this.clone(!0),o=_.extend({},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showMessage(t,o)},replaceTopModalPlain:function(e){var t=_.defaults({body:this,frame_class:"",type:"message"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModalUnstyled:function(e){var t=_.defaults({$obj:this,type:"$"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModal:function(e){var t=_.extend({type:"message",frame_class:"aops-modal-standard",body:this},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o}});var o=1e5;return e.Modal={active_modals:[],fitMasks:function(){function e(){var e={height:$(window).outerHeight(),width:$(window).outerWidth()};function t(t,o){var s=t.options["max_"+o];return"%"===s.substr(s.length-1,1)?Math.min(parseFloat(s)/100*e[o],t.options.overall_max_width):Math.min(parseFloat(s),t.options.overall_max_width)}_.each(this.active_modals,(function(e){var o={height:t(e,"height"),width:t(e,"width")};e.$obj.css({"max-height":"","max-width":""}),e.$obj.css({height:e.options.height,width:e.options.width}),_.each(["width","height"],(function(t){var s=Math.round(o[t]);("height"===t?e.$obj.outerHeight():e.$obj.outerWidth())>=s&&e.$obj[t](s)}));var s=Math.min(1e3,window.innerWidth-12)+"px";e.$obj.css({"max-height":e.options.max_height,"max-width":s})}))}function t(){$("body").toggleClass("modal-page-overflow",$("body").height()>$(window).height()),_.each(this.active_modals,(function(e){e.$wrapper.css({overflow:"hidden"}),e.$obj.css({position:"absolute"}),e.$obj.css({top:parseInt(Math.max(0,($(window).height()-e.$obj.outerHeight())/2*.8)),left:parseInt(Math.max(0,($(window).width()-e.$obj.outerWidth())/2))})}))}e.apply(this),e.apply(this),setTimeout(_.bind((function(){e.apply(this),t.apply(this)}),this),5),t.apply(this)},show$Object:function(e){var t={$wrapper:$("
      ",{class:"aops-modal-wrapper"}),$mask:$("
      ",{class:"aops-modal-mask"}),$obj:e.$obj,options:this.appendDefaults(e)};return $("body").addClass("aops-modal-open"),t.$wrapper.append(t.$obj),this.setZIndices(t),$("body").append(t.$mask),$("body").append(t.$wrapper),t.options.hasOwnProperty("onShow")&&setTimeout((function(){t.options.onShow()}),100),this.active_modals.push(t),this.setZIndices(t),t.$mask.fadeTo(e.mask_fade_in_speed,t.options.mask_alpha),t.$wrapper.fadeIn(e.mask_fade_in_speed,(function(){"alert"===e.type&&e.focus_on_alert&&t.$obj.find("button").first().focus()})),t.options.draggable&&t.$obj.draggable&&t.$obj.draggable(t.options.draggable_options),this.parseForceResponse(t),this.fitMasks(),!("activeElement"in document)||_.isUndefined(document.activeElement)||_.isNull(document.activeElement)||document.activeElement.blur(),t.options.mathjax&&window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$obj[0]]),t.$obj.trigger("modal_shown"),t},show:function(e){var t;switch((t=this.prepareOptions.apply(this,arguments)).type){case"$":return this.show$Object(t);case"unframed_html":return $($.parseHTML(t.body));case"ignore-loading":break;default:return this.show$Object(_.extend({$obj:this.makeFramed$Object(t)},t))}},extFrameClass:function(e,t){return e+(t.hasOwnProperty("frame_class")?" "+t.frame_class:"")},showPlain:function(e){return this.show(e)},showQuick:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-standard aops-modal-quick",e)},e))},showPlainBody:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-plain-body",e)},e))},showMessage:function(e){var t,o=arguments.length>1?arguments[1]:{};return t=o.hasOwnProperty("buttons")?"buttons":"message",this.show(_.extend({type:t,body:e,frame_class:this.extFrameClass("aops-modal-standard",o)},o))},showMessageQuick:function(e){return this.showQuick(_.extend({type:"message",body:e},arguments.length>1?arguments[1]:{}))},showAlert:function(e){var t=arguments.length>1?arguments[1]:{};return this.show(_.extend({type:"alert",body:e,frame_class:this.extFrameClass("aops-modal-standard",t)},t))},showAlertQuick:function(e){return this.showQuick(_.extend({type:"alert",body:e},arguments.length>1?arguments[1]:{}))},showConfirm:function(e,t){var o=arguments.length>2?arguments[2]:{},s=this.show(_.extend({type:"confirm",body:e,onButtonClick:t,frame_class:this.extFrameClass("aops-modal-standard",o)},o));return s.$obj.find(".aops-modal-btn").first().focus(),s},showConfirmQuick:function(e,t){var o=this.showQuick(_.extend({type:"confirm",body:e,onButtonClick:t},arguments.length>2?arguments[2]:{}));return o.$obj.find(".aops-modal-btn").first().focus(),o},showButtons:function(e,t,o){var s=arguments.length>3?arguments[3]:{};return this.show(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o,frame_class:this.extFrameClass("aops-modal-standard",s)},s))},showButtonsQuick:function(e,t,o,s){return s=s||{},this.showQuick(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o},s))},makeFramed$Object:function(e){var t,o,s=null,a=null,i=this,n=$("
      ",{class:e.scrollable?"aops-scroll-content":"aops-modal-noscroll"});function r(e){var t="";return e.removeDefaultBtnCss||(t=" btn-primary"),e.btnClass&&(t=" "+e.btnClass),$(" + + +
      + +
      +
      +
      + + + +
      + + + + + + + + + + + + + + + + + +
      +
      a
      w
      m
      E
      +
      +
      \ No newline at end of file diff --git a/Download/​​​ This is a test_files/922786.css b/Download/​​​ This is a test_files/922786.css new file mode 100644 index 0000000..b240e55 --- /dev/null +++ b/Download/​​​ This is a test_files/922786.css @@ -0,0 +1,1508 @@ +/*! + * City.css v2.0.0 + * + * Inspired by Air (by asf), Libre (by PythonNut), and Grey (by Tungsten) + * + * https://github.com/tyxchen/aops-city | Released under the MIT License + */ +/** + * Components + */ +@import url(//brick.a.ssl.fastly.net/Raleway:200,300/Merriweather:200,200i,700,700i/Lato:400,700); +@import url("https://fonts.googleapis.com/css?family=Titillium+Web:100,200,300,375,400,500,600,700,800,900"); +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); +/** + * Groups + */ +/* Reset background, padding, border & margin */ +#main, #navigation_box, #header h1, .cmty-hide-content, .bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body, fieldset { + /* Source for %reset-all */ + background: none; + padding: 0; + border: none; + margin: 0; +} + +/* Set box-sizing to border-box */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, #wrapper, #main, #right_navigation_box a, .cmty-posting-modal { + /* Source for %border-box */ + box-sizing: border-box; +} + +/* Set box-sizing to content-box */ +#navigation_box, #blog_keywords + div, .cmty-posting-modal .aops-close-x { + /* Source for %content-box */ + box-sizing: content-box; +} + +/* No user select */ +#navigation_box, #header h1, .cmty-posting-preview-bar { + /* Source for %no-user-select */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Pseudo-element shared styles */ +body::after, #content::before { + /* Source for %pseudo */ + content: ''; + position: absolute; +} + +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6, #navigation_box a, #header h1, .bbcode_quote_head, #user-menu-widget .username-colored, #blog_keywords, .cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before, .cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .aops-modal-title { + /* Source for %heading */ + font-family: Raleway, Lato, Roboto, 'Segoe UI', 'Lucida Grande', 'DejaVu Sans', sans-serif; +} + +/* Import font for modals */ +:root .btn, :root .cmty-editable-item-close, .blog-reply-window, #post-new-entry, .aops-modal-body, +#flyout, #main::after { + /* Source for %modal-font */ + font-family: Lato, 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; +} + +/* Transitions */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, :root .btn, :root .cmty-editable-item-close, #navigation_box, #right_navigation_box a, div.entry h2 > a::before, div.comment h2 > a::before, pre::before, #blog_keywords, .cmty-item-tag, .entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Source for %transition03 */ + transition: 0.3s ease; +} + +/** + * Modules + */ +/** + * General module + * + * Encompasses shared styles for individual component elements + */ +a:link, +a:hover, +a:visited { + color: #2b2b2b; +} + +a:focus { + border-bottom: 1px dotted #ccc !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + /* Rule extends %heading */ + color: inherit; +} + +h1 { + font-size: 1.7em; +} + +h2 { + font-size: 1.2em; +} + +[style*='underline'], .message a:link, +.message a:hover, +.message a:visited, .cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Source for %link-underline */ + text-decoration: none !important; + background-image: linear-gradient(to bottom, currentColor, currentColor); + background-size: 1px 1px; + background-repeat: repeat-x; + background-position: 0 1.06em; +} + +[style*='underline'] { + /* Rule extends %link-underline */ +} + +input[type='text'], +textarea, +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + background-color: #fff; + font-size: inherit; +} + +:root input[type='text'], +:root +textarea, +:root .cmty-poll-question, +:root +.cmty-poll-inputs { + border-width: 0 0 1px; + border-color: #d9d9d9; +} + +:root input[type='text']:hover, +:root +textarea:hover, +:root .cmty-poll-question:hover, +:root +.cmty-poll-inputs:hover { + border-color: #ccc; +} + +:root input[type='text']:focus, +:root +textarea:focus, +:root .cmty-poll-question:focus, +:root +.cmty-poll-inputs:focus { + border-width: 0 0 1px; + border-style: solid; + border-color: #aaa; +} + +:root .btn, :root .cmty-editable-item-close { + /* Rule extends %modal-font */ + /* Rule extends %transition03 */ + background-color: #fff; + color: #444; + font-size: inherit; + line-height: 1.4em; + padding: 0 0.8em; + background: none; + border: none; + margin: 0; + width: auto; + height: 1.4em; +} + +:root .btn:hover, :root .cmty-editable-item-close:hover { + color: #444; + background-color: #f2f2f2; +} + +:root .btn:focus, :root .cmty-editable-item-close:focus { + background-color: #e6e6e6; +} + +::-webkit-scrollbar { + background-color: #fff; + width: 0.6rem; + height: 0.6rem; +} + +::-webkit-scrollbar-thumb { + background-color: #ccc; + border: solid #fff; + border-width: 0.2rem 0.25rem; + border-radius: 0.5rem; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:active { + background-color: #aaa; +} + +::-webkit-scrollbar-thumb:horizontal { + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:horizontal:hover { + border-width: 0.15rem; +} + +/** + * Layout module + * + * Encompasses body, wrapper, and general layout + */ +body { + font-family:'Titillium Web', sans-serif; + font-size: 1rem; + color: #444; + overflow-x: hidden; +} + +body::after { + /* Rule extends %pseudo */ + position: fixed; + background-image: url("https://cdn.artofproblemsolving.com/images/6/a/2/6a28bd61ace416f184719463cacd5268c000cee3.png"); + background-position: 0; + background-size: cover; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 25vh; +} + +#wrapper { + /* Rule extends %border-box */ + width: 100%; + padding: 0; + background: none; + border: none; +} + +#content { + position: relative; + background-color: #fff; + padding: 0 calc((100% - 48em) / 2); + padding-top: 5vh; + margin-top: 72vh; +} + +#content::before { + /* Rule extends %pseudo */ + background-image: linear-gradient(to top, rgba(51, 51, 51, 0.4) 0, rgba(51, 51, 51, 0.1) 60%, transparent 100%); + top: -15vh; + left: 0; + right: 0; + bottom: 100%; +} + +#main { + /* Rule extends %reset-all */ + /* Rule extends %border-box */ + position: relative; + width: 100%; + padding-bottom: 3em; +} + +/** + * Header module + * + * Encompasses the header and the navigation bar + */ +#navigation_box a, #header h1 { + /* Source for %title */ + /* Rule extends %heading */ + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#navigation_box { + /* Rule extends %reset-all */ + /* Rule extends %content-box */ + /* Rule extends %no-user-select */ + /* Rule extends %transition03 */ + position: fixed; + color: transparent; + background-color: #fff; + font-size: 1em; + white-space: nowrap; + padding: 0 1em; + border-bottom: 1px solid #e6e6e6; + opacity: 0.95; + z-index: 100; + top: 0; + left: 0; + right: 0; + width: auto; + height: 3rem; +} + +#navigation_box a { + /* Rule extends %title */ + display: inline; + color: #333; + text-shadow: none; + font-size: inherit; + font-weight: 300; + line-height: 3rem; + padding: 1.1em 0.4em; + border-top: 0.2em solid #333; + margin: 0 -0.3em; + transition: 0.3s ease; +} + +#left_navigation_box { + height: 100%; + font-size: inherit; + line-height: inherit; +} + +#left_navigation_box a:hover, +#left_navigation_box a:focus, +#left_navigation_box a:last-child { + padding-top: 0.75em; + color: #1a1a1a; +} + +#right_navigation_box { + position: relative; + margin-right: 2.7rem; + width: 7.5em; + height: 3em; +} + +#right_navigation_box a { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + position: absolute; + color: transparent; + font-size: 0.01px; + background-color: transparent; + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + width: 2.5rem; + height: 3rem; +} + +#right_navigation_box a:hover, #right_navigation_box a:focus { + background-color: #e6e6e6; + border-bottom: none !important; +} + +#right_navigation_box .blog-info { + left: 0; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjE0IiBjeD0iMTUiIGN5PSIxNSIvPjxjaXJjbGUgaWQ9ImRvdCIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiByPSIxIiBjeD0iMTUiIGN5PSI3LjUiLz48cGF0aCBpZD0iaSIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiBkPSJtMTIuNSwxMS41bDMuNSwwbDAsMTFxMCwwLjUgMC41LDAuNWwxLDBsMCwxbC01LDBsMCwtMWwxLDBxMC41LDAgMC41LC0wLjVsMCwtOS41cTAsLTAuNSAtMC41LC0wLjVsLTEsMGwwLC0xeiIvPjwvZz48L3N2Zz4="); +} + +#right_navigation_box #blog-subscribe { + left: 2.5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box #blog-subscribe[title*='stop'] { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9IiMzMzMiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login, +#right_navigation_box .blog-logout { + left: 5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTE2LDExbC00LjUsNC41bDQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-logout { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTIyLDExbDQuNSw0LjVsLTQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login + .blog-info { + left: 2.5rem; + background-color: #fff; + z-index: 12; +} + +#right_navigation_box .blog-login + .blog-info:hover { + background-color: #e6e6e6; +} + +#header { + position: fixed; + height: 2em; + z-index: 0; + top: calc(36vh - 2.5rem); + left: 0; + right: 0; + background: none; + border: none; +} + +#header h1 { + /* Rule extends %title */ + /* Rule extends %reset-all */ + /* Rule extends %no-user-select */ + font-size: 5rem; + font-weight: 200; + text-decoration: none; + z-index: 10; +} + +#header a:focus h1::before { + content: '\f015'; + position: absolute; + font-family: FontAwesome; + font-size: 0.6em; + opacity: 0.3; + margin-left: -1em; +} + +/** + * Entry module + * + * Encompasses entries and comments + */ +div.actions, +div.modactions { + font-size: 0.7em; +} + +#main > div:first-child { + margin-top: 1em; +} + +div.entrywrap, div.commentwrap, +div.entry, +div.comment { + line-height: 2em; + background-color: transparent; + border: none; +} + +div.entrywrap a, div.commentwrap a { + text-decoration: none !important; +} + +div.entry, div.comment { + position: relative; + padding: 0 1.2em; + margin: 0 -1.4em; +} + +div.entry h1, div.comment h1 { + overflow: hidden; + text-overflow: ellipsis; + padding-right: 0; +} + +div.entry h2, div.comment h2 { + font-size: 0.9em; + margin-left: 0.3em; +} + +div.entry h2 > a::before, div.comment h2 > a::before { + /* Rule extends %transition03 */ + content: '\00B6'; + position: absolute; + color: transparent; + font-size: 1.7em; + margin-right: 0.3em; + top: -2.15rem; + left: -1em; +} + +div.entry h2 img, div.comment h2 img { + display: none; +} + +div.entry h2 .username-colored, div.comment h2 .username-colored, +div.entry h2 .username-coloured, div.comment h2 .username-coloured { + color: #090909 !important; + font-weight: normal; +} + +div.entry:hover h2 > a::before, div.comment:hover h2 > a::before { + color: #ccc; +} + +div.commentwrap { + /* Rule extends .entrywrap */ + padding: 0.5em; + margin: 0.5em; +} + +div.comment { + /* Rule extends .entry */ +} + +.cfooter .author { + margin: 0.7em 0; +} + +.cfooter .author::before { + content: '\2767'; + vertical-align: middle; + font-size: 1.3em; + margin-right: 0.1em; +} + +.cfooter .author img { + display: none; +} + +.cfooter .author strong { + font-weight: normal; +} + +.message { + overflow-x: auto; +} + +.message a:link, +.message a:hover, +.message a:visited { + /* Rule extends %link-underline */ +} + +.message a:visited { + color: #444; +} + +.cmty-hide-heading:link, +.cmty-hide-heading:hover { + border-bottom: none; + background-image: linear-gradient(to right, currentColor 0%, currentColor 50%, #fff 50%, #fff 100%); + background-size: 2px 1px; +} + +.cmty-hide-content { + /* Rule extends %reset-all */ +} + +.bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body { + /* Rule extends %reset-all */ +} + +.bbcode_quote { + width: 90%; + margin: auto; +} + +.bbcode_quote_head { + /* Rule extends %heading */ + color: #aaa; + font-size: 1.1em; + font-weight: normal; + margin-left: 1rem; +} + +.bbcode_quote_head::before { + content: ''; +} + +.bbcode_quote_body { + font-size: 1.4em; + margin: 0.5em 1rem; +} + +.bbcode_quote_body .bbcode_quote_head { + font-size: 0.7em; + margin-top: 1rem; +} + +.bbcode_quote_body .bbcode_quote_body { + font-size: 0.8em; +} + +pre { + position: relative; + font-family: Monaco, 'DejaVu Mono', Consolas, monospace; + white-space: pre; + overflow-x: auto; + margin: 0.5em 1rem; +} + +pre[class] a:link { + background-image: none; +} + +pre::before { + /* Rule extends %transition03 */ + content: 'code'; + position: absolute; + background-color: #fff; + color: #aaa; + opacity: 0.8; + padding: 0 0.7em; + top: 0; + right: 0; +} + +pre[class]::before { + content: attr(class); +} + +pre:hover::before { + opacity: 0.2; +} + +pre.cpp::before { + content: 'c++'; +} + +.cmty-poll-display { + margin-top: 0; + margin-bottom: 1em; + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-poll-display .cmty-poll-result-bar { + background-color: #d9d9d9; +} + +/** + * Side module + * + * Encompasses sidebar + */ +#side { + padding: 0; + width: 0; + height: 0; +} + +#side > div { + display: none; +} + +#user-menu-widget { + display: block !important; + font-size: 0.01px; +} + +#user-menu-widget p { + display: none; +} + +#user-menu-widget .avatar { + position: absolute; + display: block; + margin-left: -2.5rem; + top: -2.95rem; + left: 50%; +} + +#user-menu-widget .avatar img { + background-color: #ccc; + display: block; + color: transparent; + border-radius: 50%; + border: 1px solid #ccc; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored { + /* Rule extends %heading */ + position: absolute; + display: block; + color: transparent; + font-size: 0.8rem; + text-overflow: ellipsis; + line-height: 5rem; + border-radius: 50%; + padding: 0.1rem; + margin-left: -2.5rem; + overflow: hidden; + z-index: 1; + transition: 0.15s 0.06s ease-in; + top: -2.55rem; + left: 50%; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored::after { + content: ""; + position: absolute; + background-image: linear-gradient(to bottom, transparent, transparent 30%, rgba(51, 51, 51, 0.3)); + background-position: 50% 0; + opacity: 0; + z-index: -1; + transition: 0.3s ease-out; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#user-menu-widget .username-colored:hover { + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#user-menu-widget .username-colored:hover::after { + opacity: 1; +} + +#search-widget { + display: block !important; + z-index: 10; +} + +#search-widget .widget-header, +#search-widget .widget-content div { + display: none; +} + +fieldset { + /* Rule extends %reset-all */ +} + +#blog_keywords { + /* Rule extends %heading */ + /* Rule extends %transition03 */ + position: fixed; + top: 0; + right: 0; + display: block; + background-color: transparent; + border-left: 2.4em solid #fff !important; + z-index: 100; + cursor: pointer; + transition: all 0s linear, width 0.3s ease, background-color 0s 0.3s linear; + border: none; + box-shadow: none; + border-radius: 0; + width: 0; + height: 3rem; +} + +#blog_keywords:focus { + width: 15em; + background-color: #e6e6e6; + color: #333; + padding-left: 0.5em; + padding-right: 3.1em; + border-left: none !important; + cursor: auto; + transition: all 0s linear, width 0.3s ease, background-color 0s linear; +} + +#blog_keywords + div { + /* Rule extends %content-box */ + position: fixed; + top: -3px; + right: 0; + display: block !important; + font-size: 0; + overflow: hidden; + pointer-events: none; + z-index: 100; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjEwIiBjeD0iMTEiIGN5PSIxMSIvPjxwYXRoIGlkPSJsaW5lIiBzdHJva2U9IiMzMzMiIGQ9Im0yNy4wNjk2OTEsMzAuMTUxMTFsLTkuNjQxODIxLC0xMS40OTA2NjkiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + border-left: 1px solid #e6e6e6; + transition: background-color 0.3s ease 0.114s, border-right-color 0.3s ease 0.114s; + width: 2.6rem; + height: 3rem; +} + +#blog_keywords:hover + div { + background-color: #e6e6e6; + transition: background-color 0.3s ease; +} + +#blog_keywords:focus + div { + background-color: #e6e6e6; + border-right-color: #e6e6e6; + transition: background-color 0.3s ease, border-right-color 0.3s ease; +} + +#blog_keywords + div input { + display: none; +} + +/** + * Posting module + * + * Encompasses posting & commenting forms + */ +@-webkit-keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +@keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.cmty-posting-modal { + /* Rule extends %border-box */ + border-width: 1.8rem; + border-color: #fff; + box-shadow: 0 0 10% #444; + max-width: 100% !important; + max-height: 100% !important; + /* autoprefixer: off */ + -webkit-transform: none !important; + transform: none !important; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + width: 100% !important; + height: 100% !important; +} + +.cmty-posting-modal .aops-close-x { + /* Rule extends %content-box */ + top: -32px; + right: -32px; + color: transparent; + padding: 1em; + border-radius: 0; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9IngiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwyOCwyOG0wLC0yOGwtMjgsMjgiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: 40%; + background-position: center; + background-clip: content-box; +} + +.cmty-posting-modal .cmty-posting-box-container, +.cmty-posting-modal .cmty-post-preview { + width: 50%; + height: calc(100% - 11.9rem) !important; + margin-top: 1rem; +} + +.cmty-posting-modal .cmty-posting-box-container { + float: left; +} + +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea, +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea:focus { + border-width: 0; +} + +.cmty-posting-modal .cmty-post-preview { + display: block !important; + float: right; + border-left: 1px solid #d9d9d9; +} + +.cmty-posting-modal .cmty-edit-post .cmty-posting-box-container, +.cmty-posting-modal .cmty-edit-post .cmty-post-preview { + height: calc(100% - 9.5rem) !important; +} + +.cmty-posting-modal .cmty-posting-with-poll .cmty-posting-box-container, +.cmty-posting-modal .cmty-posting-with-poll .cmty-post-preview { + height: calc(100% - 26.8rem) !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar { + position: fixed; + left: -100%; +} + +.cmty-posting-modal .cmty-posting-preview-bar-hidden { + display: none !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar-shown { + display: block !important; +} + +.cmty-posting-modal .cmty-refresh-preview, +.cmty-posting-modal .cmty-preview-bar-attachments { + position: fixed; + bottom: 0; + font-size: 0.8rem; + padding: 0.5em; + margin: 0; +} + +.cmty-posting-modal .cmty-refresh-preview { + z-index: 1; + border-top: 1px solid #d9d9d9; + left: 1.8rem; + right: 1.8rem; +} + +.cmty-posting-modal .cmty-preview-bar-attachments { + z-index: 10; + left: 1.5rem; +} + +.cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .cmty-posting-box-container .cmty-post-textarea { + /* Source for %faux-placeholder-input */ + position: relative; + background-color: transparent !important; + transition: background-color 0.3s 6s ease, border-color 0.3s ease; +} + +.cmty-posting-subject-line .cmty-subject-input:focus, .cmty-tags-line .cmty-items-input:focus, .cmty-posting-box-container .cmty-post-textarea:focus { + background-color: #fff !important; + transition: background-color 0.3s 0s ease, border-color 0.3s ease; +} + +.cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before { + /* Rule extends %heading */ + position: absolute; + opacity: 0; + color: #aaa; + font-size: inherit; + -webkit-animation: flash-post-fields 6s ease; + animation: flash-post-fields 6s ease; +} + +.cmty-posting-subject-line { + position: relative; + font-size: 2.5em; + padding: 10px 0; +} + +.cmty-posting-subject-line .cmty-heading-text { + margin: 0.3em 0.1em; +} + +.cmty-posting-subject-line .cmty-subject-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding-left: 0.1rem !important; + width: 100%; + height: 2em; +} + +.cmty-posting-subject-line .cmty-subject-input:focus { + padding-left: 0.1rem !important; +} + +.cmty-posting-subject-line .cmty-post-in { + display: none; +} + +.cmty-tags-line { + padding: 0; +} + +.cmty-tags-line .cmty-heading-text { + text-align: left; + margin: 0.2em 0.3em; +} + +.cmty-tags-line .cmty-items-input-box { + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-tags-line .cmty-items-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding: 0.3em !important; + margin-bottom: 0.5em; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.cmty-tags-line .cmty-items-input:hover { + border-color: #ccc !important; +} + +.cmty-tags-line .cmty-items-input:focus { + padding: 0.3em !important; + border-color: #aaa !important; +} + +.cmty-poll-build { + background-color: #fff; + color: #444; + border-bottom: 1px solid #d9d9d9; +} + +.cmty-poll-build .cmty-poll-inputs { + height: 6em; + resize: none; +} + +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends textarea */ + padding: 0.3em 0.2em; +} + +.cmty-poll-question:focus, +.cmty-poll-inputs:focus { + padding: 0.3em 0.2em; +} + +.cmty-poll-left, +.cmty-poll-right { + width: 100%; +} + +.cmty-posting-box-container::before { + content: 'Message'; + font-size: 1.2em; + margin: 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea { + /* Rule extends %faux-placeholder-input */ + padding: 0 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea:focus { + padding: 0 0.3em; +} + +.cmty-posting-preview-bar { + /* Rule extends %no-user-select */ + background-color: #fff; + color: #444; +} + +.cmty-post-preview-text { + font-family:'Titillium Web', sans-serif; + word-wrap: break-word; + padding: 0 1em 1em !important; +} + +.cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Rule extends %link-underline */ +} + +.cmty-post-preview-text a:visited { + color: #444; +} + +.cmty-posting-top, +.cmty-posting-button-row { + color: #444; + background: none; +} + +.cmty-posting-environ-buttons .btn, .cmty-posting-environ-buttons .cmty-editable-item-close { + vertical-align: top; +} + +.cmty-bbcode-btn { + height: 1.4em; +} + +.cmty-bbcode-other { + color: #444; + z-index: 0; +} + +.blog-reply-window { + /* Rule extends %modal-font */ + position: relative; + z-index: 1; + background-color: #fff; + display: none !important; + padding: 0 1em; + border: 1px solid #fff; + border-top-color: #e6e6e6; +} + +.blog-reply-window.blog-reply-open { + display: block !important; +} + +.blog-reply-window.blog-reply-open::before { + content: ''; + display: table; + clear: both; +} + +.blog-reply-window .cmty-posting-box-container::before { + content: 'Comment'; +} + +.blog-reply-window .cmty-posting-environ { + top: -2.1em; + z-index: 1; + margin-bottom: -2.1em; +} + +.blog-reply-window .cmty-posting-button-row { + background-color: #fff; +} + +.blog-reply-window .cmty-cancel-posting-x { + color: #444; +} + +.blog-reply-window .cmty-submit-button { + float: left; +} + +.blog-reply-window .cmty-posting-button-row.cmty-phone { + margin-bottom: 1.1em; +} + +.blog-reply-window .cmty-post-preview { + border: none; +} + +.cmty-edit-post .cmty-heading-text, +.cmty-edit-post .cmty-posting-box-container::before { + -webkit-animation: none; + animation: none; +} + +/** + * Miscellaneous stuff + */ +#post-new-entry { + /* Rule extends %modal-font */ +} + +#post-new-entry-img { + display: none; +} + +div.post-tags { + font-size: 0.9em; + margin-top: 2em; +} + +.cmty-item-tag { + /* Rule extends %transition03 */ + background-color: #fff !important; + color: #aaa !important; + font-size: 0.7em; +} + +.cmty-item-tag:hover { + background-color: #e6e6e6 !important; +} + +.entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Rule extends %transition03 */ + display: inline; + width: auto; + background-color: transparent !important; + padding: 0em 0.2em !important; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.entrywrap .cmty-items-input:hover, div.commentwrap .cmty-items-input:hover { + border-color: #ccc !important; +} + +.entrywrap .cmty-items-input:focus, div.commentwrap .cmty-items-input:focus { + padding: 0em 0.2em !important; + border-color: #aaa !important; +} + +.cmty-editable-item-close { + /* Rule extends .btn */ + font-family: AoPS; +} + +.cmty-editable-item-close:hover { + background-color: #fff; +} + +#feed-wrapper { + display: none; +} + +#main > h1 { + padding-bottom: 0.2em; + border-bottom: 1px solid #e6e6e6; + margin-top: 0.5em; + margin-bottom: 1.3em; +} + +#main > p:not([id]) { + position: relative; + float: right; + z-index: 1; + margin-top: 1.5em; +} + +#main > p:not([id]) a:link, +#main > p:not([id]) a:hover, +#main > p:not([id]) a:visited { + color: #aaa; +} + +.aops-modal-title { + /* Rule extends %heading */ +} + +.aops-modal-body, +#flyout { + /* Rule extends %modal-font */ +} + +#flyout { + text-align: left; + padding-right: 5px; +} + +#main::after { + /* Rule extends %modal-font */ + content: "City made by NMK, with \262d."; + position: relative; + top: 2em; + display: block; + color: #aaa; + font-size: 0.8em; + text-align: center; +} + +/** + * @media module + */ +@media all { + html { + font-size: 17px; + } +} + +@media only screen and (max-width: 1000px) { + body::after { + height: 16rem; + } + #content { + margin-top: 16rem; + padding-top: 2em; + padding-left: 2em; + padding-right: 2em; + } + #content::before { + display: none; + } + #header { + top: 5.75rem; + } + #header h1 { + font-size: 2.5rem; + text-overflow: ellipsis; + overflow: hidden; + } + #navigation_box { + font-size: 0; + opacity: 1; + } + #left_navigation_box a:nth-last-child(2) { + display: inline-block; + font-size: 1rem; + padding: 0 0.7em; + border-top: none; + } + #left_navigation_box a:nth-last-child(2):hover { + background-color: #e6e6e6; + } + #left_navigation_box a:nth-last-child(2)::before { + content: "\3008"; + font-size: 0.9em; + padding-right: 0.2em; + } + #right_navigation_box { + display: none; + } + #blog_keywords + div { + height: calc(3rem + 1px); + } + #blog_keywords:focus { + width: 100%; + } + #user-menu-widget .avatar { + top: -2.45rem; + margin-left: -2rem; + } + #user-menu-widget .avatar img { + width: 4rem; + height: 4rem; + } + #user-menu-widget .username-colored { + display: none; + } + div.quotetitle, + div.quotecontent { + border-left: 1px solid #ccc; + padding-left: 0.5rem; + margin: 0; + } + div.quotecontent { + padding-top: 0.5em; + } + .codetitle { + display: block; + margin-top: 1em; + } + .codetitle b { + font-weight: normal; + } + pre::before { + display: none; + } + .cmty-posting-modal { + border-top-width: 0; + border-bottom-width: 0.8rem; + } + .aops-modal-open { + position: fixed; + overflow: hidden; + width: 100%; + height: 100%; + } + .cmty-posting-modal .cmty-post-preview, + .cmty-posting-preview-bar { + display: none !important; + } + .cmty-posting-modal .cmty-posting-box-container { + width: 100%; + float: none; + } + .cmty-posting-modal .cmty-posting-button-row { + display: none; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone { + display: block; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-posting-environ-buttons { + width: auto; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .btn, .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-editable-item-close { + display: inline-block; + width: auto; + } + .cmty-post-textarea, + .cmty-post-textarea:focus { + border-width: 0 0 1px; + border-radius: 0; + } +} + +/*Loading bar*/ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/*The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top)*/ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​ This is a test_files/aops_core.js b/Download/​​​ This is a test_files/aops_core.js new file mode 100644 index 0000000..0ae901e --- /dev/null +++ b/Download/​​​ This is a test_files/aops_core.js @@ -0,0 +1,10 @@ +!function(i){(i.isEpicFailing=function(){return"undefined"==typeof $},i.isEpicFailing())&&(document.getElementById("epicfail").style.display="block")}(window.AoPS||{}); +;$(document).on("ready",(function(){if(jQuery.support.cors=!0,document.getElementById("side-column")&&($("#breadcrumbs-wrapper").addClass("clickable-breadcrumb"),$("#breadcrumbs-wrapper").click((function(){window.innerWidth<840&&($("#side-column-wrapper").toggleClass("active"),$("#submenu-icon").toggleClass("open"))})),$("#side-column .dropdown-box > .title").click((function(e){$(e.currentTarget).parent().toggleClass("open")})),$("#side-column .menu").click((function(e){$("#side-column .submenu-wrapper").removeClass("open"),$(e.currentTarget).find(".submenu-wrapper").addClass("open")}))),$(".infobar").click((function(e){e.target.className.indexOf("infobar-hide")>=0&&($(this).hide(),AoPS.fixFooter(),$("#main-content").trigger($.Event("resize")),$.ajax({url:"/ajax.php",timeout:5e3,type:"post",data:{a:"infobar-hide",key:$(this).data("key")},success:function(e){}}))})),$("#menu-myaops-toggle").click((function(e){$("#menu-myaops").toggle(),e.preventDefault(),e.stopPropagation()})),!document.getElementById("side-column")){var e=document.getElementById("submenu-icon");e&&e.parentNode.removeChild(e)}AoPS.fixFooter(),$(window).on("resize.fix_footer",(function(){AoPS.fixFooter()})),AoPS.login.initialize(),AoPS.inputPlaceholders.initialize(),document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect?$("html").addClass("svg"):$("html").addClass("no-svg");var o=$("body"),n=$("#top-bar"),t=$("#main-logo"),i=!1,a=!1,r=!1,s=!1;n.on("mousemove.start_loc",(function(){i=!0})),t.on("mousemove.start_loc",(function(){s=!0})),o.on("mousemove.start_loc",(function(){n.off("mousemove.start_loc"),o.off("mousemove.start_loc"),t.off("mousemove.start_loc"),setTimeout((function(){i=!1,s=!1}),350)})),n.on("mouseenter",(function(){a=!0,setTimeout((function(){!i&&a&&$("#header-popin").animate({opacity:1},150)}),350)})),t.on("mouseenter",(function(){r=!0,setTimeout((function(){!s&&r&&$("#header-popin").animate({opacity:1},150)}),350)})),n.on("mouseleave",(function(){a=!1})),t.on("mouseleave",(function(){r=!1})),$("#header").on("mouseleave",(function(){$("#header-popin").animate({opacity:0},150)})),n.find(".site").hover((function(){var e=$(this);e.addClass("dropdown-visible");var o=e.find(".site-dropdown-wrapper");if(o.length){var n=$(window).width(),t=o.outerWidth(),i=o.offset().left+t+10-n;i>0&&o.css("left",-100-i+"px")}}),(function(){$(this).removeClass("dropdown-visible").find(".site-dropdown-wrapper").css("left","")})),AoPS.checkPrivacy()})),$(window).on("load",(function(){AoPS.fixFooter()})),AoPS.checkPrivacy=function(){if(document.URL.indexOf("/privacy")<0&&AoPS.session&&AoPS.session.show_privacy){var e=["

      We've made a few updates to our privacy policy. These updates went into effect on Friday, February 4, 2022.

      ","

      Click ",'here ',"to learn more about the new ",'artofproblemsolving.com policy.

      '],o=1,n=document.location.href;(n.indexOf("community")>0||n.indexOf("alcumus")>0||n.indexOf("baeditor")>0||n.indexOf("class/")>0)&&(o=1e3),setTimeout((function(){alert(e.join(""),{onButtonClick:function(){$.post("/ajax.php",{action:"update-accepted"})},max_width:"600px",closeX:!1,force_response:!0})}),o)}},window.classicAlert=window.alert,window.alert=function(e,o){AoPS.hasOwnProperty("Ui")?(AoPS.Ui.Modal.closeTopModal(),void 0===o?AoPS.Ui.Modal.showAlertQuick(e):AoPS.Ui.Modal.showAlertQuick(e,o)):window.classicAlert(e)},AoPS.setBreadcrumbs=function(e){for(var o,n=[],t=0;t'+o+""),n.push(''+o+"");$(".crumb-wrapper").html(n.join(' '))},AoPS.fixFooter=function(){var e=$(window).height(),o=$("body").hasClass("small-footer");e-=$("#header-wrapper").outerHeight(),e-=$("#top-bar").outerHeight(),$("#breadcrumbs-wrapper:visible").length||(e-=26),e-=o?$("#small-footer-wrapper").outerHeight():$("#main-footer").outerHeight(),$("#main-content").css("min-height",e),o&&$("#small-footer-wrapper").show();var n=document.getElementById("side-column-wrapper");n&&$(n).css("min-height",e),AoPS.fixSidebarOnce()},AoPS.makeSidebarAdjustment=function(e,o,n){if(e&&o&&n){var t=0;o.children().each((function(){t+=$(this).outerHeight(!0)})),e.height()!==Math.max(n.outerHeight(!0),t)&&e.css("height",Math.max(n.outerHeight(!0),t))}},AoPS.fixSidebarOnce=function(){var e=$("#side-column-wrapper"),o=$("#side-column"),n=$("#main-column");AoPS.makeSidebarAdjustment(e,o,n)},AoPS.fixSidebarAnimatedOnce=function(e){AoPS.fixSidebarAnimatedOnceOnElement(e,"main-column")},AoPS.fixSidebarAnimatedOnceOnElement=function(e,o){var n=$("#side-column-wrapper"),t=$("#side-column"),i=2+e?e/15:0,a=0;!function e(){a>i||(a++,AoPS.makeSidebarAdjustment(n,t,$("#"+o)),setTimeout(e,15))}()},AoPS.fixSidebarClassObserver=function(e){var o,n=$("#side-column-wrapper"),t=$("#side-column"),i=$("#main-column");e||(e=[]),o=e.attributeFilter?{attributeFilter:e.attributeFilter,attributes:!0,childList:!0,subtree:!0}:{attributeFilter:["class"],attributes:!0,childList:!0,subtree:!0};new MutationObserver((function(){if(e.animation_length){var o=2+e.animation_length/15,a=0;!function e(){a>o||(a++,AoPS.makeSidebarAdjustment(n,t,i),setTimeout(e,15))}()}else AoPS.makeSidebarAdjustment(n,t,i)})).observe(document.getElementById("main-column"),o),e.animation_length?AoPS.fixSidebarAnimatedOnce(e.animation_length/15):AoPS.makeSidebarAdjustment(n,t,i)},AoPS.login={ajaxing:!1,$login_form:$("#login-form"),logout_url:AoPS.bootstrap_data&&AoPS.bootstrap_data.logout_url,user_clicked_logout:!1,user_clicked_login:!1,modal:null,initialize:function(){$(document).on("click",".online-login-button",AoPS.login.display),$("#header-logout, #small-header-logout").on("click",AoPS.login.logout),$("#register-button").on("click",(function(e){e.preventDefault(),AoPS.login.register()})),$("#login-cancel-button").on("click",AoPS.login.close),$("#login-button").on("click",AoPS.login.login),$("#login-password").on("keypress",(function(e){13===e.keyCode&&AoPS.login.login()})),$("#login-username").on("keypress",(function(e){if(13===e.keyCode){var o=document.getElementById("login-username").value;document.getElementById("login-password").value.length?AoPS.login.login():o.length&&document.getElementById("login-password").focus()}}))},logout:function(e){if(!AoPS.login.ajaxing){e.preventDefault(),e.stopPropagation(),AoPS.login.user_clicked_logout=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php",n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http")),$.ajax({url:o,timeout:1e4,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{a:"logout"},success:function(e){AoPS.login.ajaxing=!1,AoPS.login.logout_url?window.location=AoPS.login.logout_url:window.location.hash?window.location.reload(!0):window.location.href=window.location.href}})}},register:function(){var e=document.getElementById("login-username").value||"",o=document.getElementById("login-password").value||"";if("function"==typeof(AoPS.Register||{}).display)AoPS.login.close(),AoPS.Register.display({username:e,password:o});else{var n=document.getElementById("registration-form");n.username.value=e,n.password.value=o,n.submit()}},loggedin:function(){},login:function(e){if(!AoPS.login.ajaxing){AoPS.login.user_clicked_login=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php";if(void 0!==e&&!0===e){var n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http"))}$.ajax({url:o,timeout:1e4,type:"post",data:{a:"login",username:$("#login-username").val(),password:$("#login-password").val(),stay:$("#login-stay-logged-in").is(":checked")},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),e.error_msg?($("#login-form > .error").show().html(e.error_msg),e.error_msg.toLowerCase().indexOf("account deactivated")>=0&&$.ajax({url:o,timeout:1e4,type:"post",data:{a:"user-get-registration-disabled",username:$("#login-username").val()},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){$("#register-button").hide(),window.location.href.includes("register.php")&&window.location.reload(!0)}})):e.error_code?$("#login-from > .error").show().html(e.error_code):document.location.href.indexOf("com/online?login")>0?document.location="/online":window.location.hash?window.location.reload(!0):window.location.href=window.location.href},error:function(o){void 0!==e&&!0===e?(AoPS.login.user_clicked_login=!1,setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),$("#login-form > .error").show().html("There was an error communicating with the server. Please try again.")):(AoPS.login.ajaxing=!1,AoPS.login.login(!0))}})}},close:function(){AoPS.login.modal&&(AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=null),$(document).off("keyup",AoPS.login.checkKeyPress)},display:function(e){e=!1!==e,0===AoPS.login.$login_form.length&&(window.location.href="/user/login.php?redirect="+encodeURIComponent(window.location.href)),$("#login-cancel-button").toggle(e),$.ajax({url:"/ajax.php",timeout:5e3,type:"get",data:{a:"check-invalid-registration-cookie"},success:function(e){e.response&&$("#register-button").hide()}}),$("#login-password").attr("type","password"),AoPS.login.modal&&AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=AoPS.login.$login_form.showPlainModal({max_width:"500px",closeX:e,force_response:!e,scrollable:!0}),setTimeout((function(){$("#login-username").focus()}),1),e&&$(document).on("keyup",AoPS.login.checkKeyPress)},checkKeyPress:function(e){27===e.keyCode&&AoPS.login.close()},onUserAjaxLogout:function(){AoPS.session.logged_in||($("#header .myaops").remove(),$("#header-login").show())},onUserAjaxLogin:function(){document.location.reload(!0)}},$((function(){var e=$(".menubar-label, .login-dropdown"),o=!1;e.on("click",(function(e){o&&(e.preventDefault(),e.stopPropagation())})).on("mouseover",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverTimeout")&&n.prop("hoverTimeout",clearTimeout(n.prop("hoverTimeout"))),n.prop("hoverIntent",setTimeout((function(){n.addClass("open")}),50))}})).on("mouseleave",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverIntent")&&n.prop("hoverIntent",clearTimeout(n.prop("hoverIntent"))),n.prop("hoverTimeout",setTimeout((function(){n.removeClass("open")}),50))}}));var n=window.navigator.msPointerEnabled?"MSPointerDown":"touchstart";("ontouchstart"in document.documentElement||"MSPointerDown"===n)&&e.each((function(){var t=$(this);this.addEventListener(n,(function(i){if(("MSPointerDown"===n||1===i.touches.length)&&(window.innerWidth>700||t.hasClass("login-dropdown")))if(i.stopPropagation(),t.hasClass("open"))o=!1;else{o=!0,i.target!==this&&i.target.parentNode!==this||i.preventDefault(),e.removeClass("open"),t.addClass("open");document.addEventListener(n,(function e(n){n.stopPropagation(),t.removeClass("open"),document.removeEventListener("touchstart",e),o=!1}))}}),!1)}))})),AoPS.updateLayout=function(){},"undefined"!=typeof Backbone&&(AoPS.Model=Backbone.Model.extend({}),AoPS.Collection=Backbone.Collection.extend({debug:function(){console.log(this),console.log(this.length),console.log(this.models)}}),AoPS.View=Backbone.View.extend({getTemplate:function(e,o){var n=AoPS.View.compileTemplate(e);return $.parseHTML($.trim(n&&n(o)))},compile:function(e){return AoPS.View.compileTemplate(e)},display:function(e,o){this.$el.html($.parseHTML($.trim(e(o))))},debug:function(){console.log("View.model:",this.model),console.log("View.tagName:",this.tagName),console.log("View.className:",this.className),console.log("View.el:",this.el),console.log("View.$el:",this.$el)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},close:function(){this.remove(),this.unbind(),"function"==typeof this.onClose&&this.onClose()},showLoadingModal:function(){this.loadingModal=AoPS.Ui.Modal.showMessage('',{closeX:!1,force_response:!0,frame_class:"loading-modal-frame"})},closeLoadingModal:function(){AoPS.Ui.Modal.closeParticularModal(this.loadingModal)}}),AoPS.View.template_cache={},AoPS.View.compileTemplate=function(e){var o=AoPS.View.template_cache;if(!o.hasOwnProperty(e)){var n=$(e),t=Handlebars.templates&&Handlebars.templates[e.slice(1)];n.length?o[e]=Handlebars.compile(n.html()):t&&(o[e]=t)}return o[e]}),AoPS.inputPlaceholders={initialize:function(){"placeholder"in document.createElement("input")||($("[placeholder]").focus((function(){var e=$(this);e.val()===e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))})).blur((function(){var e=$(this);""!==e.val()&&e.val()!==e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))})).blur(),$(["placeholder"]).parents("form").submit(AoPS.inputPlaceholders.clear),AoPS.inputPlaceholders.clear=function(){$("[placeholder]").each((function(){var e=$(this);e.val()===e.attr("placeholder")&&e.val("")}))})},clear:function(){}},AoPS.doFastMathJax=function(e){AoPS.FastMathJax.push(e)},AoPS.FastMathJax={_elements:[],_isProcessing:!1,_process:function(){if(!this._isProcessing)if(this._elements.length){this._isProcessing=!0;var e=$("
      ").css({position:"fixed",top:"-100vh",left:"-100vw",opacity:0,"z-index":-9999,"pointer-events":"none"}).appendTo($(document.body)),o=this,n=this._elements.splice(0,250);_.each(n,(function(o){o.$hidden=o.$el.clone().removeClass().appendTo(e)})),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e.get(0)]),MathJax.Hub.Queue([function(){_.each(n,(function(e){e.$el.html("").append(e.$hidden.clone()),e.$hidden.remove()})),e.remove(),o._isProcessing=!1,o._process()}])}else this._isProcessing=!1},push:function(e){window.MathJax&&(e instanceof jQuery||_.isArray(e)?_.each(e,_.bind((function(e){this._elements.push({$el:$(e)})}),this)):this._elements.push({$el:$(e)}),setTimeout(_.bind((function(){this._process()}),this),50))}},AoPS.importJavaScript=function(e){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(o)},window.number_format=function(e,o,n,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i,a,r,s=isFinite(+e)?+e:0,l=isFinite(+o)?Math.abs(o):0,c=void 0===t?",":t,u=void 0===n?".":n,d="";return(d=(l?(i=s,a=l,r=Math.pow(10,a),""+(Math.round(i*r)/r).toFixed(a)):""+Math.round(s)).split("."))[0].length>3&&(d[0]=d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(d[1]||"").length-1)&&(parseInt(o)||!1)}(t=t||"init_time");if(!1!==i){var a=function(e){if(!document||_.isUndefined(document.cookie)||!navigator||!navigator.cookieEnabled)return!1;for(var o,n=new RegExp("^\\s*"+e+"_init_time\\s*=\\s*(.*?)\\s*$"),t=document.cookie.split(";"),i=0;i=i?function(){if(!e){e=!0;var o=document.createElement("STYLE"),n=document.createTextNode("body {display: none;}");o.appendChild(n),document.head.appendChild(o),console.log("About to refresh the page due to back button use."),setTimeout((function(){window.location.reload(!0)}),2e3)}}():setTimeout((function(){e||(document.cookie=n+"_init_time="+i+"; path=/")}),3e3)}}}}(),AoPS.isUserLimited=function(){return AoPS.user_is_limited},AoPS.user_is_limited=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("limited_user"),AoPS.isUserNew=function(){return AoPS.user_is_new},AoPS.user_is_new=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("new_user"),AoPS.in_academy=AoPS.bootstrap_data&&AoPS.bootstrap_data.hasOwnProperty("in_academy")&&1===parseInt(AoPS.bootstrap_data.in_academy),AoPS.convertSmartQuotes=function(e){return e.replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[\u2026]/g,"...")};var gOldOnError=window.onerror;window.onerror=function(e,o,n,t,i){return!!gOldOnError&&gOldOnError(e,o,n)},window.onImageLoad=function(){},window.handlebars=function(e,o){var n="";if(o||(o={}),e instanceof Element)n=e.innerHTML;else if("undefined"!=typeof jQuery&&e instanceof jQuery)n=e.html();else{if("string"!=typeof e)return!1;try{var t=document.querySelector(e);n=null===t?e:t.innerHTML}catch(r){n=e}}if("undefined"!=typeof Handlebars)return Handlebars.compile(n)(o);for(var i in o){var a=new RegExp("{{"+i+"}}","g");n=n.replace(a,o[i])}return n},AoPS.handleLocationHash=function(e){var o=function(e){var o=e.offset().top,n=$("#main-menubar").outerHeight();return Math.min(Math.floor(o-n),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},n={};function t(e){if(!n.animating){n.animating=!0;var i=o(e);$("html, body").animate({scrollTop:i},{duration:0,step:function(n,t){t.end=o(e)},always:function(){n.animating=!1,Math.abs($(window).scrollTop()-o(e))>n.threshold&&t(e)}})}}setTimeout((function(){if(location.hash){var e=$(document).find(location.hash);e.length&&t(e)}}),0)},AoPS.handleLocationHash2=function(e,o){o||(o={});var n=function(e){var o=$("#header"),n=$("#main-menubar"),t=n.outerHeight();t=$(window).width()<=700?0:"fixed"===o.css("position")?n.outerHeight():n.outerHeight()+70;var i=e.offset().top;return Math.min(Math.floor(i-t),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},t={};function i(e){if(!t.animating){t.animating=!0;var a=n(e);$("html, body").animate({scrollTop:a},{duration:o&&o.duration?o.duration:0,step:function(o,t){t.end=n(e)},always:function(){t.animating=!1,Math.abs($(window).scrollTop()-n(e))>5&&(o.duration=0,i(e))}})}}setTimeout((function(){if(e)e.length&&i(e);else if(location.hash){var o=$(document).find(location.hash);o.length&&i(o)}}),0)}; +;AoPS.hasOwnProperty("Ui")&&AoPS.hasOwnProperty("ui_main_loaded")||(AoPS.Ui=function(e){var t;t=$(window).height(),setInterval((function(){var e=$(window).height();e!=t&&(t=e,$(window).trigger("resize"))}),100),$(window).on("resize",(function(){t=$(window).height()})),e.buildTableRow=function(e){var t=$("
      "),o=(e=_.defaults(e,{is_header:!1})).is_header?"th":"td";return _.each(e.data,(function(e){t.append($.parseHTML("<"+o+">"+e+""))})),e.is_header&&t.addClass("aops-no-sort"),t},e.buildTable=function(t){var o,s,a=0,i=!1,n=!1;return t=_.defaults(t,{sortable:!1,table_id:"",sort_on_build:!1,table_class:"",sort_col:0,sort_order:"asc",repeating_header:0}),o=$("
      ",{id:t.table_id,class:t.table_class}),s=$("").appendTo(o),t.hasOwnProperty("footer")&&$("").prependTo(o).append(e.buildTableRow({data:t.footer,is_header:!0})),t.hasOwnProperty("header")&&$("").prependTo(o).append(e.buildTableRow({data:t.header,is_header:!0})),t.hasOwnProperty("rows")&&_.each(t.rows,(function(o){s.append(e.buildTableRow({data:o})),a++,t.repeating_header>0&&a%t.repeating_header==0&&s.append(e.buildTableRow({data:t.header,is_header:!0}))})),t.sortable&&(o.tablesorter(t.sort_on_build?{sortList:t.hasOwnProperty("sortList")?t.sortList:[[t.sort_col,"asc"===t.sort_order?0:1]]}:{}),t.repeating_header>0&&(o.bind("sortStart",(function(){i?(i=!1,n=!0):(i=!0,s.find(".aops-no-sort").remove(),o.trigger("update"))})),o.bind("sortEnd",(function(){n?n=!1:s.find("tr:nth-child("+t.repeating_header+"n)").after(e.buildTableRow({data:t.header,is_header:!0}))})))),o},e.Flyout=function(){var e,t={},o=[],s={width:300,height:150,class:"",time:5e3,animation_time:1e3,close_function:"close"};function a(){if(o.length&&document.body){var e=document.getElementById("flyout");if(!e||!e.parentNode){var t=o.shift();i(t.html,t.opts)}}}function i(o,a){a=$.extend({},s,a),e=a;var i=document.createElement("div");i.id="flyout",i.style.width=a.width+"px",i.style.height=a.height+"px",i.style.right=-a.width+"px",i.className=a.class,i.innerHTML='
      '+o,document.body.appendChild(i),$("#flyout").animate({right:0},a.animation_time,(function(){t.timeout=setTimeout((function(){n()}),a.time)}))}function n(){$("#flyout").animate({right:-e.width},e.animation_time,(function(){t.timeout=0;var e=document.getElementById("flyout");e&&(e.parentNode.removeChild(e),a())}))}return t.display=function(e,s){document.body?(t.close(),o=[],i(e,s)):(AoPS.ErrorUtil.log("E_EARLY_FLYOUT"),t.queue(e,s))},t.queue=function(e,t){o.push({html:e,opts:t}),a()},t.close=function(){if(document.body){t.timeout&&clearTimeout(t.timeout),o=[];var e=document.getElementById("flyout");e&&e.parentNode&&e.parentNode.removeChild(e)}},t.closeWithoutClearingQueue=function(){document.body&&(t.timeout&&clearTimeout(t.timeout),n())},$(a),t}(),$.fn.extend({showUnstyledModal:function(e){var t=_.defaults({$obj:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(t)},showPlainModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showPlainBodyModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.showPlainBody(t)},showModal:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessage(this,t)},showModalQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessageQuick(this,t)},showPlainAlert:function(e){var t=_.defaults({body:this,type:"alert"},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showAlertQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlertQuick(this,t)},showAlert:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlert(this,t)},cloneToPlainModal:function(e){var t=this.clone(!0),o=_.defaults({body:t,type:"message"},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showPlain(o)},cloneToUnstyledModal:function(e){var t=this.clone(!0),o=_.defaults({$obj:t},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(o)},cloneToModal:function(e){var t=this.clone(!0),o=_.extend({},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showMessage(t,o)},replaceTopModalPlain:function(e){var t=_.defaults({body:this,frame_class:"",type:"message"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModalUnstyled:function(e){var t=_.defaults({$obj:this,type:"$"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModal:function(e){var t=_.extend({type:"message",frame_class:"aops-modal-standard",body:this},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o}});var o=1e5;return e.Modal={active_modals:[],fitMasks:function(){function e(){var e={height:$(window).outerHeight(),width:$(window).outerWidth()};function t(t,o){var s=t.options["max_"+o];return"%"===s.substr(s.length-1,1)?Math.min(parseFloat(s)/100*e[o],t.options.overall_max_width):Math.min(parseFloat(s),t.options.overall_max_width)}_.each(this.active_modals,(function(e){var o={height:t(e,"height"),width:t(e,"width")};e.$obj.css({"max-height":"","max-width":""}),e.$obj.css({height:e.options.height,width:e.options.width}),_.each(["width","height"],(function(t){var s=Math.round(o[t]);("height"===t?e.$obj.outerHeight():e.$obj.outerWidth())>=s&&e.$obj[t](s)}));var s=Math.min(1e3,window.innerWidth-12)+"px";e.$obj.css({"max-height":e.options.max_height,"max-width":s})}))}function t(){$("body").toggleClass("modal-page-overflow",$("body").height()>$(window).height()),_.each(this.active_modals,(function(e){e.$wrapper.css({overflow:"hidden"}),e.$obj.css({position:"absolute"}),e.$obj.css({top:parseInt(Math.max(0,($(window).height()-e.$obj.outerHeight())/2*.8)),left:parseInt(Math.max(0,($(window).width()-e.$obj.outerWidth())/2))})}))}e.apply(this),e.apply(this),setTimeout(_.bind((function(){e.apply(this),t.apply(this)}),this),5),t.apply(this)},show$Object:function(e){var t={$wrapper:$("
      ",{class:"aops-modal-wrapper"}),$mask:$("
      ",{class:"aops-modal-mask"}),$obj:e.$obj,options:this.appendDefaults(e)};return $("body").addClass("aops-modal-open"),t.$wrapper.append(t.$obj),this.setZIndices(t),$("body").append(t.$mask),$("body").append(t.$wrapper),t.options.hasOwnProperty("onShow")&&setTimeout((function(){t.options.onShow()}),100),this.active_modals.push(t),this.setZIndices(t),t.$mask.fadeTo(e.mask_fade_in_speed,t.options.mask_alpha),t.$wrapper.fadeIn(e.mask_fade_in_speed,(function(){"alert"===e.type&&e.focus_on_alert&&t.$obj.find("button").first().focus()})),t.options.draggable&&t.$obj.draggable&&t.$obj.draggable(t.options.draggable_options),this.parseForceResponse(t),this.fitMasks(),!("activeElement"in document)||_.isUndefined(document.activeElement)||_.isNull(document.activeElement)||document.activeElement.blur(),t.options.mathjax&&window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$obj[0]]),t.$obj.trigger("modal_shown"),t},show:function(e){var t;switch((t=this.prepareOptions.apply(this,arguments)).type){case"$":return this.show$Object(t);case"unframed_html":return $($.parseHTML(t.body));case"ignore-loading":break;default:return this.show$Object(_.extend({$obj:this.makeFramed$Object(t)},t))}},extFrameClass:function(e,t){return e+(t.hasOwnProperty("frame_class")?" "+t.frame_class:"")},showPlain:function(e){return this.show(e)},showQuick:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-standard aops-modal-quick",e)},e))},showPlainBody:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-plain-body",e)},e))},showMessage:function(e){var t,o=arguments.length>1?arguments[1]:{};return t=o.hasOwnProperty("buttons")?"buttons":"message",this.show(_.extend({type:t,body:e,frame_class:this.extFrameClass("aops-modal-standard",o)},o))},showMessageQuick:function(e){return this.showQuick(_.extend({type:"message",body:e},arguments.length>1?arguments[1]:{}))},showAlert:function(e){var t=arguments.length>1?arguments[1]:{};return this.show(_.extend({type:"alert",body:e,frame_class:this.extFrameClass("aops-modal-standard",t)},t))},showAlertQuick:function(e){return this.showQuick(_.extend({type:"alert",body:e},arguments.length>1?arguments[1]:{}))},showConfirm:function(e,t){var o=arguments.length>2?arguments[2]:{},s=this.show(_.extend({type:"confirm",body:e,onButtonClick:t,frame_class:this.extFrameClass("aops-modal-standard",o)},o));return s.$obj.find(".aops-modal-btn").first().focus(),s},showConfirmQuick:function(e,t){var o=this.showQuick(_.extend({type:"confirm",body:e,onButtonClick:t},arguments.length>2?arguments[2]:{}));return o.$obj.find(".aops-modal-btn").first().focus(),o},showButtons:function(e,t,o){var s=arguments.length>3?arguments[3]:{};return this.show(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o,frame_class:this.extFrameClass("aops-modal-standard",s)},s))},showButtonsQuick:function(e,t,o,s){return s=s||{},this.showQuick(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o},s))},makeFramed$Object:function(e){var t,o,s=null,a=null,i=this,n=$("
      ",{class:e.scrollable?"aops-scroll-content":"aops-modal-noscroll"});function r(e){var t="";return e.removeDefaultBtnCss||(t=" btn-primary"),e.btnClass&&(t=" "+e.btnClass),$(" + + +
      + +
      +
      +
      + + + +
      + + + + + + + + + + + + + + + + + +
      +
      a
      w
      m
      E
      +
      +
      \ No newline at end of file diff --git a/Download/​​​_files/1086531.css b/Download/​​​_files/1086531.css new file mode 100644 index 0000000..9fcd6d2 --- /dev/null +++ b/Download/​​​_files/1086531.css @@ -0,0 +1,81 @@ +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); + +/* Loading bar */ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png b/Download/​​​_files/6a6c4f0379e4178a33eff87191d6d1d881722905.png new file mode 100644 index 0000000000000000000000000000000000000000..4e32b706f257cd53a9e54cecb8c8a8c76595bc8f GIT binary patch literal 1807 zcmV+q2k`ibP)=p`2DQwUOA6s2S>Mf(vJ}8pD*kVP~QteU%qtsdvA%WID z6|x{j>`Nj=T3e-kQL7Xiiz2iSStzs*q6wmc4>qma?Y;Z^&m}W+E_2OPeCP+soSgsU z{Fyob?VMczlfA9^37-zRe;vz%!AZCBM5&7$fCN7ZZdyN5Jn^g+N2e2kv7V;|fULT%A%#(}P-Rl82_D+HlRuk00^B`fX- zLXB^vy`B_HH0SCxl2N=a2!Es3hqJYt^bDj%lesMG_2FrNv$N2>{p~)9TadG?hCKfK z*~^k|!oBq?vTh%e?`%H}kgMU765#_gkGBE7!uh^LSX*dDQ3#2)epxORE_V*$I1Ce! z6pp}Mg|Ty2VeH&h$TER4+J;anyCF;wO5qsd!d8n7+l@&}hOmsd-jcnxv#iVh;im|v zFo$^6`B^#s6HU6x_;3>OO{eh4-a6tuaD-C`E77PPYz|d%(P$+RZ?Q7v1JvsRCm|K4 zaX7t2wz^=pYU1?!a2?kZQlV1D`8L;AKr^);Kzx+{LhmNm5mF(vQ25Qz>KNB7nG`R} za!)z5!UE!LzOOj6{T`xFa}3(-=dcQ)idsd+a>~4pBVOla`4aO{SvkL-AL7lFWT8Ga zuL%@aSYcM6r#ok;JwOrB{henWs>NYTg7^RdKVCvTt;x*Ti6~uBP z*o>+$@8xV=cP|YNr*Pb>GO2Fz5K8!DsYToB(7#ya4Rq7r0kq6`O39f#P)hFbz z^=ri=8>HORNMvI5i6Hz3KEWXIiGx;4^a*9;!dT)H&kq|CpGb+BI;<10DsWWpfVCOKUQj zbzZ7MO|$PVJ&xq!xvc>sVD5s1zf9qGGNEJ1^(Rs8kShzPws(Y_W#mu7~RdXbo9jdFu(o-ixaV!PSmCUOzI)${QOpkVlC-RHW!WR9AR!5&rF;5S3o$edZn#~Q9 zz5X+f1}v6bcrHz)ZeQ# zrYQ-nVq^u6(||xw&8%?seBrTSD?tWwk}V(31}v6bp>i_ARe0yEK$D@{>2;j4!doyR zw0`3^ijxkb$*Yi14PlxLq(131nja|idCunxtgdV09uIC%|PCFk(U^mIA!##2g`3?%t>!_l)+dw6ZL{r6Vp-_DXu x>3s*Nw*5xLOwc`MToeQDF=L~K8~uia002ovPDHLkV1gAwK==Rv literal 0 HcmV?d00001 diff --git a/Download/​​​_files/922786.css b/Download/​​​_files/922786.css new file mode 100644 index 0000000..b240e55 --- /dev/null +++ b/Download/​​​_files/922786.css @@ -0,0 +1,1508 @@ +/*! + * City.css v2.0.0 + * + * Inspired by Air (by asf), Libre (by PythonNut), and Grey (by Tungsten) + * + * https://github.com/tyxchen/aops-city | Released under the MIT License + */ +/** + * Components + */ +@import url(//brick.a.ssl.fastly.net/Raleway:200,300/Merriweather:200,200i,700,700i/Lato:400,700); +@import url("https://fonts.googleapis.com/css?family=Titillium+Web:100,200,300,375,400,500,600,700,800,900"); +@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900"); +/** + * Groups + */ +/* Reset background, padding, border & margin */ +#main, #navigation_box, #header h1, .cmty-hide-content, .bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body, fieldset { + /* Source for %reset-all */ + background: none; + padding: 0; + border: none; + margin: 0; +} + +/* Set box-sizing to border-box */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, #wrapper, #main, #right_navigation_box a, .cmty-posting-modal { + /* Source for %border-box */ + box-sizing: border-box; +} + +/* Set box-sizing to content-box */ +#navigation_box, #blog_keywords + div, .cmty-posting-modal .aops-close-x { + /* Source for %content-box */ + box-sizing: content-box; +} + +/* No user select */ +#navigation_box, #header h1, .cmty-posting-preview-bar { + /* Source for %no-user-select */ + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +/* Pseudo-element shared styles */ +body::after, #content::before { + /* Source for %pseudo */ + content: ''; + position: absolute; +} + +/* Headings */ +h1, +h2, +h3, +h4, +h5, +h6, #navigation_box a, #header h1, .bbcode_quote_head, #user-menu-widget .username-colored, #blog_keywords, .cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before, .cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .aops-modal-title { + /* Source for %heading */ + font-family: Raleway, Lato, Roboto, 'Segoe UI', 'Lucida Grande', 'DejaVu Sans', sans-serif; +} + +/* Import font for modals */ +:root .btn, :root .cmty-editable-item-close, .blog-reply-window, #post-new-entry, .aops-modal-body, +#flyout, #main::after { + /* Source for %modal-font */ + font-family: Lato, 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif; +} + +/* Transitions */ +input[type='text'], +textarea, .cmty-poll-question, +.cmty-poll-inputs, :root .btn, :root .cmty-editable-item-close, #navigation_box, #right_navigation_box a, div.entry h2 > a::before, div.comment h2 > a::before, pre::before, #blog_keywords, .cmty-item-tag, .entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Source for %transition03 */ + transition: 0.3s ease; +} + +/** + * Modules + */ +/** + * General module + * + * Encompasses shared styles for individual component elements + */ +a:link, +a:hover, +a:visited { + color: #2b2b2b; +} + +a:focus { + border-bottom: 1px dotted #ccc !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + /* Rule extends %heading */ + color: inherit; +} + +h1 { + font-size: 1.7em; +} + +h2 { + font-size: 1.2em; +} + +[style*='underline'], .message a:link, +.message a:hover, +.message a:visited, .cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Source for %link-underline */ + text-decoration: none !important; + background-image: linear-gradient(to bottom, currentColor, currentColor); + background-size: 1px 1px; + background-repeat: repeat-x; + background-position: 0 1.06em; +} + +[style*='underline'] { + /* Rule extends %link-underline */ +} + +input[type='text'], +textarea, +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + background-color: #fff; + font-size: inherit; +} + +:root input[type='text'], +:root +textarea, +:root .cmty-poll-question, +:root +.cmty-poll-inputs { + border-width: 0 0 1px; + border-color: #d9d9d9; +} + +:root input[type='text']:hover, +:root +textarea:hover, +:root .cmty-poll-question:hover, +:root +.cmty-poll-inputs:hover { + border-color: #ccc; +} + +:root input[type='text']:focus, +:root +textarea:focus, +:root .cmty-poll-question:focus, +:root +.cmty-poll-inputs:focus { + border-width: 0 0 1px; + border-style: solid; + border-color: #aaa; +} + +:root .btn, :root .cmty-editable-item-close { + /* Rule extends %modal-font */ + /* Rule extends %transition03 */ + background-color: #fff; + color: #444; + font-size: inherit; + line-height: 1.4em; + padding: 0 0.8em; + background: none; + border: none; + margin: 0; + width: auto; + height: 1.4em; +} + +:root .btn:hover, :root .cmty-editable-item-close:hover { + color: #444; + background-color: #f2f2f2; +} + +:root .btn:focus, :root .cmty-editable-item-close:focus { + background-color: #e6e6e6; +} + +::-webkit-scrollbar { + background-color: #fff; + width: 0.6rem; + height: 0.6rem; +} + +::-webkit-scrollbar-thumb { + background-color: #ccc; + border: solid #fff; + border-width: 0.2rem 0.25rem; + border-radius: 0.5rem; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #bfbfbf; + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:active { + background-color: #aaa; +} + +::-webkit-scrollbar-thumb:horizontal { + border-width: 0.2rem; +} + +::-webkit-scrollbar-thumb:horizontal:hover { + border-width: 0.15rem; +} + +/** + * Layout module + * + * Encompasses body, wrapper, and general layout + */ +body { + font-family:'Titillium Web', sans-serif; + font-size: 1rem; + color: #444; + overflow-x: hidden; +} + +body::after { + /* Rule extends %pseudo */ + position: fixed; + background-image: url("https://cdn.artofproblemsolving.com/images/6/a/2/6a28bd61ace416f184719463cacd5268c000cee3.png"); + background-position: 0; + background-size: cover; + z-index: -1; + top: 0; + left: 0; + right: 0; + bottom: 25vh; +} + +#wrapper { + /* Rule extends %border-box */ + width: 100%; + padding: 0; + background: none; + border: none; +} + +#content { + position: relative; + background-color: #fff; + padding: 0 calc((100% - 48em) / 2); + padding-top: 5vh; + margin-top: 72vh; +} + +#content::before { + /* Rule extends %pseudo */ + background-image: linear-gradient(to top, rgba(51, 51, 51, 0.4) 0, rgba(51, 51, 51, 0.1) 60%, transparent 100%); + top: -15vh; + left: 0; + right: 0; + bottom: 100%; +} + +#main { + /* Rule extends %reset-all */ + /* Rule extends %border-box */ + position: relative; + width: 100%; + padding-bottom: 3em; +} + +/** + * Header module + * + * Encompasses the header and the navigation bar + */ +#navigation_box a, #header h1 { + /* Source for %title */ + /* Rule extends %heading */ + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#navigation_box { + /* Rule extends %reset-all */ + /* Rule extends %content-box */ + /* Rule extends %no-user-select */ + /* Rule extends %transition03 */ + position: fixed; + color: transparent; + background-color: #fff; + font-size: 1em; + white-space: nowrap; + padding: 0 1em; + border-bottom: 1px solid #e6e6e6; + opacity: 0.95; + z-index: 100; + top: 0; + left: 0; + right: 0; + width: auto; + height: 3rem; +} + +#navigation_box a { + /* Rule extends %title */ + display: inline; + color: #333; + text-shadow: none; + font-size: inherit; + font-weight: 300; + line-height: 3rem; + padding: 1.1em 0.4em; + border-top: 0.2em solid #333; + margin: 0 -0.3em; + transition: 0.3s ease; +} + +#left_navigation_box { + height: 100%; + font-size: inherit; + line-height: inherit; +} + +#left_navigation_box a:hover, +#left_navigation_box a:focus, +#left_navigation_box a:last-child { + padding-top: 0.75em; + color: #1a1a1a; +} + +#right_navigation_box { + position: relative; + margin-right: 2.7rem; + width: 7.5em; + height: 3em; +} + +#right_navigation_box a { + /* Rule extends %border-box */ + /* Rule extends %transition03 */ + position: absolute; + color: transparent; + font-size: 0.01px; + background-color: transparent; + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + width: 2.5rem; + height: 3rem; +} + +#right_navigation_box a:hover, #right_navigation_box a:focus { + background-color: #e6e6e6; + border-bottom: none !important; +} + +#right_navigation_box .blog-info { + left: 0; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjE0IiBjeD0iMTUiIGN5PSIxNSIvPjxjaXJjbGUgaWQ9ImRvdCIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiByPSIxIiBjeD0iMTUiIGN5PSI3LjUiLz48cGF0aCBpZD0iaSIgZmlsbD0iIzMzMyIgc3Ryb2tlLXdpZHRoPSIwIiBkPSJtMTIuNSwxMS41bDMuNSwwbDAsMTFxMCwwLjUgMC41LDAuNWwxLDBsMCwxbC01LDBsMCwtMWwxLDBxMC41LDAgMC41LC0wLjVsMCwtOS41cTAsLTAuNSAtMC41LC0wLjVsLTEsMGwwLC0xeiIvPjwvZz48L3N2Zz4="); +} + +#right_navigation_box #blog-subscribe { + left: 2.5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box #blog-subscribe[title*='stop'] { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9Im1hcmsiIGZpbGw9IiMzMzMiIHN0cm9rZT0iIzMzMyIgZD0ibTAuNSwxbDI1LjUsMGwwLDI4LjVsLTEyLjUsLTkuNWwtMTIuNSw5LjVsMCwtMjguNXoiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login, +#right_navigation_box .blog-logout { + left: 5rem; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTE2LDExbC00LjUsNC41bDQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-logout { + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9ImRvb3IiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwxOCwwbDAsMTIuNW0wLDRsMCwxMi41bC0xOCwwTDEsLjUiLz48cGF0aCBpZD0iYXJyb3ciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEyLDE1LjVsMTQuNSwwTTIyLDExbDQuNSw0LjVsLTQuNSw0LjUiLz48L2c+PC9zdmc+"); +} + +#right_navigation_box .blog-login + .blog-info { + left: 2.5rem; + background-color: #fff; + z-index: 12; +} + +#right_navigation_box .blog-login + .blog-info:hover { + background-color: #e6e6e6; +} + +#header { + position: fixed; + height: 2em; + z-index: 0; + top: calc(36vh - 2.5rem); + left: 0; + right: 0; + background: none; + border: none; +} + +#header h1 { + /* Rule extends %title */ + /* Rule extends %reset-all */ + /* Rule extends %no-user-select */ + font-size: 5rem; + font-weight: 200; + text-decoration: none; + z-index: 10; +} + +#header a:focus h1::before { + content: '\f015'; + position: absolute; + font-family: FontAwesome; + font-size: 0.6em; + opacity: 0.3; + margin-left: -1em; +} + +/** + * Entry module + * + * Encompasses entries and comments + */ +div.actions, +div.modactions { + font-size: 0.7em; +} + +#main > div:first-child { + margin-top: 1em; +} + +div.entrywrap, div.commentwrap, +div.entry, +div.comment { + line-height: 2em; + background-color: transparent; + border: none; +} + +div.entrywrap a, div.commentwrap a { + text-decoration: none !important; +} + +div.entry, div.comment { + position: relative; + padding: 0 1.2em; + margin: 0 -1.4em; +} + +div.entry h1, div.comment h1 { + overflow: hidden; + text-overflow: ellipsis; + padding-right: 0; +} + +div.entry h2, div.comment h2 { + font-size: 0.9em; + margin-left: 0.3em; +} + +div.entry h2 > a::before, div.comment h2 > a::before { + /* Rule extends %transition03 */ + content: '\00B6'; + position: absolute; + color: transparent; + font-size: 1.7em; + margin-right: 0.3em; + top: -2.15rem; + left: -1em; +} + +div.entry h2 img, div.comment h2 img { + display: none; +} + +div.entry h2 .username-colored, div.comment h2 .username-colored, +div.entry h2 .username-coloured, div.comment h2 .username-coloured { + color: #090909 !important; + font-weight: normal; +} + +div.entry:hover h2 > a::before, div.comment:hover h2 > a::before { + color: #ccc; +} + +div.commentwrap { + /* Rule extends .entrywrap */ + padding: 0.5em; + margin: 0.5em; +} + +div.comment { + /* Rule extends .entry */ +} + +.cfooter .author { + margin: 0.7em 0; +} + +.cfooter .author::before { + content: '\2767'; + vertical-align: middle; + font-size: 1.3em; + margin-right: 0.1em; +} + +.cfooter .author img { + display: none; +} + +.cfooter .author strong { + font-weight: normal; +} + +.message { + overflow-x: auto; +} + +.message a:link, +.message a:hover, +.message a:visited { + /* Rule extends %link-underline */ +} + +.message a:visited { + color: #444; +} + +.cmty-hide-heading:link, +.cmty-hide-heading:hover { + border-bottom: none; + background-image: linear-gradient(to right, currentColor 0%, currentColor 50%, #fff 50%, #fff 100%); + background-size: 2px 1px; +} + +.cmty-hide-content { + /* Rule extends %reset-all */ +} + +.bbcode_quote, +.bbcode_quote_head, +.bbcode_quote_body { + /* Rule extends %reset-all */ +} + +.bbcode_quote { + width: 90%; + margin: auto; +} + +.bbcode_quote_head { + /* Rule extends %heading */ + color: #aaa; + font-size: 1.1em; + font-weight: normal; + margin-left: 1rem; +} + +.bbcode_quote_head::before { + content: ''; +} + +.bbcode_quote_body { + font-size: 1.4em; + margin: 0.5em 1rem; +} + +.bbcode_quote_body .bbcode_quote_head { + font-size: 0.7em; + margin-top: 1rem; +} + +.bbcode_quote_body .bbcode_quote_body { + font-size: 0.8em; +} + +pre { + position: relative; + font-family: Monaco, 'DejaVu Mono', Consolas, monospace; + white-space: pre; + overflow-x: auto; + margin: 0.5em 1rem; +} + +pre[class] a:link { + background-image: none; +} + +pre::before { + /* Rule extends %transition03 */ + content: 'code'; + position: absolute; + background-color: #fff; + color: #aaa; + opacity: 0.8; + padding: 0 0.7em; + top: 0; + right: 0; +} + +pre[class]::before { + content: attr(class); +} + +pre:hover::before { + opacity: 0.2; +} + +pre.cpp::before { + content: 'c++'; +} + +.cmty-poll-display { + margin-top: 0; + margin-bottom: 1em; + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-poll-display .cmty-poll-result-bar { + background-color: #d9d9d9; +} + +/** + * Side module + * + * Encompasses sidebar + */ +#side { + padding: 0; + width: 0; + height: 0; +} + +#side > div { + display: none; +} + +#user-menu-widget { + display: block !important; + font-size: 0.01px; +} + +#user-menu-widget p { + display: none; +} + +#user-menu-widget .avatar { + position: absolute; + display: block; + margin-left: -2.5rem; + top: -2.95rem; + left: 50%; +} + +#user-menu-widget .avatar img { + background-color: #ccc; + display: block; + color: transparent; + border-radius: 50%; + border: 1px solid #ccc; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored { + /* Rule extends %heading */ + position: absolute; + display: block; + color: transparent; + font-size: 0.8rem; + text-overflow: ellipsis; + line-height: 5rem; + border-radius: 50%; + padding: 0.1rem; + margin-left: -2.5rem; + overflow: hidden; + z-index: 1; + transition: 0.15s 0.06s ease-in; + top: -2.55rem; + left: 50%; + width: 5rem; + height: 5rem; +} + +#user-menu-widget .username-colored::after { + content: ""; + position: absolute; + background-image: linear-gradient(to bottom, transparent, transparent 30%, rgba(51, 51, 51, 0.3)); + background-position: 50% 0; + opacity: 0; + z-index: -1; + transition: 0.3s ease-out; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + +#user-menu-widget .username-colored:hover { + color: #fff; + text-shadow: 1px 1px 1px rgba(51, 51, 51, 0.6); +} + +#user-menu-widget .username-colored:hover::after { + opacity: 1; +} + +#search-widget { + display: block !important; + z-index: 10; +} + +#search-widget .widget-header, +#search-widget .widget-content div { + display: none; +} + +fieldset { + /* Rule extends %reset-all */ +} + +#blog_keywords { + /* Rule extends %heading */ + /* Rule extends %transition03 */ + position: fixed; + top: 0; + right: 0; + display: block; + background-color: transparent; + border-left: 2.4em solid #fff !important; + z-index: 100; + cursor: pointer; + transition: all 0s linear, width 0.3s ease, background-color 0s 0.3s linear; + border: none; + box-shadow: none; + border-radius: 0; + width: 0; + height: 3rem; +} + +#blog_keywords:focus { + width: 15em; + background-color: #e6e6e6; + color: #333; + padding-left: 0.5em; + padding-right: 3.1em; + border-left: none !important; + cursor: auto; + transition: all 0s linear, width 0.3s ease, background-color 0s linear; +} + +#blog_keywords + div { + /* Rule extends %content-box */ + position: fixed; + top: -3px; + right: 0; + display: block !important; + font-size: 0; + overflow: hidden; + pointer-events: none; + z-index: 100; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PGNpcmNsZSBpZD0iY2lyY2xlIiBmaWxsPSJub25lIiBzdHJva2U9IiMzMzMiIHI9IjEwIiBjeD0iMTEiIGN5PSIxMSIvPjxwYXRoIGlkPSJsaW5lIiBzdHJva2U9IiMzMzMiIGQ9Im0yNy4wNjk2OTEsMzAuMTUxMTFsLTkuNjQxODIxLC0xMS40OTA2NjkiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: auto 40%; + background-position: center; + border-left: 1px solid #e6e6e6; + transition: background-color 0.3s ease 0.114s, border-right-color 0.3s ease 0.114s; + width: 2.6rem; + height: 3rem; +} + +#blog_keywords:hover + div { + background-color: #e6e6e6; + transition: background-color 0.3s ease; +} + +#blog_keywords:focus + div { + background-color: #e6e6e6; + border-right-color: #e6e6e6; + transition: background-color 0.3s ease, border-right-color 0.3s ease; +} + +#blog_keywords + div input { + display: none; +} + +/** + * Posting module + * + * Encompasses posting & commenting forms + */ +@-webkit-keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} +@keyframes flash-post-fields { + 0% { + opacity: 1; + } + 5% { + opacity: 1; + } + 20% { + opacity: 0.5; + } + 27% { + opacity: 1; + } + 42% { + opacity: 0.5; + } + 49% { + opacity: 1; + } + 64% { + opacity: 0.5; + } + 71% { + opacity: 1; + } + 100% { + opacity: 0; + } +} + +.cmty-posting-modal { + /* Rule extends %border-box */ + border-width: 1.8rem; + border-color: #fff; + box-shadow: 0 0 10% #444; + max-width: 100% !important; + max-height: 100% !important; + /* autoprefixer: off */ + -webkit-transform: none !important; + transform: none !important; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + width: 100% !important; + height: 100% !important; +} + +.cmty-posting-modal .aops-close-x { + /* Rule extends %content-box */ + top: -32px; + right: -32px; + color: transparent; + padding: 1em; + border-radius: 0; + background-color: transparent; + background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGc+PHBhdGggaWQ9IngiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzMyIgZD0ibTEsMWwyOCwyOG0wLC0yOGwtMjgsMjgiLz48L2c+PC9zdmc+"); + background-repeat: no-repeat; + background-size: 40%; + background-position: center; + background-clip: content-box; +} + +.cmty-posting-modal .cmty-posting-box-container, +.cmty-posting-modal .cmty-post-preview { + width: 50%; + height: calc(100% - 11.9rem) !important; + margin-top: 1rem; +} + +.cmty-posting-modal .cmty-posting-box-container { + float: left; +} + +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea, +.cmty-posting-modal .cmty-posting-box-container .cmty-post-textarea:focus { + border-width: 0; +} + +.cmty-posting-modal .cmty-post-preview { + display: block !important; + float: right; + border-left: 1px solid #d9d9d9; +} + +.cmty-posting-modal .cmty-edit-post .cmty-posting-box-container, +.cmty-posting-modal .cmty-edit-post .cmty-post-preview { + height: calc(100% - 9.5rem) !important; +} + +.cmty-posting-modal .cmty-posting-with-poll .cmty-posting-box-container, +.cmty-posting-modal .cmty-posting-with-poll .cmty-post-preview { + height: calc(100% - 26.8rem) !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar { + position: fixed; + left: -100%; +} + +.cmty-posting-modal .cmty-posting-preview-bar-hidden { + display: none !important; +} + +.cmty-posting-modal .cmty-posting-preview-bar-shown { + display: block !important; +} + +.cmty-posting-modal .cmty-refresh-preview, +.cmty-posting-modal .cmty-preview-bar-attachments { + position: fixed; + bottom: 0; + font-size: 0.8rem; + padding: 0.5em; + margin: 0; +} + +.cmty-posting-modal .cmty-refresh-preview { + z-index: 1; + border-top: 1px solid #d9d9d9; + left: 1.8rem; + right: 1.8rem; +} + +.cmty-posting-modal .cmty-preview-bar-attachments { + z-index: 10; + left: 1.5rem; +} + +.cmty-posting-subject-line .cmty-subject-input, .cmty-tags-line .cmty-items-input, .cmty-posting-box-container .cmty-post-textarea { + /* Source for %faux-placeholder-input */ + position: relative; + background-color: transparent !important; + transition: background-color 0.3s 6s ease, border-color 0.3s ease; +} + +.cmty-posting-subject-line .cmty-subject-input:focus, .cmty-tags-line .cmty-items-input:focus, .cmty-posting-box-container .cmty-post-textarea:focus { + background-color: #fff !important; + transition: background-color 0.3s 0s ease, border-color 0.3s ease; +} + +.cmty-posting-environ .cmty-heading-text, +.cmty-posting-environ .cmty-posting-box-container::before { + /* Rule extends %heading */ + position: absolute; + opacity: 0; + color: #aaa; + font-size: inherit; + -webkit-animation: flash-post-fields 6s ease; + animation: flash-post-fields 6s ease; +} + +.cmty-posting-subject-line { + position: relative; + font-size: 2.5em; + padding: 10px 0; +} + +.cmty-posting-subject-line .cmty-heading-text { + margin: 0.3em 0.1em; +} + +.cmty-posting-subject-line .cmty-subject-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding-left: 0.1rem !important; + width: 100%; + height: 2em; +} + +.cmty-posting-subject-line .cmty-subject-input:focus { + padding-left: 0.1rem !important; +} + +.cmty-posting-subject-line .cmty-post-in { + display: none; +} + +.cmty-tags-line { + padding: 0; +} + +.cmty-tags-line .cmty-heading-text { + text-align: left; + margin: 0.2em 0.3em; +} + +.cmty-tags-line .cmty-items-input-box { + background-color: transparent; + padding: 0; + border: none; +} + +.cmty-tags-line .cmty-items-input { + /* Rule extends %heading */ + /* Rule extends %faux-placeholder-input */ + padding: 0.3em !important; + margin-bottom: 0.5em; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.cmty-tags-line .cmty-items-input:hover { + border-color: #ccc !important; +} + +.cmty-tags-line .cmty-items-input:focus { + padding: 0.3em !important; + border-color: #aaa !important; +} + +.cmty-poll-build { + background-color: #fff; + color: #444; + border-bottom: 1px solid #d9d9d9; +} + +.cmty-poll-build .cmty-poll-inputs { + height: 6em; + resize: none; +} + +.cmty-poll-question, +.cmty-poll-inputs { + /* Rule extends textarea */ + padding: 0.3em 0.2em; +} + +.cmty-poll-question:focus, +.cmty-poll-inputs:focus { + padding: 0.3em 0.2em; +} + +.cmty-poll-left, +.cmty-poll-right { + width: 100%; +} + +.cmty-posting-box-container::before { + content: 'Message'; + font-size: 1.2em; + margin: 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea { + /* Rule extends %faux-placeholder-input */ + padding: 0 0.3em; +} + +.cmty-posting-box-container .cmty-post-textarea:focus { + padding: 0 0.3em; +} + +.cmty-posting-preview-bar { + /* Rule extends %no-user-select */ + background-color: #fff; + color: #444; +} + +.cmty-post-preview-text { + font-family:'Titillium Web', sans-serif; + word-wrap: break-word; + padding: 0 1em 1em !important; +} + +.cmty-post-preview-text a:link, +.cmty-post-preview-text a:hover, +.cmty-post-preview-text a:visited { + /* Rule extends %link-underline */ +} + +.cmty-post-preview-text a:visited { + color: #444; +} + +.cmty-posting-top, +.cmty-posting-button-row { + color: #444; + background: none; +} + +.cmty-posting-environ-buttons .btn, .cmty-posting-environ-buttons .cmty-editable-item-close { + vertical-align: top; +} + +.cmty-bbcode-btn { + height: 1.4em; +} + +.cmty-bbcode-other { + color: #444; + z-index: 0; +} + +.blog-reply-window { + /* Rule extends %modal-font */ + position: relative; + z-index: 1; + background-color: #fff; + display: none !important; + padding: 0 1em; + border: 1px solid #fff; + border-top-color: #e6e6e6; +} + +.blog-reply-window.blog-reply-open { + display: block !important; +} + +.blog-reply-window.blog-reply-open::before { + content: ''; + display: table; + clear: both; +} + +.blog-reply-window .cmty-posting-box-container::before { + content: 'Comment'; +} + +.blog-reply-window .cmty-posting-environ { + top: -2.1em; + z-index: 1; + margin-bottom: -2.1em; +} + +.blog-reply-window .cmty-posting-button-row { + background-color: #fff; +} + +.blog-reply-window .cmty-cancel-posting-x { + color: #444; +} + +.blog-reply-window .cmty-submit-button { + float: left; +} + +.blog-reply-window .cmty-posting-button-row.cmty-phone { + margin-bottom: 1.1em; +} + +.blog-reply-window .cmty-post-preview { + border: none; +} + +.cmty-edit-post .cmty-heading-text, +.cmty-edit-post .cmty-posting-box-container::before { + -webkit-animation: none; + animation: none; +} + +/** + * Miscellaneous stuff + */ +#post-new-entry { + /* Rule extends %modal-font */ +} + +#post-new-entry-img { + display: none; +} + +div.post-tags { + font-size: 0.9em; + margin-top: 2em; +} + +.cmty-item-tag { + /* Rule extends %transition03 */ + background-color: #fff !important; + color: #aaa !important; + font-size: 0.7em; +} + +.cmty-item-tag:hover { + background-color: #e6e6e6 !important; +} + +.entrywrap .cmty-items-input, div.commentwrap .cmty-items-input { + /* Rule extends %transition03 */ + display: inline; + width: auto; + background-color: transparent !important; + padding: 0em 0.2em !important; + /* Following styles copied from text inputs; see general.scss */ + border-width: 0 0 1px !important; + border-style: solid !important; + border-color: #d9d9d9 !important; +} + +.entrywrap .cmty-items-input:hover, div.commentwrap .cmty-items-input:hover { + border-color: #ccc !important; +} + +.entrywrap .cmty-items-input:focus, div.commentwrap .cmty-items-input:focus { + padding: 0em 0.2em !important; + border-color: #aaa !important; +} + +.cmty-editable-item-close { + /* Rule extends .btn */ + font-family: AoPS; +} + +.cmty-editable-item-close:hover { + background-color: #fff; +} + +#feed-wrapper { + display: none; +} + +#main > h1 { + padding-bottom: 0.2em; + border-bottom: 1px solid #e6e6e6; + margin-top: 0.5em; + margin-bottom: 1.3em; +} + +#main > p:not([id]) { + position: relative; + float: right; + z-index: 1; + margin-top: 1.5em; +} + +#main > p:not([id]) a:link, +#main > p:not([id]) a:hover, +#main > p:not([id]) a:visited { + color: #aaa; +} + +.aops-modal-title { + /* Rule extends %heading */ +} + +.aops-modal-body, +#flyout { + /* Rule extends %modal-font */ +} + +#flyout { + text-align: left; + padding-right: 5px; +} + +#main::after { + /* Rule extends %modal-font */ + content: "City made by NMK, with \262d."; + position: relative; + top: 2em; + display: block; + color: #aaa; + font-size: 0.8em; + text-align: center; +} + +/** + * @media module + */ +@media all { + html { + font-size: 17px; + } +} + +@media only screen and (max-width: 1000px) { + body::after { + height: 16rem; + } + #content { + margin-top: 16rem; + padding-top: 2em; + padding-left: 2em; + padding-right: 2em; + } + #content::before { + display: none; + } + #header { + top: 5.75rem; + } + #header h1 { + font-size: 2.5rem; + text-overflow: ellipsis; + overflow: hidden; + } + #navigation_box { + font-size: 0; + opacity: 1; + } + #left_navigation_box a:nth-last-child(2) { + display: inline-block; + font-size: 1rem; + padding: 0 0.7em; + border-top: none; + } + #left_navigation_box a:nth-last-child(2):hover { + background-color: #e6e6e6; + } + #left_navigation_box a:nth-last-child(2)::before { + content: "\3008"; + font-size: 0.9em; + padding-right: 0.2em; + } + #right_navigation_box { + display: none; + } + #blog_keywords + div { + height: calc(3rem + 1px); + } + #blog_keywords:focus { + width: 100%; + } + #user-menu-widget .avatar { + top: -2.45rem; + margin-left: -2rem; + } + #user-menu-widget .avatar img { + width: 4rem; + height: 4rem; + } + #user-menu-widget .username-colored { + display: none; + } + div.quotetitle, + div.quotecontent { + border-left: 1px solid #ccc; + padding-left: 0.5rem; + margin: 0; + } + div.quotecontent { + padding-top: 0.5em; + } + .codetitle { + display: block; + margin-top: 1em; + } + .codetitle b { + font-weight: normal; + } + pre::before { + display: none; + } + .cmty-posting-modal { + border-top-width: 0; + border-bottom-width: 0.8rem; + } + .aops-modal-open { + position: fixed; + overflow: hidden; + width: 100%; + height: 100%; + } + .cmty-posting-modal .cmty-post-preview, + .cmty-posting-preview-bar { + display: none !important; + } + .cmty-posting-modal .cmty-posting-box-container { + width: 100%; + float: none; + } + .cmty-posting-modal .cmty-posting-button-row { + display: none; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone { + display: block; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-posting-environ-buttons { + width: auto; + } + .cmty-posting-modal .cmty-posting-button-row.cmty-phone .btn, .cmty-posting-modal .cmty-posting-button-row.cmty-phone .cmty-editable-item-close { + display: inline-block; + width: auto; + } + .cmty-post-textarea, + .cmty-post-textarea:focus { + border-width: 0 0 1px; + border-radius: 0; + } +} + +/*Loading bar*/ +@keyframes loading{ + 0%{ + width: 0px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + transition: ease; + text-align: center; + } + 75%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Loading..."; + text-align: center; + } + 75.1%{ + width: 300px; + top: calc(50vh - 50px); + font-family: VT323; + content: "Done!"; + text-align: center; + } + 85%{ + top: calc(50vh - 100px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } + 100%{ + top: calc(150vh - 50px); + width: 300px; + font-family: VT323; + content: "Done!"; + text-align: center; + } +} +html::before{ + font-family: VT323; + content: "Loading..."; + height: 100px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: black; + color: white !important; + line-height: 100px; + white-space: nowrap; + font-size: 50px !important; + z-index: 1000000000 !important; + animation: loading 2s ease !important; + width: 300px !important; + box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important; +/*The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top)*/ + display: block !important; +} +html::after{ + font-family: VT323; + content: "Loading... please wait"; + height: 100px; + width: 0px; + position: fixed !important; + margin: 0px; + padding: 0px; + top: calc(150vh - 50px); + left: calc(50vw - 150px); + background-color: white; + color: black !important; + line-height: 100px; + z-index: 1000000001 !important; + white-space: nowrap; + font-size: 50px !important; + animation: loading 2s ease !important; + overflow: hidden !important; +} \ No newline at end of file diff --git a/Download/​​​_files/aops_core.js b/Download/​​​_files/aops_core.js new file mode 100644 index 0000000..0ae901e --- /dev/null +++ b/Download/​​​_files/aops_core.js @@ -0,0 +1,10 @@ +!function(i){(i.isEpicFailing=function(){return"undefined"==typeof $},i.isEpicFailing())&&(document.getElementById("epicfail").style.display="block")}(window.AoPS||{}); +;$(document).on("ready",(function(){if(jQuery.support.cors=!0,document.getElementById("side-column")&&($("#breadcrumbs-wrapper").addClass("clickable-breadcrumb"),$("#breadcrumbs-wrapper").click((function(){window.innerWidth<840&&($("#side-column-wrapper").toggleClass("active"),$("#submenu-icon").toggleClass("open"))})),$("#side-column .dropdown-box > .title").click((function(e){$(e.currentTarget).parent().toggleClass("open")})),$("#side-column .menu").click((function(e){$("#side-column .submenu-wrapper").removeClass("open"),$(e.currentTarget).find(".submenu-wrapper").addClass("open")}))),$(".infobar").click((function(e){e.target.className.indexOf("infobar-hide")>=0&&($(this).hide(),AoPS.fixFooter(),$("#main-content").trigger($.Event("resize")),$.ajax({url:"/ajax.php",timeout:5e3,type:"post",data:{a:"infobar-hide",key:$(this).data("key")},success:function(e){}}))})),$("#menu-myaops-toggle").click((function(e){$("#menu-myaops").toggle(),e.preventDefault(),e.stopPropagation()})),!document.getElementById("side-column")){var e=document.getElementById("submenu-icon");e&&e.parentNode.removeChild(e)}AoPS.fixFooter(),$(window).on("resize.fix_footer",(function(){AoPS.fixFooter()})),AoPS.login.initialize(),AoPS.inputPlaceholders.initialize(),document.createElementNS&&document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect?$("html").addClass("svg"):$("html").addClass("no-svg");var o=$("body"),n=$("#top-bar"),t=$("#main-logo"),i=!1,a=!1,r=!1,s=!1;n.on("mousemove.start_loc",(function(){i=!0})),t.on("mousemove.start_loc",(function(){s=!0})),o.on("mousemove.start_loc",(function(){n.off("mousemove.start_loc"),o.off("mousemove.start_loc"),t.off("mousemove.start_loc"),setTimeout((function(){i=!1,s=!1}),350)})),n.on("mouseenter",(function(){a=!0,setTimeout((function(){!i&&a&&$("#header-popin").animate({opacity:1},150)}),350)})),t.on("mouseenter",(function(){r=!0,setTimeout((function(){!s&&r&&$("#header-popin").animate({opacity:1},150)}),350)})),n.on("mouseleave",(function(){a=!1})),t.on("mouseleave",(function(){r=!1})),$("#header").on("mouseleave",(function(){$("#header-popin").animate({opacity:0},150)})),n.find(".site").hover((function(){var e=$(this);e.addClass("dropdown-visible");var o=e.find(".site-dropdown-wrapper");if(o.length){var n=$(window).width(),t=o.outerWidth(),i=o.offset().left+t+10-n;i>0&&o.css("left",-100-i+"px")}}),(function(){$(this).removeClass("dropdown-visible").find(".site-dropdown-wrapper").css("left","")})),AoPS.checkPrivacy()})),$(window).on("load",(function(){AoPS.fixFooter()})),AoPS.checkPrivacy=function(){if(document.URL.indexOf("/privacy")<0&&AoPS.session&&AoPS.session.show_privacy){var e=["

      We've made a few updates to our privacy policy. These updates went into effect on Friday, February 4, 2022.

      ","

      Click ",'here ',"to learn more about the new ",'artofproblemsolving.com policy.

      '],o=1,n=document.location.href;(n.indexOf("community")>0||n.indexOf("alcumus")>0||n.indexOf("baeditor")>0||n.indexOf("class/")>0)&&(o=1e3),setTimeout((function(){alert(e.join(""),{onButtonClick:function(){$.post("/ajax.php",{action:"update-accepted"})},max_width:"600px",closeX:!1,force_response:!0})}),o)}},window.classicAlert=window.alert,window.alert=function(e,o){AoPS.hasOwnProperty("Ui")?(AoPS.Ui.Modal.closeTopModal(),void 0===o?AoPS.Ui.Modal.showAlertQuick(e):AoPS.Ui.Modal.showAlertQuick(e,o)):window.classicAlert(e)},AoPS.setBreadcrumbs=function(e){for(var o,n=[],t=0;t'+o+""),n.push(''+o+"");$(".crumb-wrapper").html(n.join(' '))},AoPS.fixFooter=function(){var e=$(window).height(),o=$("body").hasClass("small-footer");e-=$("#header-wrapper").outerHeight(),e-=$("#top-bar").outerHeight(),$("#breadcrumbs-wrapper:visible").length||(e-=26),e-=o?$("#small-footer-wrapper").outerHeight():$("#main-footer").outerHeight(),$("#main-content").css("min-height",e),o&&$("#small-footer-wrapper").show();var n=document.getElementById("side-column-wrapper");n&&$(n).css("min-height",e),AoPS.fixSidebarOnce()},AoPS.makeSidebarAdjustment=function(e,o,n){if(e&&o&&n){var t=0;o.children().each((function(){t+=$(this).outerHeight(!0)})),e.height()!==Math.max(n.outerHeight(!0),t)&&e.css("height",Math.max(n.outerHeight(!0),t))}},AoPS.fixSidebarOnce=function(){var e=$("#side-column-wrapper"),o=$("#side-column"),n=$("#main-column");AoPS.makeSidebarAdjustment(e,o,n)},AoPS.fixSidebarAnimatedOnce=function(e){AoPS.fixSidebarAnimatedOnceOnElement(e,"main-column")},AoPS.fixSidebarAnimatedOnceOnElement=function(e,o){var n=$("#side-column-wrapper"),t=$("#side-column"),i=2+e?e/15:0,a=0;!function e(){a>i||(a++,AoPS.makeSidebarAdjustment(n,t,$("#"+o)),setTimeout(e,15))}()},AoPS.fixSidebarClassObserver=function(e){var o,n=$("#side-column-wrapper"),t=$("#side-column"),i=$("#main-column");e||(e=[]),o=e.attributeFilter?{attributeFilter:e.attributeFilter,attributes:!0,childList:!0,subtree:!0}:{attributeFilter:["class"],attributes:!0,childList:!0,subtree:!0};new MutationObserver((function(){if(e.animation_length){var o=2+e.animation_length/15,a=0;!function e(){a>o||(a++,AoPS.makeSidebarAdjustment(n,t,i),setTimeout(e,15))}()}else AoPS.makeSidebarAdjustment(n,t,i)})).observe(document.getElementById("main-column"),o),e.animation_length?AoPS.fixSidebarAnimatedOnce(e.animation_length/15):AoPS.makeSidebarAdjustment(n,t,i)},AoPS.login={ajaxing:!1,$login_form:$("#login-form"),logout_url:AoPS.bootstrap_data&&AoPS.bootstrap_data.logout_url,user_clicked_logout:!1,user_clicked_login:!1,modal:null,initialize:function(){$(document).on("click",".online-login-button",AoPS.login.display),$("#header-logout, #small-header-logout").on("click",AoPS.login.logout),$("#register-button").on("click",(function(e){e.preventDefault(),AoPS.login.register()})),$("#login-cancel-button").on("click",AoPS.login.close),$("#login-button").on("click",AoPS.login.login),$("#login-password").on("keypress",(function(e){13===e.keyCode&&AoPS.login.login()})),$("#login-username").on("keypress",(function(e){if(13===e.keyCode){var o=document.getElementById("login-username").value;document.getElementById("login-password").value.length?AoPS.login.login():o.length&&document.getElementById("login-password").focus()}}))},logout:function(e){if(!AoPS.login.ajaxing){e.preventDefault(),e.stopPropagation(),AoPS.login.user_clicked_logout=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php",n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http")),$.ajax({url:o,timeout:1e4,type:"post",crossDomain:!0,xhrFields:{withCredentials:!0},data:{a:"logout"},success:function(e){AoPS.login.ajaxing=!1,AoPS.login.logout_url?window.location=AoPS.login.logout_url:window.location.hash?window.location.reload(!0):window.location.href=window.location.href}})}},register:function(){var e=document.getElementById("login-username").value||"",o=document.getElementById("login-password").value||"";if("function"==typeof(AoPS.Register||{}).display)AoPS.login.close(),AoPS.Register.display({username:e,password:o});else{var n=document.getElementById("registration-form");n.username.value=e,n.password.value=o,n.submit()}},loggedin:function(){},login:function(e){if(!AoPS.login.ajaxing){AoPS.login.user_clicked_login=!0,AoPS.login.ajaxing=!0;var o=AoPS.protected_url+"ajax.php";if(void 0!==e&&!0===e){var n=location.protocol;void 0!==n&&n.indexOf("https")<0&&(o=o.replace("https","http"))}$.ajax({url:o,timeout:1e4,type:"post",data:{a:"login",username:$("#login-username").val(),password:$("#login-password").val(),stay:$("#login-stay-logged-in").is(":checked")},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),e.error_msg?($("#login-form > .error").show().html(e.error_msg),e.error_msg.toLowerCase().indexOf("account deactivated")>=0&&$.ajax({url:o,timeout:1e4,type:"post",data:{a:"user-get-registration-disabled",username:$("#login-username").val()},crossDomain:!0,xhrFields:{withCredentials:!0},success:function(e){$("#register-button").hide(),window.location.href.includes("register.php")&&window.location.reload(!0)}})):e.error_code?$("#login-from > .error").show().html(e.error_code):document.location.href.indexOf("com/online?login")>0?document.location="/online":window.location.hash?window.location.reload(!0):window.location.href=window.location.href},error:function(o){void 0!==e&&!0===e?(AoPS.login.user_clicked_login=!1,setTimeout((function(){AoPS.login.ajaxing=!1}),1e3),$("#login-form > .error").show().html("There was an error communicating with the server. Please try again.")):(AoPS.login.ajaxing=!1,AoPS.login.login(!0))}})}},close:function(){AoPS.login.modal&&(AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=null),$(document).off("keyup",AoPS.login.checkKeyPress)},display:function(e){e=!1!==e,0===AoPS.login.$login_form.length&&(window.location.href="/user/login.php?redirect="+encodeURIComponent(window.location.href)),$("#login-cancel-button").toggle(e),$.ajax({url:"/ajax.php",timeout:5e3,type:"get",data:{a:"check-invalid-registration-cookie"},success:function(e){e.response&&$("#register-button").hide()}}),$("#login-password").attr("type","password"),AoPS.login.modal&&AoPS.Ui.Modal.removeModal(AoPS.login.modal),AoPS.login.modal=AoPS.login.$login_form.showPlainModal({max_width:"500px",closeX:e,force_response:!e,scrollable:!0}),setTimeout((function(){$("#login-username").focus()}),1),e&&$(document).on("keyup",AoPS.login.checkKeyPress)},checkKeyPress:function(e){27===e.keyCode&&AoPS.login.close()},onUserAjaxLogout:function(){AoPS.session.logged_in||($("#header .myaops").remove(),$("#header-login").show())},onUserAjaxLogin:function(){document.location.reload(!0)}},$((function(){var e=$(".menubar-label, .login-dropdown"),o=!1;e.on("click",(function(e){o&&(e.preventDefault(),e.stopPropagation())})).on("mouseover",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverTimeout")&&n.prop("hoverTimeout",clearTimeout(n.prop("hoverTimeout"))),n.prop("hoverIntent",setTimeout((function(){n.addClass("open")}),50))}})).on("mouseleave",(function(e){if(o)e.preventDefault();else{var n=$(this);n.prop("hoverIntent")&&n.prop("hoverIntent",clearTimeout(n.prop("hoverIntent"))),n.prop("hoverTimeout",setTimeout((function(){n.removeClass("open")}),50))}}));var n=window.navigator.msPointerEnabled?"MSPointerDown":"touchstart";("ontouchstart"in document.documentElement||"MSPointerDown"===n)&&e.each((function(){var t=$(this);this.addEventListener(n,(function(i){if(("MSPointerDown"===n||1===i.touches.length)&&(window.innerWidth>700||t.hasClass("login-dropdown")))if(i.stopPropagation(),t.hasClass("open"))o=!1;else{o=!0,i.target!==this&&i.target.parentNode!==this||i.preventDefault(),e.removeClass("open"),t.addClass("open");document.addEventListener(n,(function e(n){n.stopPropagation(),t.removeClass("open"),document.removeEventListener("touchstart",e),o=!1}))}}),!1)}))})),AoPS.updateLayout=function(){},"undefined"!=typeof Backbone&&(AoPS.Model=Backbone.Model.extend({}),AoPS.Collection=Backbone.Collection.extend({debug:function(){console.log(this),console.log(this.length),console.log(this.models)}}),AoPS.View=Backbone.View.extend({getTemplate:function(e,o){var n=AoPS.View.compileTemplate(e);return $.parseHTML($.trim(n&&n(o)))},compile:function(e){return AoPS.View.compileTemplate(e)},display:function(e,o){this.$el.html($.parseHTML($.trim(e(o))))},debug:function(){console.log("View.model:",this.model),console.log("View.tagName:",this.tagName),console.log("View.className:",this.className),console.log("View.el:",this.el),console.log("View.$el:",this.$el)},hide:function(){this.$el.hide()},show:function(){this.$el.show()},close:function(){this.remove(),this.unbind(),"function"==typeof this.onClose&&this.onClose()},showLoadingModal:function(){this.loadingModal=AoPS.Ui.Modal.showMessage('',{closeX:!1,force_response:!0,frame_class:"loading-modal-frame"})},closeLoadingModal:function(){AoPS.Ui.Modal.closeParticularModal(this.loadingModal)}}),AoPS.View.template_cache={},AoPS.View.compileTemplate=function(e){var o=AoPS.View.template_cache;if(!o.hasOwnProperty(e)){var n=$(e),t=Handlebars.templates&&Handlebars.templates[e.slice(1)];n.length?o[e]=Handlebars.compile(n.html()):t&&(o[e]=t)}return o[e]}),AoPS.inputPlaceholders={initialize:function(){"placeholder"in document.createElement("input")||($("[placeholder]").focus((function(){var e=$(this);e.val()===e.attr("placeholder")&&(e.val(""),e.removeClass("placeholder"))})).blur((function(){var e=$(this);""!==e.val()&&e.val()!==e.attr("placeholder")||(e.addClass("placeholder"),e.val(e.attr("placeholder")))})).blur(),$(["placeholder"]).parents("form").submit(AoPS.inputPlaceholders.clear),AoPS.inputPlaceholders.clear=function(){$("[placeholder]").each((function(){var e=$(this);e.val()===e.attr("placeholder")&&e.val("")}))})},clear:function(){}},AoPS.doFastMathJax=function(e){AoPS.FastMathJax.push(e)},AoPS.FastMathJax={_elements:[],_isProcessing:!1,_process:function(){if(!this._isProcessing)if(this._elements.length){this._isProcessing=!0;var e=$("
      ").css({position:"fixed",top:"-100vh",left:"-100vw",opacity:0,"z-index":-9999,"pointer-events":"none"}).appendTo($(document.body)),o=this,n=this._elements.splice(0,250);_.each(n,(function(o){o.$hidden=o.$el.clone().removeClass().appendTo(e)})),MathJax.Hub.Queue(["Typeset",MathJax.Hub,e.get(0)]),MathJax.Hub.Queue([function(){_.each(n,(function(e){e.$el.html("").append(e.$hidden.clone()),e.$hidden.remove()})),e.remove(),o._isProcessing=!1,o._process()}])}else this._isProcessing=!1},push:function(e){window.MathJax&&(e instanceof jQuery||_.isArray(e)?_.each(e,_.bind((function(e){this._elements.push({$el:$(e)})}),this)):this._elements.push({$el:$(e)}),setTimeout(_.bind((function(){this._process()}),this),50))}},AoPS.importJavaScript=function(e){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(o)},window.number_format=function(e,o,n,t){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i,a,r,s=isFinite(+e)?+e:0,l=isFinite(+o)?Math.abs(o):0,c=void 0===t?",":t,u=void 0===n?".":n,d="";return(d=(l?(i=s,a=l,r=Math.pow(10,a),""+(Math.round(i*r)/r).toFixed(a)):""+Math.round(s)).split("."))[0].length>3&&(d[0]=d[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,c)),(d[1]||"").length-1)&&(parseInt(o)||!1)}(t=t||"init_time");if(!1!==i){var a=function(e){if(!document||_.isUndefined(document.cookie)||!navigator||!navigator.cookieEnabled)return!1;for(var o,n=new RegExp("^\\s*"+e+"_init_time\\s*=\\s*(.*?)\\s*$"),t=document.cookie.split(";"),i=0;i=i?function(){if(!e){e=!0;var o=document.createElement("STYLE"),n=document.createTextNode("body {display: none;}");o.appendChild(n),document.head.appendChild(o),console.log("About to refresh the page due to back button use."),setTimeout((function(){window.location.reload(!0)}),2e3)}}():setTimeout((function(){e||(document.cookie=n+"_init_time="+i+"; path=/")}),3e3)}}}}(),AoPS.isUserLimited=function(){return AoPS.user_is_limited},AoPS.user_is_limited=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("limited_user"),AoPS.isUserNew=function(){return AoPS.user_is_new},AoPS.user_is_new=AoPS.hasOwnProperty("session")&&AoPS.session.hasOwnProperty("role")&&-1!==AoPS.session.role.indexOf("new_user"),AoPS.in_academy=AoPS.bootstrap_data&&AoPS.bootstrap_data.hasOwnProperty("in_academy")&&1===parseInt(AoPS.bootstrap_data.in_academy),AoPS.convertSmartQuotes=function(e){return e.replace(/[\u2018\u2019]/g,"'").replace(/[\u201C\u201D]/g,'"').replace(/[\u2013\u2014]/g,"-").replace(/[\u2026]/g,"...")};var gOldOnError=window.onerror;window.onerror=function(e,o,n,t,i){return!!gOldOnError&&gOldOnError(e,o,n)},window.onImageLoad=function(){},window.handlebars=function(e,o){var n="";if(o||(o={}),e instanceof Element)n=e.innerHTML;else if("undefined"!=typeof jQuery&&e instanceof jQuery)n=e.html();else{if("string"!=typeof e)return!1;try{var t=document.querySelector(e);n=null===t?e:t.innerHTML}catch(r){n=e}}if("undefined"!=typeof Handlebars)return Handlebars.compile(n)(o);for(var i in o){var a=new RegExp("{{"+i+"}}","g");n=n.replace(a,o[i])}return n},AoPS.handleLocationHash=function(e){var o=function(e){var o=e.offset().top,n=$("#main-menubar").outerHeight();return Math.min(Math.floor(o-n),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},n={};function t(e){if(!n.animating){n.animating=!0;var i=o(e);$("html, body").animate({scrollTop:i},{duration:0,step:function(n,t){t.end=o(e)},always:function(){n.animating=!1,Math.abs($(window).scrollTop()-o(e))>n.threshold&&t(e)}})}}setTimeout((function(){if(location.hash){var e=$(document).find(location.hash);e.length&&t(e)}}),0)},AoPS.handleLocationHash2=function(e,o){o||(o={});var n=function(e){var o=$("#header"),n=$("#main-menubar"),t=n.outerHeight();t=$(window).width()<=700?0:"fixed"===o.css("position")?n.outerHeight():n.outerHeight()+70;var i=e.offset().top;return Math.min(Math.floor(i-t),Math.max($("html").prop("scrollHeight")-$(window).height(),$("body").prop("scrollHeight")-$(window).height()))},t={};function i(e){if(!t.animating){t.animating=!0;var a=n(e);$("html, body").animate({scrollTop:a},{duration:o&&o.duration?o.duration:0,step:function(o,t){t.end=n(e)},always:function(){t.animating=!1,Math.abs($(window).scrollTop()-n(e))>5&&(o.duration=0,i(e))}})}}setTimeout((function(){if(e)e.length&&i(e);else if(location.hash){var o=$(document).find(location.hash);o.length&&i(o)}}),0)}; +;AoPS.hasOwnProperty("Ui")&&AoPS.hasOwnProperty("ui_main_loaded")||(AoPS.Ui=function(e){var t;t=$(window).height(),setInterval((function(){var e=$(window).height();e!=t&&(t=e,$(window).trigger("resize"))}),100),$(window).on("resize",(function(){t=$(window).height()})),e.buildTableRow=function(e){var t=$("
      "),o=(e=_.defaults(e,{is_header:!1})).is_header?"th":"td";return _.each(e.data,(function(e){t.append($.parseHTML("<"+o+">"+e+""))})),e.is_header&&t.addClass("aops-no-sort"),t},e.buildTable=function(t){var o,s,a=0,i=!1,n=!1;return t=_.defaults(t,{sortable:!1,table_id:"",sort_on_build:!1,table_class:"",sort_col:0,sort_order:"asc",repeating_header:0}),o=$("
      ",{id:t.table_id,class:t.table_class}),s=$("").appendTo(o),t.hasOwnProperty("footer")&&$("").prependTo(o).append(e.buildTableRow({data:t.footer,is_header:!0})),t.hasOwnProperty("header")&&$("").prependTo(o).append(e.buildTableRow({data:t.header,is_header:!0})),t.hasOwnProperty("rows")&&_.each(t.rows,(function(o){s.append(e.buildTableRow({data:o})),a++,t.repeating_header>0&&a%t.repeating_header==0&&s.append(e.buildTableRow({data:t.header,is_header:!0}))})),t.sortable&&(o.tablesorter(t.sort_on_build?{sortList:t.hasOwnProperty("sortList")?t.sortList:[[t.sort_col,"asc"===t.sort_order?0:1]]}:{}),t.repeating_header>0&&(o.bind("sortStart",(function(){i?(i=!1,n=!0):(i=!0,s.find(".aops-no-sort").remove(),o.trigger("update"))})),o.bind("sortEnd",(function(){n?n=!1:s.find("tr:nth-child("+t.repeating_header+"n)").after(e.buildTableRow({data:t.header,is_header:!0}))})))),o},e.Flyout=function(){var e,t={},o=[],s={width:300,height:150,class:"",time:5e3,animation_time:1e3,close_function:"close"};function a(){if(o.length&&document.body){var e=document.getElementById("flyout");if(!e||!e.parentNode){var t=o.shift();i(t.html,t.opts)}}}function i(o,a){a=$.extend({},s,a),e=a;var i=document.createElement("div");i.id="flyout",i.style.width=a.width+"px",i.style.height=a.height+"px",i.style.right=-a.width+"px",i.className=a.class,i.innerHTML='
      '+o,document.body.appendChild(i),$("#flyout").animate({right:0},a.animation_time,(function(){t.timeout=setTimeout((function(){n()}),a.time)}))}function n(){$("#flyout").animate({right:-e.width},e.animation_time,(function(){t.timeout=0;var e=document.getElementById("flyout");e&&(e.parentNode.removeChild(e),a())}))}return t.display=function(e,s){document.body?(t.close(),o=[],i(e,s)):(AoPS.ErrorUtil.log("E_EARLY_FLYOUT"),t.queue(e,s))},t.queue=function(e,t){o.push({html:e,opts:t}),a()},t.close=function(){if(document.body){t.timeout&&clearTimeout(t.timeout),o=[];var e=document.getElementById("flyout");e&&e.parentNode&&e.parentNode.removeChild(e)}},t.closeWithoutClearingQueue=function(){document.body&&(t.timeout&&clearTimeout(t.timeout),n())},$(a),t}(),$.fn.extend({showUnstyledModal:function(e){var t=_.defaults({$obj:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(t)},showPlainModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showPlainBodyModal:function(e){var t=_.defaults({body:this},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.showPlainBody(t)},showModal:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessage(this,t)},showModalQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showMessageQuick(this,t)},showPlainAlert:function(e){var t=_.defaults({body:this,type:"alert"},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show(t)},showAlertQuick:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlertQuick(this,t)},showAlert:function(e){var t=arguments.length>0?arguments[0]:{};return this.show(),AoPS.Ui.Modal.showAlert(this,t)},cloneToPlainModal:function(e){var t=this.clone(!0),o=_.defaults({body:t,type:"message"},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showPlain(o)},cloneToUnstyledModal:function(e){var t=this.clone(!0),o=_.defaults({$obj:t},arguments.length>0?arguments[0]:{});return this.show(),AoPS.Ui.Modal.show$Object(o)},cloneToModal:function(e){var t=this.clone(!0),o=_.extend({},arguments.length>0?arguments[0]:{});return t.show(),AoPS.Ui.Modal.showMessage(t,o)},replaceTopModalPlain:function(e){var t=_.defaults({body:this,frame_class:"",type:"message"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModalUnstyled:function(e){var t=_.defaults({$obj:this,type:"$"},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o},replaceTopModal:function(e){var t=_.extend({type:"message",frame_class:"aops-modal-standard",body:this},arguments.length>0?arguments[0]:{}),o=AoPS.Ui.Modal.replace(t);return this.show(),o}});var o=1e5;return e.Modal={active_modals:[],fitMasks:function(){function e(){var e={height:$(window).outerHeight(),width:$(window).outerWidth()};function t(t,o){var s=t.options["max_"+o];return"%"===s.substr(s.length-1,1)?Math.min(parseFloat(s)/100*e[o],t.options.overall_max_width):Math.min(parseFloat(s),t.options.overall_max_width)}_.each(this.active_modals,(function(e){var o={height:t(e,"height"),width:t(e,"width")};e.$obj.css({"max-height":"","max-width":""}),e.$obj.css({height:e.options.height,width:e.options.width}),_.each(["width","height"],(function(t){var s=Math.round(o[t]);("height"===t?e.$obj.outerHeight():e.$obj.outerWidth())>=s&&e.$obj[t](s)}));var s=Math.min(1e3,window.innerWidth-12)+"px";e.$obj.css({"max-height":e.options.max_height,"max-width":s})}))}function t(){$("body").toggleClass("modal-page-overflow",$("body").height()>$(window).height()),_.each(this.active_modals,(function(e){e.$wrapper.css({overflow:"hidden"}),e.$obj.css({position:"absolute"}),e.$obj.css({top:parseInt(Math.max(0,($(window).height()-e.$obj.outerHeight())/2*.8)),left:parseInt(Math.max(0,($(window).width()-e.$obj.outerWidth())/2))})}))}e.apply(this),e.apply(this),setTimeout(_.bind((function(){e.apply(this),t.apply(this)}),this),5),t.apply(this)},show$Object:function(e){var t={$wrapper:$("
      ",{class:"aops-modal-wrapper"}),$mask:$("
      ",{class:"aops-modal-mask"}),$obj:e.$obj,options:this.appendDefaults(e)};return $("body").addClass("aops-modal-open"),t.$wrapper.append(t.$obj),this.setZIndices(t),$("body").append(t.$mask),$("body").append(t.$wrapper),t.options.hasOwnProperty("onShow")&&setTimeout((function(){t.options.onShow()}),100),this.active_modals.push(t),this.setZIndices(t),t.$mask.fadeTo(e.mask_fade_in_speed,t.options.mask_alpha),t.$wrapper.fadeIn(e.mask_fade_in_speed,(function(){"alert"===e.type&&e.focus_on_alert&&t.$obj.find("button").first().focus()})),t.options.draggable&&t.$obj.draggable&&t.$obj.draggable(t.options.draggable_options),this.parseForceResponse(t),this.fitMasks(),!("activeElement"in document)||_.isUndefined(document.activeElement)||_.isNull(document.activeElement)||document.activeElement.blur(),t.options.mathjax&&window.MathJax&&MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$obj[0]]),t.$obj.trigger("modal_shown"),t},show:function(e){var t;switch((t=this.prepareOptions.apply(this,arguments)).type){case"$":return this.show$Object(t);case"unframed_html":return $($.parseHTML(t.body));case"ignore-loading":break;default:return this.show$Object(_.extend({$obj:this.makeFramed$Object(t)},t))}},extFrameClass:function(e,t){return e+(t.hasOwnProperty("frame_class")?" "+t.frame_class:"")},showPlain:function(e){return this.show(e)},showQuick:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-standard aops-modal-quick",e)},e))},showPlainBody:function(e){return this.show(_.defaults({frame_class:this.extFrameClass("aops-modal-plain-body",e)},e))},showMessage:function(e){var t,o=arguments.length>1?arguments[1]:{};return t=o.hasOwnProperty("buttons")?"buttons":"message",this.show(_.extend({type:t,body:e,frame_class:this.extFrameClass("aops-modal-standard",o)},o))},showMessageQuick:function(e){return this.showQuick(_.extend({type:"message",body:e},arguments.length>1?arguments[1]:{}))},showAlert:function(e){var t=arguments.length>1?arguments[1]:{};return this.show(_.extend({type:"alert",body:e,frame_class:this.extFrameClass("aops-modal-standard",t)},t))},showAlertQuick:function(e){return this.showQuick(_.extend({type:"alert",body:e},arguments.length>1?arguments[1]:{}))},showConfirm:function(e,t){var o=arguments.length>2?arguments[2]:{},s=this.show(_.extend({type:"confirm",body:e,onButtonClick:t,frame_class:this.extFrameClass("aops-modal-standard",o)},o));return s.$obj.find(".aops-modal-btn").first().focus(),s},showConfirmQuick:function(e,t){var o=this.showQuick(_.extend({type:"confirm",body:e,onButtonClick:t},arguments.length>2?arguments[2]:{}));return o.$obj.find(".aops-modal-btn").first().focus(),o},showButtons:function(e,t,o){var s=arguments.length>3?arguments[3]:{};return this.show(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o,frame_class:this.extFrameClass("aops-modal-standard",s)},s))},showButtonsQuick:function(e,t,o,s){return s=s||{},this.showQuick(_.extend({type:"buttons",buttons:t,body:e,onButtonClick:o},s))},makeFramed$Object:function(e){var t,o,s=null,a=null,i=this,n=$("
      ",{class:e.scrollable?"aops-scroll-content":"aops-modal-noscroll"});function r(e){var t="";return e.removeDefaultBtnCss||(t=" btn-primary"),e.btnClass&&(t=" "+e.btnClass),$("