enju_leaf 1.3.4 → 2.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/app/assets/javascripts/enju_leaf/application.js +12 -0
- data/app/assets/javascripts/{autocomplete_agent.js → enju_leaf/autocomplete_agent.js} +0 -0
- data/app/assets/javascripts/{menu.js → enju_leaf/menu.js} +0 -0
- data/app/assets/javascripts/enju_leaf/mobile.js +5 -0
- data/app/assets/javascripts/{portlets.js → enju_leaf/portlets.js} +0 -0
- data/app/assets/javascripts/{select_locale.js → enju_leaf/select_locale.js} +0 -0
- data/app/assets/stylesheets/{enju_leaf.css → enju_leaf/application.scss} +6 -6
- data/app/assets/stylesheets/{enju.css → enju_leaf/enju.css} +0 -0
- data/app/assets/stylesheets/{enju_mobile.css → enju_leaf/enju_mobile.css} +0 -0
- data/app/assets/stylesheets/{enju_print.css → enju_leaf/enju_print.css} +0 -0
- data/app/assets/stylesheets/{mobile.css → enju_leaf/mobile.css} +1 -1
- data/app/assets/stylesheets/{pagination.css → enju_leaf/pagination.css} +0 -0
- data/app/assets/stylesheets/{portlets.css → enju_leaf/portlets.css} +0 -0
- data/app/assets/stylesheets/{print.css → enju_leaf/print.css} +1 -1
- data/app/assets/stylesheets/{scaffold_modified.css → enju_leaf/scaffold_modified.css} +0 -0
- data/app/views/devise/registrations/edit.html.erb +1 -1
- data/app/views/layouts/application.html.erb +4 -4
- data/app/views/page/_include.html.erb +1 -1
- data/app/views/page/_index.html+phone.erb +1 -1
- data/app/views/page/_menu.html.erb +1 -1
- data/app/views/page/_mobile.html+phone.erb +2 -2
- data/app/views/page/about.en.html.erb +4 -4
- data/app/views/page/about.ja.html.erb +4 -4
- data/app/views/page/advanced_search.html.erb +5 -5
- data/app/views/page/configuration.html.erb +0 -2
- data/app/views/page/opensearch.xml.builder +2 -2
- data/config/locales/en.yml +0 -4
- data/config/locales/ja.yml +0 -4
- data/lib/enju_leaf/engine.rb +1 -1
- data/lib/enju_leaf/version.rb +1 -1
- data/lib/generators/enju_leaf/quick_install/quick_install_generator.rb +5 -2
- data/lib/generators/enju_leaf/setup/setup_generator.rb +22 -17
- data/lib/generators/enju_leaf/setup/templates/Procfile +2 -2
- data/lib/generators/enju_leaf/setup/templates/config/schedule.rb +2 -2
- data/lib/generators/enju_leaf/setup/templates/db/seeds.rb +0 -4
- data/lib/tasks/enju_leaf_tasks.rake +2 -5
- data/spec/acceptance/profile.rb +9 -0
- data/spec/controllers/page_controller_spec.rb +1 -1
- data/spec/dummy/app/assets/javascripts/application.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +1 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -1
- data/spec/dummy/bin/bundle +1 -1
- data/spec/dummy/bin/setup +1 -3
- data/spec/dummy/bin/update +4 -2
- data/spec/dummy/bin/yarn +3 -3
- data/spec/dummy/config.ru +3 -2
- data/spec/dummy/config/application.rb +3 -2
- data/spec/dummy/config/boot.rb +4 -9
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +70 -9
- data/spec/dummy/config/environments/development.rb +9 -2
- data/spec/dummy/config/environments/production.rb +7 -4
- data/spec/dummy/config/environments/test.rb +7 -1
- data/spec/dummy/config/initializers/assets.rb +1 -2
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
- data/spec/dummy/config/locales/en.yml +30 -2
- data/spec/dummy/config/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +2 -58
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/005_create_manifestations.rb +3 -3
- data/spec/dummy/db/migrate/127_create_use_restrictions.rb +3 -7
- data/spec/dummy/db/migrate/132_create_circulation_statuses.rb +3 -7
- data/spec/dummy/db/migrate/149_create_message_templates.rb +3 -8
- data/spec/dummy/db/migrate/154_create_messages.rb +6 -14
- data/spec/dummy/db/migrate/20080819181903_create_message_requests.rb +4 -4
- data/spec/dummy/db/migrate/20081025083323_create_countries.rb +6 -5
- data/spec/dummy/db/migrate/20081025083905_create_languages.rb +1 -0
- data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +1 -1
- data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
- data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +2 -4
- data/spec/dummy/db/migrate/20110627122938_add_number_of_day_to_notify_overdue_to_user_group.rb +1 -1
- data/spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb +1 -1
- data/spec/dummy/db/migrate/20120125050502_add_depth_to_message.rb +1 -1
- data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +1 -0
- data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +1 -0
- data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +1 -0
- data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
- data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +1 -1
- data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +1 -1
- data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +4 -5
- data/spec/dummy/db/migrate/20140518111006_create_message_transitions.rb +4 -9
- data/spec/dummy/db/migrate/20140518135713_create_message_request_transitions.rb +4 -9
- data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160319144230_create_issn_records.rb +11 -0
- data/spec/dummy/db/migrate/20160506144040_create_isbn_records.rb +11 -0
- data/spec/dummy/db/migrate/20160703185015_add_most_recent_to_message_transitions.rb +1 -1
- data/spec/dummy/db/migrate/20160813191533_add_book_jacket_source_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160813191820_add_screenshot_generator_to_library_group.rb +1 -1
- data/spec/dummy/db/migrate/20160814165332_add_most_recent_to_message_request_transitions.rb +9 -0
- data/spec/dummy/db/migrate/20160820004638_add_attachment_attachment_to_carrier_types.rb +11 -0
- data/spec/dummy/db/migrate/20170114174536_add_profile_id_to_user.rb +5 -0
- data/spec/dummy/db/migrate/20170116134107_create_issn_record_and_manifestations.rb +11 -0
- data/spec/dummy/db/migrate/20170116134120_create_isbn_record_and_manifestations.rb +11 -0
- data/spec/dummy/db/migrate/20171014084528_add_header_logo_to_library_group.rb +5 -0
- data/spec/dummy/db/migrate/20180107160726_add_constraints_to_most_recent_for_user_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107160740_add_constraints_to_most_recent_for_user_export_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161311_add_constraints_to_most_recent_for_agent_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161331_add_constraints_to_most_recent_for_resource_import_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161347_add_constraints_to_most_recent_for_resource_export_file_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107161410_add_constraints_to_most_recent_for_import_request_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107162659_add_constraints_to_most_recent_for_message_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20180107162711_add_constraints_to_most_recent_for_message_request_transitions.rb +13 -0
- data/spec/dummy/db/migrate/20181030072731_add_not_null_to_position_on_carrier_type.rb +14 -0
- data/spec/dummy/db/migrate/20190102034126_create_doi_records.rb +13 -0
- data/spec/dummy/db/migrate/20190208135957_create_active_storage_tables.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20190630113817_add_display_name_translations_to_library_group.rb +12 -0
- data/spec/dummy/db/migrate/20190630115523_add_login_banner_translations_to_library_group.rb +6 -0
- data/spec/dummy/db/migrate/20190630151446_add_display_name_translations_to_role.rb +5 -0
- data/spec/dummy/db/migrate/20190712163038_add_display_name_translations_to_carrier_type.rb +21 -0
- data/spec/dummy/db/schema.rb +265 -135
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/node_modules/jquery/AUTHORS.txt +278 -0
- data/spec/dummy/node_modules/jquery/LICENSE.txt +36 -0
- data/spec/dummy/node_modules/jquery/README.md +65 -0
- data/spec/dummy/node_modules/jquery/bower.json +14 -0
- data/spec/dummy/node_modules/jquery/dist/jquery.js +9814 -0
- data/spec/dummy/node_modules/jquery/dist/jquery.min.js +4 -0
- data/spec/dummy/node_modules/jquery/dist/jquery.min.map +1 -0
- data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +2143 -0
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/spec/dummy/node_modules/jquery/package.json +84 -0
- data/spec/dummy/node_modules/jquery/src/ajax.js +845 -0
- data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +100 -0
- data/spec/dummy/node_modules/jquery/src/ajax/load.js +83 -0
- data/spec/dummy/node_modules/jquery/src/ajax/parseJSON.js +13 -0
- data/spec/dummy/node_modules/jquery/src/ajax/parseXML.js +27 -0
- data/spec/dummy/node_modules/jquery/src/ajax/script.js +68 -0
- data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +3 -0
- data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +5 -0
- data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +3 -0
- data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +167 -0
- data/spec/dummy/node_modules/jquery/src/attributes.js +11 -0
- data/spec/dummy/node_modules/jquery/src/attributes/attr.js +142 -0
- data/spec/dummy/node_modules/jquery/src/attributes/classes.js +177 -0
- data/spec/dummy/node_modules/jquery/src/attributes/prop.js +125 -0
- data/spec/dummy/node_modules/jquery/src/attributes/support.js +36 -0
- data/spec/dummy/node_modules/jquery/src/attributes/val.js +177 -0
- data/spec/dummy/node_modules/jquery/src/callbacks.js +232 -0
- data/spec/dummy/node_modules/jquery/src/core.js +494 -0
- data/spec/dummy/node_modules/jquery/src/core/access.js +65 -0
- data/spec/dummy/node_modules/jquery/src/core/init.js +134 -0
- data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +41 -0
- data/spec/dummy/node_modules/jquery/src/core/ready.js +103 -0
- data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +5 -0
- data/spec/dummy/node_modules/jquery/src/css.js +502 -0
- data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +24 -0
- data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +65 -0
- data/spec/dummy/node_modules/jquery/src/css/curCSS.js +60 -0
- data/spec/dummy/node_modules/jquery/src/css/defaultDisplay.js +72 -0
- data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +18 -0
- data/spec/dummy/node_modules/jquery/src/css/showHide.js +48 -0
- data/spec/dummy/node_modules/jquery/src/css/support.js +121 -0
- data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +3 -0
- data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +15 -0
- data/spec/dummy/node_modules/jquery/src/css/var/isHidden.js +16 -0
- data/spec/dummy/node_modules/jquery/src/css/var/rmargin.js +3 -0
- data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +5 -0
- data/spec/dummy/node_modules/jquery/src/css/var/swap.js +24 -0
- data/spec/dummy/node_modules/jquery/src/data.js +187 -0
- data/spec/dummy/node_modules/jquery/src/data/Data.js +200 -0
- data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +18 -0
- data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +5 -0
- data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +5 -0
- data/spec/dummy/node_modules/jquery/src/deferred.js +158 -0
- data/spec/dummy/node_modules/jquery/src/deprecated.js +32 -0
- data/spec/dummy/node_modules/jquery/src/dimensions.js +54 -0
- data/spec/dummy/node_modules/jquery/src/effects.js +629 -0
- data/spec/dummy/node_modules/jquery/src/effects/Tween.js +121 -0
- data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +13 -0
- data/spec/dummy/node_modules/jquery/src/event.js +711 -0
- data/spec/dummy/node_modules/jquery/src/event/ajax.js +20 -0
- data/spec/dummy/node_modules/jquery/src/event/alias.js +27 -0
- data/spec/dummy/node_modules/jquery/src/event/focusin.js +53 -0
- data/spec/dummy/node_modules/jquery/src/event/support.js +9 -0
- data/spec/dummy/node_modules/jquery/src/event/trigger.js +183 -0
- data/spec/dummy/node_modules/jquery/src/exports/amd.js +24 -0
- data/spec/dummy/node_modules/jquery/src/exports/global.js +26 -0
- data/spec/dummy/node_modules/jquery/src/intro.js +44 -0
- data/spec/dummy/node_modules/jquery/src/jquery.js +37 -0
- data/spec/dummy/node_modules/jquery/src/manipulation.js +481 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +20 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +102 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +21 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +20 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/support.js +33 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +3 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +3 -0
- data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +27 -0
- data/spec/dummy/node_modules/jquery/src/offset.js +218 -0
- data/spec/dummy/node_modules/jquery/src/outro.js +2 -0
- data/spec/dummy/node_modules/jquery/src/queue.js +143 -0
- data/spec/dummy/node_modules/jquery/src/queue/delay.js +22 -0
- data/spec/dummy/node_modules/jquery/src/selector-native.js +211 -0
- data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +14 -0
- data/spec/dummy/node_modules/jquery/src/selector.js +1 -0
- data/spec/dummy/node_modules/jquery/src/serialize.js +125 -0
- data/spec/dummy/node_modules/jquery/src/traversing.js +175 -0
- data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +100 -0
- data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +20 -0
- data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +15 -0
- data/spec/dummy/node_modules/jquery/src/var/arr.js +3 -0
- data/spec/dummy/node_modules/jquery/src/var/class2type.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/concat.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/document.js +3 -0
- data/spec/dummy/node_modules/jquery/src/var/documentElement.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/indexOf.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/pnum.js +3 -0
- data/spec/dummy/node_modules/jquery/src/var/push.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +7 -0
- data/spec/dummy/node_modules/jquery/src/var/rnotwhite.js +3 -0
- data/spec/dummy/node_modules/jquery/src/var/slice.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/support.js +5 -0
- data/spec/dummy/node_modules/jquery/src/var/toString.js +5 -0
- data/spec/dummy/node_modules/jquery/src/wrap.js +79 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141214-44379-1fdvvdb.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20141225-67268-nerc4o.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/003/original/user_export_file_20150123-14447-1lf8lc5.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141214-44379-1exy9mg.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58343-ztcmne.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58490-hnqvxg.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58609-5iyax7.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58776-1e9gg8b.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-58951-zfxzc6.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59095-l3yd2t.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59220-1mgboh1.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59533-1ie807t.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59716-m8uy9h.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59834-1fcv3ir.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-59932-14y6v8m.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60422-ksg8ww.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60507-j2u5ra.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60619-2j2h65.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60822-1xdqwcc.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-60925-4d4ce1.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-61046-y4nspn.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62053-1qsuqzd.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62204-3quf6j.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141217-62472-w05wkf.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67112-1viizrs.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67232-11tcrfq.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67342-1bajplt.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141218-67475-gmnmq4.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-74670-mxvkc6.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-74954-1m11avl.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75054-1ac0xmz.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75135-1r3z1p.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75289-18xm9sx.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75372-1ab1rn4.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75612-14gavh8.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75709-xgjjja.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75832-uej6ye.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-75905-13kbauv.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76001-13yt1kv.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76158-1pitds8.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76526-q0rb2j.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-76848-ya95k2.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-88475-165899e.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-89902-paupo2.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-90001-1eg9w1e.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141220-90157-bcu8m7.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141221-7985-u6s6l1.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141224-44711-1amcibm.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141224-44828-ap6n8d.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-48701-14hbzl1.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-49875-1pc6esj.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-64608-1wo1bpq.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-64763-daej3l.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65000-1a7srlh.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65196-ggad1c.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65273-tt5ev2.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65424-1d17hts.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65662-1gqvlj3.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65725-1qpz2tm.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65807-t7cfln.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-65962-161pm01.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-66069-h9ftv6.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-66327-hsz0j4.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20141225-67268-hqxt6v.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150119-54567-1exwx4r.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150120-80886-1whqn2s.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150120-81115-hlvwc4.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150121-86495-navftm.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150121-86986-894a3i.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150122-4492-vaml86.txt +8 -0
- data/spec/dummy/public/system/user_export_files/user_exports/000/000/004/original/user_export_file_20150123-14447-gy0ver.txt +8 -0
- data/spec/dummy/yarn.lock +8 -0
- data/spec/factories/agent.rb +1 -1
- data/spec/factories/library.rb +1 -1
- data/spec/factories/profile.rb +3 -3
- data/spec/factories/user.rb +25 -31
- data/spec/fixtures/carrier_types.yml +23 -24
- data/spec/fixtures/content_types.yml +78 -22
- data/spec/fixtures/libraries.yml +28 -31
- data/spec/fixtures/library_groups.yml +33 -16
- data/spec/fixtures/manifestations.yml +32 -27
- data/spec/fixtures/roles.yml +11 -12
- data/spec/fixtures/shelves.yml +14 -15
- data/spec/fixtures/user_groups.yml +9 -16
- data/spec/fixtures/user_has_roles.yml +2 -1
- data/spec/rails_helper.rb +11 -1
- data/spec/system/page_spec.rb +35 -0
- data/spec/views/page/configuration.html.erb_spec.rb +1 -1
- metadata +479 -93
- data/app/assets/javascripts/enju_leaf.js +0 -12
- data/app/assets/javascripts/mobile.js +0 -4
- data/spec/dummy/db/migrate/20151213070943_add_translation_table_to_library_group.rb +0 -25
- data/spec/dummy/db/migrate/20151213072705_add_footer_banner_to_library_group.rb +0 -22
- data/vendor/assets/javascripts/jquery.colorbox.js +0 -1105
- data/vendor/assets/javascripts/jquery.powertip.js +0 -1395
- data/vendor/assets/stylesheets/colorbox.css +0 -70
- data/vendor/assets/stylesheets/jquery.powertip.css +0 -105
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */
|
2
|
+
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)K(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c;
|
3
|
+
}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=N.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,Z=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||d,e=c.documentElement,f=c.body,a.pageX=b.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ea.test(f)?this.mouseHooks:da.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=d),3===a.target.nodeType&&(a.target=a.target.parentNode),h.filter?h.filter(a,g):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==ia()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===ia()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ga:ha):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:ha,isPropagationStopped:ha,isImmediatePropagationStopped:ha,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ga,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ga,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ga,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),n.fn.extend({on:function(a,b,c,d){return ja(this,a,b,c,d)},one:function(a,b,c,d){return ja(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ha),this.each(function(){n.event.remove(this,a,c,b)})}});var ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,la=/<script|<style|<link/i,ma=/checked\s*(?:[^=]|=\s*.checked.)/i,na=/^true\/(.*)/,oa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function pa(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return K(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=wa[0].contentDocument,b.write(),b.close(),c=ya(a,b),wa.detach()),xa[a]=c),c}var Aa=/^margin/,Ba=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ca=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Da=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Ea=d.documentElement;!function(){var b,c,e,f,g=d.createElement("div"),h=d.createElement("div");if(h.style){h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h);function i(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",Ea.appendChild(g);var d=a.getComputedStyle(h);b="1%"!==d.top,f="2px"===d.marginLeft,c="4px"===d.width,h.style.marginRight="50%",e="4px"===d.marginRight,Ea.removeChild(g)}n.extend(l,{pixelPosition:function(){return i(),b},boxSizingReliable:function(){return null==c&&i(),c},pixelMarginRight:function(){return null==c&&i(),e},reliableMarginLeft:function(){return null==c&&i(),f},reliableMarginRight:function(){var b,c=h.appendChild(d.createElement("div"));return c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",h.style.width="1px",Ea.appendChild(g),b=!parseFloat(a.getComputedStyle(c).marginRight),Ea.removeChild(g),h.removeChild(c),b}})}}();function Fa(a,b,c){var d,e,f,g,h=a.style;return c=c||Ca(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Ba.test(g)&&Aa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+"":g}function Ga(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ha=/^(none|table(?!-c[ea]).+)/,Ia={position:"absolute",visibility:"hidden",display:"block"},Ja={letterSpacing:"0",fontWeight:"400"},Ka=["Webkit","O","Moz","ms"],La=d.createElement("div").style;function Ma(a){if(a in La)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ka.length;while(c--)if(a=Ka[c]+b,a in La)return a}function Na(a,b,c){var d=T.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Oa(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Pa(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ca(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Fa(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ba.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Oa(a,b,c||(g?"border":"content"),d,f)+"px"}function Qa(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=N.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=N.access(d,"olddisplay",za(d.nodeName)))):(e=V(d),"none"===c&&e||N.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Fa(a,"opacity");return""===c?"1":c}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Fa(a,b,d)),"normal"===e&&b in Ja&&(e=Ja[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Ha.test(n.css(a,"display"))&&0===a.offsetWidth?Da(a,Ia,function(){return Pa(a,b,d)}):Pa(a,b,d):void 0},set:function(a,c,d){var e,f=d&&Ca(a),g=d&&Oa(a,b,d,"border-box"===n.css(a,"boxSizing",!1,f),f);return g&&(e=T.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=n.css(a,b)),Na(a,c,g)}}}),n.cssHooks.marginLeft=Ga(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Fa(a,"marginLeft"))||a.getBoundingClientRect().left-Da(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px":void 0}),n.cssHooks.marginRight=Ga(l.reliableMarginRight,function(a,b){return b?Da(a,{display:"inline-block"},Fa,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Aa.test(a)||(n.cssHooks[a+b].set=Na)}),n.fn.extend({css:function(a,b){return K(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ca(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Qa(this,!0)},hide:function(){return Qa(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function Ra(a,b,c,d,e){return new Ra.prototype.init(a,b,c,d,e)}n.Tween=Ra,Ra.prototype={constructor:Ra,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ra.propHooks[this.prop];return a&&a.get?a.get(this):Ra.propHooks._default.get(this)},run:function(a){var b,c=Ra.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ra.propHooks._default.set(this),this}},Ra.prototype.init.prototype=Ra.prototype,Ra.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},Ra.propHooks.scrollTop=Ra.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=Ra.prototype.init,n.fx.step={};var Sa,Ta,Ua=/^(?:toggle|show|hide)$/,Va=/queueHooks$/;function Wa(){return a.setTimeout(function(){Sa=void 0}),Sa=n.now()}function Xa(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=U[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ya(a,b,c){for(var d,e=(_a.tweeners[b]||[]).concat(_a.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Za(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&V(a),q=N.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?N.get(a,"olddisplay")||za(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Ua.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?za(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=N.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;N.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ya(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function $a(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function _a(a,b,c){var d,e,f=0,g=_a.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Sa||Wa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:Sa||Wa(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for($a(k,j.opts.specialEasing);g>f;f++)if(d=_a.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,Ya,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(_a,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],_a.tweeners[c]=_a.tweeners[c]||[],_a.tweeners[c].unshift(b)},prefilters:[Za],prefilter:function(a,b){b?_a.prefilters.unshift(a):_a.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=_a(this,n.extend({},a),f);(e||N.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=N.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Va.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=N.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Xa(b,!0),a,d,e)}}),n.each({slideDown:Xa("show"),slideUp:Xa("hide"),slideToggle:Xa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Sa=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Sa=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Ta||(Ta=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(Ta),Ta=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",l.checkOn=""!==a.value,l.optSelected=c.selected,b.disabled=!0,l.optDisabled=!c.disabled,a=d.createElement("input"),a.value="t",a.type="radio",l.radioValue="t"===a.value}();var ab,bb=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return K(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ab:void 0)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),ab={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=bb[b]||n.find.attr;bb[b]=function(a,b,d){var e,f;return d||(f=bb[b],bb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,bb[b]=f),e}});var cb=/^(?:input|select|textarea|button)$/i,db=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return K(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),
|
4
|
+
void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var eb=/[\t\r\n\f]/g;function fb(a){return a.getAttribute&&a.getAttribute("class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,fb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,fb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,fb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=fb(this),b&&N.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":N.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+fb(c)+" ").replace(eb," ").indexOf(b)>-1)return!0;return!1}});var gb=/\r/g,hb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(gb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(hb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(n.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var ib=/^(?:focusinfocus|focusoutblur)$/;n.extend(n.event,{trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ib.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!n.isWindow(e)){for(j=o.delegateType||q,ib.test(j+q)||(h=h.parentNode);h;h=h.parentNode)p.push(h),i=h;i===(e.ownerDocument||d)&&p.push(i.defaultView||i.parentWindow||a)}g=0;while((h=p[g++])&&!b.isPropagationStopped())b.type=g>1?j:o.bindType||q,m=(N.get(h,"events")||{})[b.type]&&N.get(h,"handle"),m&&m.apply(h,c),m=l&&h[l],m&&m.apply&&L(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!L(e)||l&&n.isFunction(e[q])&&!n.isWindow(e)&&(i=e[l],i&&(e[l]=null),n.event.triggered=q,e[q](),n.event.triggered=void 0,i&&(e[l]=i)),b.result}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b)}}),n.fn.extend({trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),l.focusin="onfocusin"in a,l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=N.access(d,b);e||d.addEventListener(a,c,!0),N.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=N.access(d,b)-1;e?N.access(d,b,e):(d.removeEventListener(a,c,!0),N.remove(d,b))}}});var jb=a.location,kb=n.now(),lb=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var mb=/#.*$/,nb=/([?&])_=[^&]*/,ob=/^(.*?):[ \t]*([^\r\n]*)$/gm,pb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qb=/^(?:GET|HEAD)$/,rb=/^\/\//,sb={},tb={},ub="*/".concat("*"),vb=d.createElement("a");vb.href=jb.href;function wb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function xb(a,b,c,d){var e={},f=a===tb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function yb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function zb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Ab(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jb.href,type:"GET",isLocal:pb.test(jb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ub,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?yb(yb(a,n.ajaxSettings),b):yb(n.ajaxSettings,a)},ajaxPrefilter:wb(sb),ajaxTransport:wb(tb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m=n.ajaxSetup({},c),o=m.context||m,p=m.context&&(o.nodeType||o.jquery)?n(o):n.event,q=n.Deferred(),r=n.Callbacks("once memory"),s=m.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,getResponseHeader:function(a){var b;if(2===v){if(!h){h={};while(b=ob.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===v?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return v||(a=u[c]=u[c]||a,t[a]=b),this},overrideMimeType:function(a){return v||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>v)for(b in a)s[b]=[s[b],a[b]];else x.always(a[x.status]);return this},abort:function(a){var b=a||w;return e&&e.abort(b),z(0,b),this}};if(q.promise(x).complete=r.add,x.success=x.done,x.error=x.fail,m.url=((b||m.url||jb.href)+"").replace(mb,"").replace(rb,jb.protocol+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=n.trim(m.dataType||"*").toLowerCase().match(G)||[""],null==m.crossDomain){j=d.createElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=vb.protocol+"//"+vb.host!=j.protocol+"//"+j.host}catch(y){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=n.param(m.data,m.traditional)),xb(sb,m,c,x),2===v)return x;k=n.event&&m.global,k&&0===n.active++&&n.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!qb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(lb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=nb.test(f)?f.replace(nb,"$1_="+kb++):f+(lb.test(f)?"&":"?")+"_="+kb++)),m.ifModified&&(n.lastModified[f]&&x.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&x.setRequestHeader("If-None-Match",n.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+ub+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)x.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(o,x,m)===!1||2===v))return x.abort();w="abort";for(l in{success:1,error:1,complete:1})x[l](m[l]);if(e=xb(tb,m,c,x)){if(x.readyState=1,k&&p.trigger("ajaxSend",[x,m]),2===v)return x;m.async&&m.timeout>0&&(i=a.setTimeout(function(){x.abort("timeout")},m.timeout));try{v=1,e.send(t,z)}catch(y){if(!(2>v))throw y;z(-1,y)}}else z(-1,"No Transport");function z(b,c,d,h){var j,l,t,u,w,y=c;2!==v&&(v=2,i&&a.clearTimeout(i),e=void 0,g=h||"",x.readyState=b>0?4:0,j=b>=200&&300>b||304===b,d&&(u=zb(m,x,d)),u=Ab(m,u,x,j),j?(m.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(n.lastModified[f]=w),w=x.getResponseHeader("etag"),w&&(n.etag[f]=w)),204===b||"HEAD"===m.type?y="nocontent":304===b?y="notmodified":(y=u.state,l=u.data,t=u.error,j=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),x.status=b,x.statusText=(c||y)+"",j?q.resolveWith(o,[l,y,x]):q.rejectWith(o,[x,y,t]),x.statusCode(s),s=void 0,k&&p.trigger(j?"ajaxSuccess":"ajaxError",[x,m,j?l:t]),r.fireWith(o,[x,y]),k&&(p.trigger("ajaxComplete",[x,m]),--n.active||n.event.trigger("ajaxStop")))}return x},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return!n.expr.filters.visible(a)},n.expr.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var Bb=/%20/g,Cb=/\[\]$/,Db=/\r?\n/g,Eb=/^(?:submit|button|image|reset|file)$/i,Fb=/^(?:input|select|textarea|keygen)/i;function Gb(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Cb.test(a)?d(a,e):Gb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Gb(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Gb(c,a[c],b,e);return d.join("&").replace(Bb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Fb.test(this.nodeName)&&!Eb.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Db,"\r\n")}}):{name:b.name,value:c.replace(Db,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Hb={0:200,1223:204},Ib=n.ajaxSettings.xhr();l.cors=!!Ib&&"withCredentials"in Ib,l.ajax=Ib=!!Ib,n.ajaxTransport(function(b){var c,d;return l.cors||Ib&&!b.crossDomain?{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Hb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=n("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Jb=[],Kb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Jb.pop()||n.expando+"_"+kb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Kb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kb.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Kb,"$1"+e):b.jsonp!==!1&&(b.url+=(lb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Jb.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ca([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var Lb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Lb)return Lb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function Mb(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(e=d.getBoundingClientRect(),c=Mb(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ea})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;n.fn[a]=function(d){return K(this,function(a,d,e){var f=Mb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ga(l.pixelPosition,function(a,c){return c?(c=Fa(a,b),Ba.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return K(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){return this.length}}),n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Nb=a.jQuery,Ob=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Ob),b&&a.jQuery===n&&(a.jQuery=Nb),n},b||(a.jQuery=a.$=n),n});
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["jquery.js"],"names":["global","factory","module","exports","document","w","Error","window","this","noGlobal","arr","slice","concat","push","indexOf","class2type","toString","hasOwn","hasOwnProperty","support","version","jQuery","selector","context","fn","init","rtrim","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","prototype","jquery","constructor","length","toArray","call","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","i","apply","arguments","first","eq","last","len","j","end","sort","splice","extend","options","name","src","copy","copyIsArray","clone","target","deep","isFunction","isPlainObject","isArray","undefined","expando","Math","random","replace","isReady","error","msg","noop","obj","type","Array","isWindow","isNumeric","realStringObj","parseFloat","key","nodeType","isEmptyObject","globalEval","code","script","indirect","eval","trim","createElement","text","head","appendChild","parentNode","removeChild","camelCase","string","nodeName","toLowerCase","isArrayLike","makeArray","results","Object","inArray","second","grep","invert","callbackInverse","matches","callbackExpect","arg","value","guid","proxy","tmp","args","now","Date","Symbol","iterator","split","Sizzle","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","contains","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","sortOrder","a","b","MAX_NEGATIVE","pop","push_native","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rcomma","rcombinators","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rinputs","rheader","rnative","rquickExpr","rsibling","rescape","runescape","funescape","_","escaped","escapedWhitespace","high","String","fromCharCode","unloadHandler","childNodes","e","els","seed","m","nid","nidselect","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","getAttribute","setAttribute","toSelector","join","testContext","querySelectorAll","qsaError","removeAttribute","keys","cache","cacheLength","shift","markFunction","assert","div","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createPositionalPseudo","argument","matchIndexes","documentElement","node","hasCompare","parent","doc","defaultView","top","addEventListener","attachEvent","className","createComment","getById","getElementsByName","find","filter","attrId","getAttributeNode","tag","innerHTML","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","attr","val","specified","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">","dir"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","xml","uniqueCache","outerCache","nodeIndex","start","useCache","lastChild","uniqueID","pseudo","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","disabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","addCombinator","combinator","base","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","multipleContexts","contexts","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","div1","defaultValue","unique","isXMLDoc","until","truncate","is","siblings","n","rneedsContext","rsingleTag","risSimple","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","next","prev","targets","l","closest","pos","index","prevAll","add","addBack","sibling","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","reverse","rnotwhite","createOptions","object","flag","Callbacks","firing","memory","fired","locked","queue","firingIndex","fire","once","stopOnFalse","remove","disable","lock","fireWith","Deferred","func","tuples","state","promise","always","deferred","fail","then","fns","newDefer","tuple","returned","progress","notify","resolve","reject","pipe","stateString","when","subordinate","resolveValues","remaining","updateFunc","values","progressValues","notifyWith","resolveWith","progressContexts","resolveContexts","readyList","readyWait","holdReady","hold","wait","triggerHandler","off","completed","removeEventListener","readyState","doScroll","setTimeout","access","chainable","emptyGet","raw","bulk","acceptData","owner","Data","uid","register","initial","defineProperty","writable","configurable","set","data","prop","stored","camel","hasData","dataPriv","dataUser","rbrace","rmultiDash","dataAttr","parseJSON","removeData","_data","_removeData","camelKey","dequeue","startLength","hooks","_queueHooks","stop","setter","clearQueue","count","defer","pnum","source","rcssNum","cssExpand","isHidden","el","css","adjustCSS","valueParts","tween","adjusted","scale","maxIterations","currentValue","unit","cssNumber","initialInUnit","style","rcheckableType","rtagName","rscriptType","wrapMap","option","thead","col","tr","td","_default","optgroup","tbody","tfoot","colgroup","caption","th","getAll","setGlobalEval","refElements","rhtml","buildFragment","scripts","selection","ignored","wrap","fragment","createDocumentFragment","nodes","htmlPrefilter","createTextNode","checkClone","cloneNode","noCloneChecked","rkeyEvent","rmouseEvent","rtypenamespace","returnTrue","returnFalse","safeActiveElement","err","on","types","one","origFn","event","handleObjIn","eventHandle","events","t","handleObj","special","handlers","namespaces","origType","elemData","handle","triggered","dispatch","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","fix","handlerQueue","delegateTarget","preDispatch","isPropagationStopped","currentTarget","isImmediatePropagationStopped","rnamespace","preventDefault","stopPropagation","postDispatch","sel","isNaN","props","fixHooks","keyHooks","original","which","charCode","keyCode","mouseHooks","eventDoc","body","pageX","clientX","scrollLeft","clientLeft","pageY","clientY","scrollTop","clientTop","originalEvent","fixHook","Event","load","noBubble","trigger","blur","click","beforeunload","returnValue","isDefaultPrevented","defaultPrevented","timeStamp","isSimulated","stopImmediatePropagation","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","relatedTarget","rxhtmlTag","rnoInnerhtml","rchecked","rscriptTypeMasked","rcleanScript","manipulationTarget","content","disableScript","restoreScript","cloneCopyEvent","dest","pdataOld","pdataCur","udataOld","udataCur","fixInput","domManip","collection","hasScripts","iNoClone","html","_evalUrl","keepData","cleanData","dataAndEvents","deepDataAndEvents","srcElements","destElements","inPage","detach","append","prepend","insertBefore","before","after","replaceWith","replaceChild","appendTo","prependTo","insertAfter","replaceAll","insert","iframe","elemdisplay","HTML","BODY","actualDisplay","display","defaultDisplay","write","close","rmargin","rnumnonpx","getStyles","view","opener","getComputedStyle","swap","old","pixelPositionVal","boxSizingReliableVal","pixelMarginRightVal","reliableMarginLeftVal","container","backgroundClip","clearCloneStyle","cssText","computeStyleTests","divStyle","marginLeft","width","marginRight","pixelPosition","boxSizingReliable","pixelMarginRight","reliableMarginLeft","reliableMarginRight","marginDiv","curCSS","computed","minWidth","maxWidth","getPropertyValue","addGetHookIf","conditionFn","hookFn","rdisplayswap","cssShow","position","visibility","cssNormalTransform","letterSpacing","fontWeight","cssPrefixes","emptyStyle","vendorPropName","capName","setPositiveNumber","subtract","max","augmentWidthOrHeight","extra","isBorderBox","styles","getWidthOrHeight","valueIsBorderBox","offsetWidth","offsetHeight","showHide","show","hidden","cssHooks","opacity","animationIterationCount","columnCount","fillOpacity","flexGrow","flexShrink","lineHeight","order","orphans","widows","zIndex","zoom","cssProps","float","origName","isFinite","getBoundingClientRect","left","margin","padding","border","prefix","suffix","expand","expanded","parts","hide","toggle","Tween","easing","propHooks","run","percent","eased","duration","step","fx","linear","p","swing","cos","PI","fxNow","timerId","rfxtypes","rrun","createFxNow","genFx","includeWidth","height","createTween","animation","Animation","tweeners","defaultPrefilter","opts","oldfire","checkDisplay","anim","dataShow","unqueued","overflow","overflowX","overflowY","propFilter","specialEasing","properties","stopped","prefilters","tick","currentTime","startTime","tweens","originalProperties","originalOptions","gotoEnd","rejectWith","timer","complete","*","tweener","prefilter","speed","opt","speeds","fadeTo","to","animate","optall","doAnimation","finish","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","interval","setInterval","clearInterval","slow","fast","delay","time","timeout","clearTimeout","checkOn","optSelected","optDisabled","radioValue","boolHook","removeAttr","nType","attrHooks","propName","attrNames","propFix","getter","rfocusable","rclickable","removeProp","tabindex","parseInt","for","class","rclass","getClass","addClass","classes","curValue","clazz","finalValue","removeClass","toggleClass","stateVal","classNames","hasClass","rreturn","rspaces","valHooks","optionSet","rfocusMorph","onlyHandlers","bubbleType","ontype","eventPath","isTrigger","parentWindow","simulate","hover","fnOver","fnOut","focusin","attaches","nonce","rquery","JSON","parse","parseXML","DOMParser","parseFromString","rhash","rts","rheaders","rlocalProtocol","rnoContent","rprotocol","transports","allTypes","originAnchor","addToPrefiltersOrTransports","structure","dataTypeExpression","dataType","dataTypes","inspectPrefiltersOrTransports","jqXHR","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","ajaxSettings","ajaxHandleResponses","s","responses","ct","finalDataType","firstDataType","mimeType","getResponseHeader","converters","ajaxConvert","response","isSuccess","conv2","current","conv","responseFields","dataFilter","active","lastModified","etag","url","isLocal","protocol","processData","async","contentType","accepts","json","* text","text html","text json","text xml","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","ajax","transport","cacheURL","responseHeadersString","responseHeaders","timeoutTimer","urlAnchor","fireGlobals","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getAllResponseHeaders","setRequestHeader","lname","overrideMimeType","status","abort","statusText","finalText","success","method","crossDomain","host","param","traditional","hasContent","ifModified","headers","beforeSend","send","nativeStatusText","modified","getJSON","getScript","throws","wrapAll","firstElementChild","wrapInner","unwrap","visible","getClientRects","r20","rbracket","rCRLF","rsubmitterTypes","rsubmittable","buildParams","v","encodeURIComponent","serialize","serializeArray","xhr","XMLHttpRequest","xhrSuccessStatus","0","1223","xhrSupported","cors","errorCallback","open","username","xhrFields","onload","onerror","onabort","onreadystatechange","responseType","responseText","binary","text script","charset","scriptCharset","evt","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","keepScripts","parsed","_load","params","animated","getWindow","offset","setOffset","curPosition","curLeft","curCSSTop","curTop","curOffset","curCSSLeft","calculatePosition","curElem","using","win","box","pageYOffset","pageXOffset","offsetParent","parentOffset","scrollTo","Height","Width","","defaultExtra","funcName","bind","unbind","delegate","undelegate","size","andSelf","define","amd","_jQuery","_$","$","noConflict"],"mappings":";CAcC,SAAUA,EAAQC,GAEK,gBAAXC,SAAiD,gBAAnBA,QAAOC,QAQhDD,OAAOC,QAAUH,EAAOI,SACvBH,EAASD,GAAQ,GACjB,SAAUK,GACT,IAAMA,EAAED,SACP,KAAM,IAAIE,OAAO,2CAElB,OAAOL,GAASI,IAGlBJ,EAASD,IAIS,mBAAXO,QAAyBA,OAASC,KAAM,SAAUD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OG,GAAGqC,QAETijC,KAAM,SAAUlhB,EAAOnF,EAAMjf,GAC5B,MAAOhB,MAAKmlB,GAAIC,EAAO,KAAMnF,EAAMjf,IAEpCulC,OAAQ,SAAUnhB,EAAOpkB,GACxB,MAAOhB,MAAK4e,IAAKwG,EAAO,KAAMpkB,IAG/BwlC,SAAU,SAAU1lC,EAAUskB,EAAOnF,EAAMjf,GAC1C,MAAOhB,MAAKmlB,GAAIC,EAAOtkB,EAAUmf,EAAMjf,IAExCylC,WAAY,SAAU3lC,EAAUskB,EAAOpkB,GAGtC,MAA4B,KAArB4B,UAAUhB,OAChB5B,KAAK4e,IAAK9d,EAAU,MACpBd,KAAK4e,IAAKwG,EAAOtkB,GAAY,KAAME,IAErC0lC,KAAM,WACL,MAAO1mC,MAAK4B,UAIdf,EAAOG,GAAG2lC,QAAU9lC,EAAOG,GAAG6Z,QAkBP,kBAAX+rB,SAAyBA,OAAOC,KAC3CD,OAAQ,YAAc,WACrB,MAAO/lC,IAMT,IAGCimC,IAAU/mC,EAAOc,OAGjBkmC,GAAKhnC,EAAOinC,CAqBb,OAnBAnmC,GAAOomC,WAAa,SAAUpjC,GAS7B,MARK9D,GAAOinC,IAAMnmC,IACjBd,EAAOinC,EAAID,IAGPljC,GAAQ9D,EAAOc,SAAWA,IAC9Bd,EAAOc,OAASimC,IAGVjmC,GAMFZ,IACLF,EAAOc,OAASd,EAAOinC,EAAInmC,GAGrBA","file":"jquery.min.js"}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
Copyright jQuery Foundation and other contributors, https://jquery.org/
|
2
|
+
|
3
|
+
This software consists of voluntary contributions made by many
|
4
|
+
individuals. For exact contribution history, see the revision history
|
5
|
+
available at https://github.com/jquery/sizzle
|
6
|
+
|
7
|
+
The following license applies to all parts of this software except as
|
8
|
+
documented below:
|
9
|
+
|
10
|
+
====
|
11
|
+
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
13
|
+
a copy of this software and associated documentation files (the
|
14
|
+
"Software"), to deal in the Software without restriction, including
|
15
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
16
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
17
|
+
permit persons to whom the Software is furnished to do so, subject to
|
18
|
+
the following conditions:
|
19
|
+
|
20
|
+
The above copyright notice and this permission notice shall be
|
21
|
+
included in all copies or substantial portions of the Software.
|
22
|
+
|
23
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
24
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
25
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
26
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
27
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
28
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
29
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
30
|
+
|
31
|
+
====
|
32
|
+
|
33
|
+
All files located in the node_modules and external directories are
|
34
|
+
externally maintained libraries used by this software which have their
|
35
|
+
own licenses; we recommend you read them, as their terms may differ from
|
36
|
+
the terms above.
|
@@ -0,0 +1,2143 @@
|
|
1
|
+
/*!
|
2
|
+
* Sizzle CSS Selector Engine v2.2.1
|
3
|
+
* http://sizzlejs.com/
|
4
|
+
*
|
5
|
+
* Copyright jQuery Foundation and other contributors
|
6
|
+
* Released under the MIT license
|
7
|
+
* http://jquery.org/license
|
8
|
+
*
|
9
|
+
* Date: 2015-10-17
|
10
|
+
*/
|
11
|
+
(function( window ) {
|
12
|
+
|
13
|
+
var i,
|
14
|
+
support,
|
15
|
+
Expr,
|
16
|
+
getText,
|
17
|
+
isXML,
|
18
|
+
tokenize,
|
19
|
+
compile,
|
20
|
+
select,
|
21
|
+
outermostContext,
|
22
|
+
sortInput,
|
23
|
+
hasDuplicate,
|
24
|
+
|
25
|
+
// Local document vars
|
26
|
+
setDocument,
|
27
|
+
document,
|
28
|
+
docElem,
|
29
|
+
documentIsHTML,
|
30
|
+
rbuggyQSA,
|
31
|
+
rbuggyMatches,
|
32
|
+
matches,
|
33
|
+
contains,
|
34
|
+
|
35
|
+
// Instance-specific data
|
36
|
+
expando = "sizzle" + 1 * new Date(),
|
37
|
+
preferredDoc = window.document,
|
38
|
+
dirruns = 0,
|
39
|
+
done = 0,
|
40
|
+
classCache = createCache(),
|
41
|
+
tokenCache = createCache(),
|
42
|
+
compilerCache = createCache(),
|
43
|
+
sortOrder = function( a, b ) {
|
44
|
+
if ( a === b ) {
|
45
|
+
hasDuplicate = true;
|
46
|
+
}
|
47
|
+
return 0;
|
48
|
+
},
|
49
|
+
|
50
|
+
// General-purpose constants
|
51
|
+
MAX_NEGATIVE = 1 << 31,
|
52
|
+
|
53
|
+
// Instance methods
|
54
|
+
hasOwn = ({}).hasOwnProperty,
|
55
|
+
arr = [],
|
56
|
+
pop = arr.pop,
|
57
|
+
push_native = arr.push,
|
58
|
+
push = arr.push,
|
59
|
+
slice = arr.slice,
|
60
|
+
// Use a stripped-down indexOf as it's faster than native
|
61
|
+
// http://jsperf.com/thor-indexof-vs-for/5
|
62
|
+
indexOf = function( list, elem ) {
|
63
|
+
var i = 0,
|
64
|
+
len = list.length;
|
65
|
+
for ( ; i < len; i++ ) {
|
66
|
+
if ( list[i] === elem ) {
|
67
|
+
return i;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
return -1;
|
71
|
+
},
|
72
|
+
|
73
|
+
booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
|
74
|
+
|
75
|
+
// Regular expressions
|
76
|
+
|
77
|
+
// http://www.w3.org/TR/css3-selectors/#whitespace
|
78
|
+
whitespace = "[\\x20\\t\\r\\n\\f]",
|
79
|
+
|
80
|
+
// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
|
81
|
+
identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
|
82
|
+
|
83
|
+
// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
|
84
|
+
attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
|
85
|
+
// Operator (capture 2)
|
86
|
+
"*([*^$|!~]?=)" + whitespace +
|
87
|
+
// "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
88
|
+
"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
|
89
|
+
"*\\]",
|
90
|
+
|
91
|
+
pseudos = ":(" + identifier + ")(?:\\((" +
|
92
|
+
// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
|
93
|
+
// 1. quoted (capture 3; capture 4 or capture 5)
|
94
|
+
"('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
|
95
|
+
// 2. simple (capture 6)
|
96
|
+
"((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
|
97
|
+
// 3. anything else (capture 2)
|
98
|
+
".*" +
|
99
|
+
")\\)|)",
|
100
|
+
|
101
|
+
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
|
102
|
+
rwhitespace = new RegExp( whitespace + "+", "g" ),
|
103
|
+
rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
|
104
|
+
|
105
|
+
rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
|
106
|
+
rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
|
107
|
+
|
108
|
+
rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),
|
109
|
+
|
110
|
+
rpseudo = new RegExp( pseudos ),
|
111
|
+
ridentifier = new RegExp( "^" + identifier + "$" ),
|
112
|
+
|
113
|
+
matchExpr = {
|
114
|
+
"ID": new RegExp( "^#(" + identifier + ")" ),
|
115
|
+
"CLASS": new RegExp( "^\\.(" + identifier + ")" ),
|
116
|
+
"TAG": new RegExp( "^(" + identifier + "|[*])" ),
|
117
|
+
"ATTR": new RegExp( "^" + attributes ),
|
118
|
+
"PSEUDO": new RegExp( "^" + pseudos ),
|
119
|
+
"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
|
120
|
+
"*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
|
121
|
+
"*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
|
122
|
+
"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
|
123
|
+
// For use in libraries implementing .is()
|
124
|
+
// We use this for POS matching in `select`
|
125
|
+
"needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
|
126
|
+
whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
|
127
|
+
},
|
128
|
+
|
129
|
+
rinputs = /^(?:input|select|textarea|button)$/i,
|
130
|
+
rheader = /^h\d$/i,
|
131
|
+
|
132
|
+
rnative = /^[^{]+\{\s*\[native \w/,
|
133
|
+
|
134
|
+
// Easily-parseable/retrievable ID or TAG or CLASS selectors
|
135
|
+
rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
|
136
|
+
|
137
|
+
rsibling = /[+~]/,
|
138
|
+
rescape = /'|\\/g,
|
139
|
+
|
140
|
+
// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
|
141
|
+
runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
|
142
|
+
funescape = function( _, escaped, escapedWhitespace ) {
|
143
|
+
var high = "0x" + escaped - 0x10000;
|
144
|
+
// NaN means non-codepoint
|
145
|
+
// Support: Firefox<24
|
146
|
+
// Workaround erroneous numeric interpretation of +"0x"
|
147
|
+
return high !== high || escapedWhitespace ?
|
148
|
+
escaped :
|
149
|
+
high < 0 ?
|
150
|
+
// BMP codepoint
|
151
|
+
String.fromCharCode( high + 0x10000 ) :
|
152
|
+
// Supplemental Plane codepoint (surrogate pair)
|
153
|
+
String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
|
154
|
+
},
|
155
|
+
|
156
|
+
// Used for iframes
|
157
|
+
// See setDocument()
|
158
|
+
// Removing the function wrapper causes a "Permission Denied"
|
159
|
+
// error in IE
|
160
|
+
unloadHandler = function() {
|
161
|
+
setDocument();
|
162
|
+
};
|
163
|
+
|
164
|
+
// Optimize for push.apply( _, NodeList )
|
165
|
+
try {
|
166
|
+
push.apply(
|
167
|
+
(arr = slice.call( preferredDoc.childNodes )),
|
168
|
+
preferredDoc.childNodes
|
169
|
+
);
|
170
|
+
// Support: Android<4.0
|
171
|
+
// Detect silently failing push.apply
|
172
|
+
arr[ preferredDoc.childNodes.length ].nodeType;
|
173
|
+
} catch ( e ) {
|
174
|
+
push = { apply: arr.length ?
|
175
|
+
|
176
|
+
// Leverage slice if possible
|
177
|
+
function( target, els ) {
|
178
|
+
push_native.apply( target, slice.call(els) );
|
179
|
+
} :
|
180
|
+
|
181
|
+
// Support: IE<9
|
182
|
+
// Otherwise append directly
|
183
|
+
function( target, els ) {
|
184
|
+
var j = target.length,
|
185
|
+
i = 0;
|
186
|
+
// Can't trust NodeList.length
|
187
|
+
while ( (target[j++] = els[i++]) ) {}
|
188
|
+
target.length = j - 1;
|
189
|
+
}
|
190
|
+
};
|
191
|
+
}
|
192
|
+
|
193
|
+
function Sizzle( selector, context, results, seed ) {
|
194
|
+
var m, i, elem, nid, nidselect, match, groups, newSelector,
|
195
|
+
newContext = context && context.ownerDocument,
|
196
|
+
|
197
|
+
// nodeType defaults to 9, since context defaults to document
|
198
|
+
nodeType = context ? context.nodeType : 9;
|
199
|
+
|
200
|
+
results = results || [];
|
201
|
+
|
202
|
+
// Return early from calls with invalid selector or context
|
203
|
+
if ( typeof selector !== "string" || !selector ||
|
204
|
+
nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
|
205
|
+
|
206
|
+
return results;
|
207
|
+
}
|
208
|
+
|
209
|
+
// Try to shortcut find operations (as opposed to filters) in HTML documents
|
210
|
+
if ( !seed ) {
|
211
|
+
|
212
|
+
if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
|
213
|
+
setDocument( context );
|
214
|
+
}
|
215
|
+
context = context || document;
|
216
|
+
|
217
|
+
if ( documentIsHTML ) {
|
218
|
+
|
219
|
+
// If the selector is sufficiently simple, try using a "get*By*" DOM method
|
220
|
+
// (excepting DocumentFragment context, where the methods don't exist)
|
221
|
+
if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {
|
222
|
+
|
223
|
+
// ID selector
|
224
|
+
if ( (m = match[1]) ) {
|
225
|
+
|
226
|
+
// Document context
|
227
|
+
if ( nodeType === 9 ) {
|
228
|
+
if ( (elem = context.getElementById( m )) ) {
|
229
|
+
|
230
|
+
// Support: IE, Opera, Webkit
|
231
|
+
// TODO: identify versions
|
232
|
+
// getElementById can match elements by name instead of ID
|
233
|
+
if ( elem.id === m ) {
|
234
|
+
results.push( elem );
|
235
|
+
return results;
|
236
|
+
}
|
237
|
+
} else {
|
238
|
+
return results;
|
239
|
+
}
|
240
|
+
|
241
|
+
// Element context
|
242
|
+
} else {
|
243
|
+
|
244
|
+
// Support: IE, Opera, Webkit
|
245
|
+
// TODO: identify versions
|
246
|
+
// getElementById can match elements by name instead of ID
|
247
|
+
if ( newContext && (elem = newContext.getElementById( m )) &&
|
248
|
+
contains( context, elem ) &&
|
249
|
+
elem.id === m ) {
|
250
|
+
|
251
|
+
results.push( elem );
|
252
|
+
return results;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
// Type selector
|
257
|
+
} else if ( match[2] ) {
|
258
|
+
push.apply( results, context.getElementsByTagName( selector ) );
|
259
|
+
return results;
|
260
|
+
|
261
|
+
// Class selector
|
262
|
+
} else if ( (m = match[3]) && support.getElementsByClassName &&
|
263
|
+
context.getElementsByClassName ) {
|
264
|
+
|
265
|
+
push.apply( results, context.getElementsByClassName( m ) );
|
266
|
+
return results;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
// Take advantage of querySelectorAll
|
271
|
+
if ( support.qsa &&
|
272
|
+
!compilerCache[ selector + " " ] &&
|
273
|
+
(!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
|
274
|
+
|
275
|
+
if ( nodeType !== 1 ) {
|
276
|
+
newContext = context;
|
277
|
+
newSelector = selector;
|
278
|
+
|
279
|
+
// qSA looks outside Element context, which is not what we want
|
280
|
+
// Thanks to Andrew Dupont for this workaround technique
|
281
|
+
// Support: IE <=8
|
282
|
+
// Exclude object elements
|
283
|
+
} else if ( context.nodeName.toLowerCase() !== "object" ) {
|
284
|
+
|
285
|
+
// Capture the context ID, setting it first if necessary
|
286
|
+
if ( (nid = context.getAttribute( "id" )) ) {
|
287
|
+
nid = nid.replace( rescape, "\\$&" );
|
288
|
+
} else {
|
289
|
+
context.setAttribute( "id", (nid = expando) );
|
290
|
+
}
|
291
|
+
|
292
|
+
// Prefix every selector in the list
|
293
|
+
groups = tokenize( selector );
|
294
|
+
i = groups.length;
|
295
|
+
nidselect = ridentifier.test( nid ) ? "#" + nid : "[id='" + nid + "']";
|
296
|
+
while ( i-- ) {
|
297
|
+
groups[i] = nidselect + " " + toSelector( groups[i] );
|
298
|
+
}
|
299
|
+
newSelector = groups.join( "," );
|
300
|
+
|
301
|
+
// Expand context for sibling selectors
|
302
|
+
newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
|
303
|
+
context;
|
304
|
+
}
|
305
|
+
|
306
|
+
if ( newSelector ) {
|
307
|
+
try {
|
308
|
+
push.apply( results,
|
309
|
+
newContext.querySelectorAll( newSelector )
|
310
|
+
);
|
311
|
+
return results;
|
312
|
+
} catch ( qsaError ) {
|
313
|
+
} finally {
|
314
|
+
if ( nid === expando ) {
|
315
|
+
context.removeAttribute( "id" );
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
321
|
+
}
|
322
|
+
|
323
|
+
// All others
|
324
|
+
return select( selector.replace( rtrim, "$1" ), context, results, seed );
|
325
|
+
}
|
326
|
+
|
327
|
+
/**
|
328
|
+
* Create key-value caches of limited size
|
329
|
+
* @returns {function(string, object)} Returns the Object data after storing it on itself with
|
330
|
+
* property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
|
331
|
+
* deleting the oldest entry
|
332
|
+
*/
|
333
|
+
function createCache() {
|
334
|
+
var keys = [];
|
335
|
+
|
336
|
+
function cache( key, value ) {
|
337
|
+
// Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
|
338
|
+
if ( keys.push( key + " " ) > Expr.cacheLength ) {
|
339
|
+
// Only keep the most recent entries
|
340
|
+
delete cache[ keys.shift() ];
|
341
|
+
}
|
342
|
+
return (cache[ key + " " ] = value);
|
343
|
+
}
|
344
|
+
return cache;
|
345
|
+
}
|
346
|
+
|
347
|
+
/**
|
348
|
+
* Mark a function for special use by Sizzle
|
349
|
+
* @param {Function} fn The function to mark
|
350
|
+
*/
|
351
|
+
function markFunction( fn ) {
|
352
|
+
fn[ expando ] = true;
|
353
|
+
return fn;
|
354
|
+
}
|
355
|
+
|
356
|
+
/**
|
357
|
+
* Support testing using an element
|
358
|
+
* @param {Function} fn Passed the created div and expects a boolean result
|
359
|
+
*/
|
360
|
+
function assert( fn ) {
|
361
|
+
var div = document.createElement("div");
|
362
|
+
|
363
|
+
try {
|
364
|
+
return !!fn( div );
|
365
|
+
} catch (e) {
|
366
|
+
return false;
|
367
|
+
} finally {
|
368
|
+
// Remove from its parent by default
|
369
|
+
if ( div.parentNode ) {
|
370
|
+
div.parentNode.removeChild( div );
|
371
|
+
}
|
372
|
+
// release memory in IE
|
373
|
+
div = null;
|
374
|
+
}
|
375
|
+
}
|
376
|
+
|
377
|
+
/**
|
378
|
+
* Adds the same handler for all of the specified attrs
|
379
|
+
* @param {String} attrs Pipe-separated list of attributes
|
380
|
+
* @param {Function} handler The method that will be applied
|
381
|
+
*/
|
382
|
+
function addHandle( attrs, handler ) {
|
383
|
+
var arr = attrs.split("|"),
|
384
|
+
i = arr.length;
|
385
|
+
|
386
|
+
while ( i-- ) {
|
387
|
+
Expr.attrHandle[ arr[i] ] = handler;
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Checks document order of two siblings
|
393
|
+
* @param {Element} a
|
394
|
+
* @param {Element} b
|
395
|
+
* @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
|
396
|
+
*/
|
397
|
+
function siblingCheck( a, b ) {
|
398
|
+
var cur = b && a,
|
399
|
+
diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
|
400
|
+
( ~b.sourceIndex || MAX_NEGATIVE ) -
|
401
|
+
( ~a.sourceIndex || MAX_NEGATIVE );
|
402
|
+
|
403
|
+
// Use IE sourceIndex if available on both nodes
|
404
|
+
if ( diff ) {
|
405
|
+
return diff;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Check if b follows a
|
409
|
+
if ( cur ) {
|
410
|
+
while ( (cur = cur.nextSibling) ) {
|
411
|
+
if ( cur === b ) {
|
412
|
+
return -1;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
return a ? 1 : -1;
|
418
|
+
}
|
419
|
+
|
420
|
+
/**
|
421
|
+
* Returns a function to use in pseudos for input types
|
422
|
+
* @param {String} type
|
423
|
+
*/
|
424
|
+
function createInputPseudo( type ) {
|
425
|
+
return function( elem ) {
|
426
|
+
var name = elem.nodeName.toLowerCase();
|
427
|
+
return name === "input" && elem.type === type;
|
428
|
+
};
|
429
|
+
}
|
430
|
+
|
431
|
+
/**
|
432
|
+
* Returns a function to use in pseudos for buttons
|
433
|
+
* @param {String} type
|
434
|
+
*/
|
435
|
+
function createButtonPseudo( type ) {
|
436
|
+
return function( elem ) {
|
437
|
+
var name = elem.nodeName.toLowerCase();
|
438
|
+
return (name === "input" || name === "button") && elem.type === type;
|
439
|
+
};
|
440
|
+
}
|
441
|
+
|
442
|
+
/**
|
443
|
+
* Returns a function to use in pseudos for positionals
|
444
|
+
* @param {Function} fn
|
445
|
+
*/
|
446
|
+
function createPositionalPseudo( fn ) {
|
447
|
+
return markFunction(function( argument ) {
|
448
|
+
argument = +argument;
|
449
|
+
return markFunction(function( seed, matches ) {
|
450
|
+
var j,
|
451
|
+
matchIndexes = fn( [], seed.length, argument ),
|
452
|
+
i = matchIndexes.length;
|
453
|
+
|
454
|
+
// Match elements found at the specified indexes
|
455
|
+
while ( i-- ) {
|
456
|
+
if ( seed[ (j = matchIndexes[i]) ] ) {
|
457
|
+
seed[j] = !(matches[j] = seed[j]);
|
458
|
+
}
|
459
|
+
}
|
460
|
+
});
|
461
|
+
});
|
462
|
+
}
|
463
|
+
|
464
|
+
/**
|
465
|
+
* Checks a node for validity as a Sizzle context
|
466
|
+
* @param {Element|Object=} context
|
467
|
+
* @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
|
468
|
+
*/
|
469
|
+
function testContext( context ) {
|
470
|
+
return context && typeof context.getElementsByTagName !== "undefined" && context;
|
471
|
+
}
|
472
|
+
|
473
|
+
// Expose support vars for convenience
|
474
|
+
support = Sizzle.support = {};
|
475
|
+
|
476
|
+
/**
|
477
|
+
* Detects XML nodes
|
478
|
+
* @param {Element|Object} elem An element or a document
|
479
|
+
* @returns {Boolean} True iff elem is a non-HTML XML node
|
480
|
+
*/
|
481
|
+
isXML = Sizzle.isXML = function( elem ) {
|
482
|
+
// documentElement is verified for cases where it doesn't yet exist
|
483
|
+
// (such as loading iframes in IE - #4833)
|
484
|
+
var documentElement = elem && (elem.ownerDocument || elem).documentElement;
|
485
|
+
return documentElement ? documentElement.nodeName !== "HTML" : false;
|
486
|
+
};
|
487
|
+
|
488
|
+
/**
|
489
|
+
* Sets document-related variables once based on the current document
|
490
|
+
* @param {Element|Object} [doc] An element or document object to use to set the document
|
491
|
+
* @returns {Object} Returns the current document
|
492
|
+
*/
|
493
|
+
setDocument = Sizzle.setDocument = function( node ) {
|
494
|
+
var hasCompare, parent,
|
495
|
+
doc = node ? node.ownerDocument || node : preferredDoc;
|
496
|
+
|
497
|
+
// Return early if doc is invalid or already selected
|
498
|
+
if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
|
499
|
+
return document;
|
500
|
+
}
|
501
|
+
|
502
|
+
// Update global variables
|
503
|
+
document = doc;
|
504
|
+
docElem = document.documentElement;
|
505
|
+
documentIsHTML = !isXML( document );
|
506
|
+
|
507
|
+
// Support: IE 9-11, Edge
|
508
|
+
// Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
|
509
|
+
if ( (parent = document.defaultView) && parent.top !== parent ) {
|
510
|
+
// Support: IE 11
|
511
|
+
if ( parent.addEventListener ) {
|
512
|
+
parent.addEventListener( "unload", unloadHandler, false );
|
513
|
+
|
514
|
+
// Support: IE 9 - 10 only
|
515
|
+
} else if ( parent.attachEvent ) {
|
516
|
+
parent.attachEvent( "onunload", unloadHandler );
|
517
|
+
}
|
518
|
+
}
|
519
|
+
|
520
|
+
/* Attributes
|
521
|
+
---------------------------------------------------------------------- */
|
522
|
+
|
523
|
+
// Support: IE<8
|
524
|
+
// Verify that getAttribute really returns attributes and not properties
|
525
|
+
// (excepting IE8 booleans)
|
526
|
+
support.attributes = assert(function( div ) {
|
527
|
+
div.className = "i";
|
528
|
+
return !div.getAttribute("className");
|
529
|
+
});
|
530
|
+
|
531
|
+
/* getElement(s)By*
|
532
|
+
---------------------------------------------------------------------- */
|
533
|
+
|
534
|
+
// Check if getElementsByTagName("*") returns only elements
|
535
|
+
support.getElementsByTagName = assert(function( div ) {
|
536
|
+
div.appendChild( document.createComment("") );
|
537
|
+
return !div.getElementsByTagName("*").length;
|
538
|
+
});
|
539
|
+
|
540
|
+
// Support: IE<9
|
541
|
+
support.getElementsByClassName = rnative.test( document.getElementsByClassName );
|
542
|
+
|
543
|
+
// Support: IE<10
|
544
|
+
// Check if getElementById returns elements by name
|
545
|
+
// The broken getElementById methods don't pick up programatically-set names,
|
546
|
+
// so use a roundabout getElementsByName test
|
547
|
+
support.getById = assert(function( div ) {
|
548
|
+
docElem.appendChild( div ).id = expando;
|
549
|
+
return !document.getElementsByName || !document.getElementsByName( expando ).length;
|
550
|
+
});
|
551
|
+
|
552
|
+
// ID find and filter
|
553
|
+
if ( support.getById ) {
|
554
|
+
Expr.find["ID"] = function( id, context ) {
|
555
|
+
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
|
556
|
+
var m = context.getElementById( id );
|
557
|
+
return m ? [ m ] : [];
|
558
|
+
}
|
559
|
+
};
|
560
|
+
Expr.filter["ID"] = function( id ) {
|
561
|
+
var attrId = id.replace( runescape, funescape );
|
562
|
+
return function( elem ) {
|
563
|
+
return elem.getAttribute("id") === attrId;
|
564
|
+
};
|
565
|
+
};
|
566
|
+
} else {
|
567
|
+
// Support: IE6/7
|
568
|
+
// getElementById is not reliable as a find shortcut
|
569
|
+
delete Expr.find["ID"];
|
570
|
+
|
571
|
+
Expr.filter["ID"] = function( id ) {
|
572
|
+
var attrId = id.replace( runescape, funescape );
|
573
|
+
return function( elem ) {
|
574
|
+
var node = typeof elem.getAttributeNode !== "undefined" &&
|
575
|
+
elem.getAttributeNode("id");
|
576
|
+
return node && node.value === attrId;
|
577
|
+
};
|
578
|
+
};
|
579
|
+
}
|
580
|
+
|
581
|
+
// Tag
|
582
|
+
Expr.find["TAG"] = support.getElementsByTagName ?
|
583
|
+
function( tag, context ) {
|
584
|
+
if ( typeof context.getElementsByTagName !== "undefined" ) {
|
585
|
+
return context.getElementsByTagName( tag );
|
586
|
+
|
587
|
+
// DocumentFragment nodes don't have gEBTN
|
588
|
+
} else if ( support.qsa ) {
|
589
|
+
return context.querySelectorAll( tag );
|
590
|
+
}
|
591
|
+
} :
|
592
|
+
|
593
|
+
function( tag, context ) {
|
594
|
+
var elem,
|
595
|
+
tmp = [],
|
596
|
+
i = 0,
|
597
|
+
// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
|
598
|
+
results = context.getElementsByTagName( tag );
|
599
|
+
|
600
|
+
// Filter out possible comments
|
601
|
+
if ( tag === "*" ) {
|
602
|
+
while ( (elem = results[i++]) ) {
|
603
|
+
if ( elem.nodeType === 1 ) {
|
604
|
+
tmp.push( elem );
|
605
|
+
}
|
606
|
+
}
|
607
|
+
|
608
|
+
return tmp;
|
609
|
+
}
|
610
|
+
return results;
|
611
|
+
};
|
612
|
+
|
613
|
+
// Class
|
614
|
+
Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
|
615
|
+
if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
|
616
|
+
return context.getElementsByClassName( className );
|
617
|
+
}
|
618
|
+
};
|
619
|
+
|
620
|
+
/* QSA/matchesSelector
|
621
|
+
---------------------------------------------------------------------- */
|
622
|
+
|
623
|
+
// QSA and matchesSelector support
|
624
|
+
|
625
|
+
// matchesSelector(:active) reports false when true (IE9/Opera 11.5)
|
626
|
+
rbuggyMatches = [];
|
627
|
+
|
628
|
+
// qSa(:focus) reports false when true (Chrome 21)
|
629
|
+
// We allow this because of a bug in IE8/9 that throws an error
|
630
|
+
// whenever `document.activeElement` is accessed on an iframe
|
631
|
+
// So, we allow :focus to pass through QSA all the time to avoid the IE error
|
632
|
+
// See http://bugs.jquery.com/ticket/13378
|
633
|
+
rbuggyQSA = [];
|
634
|
+
|
635
|
+
if ( (support.qsa = rnative.test( document.querySelectorAll )) ) {
|
636
|
+
// Build QSA regex
|
637
|
+
// Regex strategy adopted from Diego Perini
|
638
|
+
assert(function( div ) {
|
639
|
+
// Select is set to empty string on purpose
|
640
|
+
// This is to test IE's treatment of not explicitly
|
641
|
+
// setting a boolean content attribute,
|
642
|
+
// since its presence should be enough
|
643
|
+
// http://bugs.jquery.com/ticket/12359
|
644
|
+
docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" +
|
645
|
+
"<select id='" + expando + "-\r\\' msallowcapture=''>" +
|
646
|
+
"<option selected=''></option></select>";
|
647
|
+
|
648
|
+
// Support: IE8, Opera 11-12.16
|
649
|
+
// Nothing should be selected when empty strings follow ^= or $= or *=
|
650
|
+
// The test attribute must be unknown in Opera but "safe" for WinRT
|
651
|
+
// http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
|
652
|
+
if ( div.querySelectorAll("[msallowcapture^='']").length ) {
|
653
|
+
rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
|
654
|
+
}
|
655
|
+
|
656
|
+
// Support: IE8
|
657
|
+
// Boolean attributes and "value" are not treated correctly
|
658
|
+
if ( !div.querySelectorAll("[selected]").length ) {
|
659
|
+
rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
|
660
|
+
}
|
661
|
+
|
662
|
+
// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
|
663
|
+
if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
|
664
|
+
rbuggyQSA.push("~=");
|
665
|
+
}
|
666
|
+
|
667
|
+
// Webkit/Opera - :checked should return selected option elements
|
668
|
+
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
669
|
+
// IE8 throws error here and will not see later tests
|
670
|
+
if ( !div.querySelectorAll(":checked").length ) {
|
671
|
+
rbuggyQSA.push(":checked");
|
672
|
+
}
|
673
|
+
|
674
|
+
// Support: Safari 8+, iOS 8+
|
675
|
+
// https://bugs.webkit.org/show_bug.cgi?id=136851
|
676
|
+
// In-page `selector#id sibing-combinator selector` fails
|
677
|
+
if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) {
|
678
|
+
rbuggyQSA.push(".#.+[+~]");
|
679
|
+
}
|
680
|
+
});
|
681
|
+
|
682
|
+
assert(function( div ) {
|
683
|
+
// Support: Windows 8 Native Apps
|
684
|
+
// The type and name attributes are restricted during .innerHTML assignment
|
685
|
+
var input = document.createElement("input");
|
686
|
+
input.setAttribute( "type", "hidden" );
|
687
|
+
div.appendChild( input ).setAttribute( "name", "D" );
|
688
|
+
|
689
|
+
// Support: IE8
|
690
|
+
// Enforce case-sensitivity of name attribute
|
691
|
+
if ( div.querySelectorAll("[name=d]").length ) {
|
692
|
+
rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
|
693
|
+
}
|
694
|
+
|
695
|
+
// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
|
696
|
+
// IE8 throws error here and will not see later tests
|
697
|
+
if ( !div.querySelectorAll(":enabled").length ) {
|
698
|
+
rbuggyQSA.push( ":enabled", ":disabled" );
|
699
|
+
}
|
700
|
+
|
701
|
+
// Opera 10-11 does not throw on post-comma invalid pseudos
|
702
|
+
div.querySelectorAll("*,:x");
|
703
|
+
rbuggyQSA.push(",.*:");
|
704
|
+
});
|
705
|
+
}
|
706
|
+
|
707
|
+
if ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||
|
708
|
+
docElem.webkitMatchesSelector ||
|
709
|
+
docElem.mozMatchesSelector ||
|
710
|
+
docElem.oMatchesSelector ||
|
711
|
+
docElem.msMatchesSelector) )) ) {
|
712
|
+
|
713
|
+
assert(function( div ) {
|
714
|
+
// Check to see if it's possible to do matchesSelector
|
715
|
+
// on a disconnected node (IE 9)
|
716
|
+
support.disconnectedMatch = matches.call( div, "div" );
|
717
|
+
|
718
|
+
// This should fail with an exception
|
719
|
+
// Gecko does not error, returns false instead
|
720
|
+
matches.call( div, "[s!='']:x" );
|
721
|
+
rbuggyMatches.push( "!=", pseudos );
|
722
|
+
});
|
723
|
+
}
|
724
|
+
|
725
|
+
rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
|
726
|
+
rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
|
727
|
+
|
728
|
+
/* Contains
|
729
|
+
---------------------------------------------------------------------- */
|
730
|
+
hasCompare = rnative.test( docElem.compareDocumentPosition );
|
731
|
+
|
732
|
+
// Element contains another
|
733
|
+
// Purposefully self-exclusive
|
734
|
+
// As in, an element does not contain itself
|
735
|
+
contains = hasCompare || rnative.test( docElem.contains ) ?
|
736
|
+
function( a, b ) {
|
737
|
+
var adown = a.nodeType === 9 ? a.documentElement : a,
|
738
|
+
bup = b && b.parentNode;
|
739
|
+
return a === bup || !!( bup && bup.nodeType === 1 && (
|
740
|
+
adown.contains ?
|
741
|
+
adown.contains( bup ) :
|
742
|
+
a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
|
743
|
+
));
|
744
|
+
} :
|
745
|
+
function( a, b ) {
|
746
|
+
if ( b ) {
|
747
|
+
while ( (b = b.parentNode) ) {
|
748
|
+
if ( b === a ) {
|
749
|
+
return true;
|
750
|
+
}
|
751
|
+
}
|
752
|
+
}
|
753
|
+
return false;
|
754
|
+
};
|
755
|
+
|
756
|
+
/* Sorting
|
757
|
+
---------------------------------------------------------------------- */
|
758
|
+
|
759
|
+
// Document order sorting
|
760
|
+
sortOrder = hasCompare ?
|
761
|
+
function( a, b ) {
|
762
|
+
|
763
|
+
// Flag for duplicate removal
|
764
|
+
if ( a === b ) {
|
765
|
+
hasDuplicate = true;
|
766
|
+
return 0;
|
767
|
+
}
|
768
|
+
|
769
|
+
// Sort on method existence if only one input has compareDocumentPosition
|
770
|
+
var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
|
771
|
+
if ( compare ) {
|
772
|
+
return compare;
|
773
|
+
}
|
774
|
+
|
775
|
+
// Calculate position if both inputs belong to the same document
|
776
|
+
compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
|
777
|
+
a.compareDocumentPosition( b ) :
|
778
|
+
|
779
|
+
// Otherwise we know they are disconnected
|
780
|
+
1;
|
781
|
+
|
782
|
+
// Disconnected nodes
|
783
|
+
if ( compare & 1 ||
|
784
|
+
(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
|
785
|
+
|
786
|
+
// Choose the first element that is related to our preferred document
|
787
|
+
if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
|
788
|
+
return -1;
|
789
|
+
}
|
790
|
+
if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
|
791
|
+
return 1;
|
792
|
+
}
|
793
|
+
|
794
|
+
// Maintain original order
|
795
|
+
return sortInput ?
|
796
|
+
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
|
797
|
+
0;
|
798
|
+
}
|
799
|
+
|
800
|
+
return compare & 4 ? -1 : 1;
|
801
|
+
} :
|
802
|
+
function( a, b ) {
|
803
|
+
// Exit early if the nodes are identical
|
804
|
+
if ( a === b ) {
|
805
|
+
hasDuplicate = true;
|
806
|
+
return 0;
|
807
|
+
}
|
808
|
+
|
809
|
+
var cur,
|
810
|
+
i = 0,
|
811
|
+
aup = a.parentNode,
|
812
|
+
bup = b.parentNode,
|
813
|
+
ap = [ a ],
|
814
|
+
bp = [ b ];
|
815
|
+
|
816
|
+
// Parentless nodes are either documents or disconnected
|
817
|
+
if ( !aup || !bup ) {
|
818
|
+
return a === document ? -1 :
|
819
|
+
b === document ? 1 :
|
820
|
+
aup ? -1 :
|
821
|
+
bup ? 1 :
|
822
|
+
sortInput ?
|
823
|
+
( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
|
824
|
+
0;
|
825
|
+
|
826
|
+
// If the nodes are siblings, we can do a quick check
|
827
|
+
} else if ( aup === bup ) {
|
828
|
+
return siblingCheck( a, b );
|
829
|
+
}
|
830
|
+
|
831
|
+
// Otherwise we need full lists of their ancestors for comparison
|
832
|
+
cur = a;
|
833
|
+
while ( (cur = cur.parentNode) ) {
|
834
|
+
ap.unshift( cur );
|
835
|
+
}
|
836
|
+
cur = b;
|
837
|
+
while ( (cur = cur.parentNode) ) {
|
838
|
+
bp.unshift( cur );
|
839
|
+
}
|
840
|
+
|
841
|
+
// Walk down the tree looking for a discrepancy
|
842
|
+
while ( ap[i] === bp[i] ) {
|
843
|
+
i++;
|
844
|
+
}
|
845
|
+
|
846
|
+
return i ?
|
847
|
+
// Do a sibling check if the nodes have a common ancestor
|
848
|
+
siblingCheck( ap[i], bp[i] ) :
|
849
|
+
|
850
|
+
// Otherwise nodes in our document sort first
|
851
|
+
ap[i] === preferredDoc ? -1 :
|
852
|
+
bp[i] === preferredDoc ? 1 :
|
853
|
+
0;
|
854
|
+
};
|
855
|
+
|
856
|
+
return document;
|
857
|
+
};
|
858
|
+
|
859
|
+
Sizzle.matches = function( expr, elements ) {
|
860
|
+
return Sizzle( expr, null, null, elements );
|
861
|
+
};
|
862
|
+
|
863
|
+
Sizzle.matchesSelector = function( elem, expr ) {
|
864
|
+
// Set document vars if needed
|
865
|
+
if ( ( elem.ownerDocument || elem ) !== document ) {
|
866
|
+
setDocument( elem );
|
867
|
+
}
|
868
|
+
|
869
|
+
// Make sure that attribute selectors are quoted
|
870
|
+
expr = expr.replace( rattributeQuotes, "='$1']" );
|
871
|
+
|
872
|
+
if ( support.matchesSelector && documentIsHTML &&
|
873
|
+
!compilerCache[ expr + " " ] &&
|
874
|
+
( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
|
875
|
+
( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
|
876
|
+
|
877
|
+
try {
|
878
|
+
var ret = matches.call( elem, expr );
|
879
|
+
|
880
|
+
// IE 9's matchesSelector returns false on disconnected nodes
|
881
|
+
if ( ret || support.disconnectedMatch ||
|
882
|
+
// As well, disconnected nodes are said to be in a document
|
883
|
+
// fragment in IE 9
|
884
|
+
elem.document && elem.document.nodeType !== 11 ) {
|
885
|
+
return ret;
|
886
|
+
}
|
887
|
+
} catch (e) {}
|
888
|
+
}
|
889
|
+
|
890
|
+
return Sizzle( expr, document, null, [ elem ] ).length > 0;
|
891
|
+
};
|
892
|
+
|
893
|
+
Sizzle.contains = function( context, elem ) {
|
894
|
+
// Set document vars if needed
|
895
|
+
if ( ( context.ownerDocument || context ) !== document ) {
|
896
|
+
setDocument( context );
|
897
|
+
}
|
898
|
+
return contains( context, elem );
|
899
|
+
};
|
900
|
+
|
901
|
+
Sizzle.attr = function( elem, name ) {
|
902
|
+
// Set document vars if needed
|
903
|
+
if ( ( elem.ownerDocument || elem ) !== document ) {
|
904
|
+
setDocument( elem );
|
905
|
+
}
|
906
|
+
|
907
|
+
var fn = Expr.attrHandle[ name.toLowerCase() ],
|
908
|
+
// Don't get fooled by Object.prototype properties (jQuery #13807)
|
909
|
+
val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
|
910
|
+
fn( elem, name, !documentIsHTML ) :
|
911
|
+
undefined;
|
912
|
+
|
913
|
+
return val !== undefined ?
|
914
|
+
val :
|
915
|
+
support.attributes || !documentIsHTML ?
|
916
|
+
elem.getAttribute( name ) :
|
917
|
+
(val = elem.getAttributeNode(name)) && val.specified ?
|
918
|
+
val.value :
|
919
|
+
null;
|
920
|
+
};
|
921
|
+
|
922
|
+
Sizzle.error = function( msg ) {
|
923
|
+
throw new Error( "Syntax error, unrecognized expression: " + msg );
|
924
|
+
};
|
925
|
+
|
926
|
+
/**
|
927
|
+
* Document sorting and removing duplicates
|
928
|
+
* @param {ArrayLike} results
|
929
|
+
*/
|
930
|
+
Sizzle.uniqueSort = function( results ) {
|
931
|
+
var elem,
|
932
|
+
duplicates = [],
|
933
|
+
j = 0,
|
934
|
+
i = 0;
|
935
|
+
|
936
|
+
// Unless we *know* we can detect duplicates, assume their presence
|
937
|
+
hasDuplicate = !support.detectDuplicates;
|
938
|
+
sortInput = !support.sortStable && results.slice( 0 );
|
939
|
+
results.sort( sortOrder );
|
940
|
+
|
941
|
+
if ( hasDuplicate ) {
|
942
|
+
while ( (elem = results[i++]) ) {
|
943
|
+
if ( elem === results[ i ] ) {
|
944
|
+
j = duplicates.push( i );
|
945
|
+
}
|
946
|
+
}
|
947
|
+
while ( j-- ) {
|
948
|
+
results.splice( duplicates[ j ], 1 );
|
949
|
+
}
|
950
|
+
}
|
951
|
+
|
952
|
+
// Clear input after sorting to release objects
|
953
|
+
// See https://github.com/jquery/sizzle/pull/225
|
954
|
+
sortInput = null;
|
955
|
+
|
956
|
+
return results;
|
957
|
+
};
|
958
|
+
|
959
|
+
/**
|
960
|
+
* Utility function for retrieving the text value of an array of DOM nodes
|
961
|
+
* @param {Array|Element} elem
|
962
|
+
*/
|
963
|
+
getText = Sizzle.getText = function( elem ) {
|
964
|
+
var node,
|
965
|
+
ret = "",
|
966
|
+
i = 0,
|
967
|
+
nodeType = elem.nodeType;
|
968
|
+
|
969
|
+
if ( !nodeType ) {
|
970
|
+
// If no nodeType, this is expected to be an array
|
971
|
+
while ( (node = elem[i++]) ) {
|
972
|
+
// Do not traverse comment nodes
|
973
|
+
ret += getText( node );
|
974
|
+
}
|
975
|
+
} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
|
976
|
+
// Use textContent for elements
|
977
|
+
// innerText usage removed for consistency of new lines (jQuery #11153)
|
978
|
+
if ( typeof elem.textContent === "string" ) {
|
979
|
+
return elem.textContent;
|
980
|
+
} else {
|
981
|
+
// Traverse its children
|
982
|
+
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
983
|
+
ret += getText( elem );
|
984
|
+
}
|
985
|
+
}
|
986
|
+
} else if ( nodeType === 3 || nodeType === 4 ) {
|
987
|
+
return elem.nodeValue;
|
988
|
+
}
|
989
|
+
// Do not include comment or processing instruction nodes
|
990
|
+
|
991
|
+
return ret;
|
992
|
+
};
|
993
|
+
|
994
|
+
Expr = Sizzle.selectors = {
|
995
|
+
|
996
|
+
// Can be adjusted by the user
|
997
|
+
cacheLength: 50,
|
998
|
+
|
999
|
+
createPseudo: markFunction,
|
1000
|
+
|
1001
|
+
match: matchExpr,
|
1002
|
+
|
1003
|
+
attrHandle: {},
|
1004
|
+
|
1005
|
+
find: {},
|
1006
|
+
|
1007
|
+
relative: {
|
1008
|
+
">": { dir: "parentNode", first: true },
|
1009
|
+
" ": { dir: "parentNode" },
|
1010
|
+
"+": { dir: "previousSibling", first: true },
|
1011
|
+
"~": { dir: "previousSibling" }
|
1012
|
+
},
|
1013
|
+
|
1014
|
+
preFilter: {
|
1015
|
+
"ATTR": function( match ) {
|
1016
|
+
match[1] = match[1].replace( runescape, funescape );
|
1017
|
+
|
1018
|
+
// Move the given value to match[3] whether quoted or unquoted
|
1019
|
+
match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape );
|
1020
|
+
|
1021
|
+
if ( match[2] === "~=" ) {
|
1022
|
+
match[3] = " " + match[3] + " ";
|
1023
|
+
}
|
1024
|
+
|
1025
|
+
return match.slice( 0, 4 );
|
1026
|
+
},
|
1027
|
+
|
1028
|
+
"CHILD": function( match ) {
|
1029
|
+
/* matches from matchExpr["CHILD"]
|
1030
|
+
1 type (only|nth|...)
|
1031
|
+
2 what (child|of-type)
|
1032
|
+
3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
|
1033
|
+
4 xn-component of xn+y argument ([+-]?\d*n|)
|
1034
|
+
5 sign of xn-component
|
1035
|
+
6 x of xn-component
|
1036
|
+
7 sign of y-component
|
1037
|
+
8 y of y-component
|
1038
|
+
*/
|
1039
|
+
match[1] = match[1].toLowerCase();
|
1040
|
+
|
1041
|
+
if ( match[1].slice( 0, 3 ) === "nth" ) {
|
1042
|
+
// nth-* requires argument
|
1043
|
+
if ( !match[3] ) {
|
1044
|
+
Sizzle.error( match[0] );
|
1045
|
+
}
|
1046
|
+
|
1047
|
+
// numeric x and y parameters for Expr.filter.CHILD
|
1048
|
+
// remember that false/true cast respectively to 0/1
|
1049
|
+
match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
|
1050
|
+
match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
|
1051
|
+
|
1052
|
+
// other types prohibit arguments
|
1053
|
+
} else if ( match[3] ) {
|
1054
|
+
Sizzle.error( match[0] );
|
1055
|
+
}
|
1056
|
+
|
1057
|
+
return match;
|
1058
|
+
},
|
1059
|
+
|
1060
|
+
"PSEUDO": function( match ) {
|
1061
|
+
var excess,
|
1062
|
+
unquoted = !match[6] && match[2];
|
1063
|
+
|
1064
|
+
if ( matchExpr["CHILD"].test( match[0] ) ) {
|
1065
|
+
return null;
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
// Accept quoted arguments as-is
|
1069
|
+
if ( match[3] ) {
|
1070
|
+
match[2] = match[4] || match[5] || "";
|
1071
|
+
|
1072
|
+
// Strip excess characters from unquoted arguments
|
1073
|
+
} else if ( unquoted && rpseudo.test( unquoted ) &&
|
1074
|
+
// Get excess from tokenize (recursively)
|
1075
|
+
(excess = tokenize( unquoted, true )) &&
|
1076
|
+
// advance to the next closing parenthesis
|
1077
|
+
(excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
|
1078
|
+
|
1079
|
+
// excess is a negative index
|
1080
|
+
match[0] = match[0].slice( 0, excess );
|
1081
|
+
match[2] = unquoted.slice( 0, excess );
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
// Return only captures needed by the pseudo filter method (type and argument)
|
1085
|
+
return match.slice( 0, 3 );
|
1086
|
+
}
|
1087
|
+
},
|
1088
|
+
|
1089
|
+
filter: {
|
1090
|
+
|
1091
|
+
"TAG": function( nodeNameSelector ) {
|
1092
|
+
var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
|
1093
|
+
return nodeNameSelector === "*" ?
|
1094
|
+
function() { return true; } :
|
1095
|
+
function( elem ) {
|
1096
|
+
return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
|
1097
|
+
};
|
1098
|
+
},
|
1099
|
+
|
1100
|
+
"CLASS": function( className ) {
|
1101
|
+
var pattern = classCache[ className + " " ];
|
1102
|
+
|
1103
|
+
return pattern ||
|
1104
|
+
(pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
|
1105
|
+
classCache( className, function( elem ) {
|
1106
|
+
return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" );
|
1107
|
+
});
|
1108
|
+
},
|
1109
|
+
|
1110
|
+
"ATTR": function( name, operator, check ) {
|
1111
|
+
return function( elem ) {
|
1112
|
+
var result = Sizzle.attr( elem, name );
|
1113
|
+
|
1114
|
+
if ( result == null ) {
|
1115
|
+
return operator === "!=";
|
1116
|
+
}
|
1117
|
+
if ( !operator ) {
|
1118
|
+
return true;
|
1119
|
+
}
|
1120
|
+
|
1121
|
+
result += "";
|
1122
|
+
|
1123
|
+
return operator === "=" ? result === check :
|
1124
|
+
operator === "!=" ? result !== check :
|
1125
|
+
operator === "^=" ? check && result.indexOf( check ) === 0 :
|
1126
|
+
operator === "*=" ? check && result.indexOf( check ) > -1 :
|
1127
|
+
operator === "$=" ? check && result.slice( -check.length ) === check :
|
1128
|
+
operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
|
1129
|
+
operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
|
1130
|
+
false;
|
1131
|
+
};
|
1132
|
+
},
|
1133
|
+
|
1134
|
+
"CHILD": function( type, what, argument, first, last ) {
|
1135
|
+
var simple = type.slice( 0, 3 ) !== "nth",
|
1136
|
+
forward = type.slice( -4 ) !== "last",
|
1137
|
+
ofType = what === "of-type";
|
1138
|
+
|
1139
|
+
return first === 1 && last === 0 ?
|
1140
|
+
|
1141
|
+
// Shortcut for :nth-*(n)
|
1142
|
+
function( elem ) {
|
1143
|
+
return !!elem.parentNode;
|
1144
|
+
} :
|
1145
|
+
|
1146
|
+
function( elem, context, xml ) {
|
1147
|
+
var cache, uniqueCache, outerCache, node, nodeIndex, start,
|
1148
|
+
dir = simple !== forward ? "nextSibling" : "previousSibling",
|
1149
|
+
parent = elem.parentNode,
|
1150
|
+
name = ofType && elem.nodeName.toLowerCase(),
|
1151
|
+
useCache = !xml && !ofType,
|
1152
|
+
diff = false;
|
1153
|
+
|
1154
|
+
if ( parent ) {
|
1155
|
+
|
1156
|
+
// :(first|last|only)-(child|of-type)
|
1157
|
+
if ( simple ) {
|
1158
|
+
while ( dir ) {
|
1159
|
+
node = elem;
|
1160
|
+
while ( (node = node[ dir ]) ) {
|
1161
|
+
if ( ofType ?
|
1162
|
+
node.nodeName.toLowerCase() === name :
|
1163
|
+
node.nodeType === 1 ) {
|
1164
|
+
|
1165
|
+
return false;
|
1166
|
+
}
|
1167
|
+
}
|
1168
|
+
// Reverse direction for :only-* (if we haven't yet done so)
|
1169
|
+
start = dir = type === "only" && !start && "nextSibling";
|
1170
|
+
}
|
1171
|
+
return true;
|
1172
|
+
}
|
1173
|
+
|
1174
|
+
start = [ forward ? parent.firstChild : parent.lastChild ];
|
1175
|
+
|
1176
|
+
// non-xml :nth-child(...) stores cache data on `parent`
|
1177
|
+
if ( forward && useCache ) {
|
1178
|
+
|
1179
|
+
// Seek `elem` from a previously-cached index
|
1180
|
+
|
1181
|
+
// ...in a gzip-friendly way
|
1182
|
+
node = parent;
|
1183
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1184
|
+
|
1185
|
+
// Support: IE <9 only
|
1186
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1187
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1188
|
+
(outerCache[ node.uniqueID ] = {});
|
1189
|
+
|
1190
|
+
cache = uniqueCache[ type ] || [];
|
1191
|
+
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
|
1192
|
+
diff = nodeIndex && cache[ 2 ];
|
1193
|
+
node = nodeIndex && parent.childNodes[ nodeIndex ];
|
1194
|
+
|
1195
|
+
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
1196
|
+
|
1197
|
+
// Fallback to seeking `elem` from the start
|
1198
|
+
(diff = nodeIndex = 0) || start.pop()) ) {
|
1199
|
+
|
1200
|
+
// When found, cache indexes on `parent` and break
|
1201
|
+
if ( node.nodeType === 1 && ++diff && node === elem ) {
|
1202
|
+
uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
|
1203
|
+
break;
|
1204
|
+
}
|
1205
|
+
}
|
1206
|
+
|
1207
|
+
} else {
|
1208
|
+
// Use previously-cached element index if available
|
1209
|
+
if ( useCache ) {
|
1210
|
+
// ...in a gzip-friendly way
|
1211
|
+
node = elem;
|
1212
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1213
|
+
|
1214
|
+
// Support: IE <9 only
|
1215
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1216
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1217
|
+
(outerCache[ node.uniqueID ] = {});
|
1218
|
+
|
1219
|
+
cache = uniqueCache[ type ] || [];
|
1220
|
+
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
|
1221
|
+
diff = nodeIndex;
|
1222
|
+
}
|
1223
|
+
|
1224
|
+
// xml :nth-child(...)
|
1225
|
+
// or :nth-last-child(...) or :nth(-last)?-of-type(...)
|
1226
|
+
if ( diff === false ) {
|
1227
|
+
// Use the same loop as above to seek `elem` from the start
|
1228
|
+
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
1229
|
+
(diff = nodeIndex = 0) || start.pop()) ) {
|
1230
|
+
|
1231
|
+
if ( ( ofType ?
|
1232
|
+
node.nodeName.toLowerCase() === name :
|
1233
|
+
node.nodeType === 1 ) &&
|
1234
|
+
++diff ) {
|
1235
|
+
|
1236
|
+
// Cache the index of each encountered element
|
1237
|
+
if ( useCache ) {
|
1238
|
+
outerCache = node[ expando ] || (node[ expando ] = {});
|
1239
|
+
|
1240
|
+
// Support: IE <9 only
|
1241
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1242
|
+
uniqueCache = outerCache[ node.uniqueID ] ||
|
1243
|
+
(outerCache[ node.uniqueID ] = {});
|
1244
|
+
|
1245
|
+
uniqueCache[ type ] = [ dirruns, diff ];
|
1246
|
+
}
|
1247
|
+
|
1248
|
+
if ( node === elem ) {
|
1249
|
+
break;
|
1250
|
+
}
|
1251
|
+
}
|
1252
|
+
}
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
|
1256
|
+
// Incorporate the offset, then check against cycle size
|
1257
|
+
diff -= last;
|
1258
|
+
return diff === first || ( diff % first === 0 && diff / first >= 0 );
|
1259
|
+
}
|
1260
|
+
};
|
1261
|
+
},
|
1262
|
+
|
1263
|
+
"PSEUDO": function( pseudo, argument ) {
|
1264
|
+
// pseudo-class names are case-insensitive
|
1265
|
+
// http://www.w3.org/TR/selectors/#pseudo-classes
|
1266
|
+
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
|
1267
|
+
// Remember that setFilters inherits from pseudos
|
1268
|
+
var args,
|
1269
|
+
fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
|
1270
|
+
Sizzle.error( "unsupported pseudo: " + pseudo );
|
1271
|
+
|
1272
|
+
// The user may use createPseudo to indicate that
|
1273
|
+
// arguments are needed to create the filter function
|
1274
|
+
// just as Sizzle does
|
1275
|
+
if ( fn[ expando ] ) {
|
1276
|
+
return fn( argument );
|
1277
|
+
}
|
1278
|
+
|
1279
|
+
// But maintain support for old signatures
|
1280
|
+
if ( fn.length > 1 ) {
|
1281
|
+
args = [ pseudo, pseudo, "", argument ];
|
1282
|
+
return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
|
1283
|
+
markFunction(function( seed, matches ) {
|
1284
|
+
var idx,
|
1285
|
+
matched = fn( seed, argument ),
|
1286
|
+
i = matched.length;
|
1287
|
+
while ( i-- ) {
|
1288
|
+
idx = indexOf( seed, matched[i] );
|
1289
|
+
seed[ idx ] = !( matches[ idx ] = matched[i] );
|
1290
|
+
}
|
1291
|
+
}) :
|
1292
|
+
function( elem ) {
|
1293
|
+
return fn( elem, 0, args );
|
1294
|
+
};
|
1295
|
+
}
|
1296
|
+
|
1297
|
+
return fn;
|
1298
|
+
}
|
1299
|
+
},
|
1300
|
+
|
1301
|
+
pseudos: {
|
1302
|
+
// Potentially complex pseudos
|
1303
|
+
"not": markFunction(function( selector ) {
|
1304
|
+
// Trim the selector passed to compile
|
1305
|
+
// to avoid treating leading and trailing
|
1306
|
+
// spaces as combinators
|
1307
|
+
var input = [],
|
1308
|
+
results = [],
|
1309
|
+
matcher = compile( selector.replace( rtrim, "$1" ) );
|
1310
|
+
|
1311
|
+
return matcher[ expando ] ?
|
1312
|
+
markFunction(function( seed, matches, context, xml ) {
|
1313
|
+
var elem,
|
1314
|
+
unmatched = matcher( seed, null, xml, [] ),
|
1315
|
+
i = seed.length;
|
1316
|
+
|
1317
|
+
// Match elements unmatched by `matcher`
|
1318
|
+
while ( i-- ) {
|
1319
|
+
if ( (elem = unmatched[i]) ) {
|
1320
|
+
seed[i] = !(matches[i] = elem);
|
1321
|
+
}
|
1322
|
+
}
|
1323
|
+
}) :
|
1324
|
+
function( elem, context, xml ) {
|
1325
|
+
input[0] = elem;
|
1326
|
+
matcher( input, null, xml, results );
|
1327
|
+
// Don't keep the element (issue #299)
|
1328
|
+
input[0] = null;
|
1329
|
+
return !results.pop();
|
1330
|
+
};
|
1331
|
+
}),
|
1332
|
+
|
1333
|
+
"has": markFunction(function( selector ) {
|
1334
|
+
return function( elem ) {
|
1335
|
+
return Sizzle( selector, elem ).length > 0;
|
1336
|
+
};
|
1337
|
+
}),
|
1338
|
+
|
1339
|
+
"contains": markFunction(function( text ) {
|
1340
|
+
text = text.replace( runescape, funescape );
|
1341
|
+
return function( elem ) {
|
1342
|
+
return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
|
1343
|
+
};
|
1344
|
+
}),
|
1345
|
+
|
1346
|
+
// "Whether an element is represented by a :lang() selector
|
1347
|
+
// is based solely on the element's language value
|
1348
|
+
// being equal to the identifier C,
|
1349
|
+
// or beginning with the identifier C immediately followed by "-".
|
1350
|
+
// The matching of C against the element's language value is performed case-insensitively.
|
1351
|
+
// The identifier C does not have to be a valid language name."
|
1352
|
+
// http://www.w3.org/TR/selectors/#lang-pseudo
|
1353
|
+
"lang": markFunction( function( lang ) {
|
1354
|
+
// lang value must be a valid identifier
|
1355
|
+
if ( !ridentifier.test(lang || "") ) {
|
1356
|
+
Sizzle.error( "unsupported lang: " + lang );
|
1357
|
+
}
|
1358
|
+
lang = lang.replace( runescape, funescape ).toLowerCase();
|
1359
|
+
return function( elem ) {
|
1360
|
+
var elemLang;
|
1361
|
+
do {
|
1362
|
+
if ( (elemLang = documentIsHTML ?
|
1363
|
+
elem.lang :
|
1364
|
+
elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
|
1365
|
+
|
1366
|
+
elemLang = elemLang.toLowerCase();
|
1367
|
+
return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
|
1368
|
+
}
|
1369
|
+
} while ( (elem = elem.parentNode) && elem.nodeType === 1 );
|
1370
|
+
return false;
|
1371
|
+
};
|
1372
|
+
}),
|
1373
|
+
|
1374
|
+
// Miscellaneous
|
1375
|
+
"target": function( elem ) {
|
1376
|
+
var hash = window.location && window.location.hash;
|
1377
|
+
return hash && hash.slice( 1 ) === elem.id;
|
1378
|
+
},
|
1379
|
+
|
1380
|
+
"root": function( elem ) {
|
1381
|
+
return elem === docElem;
|
1382
|
+
},
|
1383
|
+
|
1384
|
+
"focus": function( elem ) {
|
1385
|
+
return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
|
1386
|
+
},
|
1387
|
+
|
1388
|
+
// Boolean properties
|
1389
|
+
"enabled": function( elem ) {
|
1390
|
+
return elem.disabled === false;
|
1391
|
+
},
|
1392
|
+
|
1393
|
+
"disabled": function( elem ) {
|
1394
|
+
return elem.disabled === true;
|
1395
|
+
},
|
1396
|
+
|
1397
|
+
"checked": function( elem ) {
|
1398
|
+
// In CSS3, :checked should return both checked and selected elements
|
1399
|
+
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
1400
|
+
var nodeName = elem.nodeName.toLowerCase();
|
1401
|
+
return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
|
1402
|
+
},
|
1403
|
+
|
1404
|
+
"selected": function( elem ) {
|
1405
|
+
// Accessing this property makes selected-by-default
|
1406
|
+
// options in Safari work properly
|
1407
|
+
if ( elem.parentNode ) {
|
1408
|
+
elem.parentNode.selectedIndex;
|
1409
|
+
}
|
1410
|
+
|
1411
|
+
return elem.selected === true;
|
1412
|
+
},
|
1413
|
+
|
1414
|
+
// Contents
|
1415
|
+
"empty": function( elem ) {
|
1416
|
+
// http://www.w3.org/TR/selectors/#empty-pseudo
|
1417
|
+
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
|
1418
|
+
// but not by others (comment: 8; processing instruction: 7; etc.)
|
1419
|
+
// nodeType < 6 works because attributes (2) do not appear as children
|
1420
|
+
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
1421
|
+
if ( elem.nodeType < 6 ) {
|
1422
|
+
return false;
|
1423
|
+
}
|
1424
|
+
}
|
1425
|
+
return true;
|
1426
|
+
},
|
1427
|
+
|
1428
|
+
"parent": function( elem ) {
|
1429
|
+
return !Expr.pseudos["empty"]( elem );
|
1430
|
+
},
|
1431
|
+
|
1432
|
+
// Element/input types
|
1433
|
+
"header": function( elem ) {
|
1434
|
+
return rheader.test( elem.nodeName );
|
1435
|
+
},
|
1436
|
+
|
1437
|
+
"input": function( elem ) {
|
1438
|
+
return rinputs.test( elem.nodeName );
|
1439
|
+
},
|
1440
|
+
|
1441
|
+
"button": function( elem ) {
|
1442
|
+
var name = elem.nodeName.toLowerCase();
|
1443
|
+
return name === "input" && elem.type === "button" || name === "button";
|
1444
|
+
},
|
1445
|
+
|
1446
|
+
"text": function( elem ) {
|
1447
|
+
var attr;
|
1448
|
+
return elem.nodeName.toLowerCase() === "input" &&
|
1449
|
+
elem.type === "text" &&
|
1450
|
+
|
1451
|
+
// Support: IE<8
|
1452
|
+
// New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
|
1453
|
+
( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
|
1454
|
+
},
|
1455
|
+
|
1456
|
+
// Position-in-collection
|
1457
|
+
"first": createPositionalPseudo(function() {
|
1458
|
+
return [ 0 ];
|
1459
|
+
}),
|
1460
|
+
|
1461
|
+
"last": createPositionalPseudo(function( matchIndexes, length ) {
|
1462
|
+
return [ length - 1 ];
|
1463
|
+
}),
|
1464
|
+
|
1465
|
+
"eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1466
|
+
return [ argument < 0 ? argument + length : argument ];
|
1467
|
+
}),
|
1468
|
+
|
1469
|
+
"even": createPositionalPseudo(function( matchIndexes, length ) {
|
1470
|
+
var i = 0;
|
1471
|
+
for ( ; i < length; i += 2 ) {
|
1472
|
+
matchIndexes.push( i );
|
1473
|
+
}
|
1474
|
+
return matchIndexes;
|
1475
|
+
}),
|
1476
|
+
|
1477
|
+
"odd": createPositionalPseudo(function( matchIndexes, length ) {
|
1478
|
+
var i = 1;
|
1479
|
+
for ( ; i < length; i += 2 ) {
|
1480
|
+
matchIndexes.push( i );
|
1481
|
+
}
|
1482
|
+
return matchIndexes;
|
1483
|
+
}),
|
1484
|
+
|
1485
|
+
"lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1486
|
+
var i = argument < 0 ? argument + length : argument;
|
1487
|
+
for ( ; --i >= 0; ) {
|
1488
|
+
matchIndexes.push( i );
|
1489
|
+
}
|
1490
|
+
return matchIndexes;
|
1491
|
+
}),
|
1492
|
+
|
1493
|
+
"gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
1494
|
+
var i = argument < 0 ? argument + length : argument;
|
1495
|
+
for ( ; ++i < length; ) {
|
1496
|
+
matchIndexes.push( i );
|
1497
|
+
}
|
1498
|
+
return matchIndexes;
|
1499
|
+
})
|
1500
|
+
}
|
1501
|
+
};
|
1502
|
+
|
1503
|
+
Expr.pseudos["nth"] = Expr.pseudos["eq"];
|
1504
|
+
|
1505
|
+
// Add button/input type pseudos
|
1506
|
+
for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
|
1507
|
+
Expr.pseudos[ i ] = createInputPseudo( i );
|
1508
|
+
}
|
1509
|
+
for ( i in { submit: true, reset: true } ) {
|
1510
|
+
Expr.pseudos[ i ] = createButtonPseudo( i );
|
1511
|
+
}
|
1512
|
+
|
1513
|
+
// Easy API for creating new setFilters
|
1514
|
+
function setFilters() {}
|
1515
|
+
setFilters.prototype = Expr.filters = Expr.pseudos;
|
1516
|
+
Expr.setFilters = new setFilters();
|
1517
|
+
|
1518
|
+
tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
|
1519
|
+
var matched, match, tokens, type,
|
1520
|
+
soFar, groups, preFilters,
|
1521
|
+
cached = tokenCache[ selector + " " ];
|
1522
|
+
|
1523
|
+
if ( cached ) {
|
1524
|
+
return parseOnly ? 0 : cached.slice( 0 );
|
1525
|
+
}
|
1526
|
+
|
1527
|
+
soFar = selector;
|
1528
|
+
groups = [];
|
1529
|
+
preFilters = Expr.preFilter;
|
1530
|
+
|
1531
|
+
while ( soFar ) {
|
1532
|
+
|
1533
|
+
// Comma and first run
|
1534
|
+
if ( !matched || (match = rcomma.exec( soFar )) ) {
|
1535
|
+
if ( match ) {
|
1536
|
+
// Don't consume trailing commas as valid
|
1537
|
+
soFar = soFar.slice( match[0].length ) || soFar;
|
1538
|
+
}
|
1539
|
+
groups.push( (tokens = []) );
|
1540
|
+
}
|
1541
|
+
|
1542
|
+
matched = false;
|
1543
|
+
|
1544
|
+
// Combinators
|
1545
|
+
if ( (match = rcombinators.exec( soFar )) ) {
|
1546
|
+
matched = match.shift();
|
1547
|
+
tokens.push({
|
1548
|
+
value: matched,
|
1549
|
+
// Cast descendant combinators to space
|
1550
|
+
type: match[0].replace( rtrim, " " )
|
1551
|
+
});
|
1552
|
+
soFar = soFar.slice( matched.length );
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
// Filters
|
1556
|
+
for ( type in Expr.filter ) {
|
1557
|
+
if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
|
1558
|
+
(match = preFilters[ type ]( match ))) ) {
|
1559
|
+
matched = match.shift();
|
1560
|
+
tokens.push({
|
1561
|
+
value: matched,
|
1562
|
+
type: type,
|
1563
|
+
matches: match
|
1564
|
+
});
|
1565
|
+
soFar = soFar.slice( matched.length );
|
1566
|
+
}
|
1567
|
+
}
|
1568
|
+
|
1569
|
+
if ( !matched ) {
|
1570
|
+
break;
|
1571
|
+
}
|
1572
|
+
}
|
1573
|
+
|
1574
|
+
// Return the length of the invalid excess
|
1575
|
+
// if we're just parsing
|
1576
|
+
// Otherwise, throw an error or return tokens
|
1577
|
+
return parseOnly ?
|
1578
|
+
soFar.length :
|
1579
|
+
soFar ?
|
1580
|
+
Sizzle.error( selector ) :
|
1581
|
+
// Cache the tokens
|
1582
|
+
tokenCache( selector, groups ).slice( 0 );
|
1583
|
+
};
|
1584
|
+
|
1585
|
+
function toSelector( tokens ) {
|
1586
|
+
var i = 0,
|
1587
|
+
len = tokens.length,
|
1588
|
+
selector = "";
|
1589
|
+
for ( ; i < len; i++ ) {
|
1590
|
+
selector += tokens[i].value;
|
1591
|
+
}
|
1592
|
+
return selector;
|
1593
|
+
}
|
1594
|
+
|
1595
|
+
function addCombinator( matcher, combinator, base ) {
|
1596
|
+
var dir = combinator.dir,
|
1597
|
+
checkNonElements = base && dir === "parentNode",
|
1598
|
+
doneName = done++;
|
1599
|
+
|
1600
|
+
return combinator.first ?
|
1601
|
+
// Check against closest ancestor/preceding element
|
1602
|
+
function( elem, context, xml ) {
|
1603
|
+
while ( (elem = elem[ dir ]) ) {
|
1604
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1605
|
+
return matcher( elem, context, xml );
|
1606
|
+
}
|
1607
|
+
}
|
1608
|
+
} :
|
1609
|
+
|
1610
|
+
// Check against all ancestor/preceding elements
|
1611
|
+
function( elem, context, xml ) {
|
1612
|
+
var oldCache, uniqueCache, outerCache,
|
1613
|
+
newCache = [ dirruns, doneName ];
|
1614
|
+
|
1615
|
+
// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
|
1616
|
+
if ( xml ) {
|
1617
|
+
while ( (elem = elem[ dir ]) ) {
|
1618
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1619
|
+
if ( matcher( elem, context, xml ) ) {
|
1620
|
+
return true;
|
1621
|
+
}
|
1622
|
+
}
|
1623
|
+
}
|
1624
|
+
} else {
|
1625
|
+
while ( (elem = elem[ dir ]) ) {
|
1626
|
+
if ( elem.nodeType === 1 || checkNonElements ) {
|
1627
|
+
outerCache = elem[ expando ] || (elem[ expando ] = {});
|
1628
|
+
|
1629
|
+
// Support: IE <9 only
|
1630
|
+
// Defend against cloned attroperties (jQuery gh-1709)
|
1631
|
+
uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});
|
1632
|
+
|
1633
|
+
if ( (oldCache = uniqueCache[ dir ]) &&
|
1634
|
+
oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
|
1635
|
+
|
1636
|
+
// Assign to newCache so results back-propagate to previous elements
|
1637
|
+
return (newCache[ 2 ] = oldCache[ 2 ]);
|
1638
|
+
} else {
|
1639
|
+
// Reuse newcache so results back-propagate to previous elements
|
1640
|
+
uniqueCache[ dir ] = newCache;
|
1641
|
+
|
1642
|
+
// A match means we're done; a fail means we have to keep checking
|
1643
|
+
if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
|
1644
|
+
return true;
|
1645
|
+
}
|
1646
|
+
}
|
1647
|
+
}
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
};
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
function elementMatcher( matchers ) {
|
1654
|
+
return matchers.length > 1 ?
|
1655
|
+
function( elem, context, xml ) {
|
1656
|
+
var i = matchers.length;
|
1657
|
+
while ( i-- ) {
|
1658
|
+
if ( !matchers[i]( elem, context, xml ) ) {
|
1659
|
+
return false;
|
1660
|
+
}
|
1661
|
+
}
|
1662
|
+
return true;
|
1663
|
+
} :
|
1664
|
+
matchers[0];
|
1665
|
+
}
|
1666
|
+
|
1667
|
+
function multipleContexts( selector, contexts, results ) {
|
1668
|
+
var i = 0,
|
1669
|
+
len = contexts.length;
|
1670
|
+
for ( ; i < len; i++ ) {
|
1671
|
+
Sizzle( selector, contexts[i], results );
|
1672
|
+
}
|
1673
|
+
return results;
|
1674
|
+
}
|
1675
|
+
|
1676
|
+
function condense( unmatched, map, filter, context, xml ) {
|
1677
|
+
var elem,
|
1678
|
+
newUnmatched = [],
|
1679
|
+
i = 0,
|
1680
|
+
len = unmatched.length,
|
1681
|
+
mapped = map != null;
|
1682
|
+
|
1683
|
+
for ( ; i < len; i++ ) {
|
1684
|
+
if ( (elem = unmatched[i]) ) {
|
1685
|
+
if ( !filter || filter( elem, context, xml ) ) {
|
1686
|
+
newUnmatched.push( elem );
|
1687
|
+
if ( mapped ) {
|
1688
|
+
map.push( i );
|
1689
|
+
}
|
1690
|
+
}
|
1691
|
+
}
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
return newUnmatched;
|
1695
|
+
}
|
1696
|
+
|
1697
|
+
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
|
1698
|
+
if ( postFilter && !postFilter[ expando ] ) {
|
1699
|
+
postFilter = setMatcher( postFilter );
|
1700
|
+
}
|
1701
|
+
if ( postFinder && !postFinder[ expando ] ) {
|
1702
|
+
postFinder = setMatcher( postFinder, postSelector );
|
1703
|
+
}
|
1704
|
+
return markFunction(function( seed, results, context, xml ) {
|
1705
|
+
var temp, i, elem,
|
1706
|
+
preMap = [],
|
1707
|
+
postMap = [],
|
1708
|
+
preexisting = results.length,
|
1709
|
+
|
1710
|
+
// Get initial elements from seed or context
|
1711
|
+
elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
|
1712
|
+
|
1713
|
+
// Prefilter to get matcher input, preserving a map for seed-results synchronization
|
1714
|
+
matcherIn = preFilter && ( seed || !selector ) ?
|
1715
|
+
condense( elems, preMap, preFilter, context, xml ) :
|
1716
|
+
elems,
|
1717
|
+
|
1718
|
+
matcherOut = matcher ?
|
1719
|
+
// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
|
1720
|
+
postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
|
1721
|
+
|
1722
|
+
// ...intermediate processing is necessary
|
1723
|
+
[] :
|
1724
|
+
|
1725
|
+
// ...otherwise use results directly
|
1726
|
+
results :
|
1727
|
+
matcherIn;
|
1728
|
+
|
1729
|
+
// Find primary matches
|
1730
|
+
if ( matcher ) {
|
1731
|
+
matcher( matcherIn, matcherOut, context, xml );
|
1732
|
+
}
|
1733
|
+
|
1734
|
+
// Apply postFilter
|
1735
|
+
if ( postFilter ) {
|
1736
|
+
temp = condense( matcherOut, postMap );
|
1737
|
+
postFilter( temp, [], context, xml );
|
1738
|
+
|
1739
|
+
// Un-match failing elements by moving them back to matcherIn
|
1740
|
+
i = temp.length;
|
1741
|
+
while ( i-- ) {
|
1742
|
+
if ( (elem = temp[i]) ) {
|
1743
|
+
matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
|
1744
|
+
}
|
1745
|
+
}
|
1746
|
+
}
|
1747
|
+
|
1748
|
+
if ( seed ) {
|
1749
|
+
if ( postFinder || preFilter ) {
|
1750
|
+
if ( postFinder ) {
|
1751
|
+
// Get the final matcherOut by condensing this intermediate into postFinder contexts
|
1752
|
+
temp = [];
|
1753
|
+
i = matcherOut.length;
|
1754
|
+
while ( i-- ) {
|
1755
|
+
if ( (elem = matcherOut[i]) ) {
|
1756
|
+
// Restore matcherIn since elem is not yet a final match
|
1757
|
+
temp.push( (matcherIn[i] = elem) );
|
1758
|
+
}
|
1759
|
+
}
|
1760
|
+
postFinder( null, (matcherOut = []), temp, xml );
|
1761
|
+
}
|
1762
|
+
|
1763
|
+
// Move matched elements from seed to results to keep them synchronized
|
1764
|
+
i = matcherOut.length;
|
1765
|
+
while ( i-- ) {
|
1766
|
+
if ( (elem = matcherOut[i]) &&
|
1767
|
+
(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {
|
1768
|
+
|
1769
|
+
seed[temp] = !(results[temp] = elem);
|
1770
|
+
}
|
1771
|
+
}
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
// Add elements to results, through postFinder if defined
|
1775
|
+
} else {
|
1776
|
+
matcherOut = condense(
|
1777
|
+
matcherOut === results ?
|
1778
|
+
matcherOut.splice( preexisting, matcherOut.length ) :
|
1779
|
+
matcherOut
|
1780
|
+
);
|
1781
|
+
if ( postFinder ) {
|
1782
|
+
postFinder( null, results, matcherOut, xml );
|
1783
|
+
} else {
|
1784
|
+
push.apply( results, matcherOut );
|
1785
|
+
}
|
1786
|
+
}
|
1787
|
+
});
|
1788
|
+
}
|
1789
|
+
|
1790
|
+
function matcherFromTokens( tokens ) {
|
1791
|
+
var checkContext, matcher, j,
|
1792
|
+
len = tokens.length,
|
1793
|
+
leadingRelative = Expr.relative[ tokens[0].type ],
|
1794
|
+
implicitRelative = leadingRelative || Expr.relative[" "],
|
1795
|
+
i = leadingRelative ? 1 : 0,
|
1796
|
+
|
1797
|
+
// The foundational matcher ensures that elements are reachable from top-level context(s)
|
1798
|
+
matchContext = addCombinator( function( elem ) {
|
1799
|
+
return elem === checkContext;
|
1800
|
+
}, implicitRelative, true ),
|
1801
|
+
matchAnyContext = addCombinator( function( elem ) {
|
1802
|
+
return indexOf( checkContext, elem ) > -1;
|
1803
|
+
}, implicitRelative, true ),
|
1804
|
+
matchers = [ function( elem, context, xml ) {
|
1805
|
+
var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
|
1806
|
+
(checkContext = context).nodeType ?
|
1807
|
+
matchContext( elem, context, xml ) :
|
1808
|
+
matchAnyContext( elem, context, xml ) );
|
1809
|
+
// Avoid hanging onto element (issue #299)
|
1810
|
+
checkContext = null;
|
1811
|
+
return ret;
|
1812
|
+
} ];
|
1813
|
+
|
1814
|
+
for ( ; i < len; i++ ) {
|
1815
|
+
if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
|
1816
|
+
matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
|
1817
|
+
} else {
|
1818
|
+
matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
|
1819
|
+
|
1820
|
+
// Return special upon seeing a positional matcher
|
1821
|
+
if ( matcher[ expando ] ) {
|
1822
|
+
// Find the next relative operator (if any) for proper handling
|
1823
|
+
j = ++i;
|
1824
|
+
for ( ; j < len; j++ ) {
|
1825
|
+
if ( Expr.relative[ tokens[j].type ] ) {
|
1826
|
+
break;
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
return setMatcher(
|
1830
|
+
i > 1 && elementMatcher( matchers ),
|
1831
|
+
i > 1 && toSelector(
|
1832
|
+
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
1833
|
+
tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
|
1834
|
+
).replace( rtrim, "$1" ),
|
1835
|
+
matcher,
|
1836
|
+
i < j && matcherFromTokens( tokens.slice( i, j ) ),
|
1837
|
+
j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
|
1838
|
+
j < len && toSelector( tokens )
|
1839
|
+
);
|
1840
|
+
}
|
1841
|
+
matchers.push( matcher );
|
1842
|
+
}
|
1843
|
+
}
|
1844
|
+
|
1845
|
+
return elementMatcher( matchers );
|
1846
|
+
}
|
1847
|
+
|
1848
|
+
function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
|
1849
|
+
var bySet = setMatchers.length > 0,
|
1850
|
+
byElement = elementMatchers.length > 0,
|
1851
|
+
superMatcher = function( seed, context, xml, results, outermost ) {
|
1852
|
+
var elem, j, matcher,
|
1853
|
+
matchedCount = 0,
|
1854
|
+
i = "0",
|
1855
|
+
unmatched = seed && [],
|
1856
|
+
setMatched = [],
|
1857
|
+
contextBackup = outermostContext,
|
1858
|
+
// We must always have either seed elements or outermost context
|
1859
|
+
elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),
|
1860
|
+
// Use integer dirruns iff this is the outermost matcher
|
1861
|
+
dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
|
1862
|
+
len = elems.length;
|
1863
|
+
|
1864
|
+
if ( outermost ) {
|
1865
|
+
outermostContext = context === document || context || outermost;
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
// Add elements passing elementMatchers directly to results
|
1869
|
+
// Support: IE<9, Safari
|
1870
|
+
// Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
|
1871
|
+
for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
|
1872
|
+
if ( byElement && elem ) {
|
1873
|
+
j = 0;
|
1874
|
+
if ( !context && elem.ownerDocument !== document ) {
|
1875
|
+
setDocument( elem );
|
1876
|
+
xml = !documentIsHTML;
|
1877
|
+
}
|
1878
|
+
while ( (matcher = elementMatchers[j++]) ) {
|
1879
|
+
if ( matcher( elem, context || document, xml) ) {
|
1880
|
+
results.push( elem );
|
1881
|
+
break;
|
1882
|
+
}
|
1883
|
+
}
|
1884
|
+
if ( outermost ) {
|
1885
|
+
dirruns = dirrunsUnique;
|
1886
|
+
}
|
1887
|
+
}
|
1888
|
+
|
1889
|
+
// Track unmatched elements for set filters
|
1890
|
+
if ( bySet ) {
|
1891
|
+
// They will have gone through all possible matchers
|
1892
|
+
if ( (elem = !matcher && elem) ) {
|
1893
|
+
matchedCount--;
|
1894
|
+
}
|
1895
|
+
|
1896
|
+
// Lengthen the array for every element, matched or not
|
1897
|
+
if ( seed ) {
|
1898
|
+
unmatched.push( elem );
|
1899
|
+
}
|
1900
|
+
}
|
1901
|
+
}
|
1902
|
+
|
1903
|
+
// `i` is now the count of elements visited above, and adding it to `matchedCount`
|
1904
|
+
// makes the latter nonnegative.
|
1905
|
+
matchedCount += i;
|
1906
|
+
|
1907
|
+
// Apply set filters to unmatched elements
|
1908
|
+
// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
|
1909
|
+
// equals `i`), unless we didn't visit _any_ elements in the above loop because we have
|
1910
|
+
// no element matchers and no seed.
|
1911
|
+
// Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
|
1912
|
+
// case, which will result in a "00" `matchedCount` that differs from `i` but is also
|
1913
|
+
// numerically zero.
|
1914
|
+
if ( bySet && i !== matchedCount ) {
|
1915
|
+
j = 0;
|
1916
|
+
while ( (matcher = setMatchers[j++]) ) {
|
1917
|
+
matcher( unmatched, setMatched, context, xml );
|
1918
|
+
}
|
1919
|
+
|
1920
|
+
if ( seed ) {
|
1921
|
+
// Reintegrate element matches to eliminate the need for sorting
|
1922
|
+
if ( matchedCount > 0 ) {
|
1923
|
+
while ( i-- ) {
|
1924
|
+
if ( !(unmatched[i] || setMatched[i]) ) {
|
1925
|
+
setMatched[i] = pop.call( results );
|
1926
|
+
}
|
1927
|
+
}
|
1928
|
+
}
|
1929
|
+
|
1930
|
+
// Discard index placeholder values to get only actual matches
|
1931
|
+
setMatched = condense( setMatched );
|
1932
|
+
}
|
1933
|
+
|
1934
|
+
// Add matches to results
|
1935
|
+
push.apply( results, setMatched );
|
1936
|
+
|
1937
|
+
// Seedless set matches succeeding multiple successful matchers stipulate sorting
|
1938
|
+
if ( outermost && !seed && setMatched.length > 0 &&
|
1939
|
+
( matchedCount + setMatchers.length ) > 1 ) {
|
1940
|
+
|
1941
|
+
Sizzle.uniqueSort( results );
|
1942
|
+
}
|
1943
|
+
}
|
1944
|
+
|
1945
|
+
// Override manipulation of globals by nested matchers
|
1946
|
+
if ( outermost ) {
|
1947
|
+
dirruns = dirrunsUnique;
|
1948
|
+
outermostContext = contextBackup;
|
1949
|
+
}
|
1950
|
+
|
1951
|
+
return unmatched;
|
1952
|
+
};
|
1953
|
+
|
1954
|
+
return bySet ?
|
1955
|
+
markFunction( superMatcher ) :
|
1956
|
+
superMatcher;
|
1957
|
+
}
|
1958
|
+
|
1959
|
+
compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
|
1960
|
+
var i,
|
1961
|
+
setMatchers = [],
|
1962
|
+
elementMatchers = [],
|
1963
|
+
cached = compilerCache[ selector + " " ];
|
1964
|
+
|
1965
|
+
if ( !cached ) {
|
1966
|
+
// Generate a function of recursive functions that can be used to check each element
|
1967
|
+
if ( !match ) {
|
1968
|
+
match = tokenize( selector );
|
1969
|
+
}
|
1970
|
+
i = match.length;
|
1971
|
+
while ( i-- ) {
|
1972
|
+
cached = matcherFromTokens( match[i] );
|
1973
|
+
if ( cached[ expando ] ) {
|
1974
|
+
setMatchers.push( cached );
|
1975
|
+
} else {
|
1976
|
+
elementMatchers.push( cached );
|
1977
|
+
}
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
// Cache the compiled function
|
1981
|
+
cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
|
1982
|
+
|
1983
|
+
// Save selector and tokenization
|
1984
|
+
cached.selector = selector;
|
1985
|
+
}
|
1986
|
+
return cached;
|
1987
|
+
};
|
1988
|
+
|
1989
|
+
/**
|
1990
|
+
* A low-level selection function that works with Sizzle's compiled
|
1991
|
+
* selector functions
|
1992
|
+
* @param {String|Function} selector A selector or a pre-compiled
|
1993
|
+
* selector function built with Sizzle.compile
|
1994
|
+
* @param {Element} context
|
1995
|
+
* @param {Array} [results]
|
1996
|
+
* @param {Array} [seed] A set of elements to match against
|
1997
|
+
*/
|
1998
|
+
select = Sizzle.select = function( selector, context, results, seed ) {
|
1999
|
+
var i, tokens, token, type, find,
|
2000
|
+
compiled = typeof selector === "function" && selector,
|
2001
|
+
match = !seed && tokenize( (selector = compiled.selector || selector) );
|
2002
|
+
|
2003
|
+
results = results || [];
|
2004
|
+
|
2005
|
+
// Try to minimize operations if there is only one selector in the list and no seed
|
2006
|
+
// (the latter of which guarantees us context)
|
2007
|
+
if ( match.length === 1 ) {
|
2008
|
+
|
2009
|
+
// Reduce context if the leading compound selector is an ID
|
2010
|
+
tokens = match[0] = match[0].slice( 0 );
|
2011
|
+
if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
|
2012
|
+
support.getById && context.nodeType === 9 && documentIsHTML &&
|
2013
|
+
Expr.relative[ tokens[1].type ] ) {
|
2014
|
+
|
2015
|
+
context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
|
2016
|
+
if ( !context ) {
|
2017
|
+
return results;
|
2018
|
+
|
2019
|
+
// Precompiled matchers will still verify ancestry, so step up a level
|
2020
|
+
} else if ( compiled ) {
|
2021
|
+
context = context.parentNode;
|
2022
|
+
}
|
2023
|
+
|
2024
|
+
selector = selector.slice( tokens.shift().value.length );
|
2025
|
+
}
|
2026
|
+
|
2027
|
+
// Fetch a seed set for right-to-left matching
|
2028
|
+
i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
|
2029
|
+
while ( i-- ) {
|
2030
|
+
token = tokens[i];
|
2031
|
+
|
2032
|
+
// Abort if we hit a combinator
|
2033
|
+
if ( Expr.relative[ (type = token.type) ] ) {
|
2034
|
+
break;
|
2035
|
+
}
|
2036
|
+
if ( (find = Expr.find[ type ]) ) {
|
2037
|
+
// Search, expanding context for leading sibling combinators
|
2038
|
+
if ( (seed = find(
|
2039
|
+
token.matches[0].replace( runescape, funescape ),
|
2040
|
+
rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
|
2041
|
+
)) ) {
|
2042
|
+
|
2043
|
+
// If seed is empty or no tokens remain, we can return early
|
2044
|
+
tokens.splice( i, 1 );
|
2045
|
+
selector = seed.length && toSelector( tokens );
|
2046
|
+
if ( !selector ) {
|
2047
|
+
push.apply( results, seed );
|
2048
|
+
return results;
|
2049
|
+
}
|
2050
|
+
|
2051
|
+
break;
|
2052
|
+
}
|
2053
|
+
}
|
2054
|
+
}
|
2055
|
+
}
|
2056
|
+
|
2057
|
+
// Compile and execute a filtering function if one is not provided
|
2058
|
+
// Provide `match` to avoid retokenization if we modified the selector above
|
2059
|
+
( compiled || compile( selector, match ) )(
|
2060
|
+
seed,
|
2061
|
+
context,
|
2062
|
+
!documentIsHTML,
|
2063
|
+
results,
|
2064
|
+
!context || rsibling.test( selector ) && testContext( context.parentNode ) || context
|
2065
|
+
);
|
2066
|
+
return results;
|
2067
|
+
};
|
2068
|
+
|
2069
|
+
// One-time assignments
|
2070
|
+
|
2071
|
+
// Sort stability
|
2072
|
+
support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
|
2073
|
+
|
2074
|
+
// Support: Chrome 14-35+
|
2075
|
+
// Always assume duplicates if they aren't passed to the comparison function
|
2076
|
+
support.detectDuplicates = !!hasDuplicate;
|
2077
|
+
|
2078
|
+
// Initialize against the default document
|
2079
|
+
setDocument();
|
2080
|
+
|
2081
|
+
// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
|
2082
|
+
// Detached nodes confoundingly follow *each other*
|
2083
|
+
support.sortDetached = assert(function( div1 ) {
|
2084
|
+
// Should return 1, but returns 4 (following)
|
2085
|
+
return div1.compareDocumentPosition( document.createElement("div") ) & 1;
|
2086
|
+
});
|
2087
|
+
|
2088
|
+
// Support: IE<8
|
2089
|
+
// Prevent attribute/property "interpolation"
|
2090
|
+
// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
|
2091
|
+
if ( !assert(function( div ) {
|
2092
|
+
div.innerHTML = "<a href='#'></a>";
|
2093
|
+
return div.firstChild.getAttribute("href") === "#" ;
|
2094
|
+
}) ) {
|
2095
|
+
addHandle( "type|href|height|width", function( elem, name, isXML ) {
|
2096
|
+
if ( !isXML ) {
|
2097
|
+
return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
|
2098
|
+
}
|
2099
|
+
});
|
2100
|
+
}
|
2101
|
+
|
2102
|
+
// Support: IE<9
|
2103
|
+
// Use defaultValue in place of getAttribute("value")
|
2104
|
+
if ( !support.attributes || !assert(function( div ) {
|
2105
|
+
div.innerHTML = "<input/>";
|
2106
|
+
div.firstChild.setAttribute( "value", "" );
|
2107
|
+
return div.firstChild.getAttribute( "value" ) === "";
|
2108
|
+
}) ) {
|
2109
|
+
addHandle( "value", function( elem, name, isXML ) {
|
2110
|
+
if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
|
2111
|
+
return elem.defaultValue;
|
2112
|
+
}
|
2113
|
+
});
|
2114
|
+
}
|
2115
|
+
|
2116
|
+
// Support: IE<9
|
2117
|
+
// Use getAttributeNode to fetch booleans when getAttribute lies
|
2118
|
+
if ( !assert(function( div ) {
|
2119
|
+
return div.getAttribute("disabled") == null;
|
2120
|
+
}) ) {
|
2121
|
+
addHandle( booleans, function( elem, name, isXML ) {
|
2122
|
+
var val;
|
2123
|
+
if ( !isXML ) {
|
2124
|
+
return elem[ name ] === true ? name.toLowerCase() :
|
2125
|
+
(val = elem.getAttributeNode( name )) && val.specified ?
|
2126
|
+
val.value :
|
2127
|
+
null;
|
2128
|
+
}
|
2129
|
+
});
|
2130
|
+
}
|
2131
|
+
|
2132
|
+
// EXPOSE
|
2133
|
+
if ( typeof define === "function" && define.amd ) {
|
2134
|
+
define(function() { return Sizzle; });
|
2135
|
+
// Sizzle requires that there be a global window in Common-JS like environments
|
2136
|
+
} else if ( typeof module !== "undefined" && module.exports ) {
|
2137
|
+
module.exports = Sizzle;
|
2138
|
+
} else {
|
2139
|
+
window.Sizzle = Sizzle;
|
2140
|
+
}
|
2141
|
+
// EXPOSE
|
2142
|
+
|
2143
|
+
})( window );
|