-
-
Save msterzhang/a4700833776b8a989ececb79c98d6643 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="DataSourceManagerImpl" format="xml" multifile-model="true"> | |
<data-source source="LOCAL" name="Django default" uuid="b069164d-5c60-46ea-b693-970022044ec3"> | |
<driver-ref>mysql</driver-ref> | |
<synchronize>true</synchronize> | |
<imported>true</imported> | |
<remarks>$PROJECT_DIR$/moviewb/settings.py</remarks> | |
<jdbc-driver>com.mysql.jdbc.Driver</jdbc-driver> | |
<jdbc-url>jdbc:mysql://127.0.0.1:3306/wbmovie</jdbc-url> | |
<driver-properties> | |
<property name="autoReconnect" value="true" /> | |
<property name="yearIsDateType" value="false" /> | |
<property name="characterEncoding" value="utf8" /> | |
<property name="zeroDateTimeBehavior" value="convertToNull" /> | |
<property name="characterSetResults" value="utf8" /> | |
<property name="tinyInt1isBit" value="false" /> | |
</driver-properties> | |
</data-source> | |
</component> | |
</project> |
<component name="ProjectDictionaryState"> | |
<dictionary name="Administrator" /> | |
</component> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding"> | |
<file url="file://$PROJECT_DIR$/军火库/userdata12.txt" charset="UTF-8" /> | |
</component> | |
</project> |
<component name="InspectionProjectProfileManager"> | |
<profile version="1.0" is_locked="false"> | |
<option name="myName" value="Project Default" /> | |
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true"> | |
<option name="ignoredErrors"> | |
<list> | |
<option value="E221" /> | |
<option value="E222" /> | |
</list> | |
</option> | |
</inspection_tool> | |
</profile> | |
</component> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="JavaScriptSettings"> | |
<option name="languageLevel" value="ES6" /> | |
</component> | |
<component name="MarkdownProjectSettings" wasCopied="true"> | |
<PreviewSettings splitEditorLayout="SPLIT" splitEditorPreview="PREVIEW" useGrayscaleRendering="false" zoomFactor="1.0" maxImageWidth="0" showGitHubPageIfSynced="false" allowBrowsingInPreview="false" synchronizePreviewPosition="true" highlightPreviewType="NONE" highlightFadeOut="5" highlightOnTyping="true" synchronizeSourcePosition="true" verticallyAlignSourceAndPreviewSyncPosition="true" showSearchHighlightsInPreview="false" showSelectionInPreview="true" openRemoteLinks="true" replaceUnicodeEmoji="false" lastLayoutSetsDefault="false"> | |
<PanelProvider> | |
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.panel" providerName="Default - Swing" /> | |
</PanelProvider> | |
</PreviewSettings> | |
<ParserSettings gitHubSyntaxChange="false" emojiShortcuts="1" emojiImages="0"> | |
<PegdownExtensions> | |
<option name="ABBREVIATIONS" value="false" /> | |
<option name="ANCHORLINKS" value="true" /> | |
<option name="ASIDE" value="false" /> | |
<option name="ATXHEADERSPACE" value="true" /> | |
<option name="AUTOLINKS" value="true" /> | |
<option name="DEFINITIONS" value="false" /> | |
<option name="DEFINITION_BREAK_DOUBLE_BLANK_LINE" value="false" /> | |
<option name="FENCED_CODE_BLOCKS" value="true" /> | |
<option name="FOOTNOTES" value="false" /> | |
<option name="HARDWRAPS" value="false" /> | |
<option name="HTML_DEEP_PARSER" value="false" /> | |
<option name="INSERTED" value="false" /> | |
<option name="QUOTES" value="false" /> | |
<option name="RELAXEDHRULES" value="true" /> | |
<option name="SMARTS" value="false" /> | |
<option name="STRIKETHROUGH" value="true" /> | |
<option name="SUBSCRIPT" value="false" /> | |
<option name="SUPERSCRIPT" value="false" /> | |
<option name="SUPPRESS_HTML_BLOCKS" value="false" /> | |
<option name="SUPPRESS_INLINE_HTML" value="false" /> | |
<option name="TABLES" value="true" /> | |
<option name="TASKLISTITEMS" value="true" /> | |
<option name="TOC" value="false" /> | |
<option name="WIKILINKS" value="true" /> | |
</PegdownExtensions> | |
<ParserOptions> | |
<option name="ADMONITION_EXT" value="false" /> | |
<option name="ATTRIBUTES_EXT" value="false" /> | |
<option name="COMMONMARK_LISTS" value="true" /> | |
<option name="DUMMY" value="false" /> | |
<option name="EMOJI_SHORTCUTS" value="true" /> | |
<option name="ENUMERATED_REFERENCES_EXT" value="false" /> | |
<option name="FLEXMARK_FRONT_MATTER" value="false" /> | |
<option name="GFM_LOOSE_BLANK_LINE_AFTER_ITEM_PARA" value="false" /> | |
<option name="GFM_TABLE_RENDERING" value="true" /> | |
<option name="GITBOOK_URL_ENCODING" value="false" /> | |
<option name="GITHUB_LISTS" value="false" /> | |
<option name="GITHUB_WIKI_LINKS" value="true" /> | |
<option name="HEADER_ID_NO_DUPED_DASHES" value="false" /> | |
<option name="JEKYLL_FRONT_MATTER" value="false" /> | |
<option name="NO_TEXT_ATTRIBUTES" value="false" /> | |
<option name="PARSE_HTML_ANCHOR_ID" value="false" /> | |
<option name="SIM_TOC_BLANK_LINE_SPACER" value="true" /> | |
</ParserOptions> | |
</ParserSettings> | |
<HtmlSettings headerTopEnabled="false" headerBottomEnabled="false" bodyTopEnabled="false" bodyBottomEnabled="false" embedUrlContent="false" addPageHeader="true" embedImages="false" embedHttpImages="false" imageUriSerials="false"> | |
<GeneratorProvider> | |
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.generator" providerName="Default Swing HTML Generator" /> | |
</GeneratorProvider> | |
<headerTop /> | |
<headerBottom /> | |
<bodyTop /> | |
<bodyBottom /> | |
</HtmlSettings> | |
<CssSettings previewScheme="UI_SCHEME" cssUri="" isCssUriEnabled="false" isCssUriSerial="true" isCssTextEnabled="false" isDynamicPageWidth="true"> | |
<StylesheetProvider> | |
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.css" providerName="Default Swing Stylesheet" /> | |
</StylesheetProvider> | |
<ScriptProviders /> | |
<cssText /> | |
<cssUriHistory /> | |
</CssSettings> | |
<HtmlExportSettings updateOnSave="false" parentDir="" targetDir="" cssDir="" scriptDir="" plainHtml="false" imageDir="" copyLinkedImages="false" imageUniquifyType="0" targetExt="" useTargetExt="false" noCssNoScripts="false" linkToExportedHtml="true" exportOnSettingsChange="true" regenerateOnProjectOpen="false" linkFormatType="HTTP_ABSOLUTE" /> | |
<LinkMapSettings> | |
<textMaps /> | |
</LinkMapSettings> | |
</component> | |
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" /> | |
</project> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectModuleManager"> | |
<modules> | |
<module fileurl="file://$PROJECT_DIR$/.idea/moviewb.iml" filepath="$PROJECT_DIR$/.idea/moviewb.iml" /> | |
</modules> | |
</component> | |
</project> |
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="PYTHON_MODULE" version="4"> | |
<component name="FacetManager"> | |
<facet type="django" name="Django"> | |
<configuration> | |
<option name="rootFolder" value="$MODULE_DIR$" /> | |
<option name="settingsModule" value="moviewb/settings.py" /> | |
<option name="manageScript" value="$MODULE_DIR$/manage.py" /> | |
<option name="environment" value="<map/>" /> | |
<option name="doNotUseTestRunner" value="false" /> | |
<option name="trackFilePattern" value="migrations" /> | |
</configuration> | |
</facet> | |
</component> | |
<component name="NewModuleRootManager"> | |
<content url="file://$MODULE_DIR$" /> | |
<orderEntry type="jdk" jdkName="Python 3.6" jdkType="Python SDK" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
<component name="TemplatesService"> | |
<option name="TEMPLATE_CONFIGURATION" value="Django" /> | |
<option name="TEMPLATE_FOLDERS"> | |
<list> | |
<option value="$MODULE_DIR$/../moviewb\templates" /> | |
</list> | |
</option> | |
</component> | |
<component name="TestRunnerService"> | |
<option name="PROJECT_TEST_RUNNER" value="Unittests" /> | |
</component> | |
</module> |
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="SqlDialectMappings"> | |
<file url="file://$PROJECT_DIR$" dialect="MySQL" /> | |
</component> | |
<component name="SqlResolveMappings"> | |
<file url="PROJECT" scope="{"node":{ "@negative":"1", "group":{ "@kind":"root", "node":{ "@negative":"1" } } }}" /> | |
</component> | |
</project> |
-----BEGIN CERTIFICATE----- | |
MIIGAjCCBOqgAwIBAgISA7lsSl7HTTOQqmagQegXmzbbMA0GCSqGSIb3DQEBCwUA | |
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD | |
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xODEwMjQwMTE3MzRaFw0x | |
OTAxMjIwMTE3MzRaMBYxFDASBgNVBAMTC3poYW5nMTgudG9wMIIBIjANBgkqhkiG | |
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy5DnzcemHcoh1djK//B4XQf+hpiEvhZtUR5z | |
UA4X0ilx1P09dbfWO87EGLABmtOz7+O0fxuQ+jVCmH7kfJq/I8OOHRnyOj1snrmp | |
OQflpyaeC2e/7pIrNn7egcDNvFKUyELLN/YNlHZ3S/eruG5UcJze40BveQ28ZJTy | |
/1Y5fAEJhYC1oh/J77amh5sJ+0xkpxDp77KlmkUiJw9pDW1l8TmiiNJTdlll8apR | |
96//2WDVsxjRP1O28qkYkXT0pbA73roXvCVO7qIlXl4W875DSMJto/TuNwQ06ezG | |
b7bdoseNmGDgZJBP/INVTuhCGXqd6N91kSYcsFiBshlwNW21kQIDAQABo4IDFDCC | |
AxAwDgYDVR0PAQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcD | |
AjAMBgNVHRMBAf8EAjAAMB0GA1UdDgQWBBRCVVpOL+P0EabY/x0BVowikjXylzAf | |
BgNVHSMEGDAWgBSoSmpjBH3duubRObemRWXv86jsoTBvBggrBgEFBQcBAQRjMGEw | |
LgYIKwYBBQUHMAGGImh0dHA6Ly9vY3NwLmludC14My5sZXRzZW5jcnlwdC5vcmcw | |
LwYIKwYBBQUHMAKGI2h0dHA6Ly9jZXJ0LmludC14My5sZXRzZW5jcnlwdC5vcmcv | |
MBYGA1UdEQQPMA2CC3poYW5nMTgudG9wMIH+BgNVHSAEgfYwgfMwCAYGZ4EMAQIB | |
MIHmBgsrBgEEAYLfEwEBATCB1jAmBggrBgEFBQcCARYaaHR0cDovL2Nwcy5sZXRz | |
ZW5jcnlwdC5vcmcwgasGCCsGAQUFBwICMIGeDIGbVGhpcyBDZXJ0aWZpY2F0ZSBt | |
YXkgb25seSBiZSByZWxpZWQgdXBvbiBieSBSZWx5aW5nIFBhcnRpZXMgYW5kIG9u | |
bHkgaW4gYWNjb3JkYW5jZSB3aXRoIHRoZSBDZXJ0aWZpY2F0ZSBQb2xpY3kgZm91 | |
bmQgYXQgaHR0cHM6Ly9sZXRzZW5jcnlwdC5vcmcvcmVwb3NpdG9yeS8wggEFBgor | |
BgEEAdZ5AgQCBIH2BIHzAPEAdwDiaUuuJujpQAnohhu2O4PUPuf+dIj7pI8okwGd | |
3fHb/gAAAWaj3OWwAAAEAwBIMEYCIQCG6b9hKZ9ZVvvoYokGaedOZQC3Z/7zHCEt | |
Vowc/+d7ugIhANx7QVmtF1DIL7IEqymdFZgqsjZFHIgOm5WchVTXpbe+AHYAKTxR | |
llTIOWW6qlD8WAfUt2+/WHopctykwwz05UVH9HgAAAFmo9zlxAAABAMARzBFAiB/ | |
uw8MV/wGJao/Ppnzv7K51sGX6hpm5lG8rWr/MPTCWQIhAKf9hYmRjqNn2s/tVcg8 | |
GaNAnPMGhK5GzwJSXR2peW1yMA0GCSqGSIb3DQEBCwUAA4IBAQAo69hRv5/vmxw1 | |
/3BA0x//HcNpTtSYVG1DsvrzYhBCa4/xsXDH27g1uw/ZnoZlCGokgwM1XrlX5/xV | |
U6pypgRhgn90sBmiSFQIqX3mW/WSo6l8od5zoaWpGcUNXUWsTg6lxVSNmrE7P9oy | |
NBhreuKuAJgArEgOawwaswi26y9ELkaxLIPKB9kysjgBGsl2q+gBMxNk214QHC8J | |
j37JEmfR4ybbezUk+PZHeI4Le0ocQjNsOCAPZ571C+bMvln4UN7IwFM6BNCem0fk | |
5QNtqj8XN4XJtXy+Q7+vRbpUIll9lk/rxid7BmLiv4B1jEXW1KJjfNlNBI0fLfcB | |
on9rkg2t | |
-----END CERTIFICATE----- | |
-----BEGIN CERTIFICATE----- | |
MIIEkjCCA3qgAwIBAgIQCgFBQgAAAVOFc2oLheynCDANBgkqhkiG9w0BAQsFADA/ | |
MSQwIgYDVQQKExtEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdCBDby4xFzAVBgNVBAMT | |
DkRTVCBSb290IENBIFgzMB4XDTE2MDMxNzE2NDA0NloXDTIxMDMxNzE2NDA0Nlow | |
SjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUxldCdzIEVuY3J5cHQxIzAhBgNVBAMT | |
GkxldCdzIEVuY3J5cHQgQXV0aG9yaXR5IFgzMIIBIjANBgkqhkiG9w0BAQEFAAOC | |
AQ8AMIIBCgKCAQEAnNMM8FrlLke3cl03g7NoYzDq1zUmGSXhvb418XCSL7e4S0EF | |
q6meNQhY7LEqxGiHC6PjdeTm86dicbp5gWAf15Gan/PQeGdxyGkOlZHP/uaZ6WA8 | |
SMx+yk13EiSdRxta67nsHjcAHJyse6cF6s5K671B5TaYucv9bTyWaN8jKkKQDIZ0 | |
Z8h/pZq4UmEUEz9l6YKHy9v6Dlb2honzhT+Xhq+w3Brvaw2VFn3EK6BlspkENnWA | |
a6xK8xuQSXgvopZPKiAlKQTGdMDQMc2PMTiVFrqoM7hD8bEfwzB/onkxEz0tNvjj | |
/PIzark5McWvxI0NHWQWM6r6hCm21AvA2H3DkwIDAQABo4IBfTCCAXkwEgYDVR0T | |
AQH/BAgwBgEB/wIBADAOBgNVHQ8BAf8EBAMCAYYwfwYIKwYBBQUHAQEEczBxMDIG | |
CCsGAQUFBzABhiZodHRwOi8vaXNyZy50cnVzdGlkLm9jc3AuaWRlbnRydXN0LmNv | |
bTA7BggrBgEFBQcwAoYvaHR0cDovL2FwcHMuaWRlbnRydXN0LmNvbS9yb290cy9k | |
c3Ryb290Y2F4My5wN2MwHwYDVR0jBBgwFoAUxKexpHsscfrb4UuQdf/EFWCFiRAw | |
VAYDVR0gBE0wSzAIBgZngQwBAgEwPwYLKwYBBAGC3xMBAQEwMDAuBggrBgEFBQcC | |
ARYiaHR0cDovL2Nwcy5yb290LXgxLmxldHNlbmNyeXB0Lm9yZzA8BgNVHR8ENTAz | |
MDGgL6AthitodHRwOi8vY3JsLmlkZW50cnVzdC5jb20vRFNUUk9PVENBWDNDUkwu | |
Y3JsMB0GA1UdDgQWBBSoSmpjBH3duubRObemRWXv86jsoTANBgkqhkiG9w0BAQsF | |
AAOCAQEA3TPXEfNjWDjdGBX7CVW+dla5cEilaUcne8IkCJLxWh9KEik3JHRRHGJo | |
uM2VcGfl96S8TihRzZvoroed6ti6WqEBmtzw3Wodatg+VyOeph4EYpr/1wXKtx8/ | |
wApIvJSwtmVi4MFU5aMqrSDE6ea73Mj2tcMyo5jMd6jmeWUHK8so/joWUoHOUgwu | |
X4Po1QYz+3dszkDqMp4fklxBwXRsW10KXzPMTZ+sOPAveyxindmjkW8lGy+QsRlG | |
PfZ+G6Z6h7mjem0Y+iWlkYcV4PIWL1iwBi8saCbGS5jN2p8M+X+Q7UNKEkROb3N6 | |
KOqkqm57TH2H3eDJAkSnh6/DNFu0Qg== | |
-----END CERTIFICATE----- |
#!/usr/bin/env python | |
import os | |
import sys | |
if __name__ == "__main__": | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "moviewb.settings") | |
try: | |
from django.core.management import execute_from_command_line | |
except ImportError as exc: | |
raise ImportError( | |
"Couldn't import Django. Are you sure it's installed and " | |
"available on your PYTHONPATH environment variable? Did you " | |
"forget to activate a virtual environment?" | |
) from exc | |
execute_from_command_line(sys.argv) |
from django.contrib import admin | |
from .models import Movie,Users,More,Fen | |
# Register your models here. | |
admin.site.register(Movie) | |
admin.site.register(More) | |
admin.site.register(Fen) | |
admin.site.register(Users) |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import xadmin | |
from .models import Movie, More, Fen, Users, Vcomment, Vcommentto, Mcomment, Mcommentto | |
# ============================================== # | |
# 电影 | |
# ============================================== # | |
class MovieAdmin(object): | |
style_fields = {"detail": "ueditor"} | |
list_display = ['movie_name', 'movie_uuid', 'movie_lei_z', 'movie_vip', 'movie_lun', 'movie_head', 'movie_lei', | |
'movie_fen', 'movie_di', | |
'movie_yer', 'views'] | |
list_filter = ['movie_name', 'movie_vip', 'movie_lun', 'movie_head', 'movie_lei', 'movie_fen', 'movie_di', | |
'movie_yer', 'views'] | |
search_fields = ['movie_name'] | |
# ============================================== # | |
# 电视剧 | |
# ============================================== # | |
class MoreAdmin(object): | |
list_display = ['movie_name', 'movie_vip', 'movie_lun', 'movie_head', 'movie_lei', 'movie_fen', 'movie_di', | |
'movie_yer', 'views'] | |
list_filter = ['movie_name', 'movie_vip', 'movie_lun', 'movie_head', 'movie_lei', 'movie_fen', 'movie_di', | |
'movie_yer', 'views'] | |
search_fields = ['movie_name'] | |
# ============================================== # | |
# 电视剧分集 | |
# ============================================== # | |
class FenAdmin(object): | |
list_display = ['mei', 'movie_uuid', 'movie_lei_z', 'movies_ji'] | |
list_filter = ['mei', 'movie_uuid'] | |
# ============================================== # | |
# 用户信息 | |
# ============================================== # | |
class UsersAdmin(object): | |
list_dispaly = ['user', 'username', 'uservip', 'user_img', 'usertext', 'usertime'] | |
list_filter = ['user', 'username', 'uservip', 'user_img', 'usertext', 'usertime'] | |
# ============================================== # | |
# 电影评论 | |
# ============================================== # | |
class VcommentAdmin(object): | |
list_display = ['comment_id', 'comment_name', 'comment_header', 'comment_text', 'comment_time'] | |
list_filter = ['comment_id', 'comment_name', 'comment_text'] | |
# ============================================== # | |
# 电影评论回复 | |
# ============================================== # | |
class VcommenttoAdmin(object): | |
list_display = ['comment_id', 'comment_name', 'comment_header', 'comment_text', 'comment_time'] | |
list_filter = ['comment_id', 'comment_name', 'comment_text'] | |
# ============================================== # | |
# 电视剧评论 | |
# ============================================== # | |
class McommentAdmin(object): | |
list_display = ['comment_id', 'comment_name', 'comment_header', 'comment_text', 'comment_time'] | |
list_filter = ['comment_id', 'comment_name', 'comment_text'] | |
# ============================================== # | |
# 电视剧评论回复 | |
# ============================================== # | |
class McommenttoAdmin(object): | |
list_display = ['comment_id', 'comment_name', 'comment_header', 'comment_text', 'comment_time'] | |
list_filter = ['comment_id', 'comment_name', 'comment_text'] | |
xadmin.site.register(Movie, MovieAdmin) | |
xadmin.site.register(More, MoreAdmin) | |
xadmin.site.register(Fen, FenAdmin) | |
xadmin.site.register(Users, UsersAdmin) | |
xadmin.site.register(Vcomment, VcommentAdmin) | |
xadmin.site.register(Vcommentto, VcommenttoAdmin) | |
xadmin.site.register(Mcomment, McommentAdmin) | |
xadmin.site.register(Mcommentto, McommenttoAdmin) |
from django.apps import AppConfig | |
class MovieConfig(AppConfig): | |
name = 'movie' |
# Generated by Django 2.0.4 on 2018-10-12 15:00 | |
import datetime | |
from django.conf import settings | |
from django.db import migrations, models | |
import django.db.models.deletion | |
import uuid | |
class Migration(migrations.Migration): | |
initial = True | |
dependencies = [ | |
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | |
] | |
operations = [ | |
migrations.CreateModel( | |
name='Fen', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('movie_uuid', models.CharField(default=uuid.UUID('81456c52-ce2f-11e8-abaa-0071cc998feb'), max_length=500, verbose_name='UUID')), | |
('movie_lei_z', models.SmallIntegerField(choices=[(1, 'URL'), (2, 'ZHU'), (3, 'ZAI')], default=0, verbose_name='种类')), | |
('number', models.CharField(max_length=1000, verbose_name='视频ID或链接')), | |
('movies_ji', models.CharField(max_length=250, verbose_name='第n集')), | |
], | |
options={ | |
'verbose_name': '分集', | |
'verbose_name_plural': '分集', | |
}, | |
), | |
migrations.CreateModel( | |
name='More', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('movie_name', models.CharField(max_length=250, verbose_name='名字')), | |
('movie_zhu', models.CharField(max_length=500, verbose_name='主演')), | |
('movie_dao', models.CharField(max_length=250, verbose_name='导演')), | |
('movie_img', models.CharField(max_length=1000, verbose_name='图片')), | |
('movie_vip', models.SmallIntegerField(choices=[(1, '否'), (2, '是')], default=0, verbose_name='会员')), | |
('movie_lun', models.SmallIntegerField(choices=[(1, '否'), (2, '是')], default=0, verbose_name='轮播')), | |
('movie_head', models.SmallIntegerField(choices=[(2, '美剧'), (3, '韩剧'), (4, '纪录片'), (5, '动漫')], default=0, verbose_name='导航')), | |
('movie_lei', models.SmallIntegerField(choices=[(1, '喜剧'), (2, '爱情'), (3, '恐怖'), (4, '动作'), (5, '科幻'), (6, '剧情'), (7, '战争'), (8, '警匪'), (9, '犯罪'), (10, '动画'), (11, '奇幻'), (12, '冒险')], default=0, verbose_name='类型')), | |
('movie_fen', models.SmallIntegerField(choices=[(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10')], default=0, verbose_name='评分')), | |
('movie_di', models.SmallIntegerField(choices=[(1, '大陆'), (2, '欧美'), (3, '台湾'), (4, '香港'), (5, '日本'), (6, '韩国'), (7, '印度'), (8, '泰国'), (9, '其他')], default=0, verbose_name='地区')), | |
('movie_yer', models.SmallIntegerField(choices=[(2018, '2018'), (2017, '2017'), (2016, '2016'), (2015, '2015'), (2014, '2014'), (2013, '2013'), (2012, '2012'), (2011, '2011'), (2010, '2010'), (2009, '2009'), (2008, '2008'), (2007, '2007')], default=0, verbose_name='年代')), | |
('movie_jie', models.TextField(verbose_name='简介')), | |
('views', models.PositiveIntegerField(default=0, verbose_name='观看量')), | |
], | |
options={ | |
'verbose_name': '电视剧', | |
'verbose_name_plural': '电视剧', | |
}, | |
), | |
migrations.CreateModel( | |
name='Movie', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('movie_name', models.CharField(max_length=250, verbose_name='名字')), | |
('movie_uuid', models.CharField(default=uuid.UUID('d47d4fee-fe4f-44d4-be3a-00a64963dfdc'), max_length=500, verbose_name='UUID')), | |
('movie_lei_z', models.SmallIntegerField(choices=[(1, 'URL'), (2, 'ZHU'), (3, 'ZAI')], default=0, verbose_name='种类')), | |
('number', models.CharField(max_length=1000, verbose_name='视频ID或链接')), | |
('movie_zhu', models.CharField(max_length=500, verbose_name='主演')), | |
('movie_dao', models.CharField(max_length=250, verbose_name='导演')), | |
('movie_img', models.CharField(max_length=1000, verbose_name='图片')), | |
('movie_vip', models.SmallIntegerField(choices=[(1, '否'), (2, '是')], default=0, verbose_name='会员')), | |
('movie_lun', models.SmallIntegerField(choices=[(1, '否'), (2, '是')], default=0, verbose_name='轮播')), | |
('movie_head', models.SmallIntegerField(choices=[(1, '电影'), (2, '美剧'), (3, '韩剧'), (4, '综艺'), (5, '动漫')], default=0, verbose_name='导航')), | |
('movie_lei', models.SmallIntegerField(choices=[(1, '喜剧'), (2, '爱情'), (3, '恐怖'), (4, '动作'), (5, '科幻'), (6, '剧情'), (7, '战争'), (8, '警匪'), (9, '犯罪'), (10, '动画'), (11, '奇幻'), (12, '冒险')], default=0, verbose_name='类型')), | |
('movie_fen', models.SmallIntegerField(choices=[(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10')], default=0, verbose_name='评分')), | |
('movie_di', models.SmallIntegerField(choices=[(1, '大陆'), (2, '欧美'), (3, '台湾'), (4, '香港'), (5, '日本'), (6, '韩国'), (7, '印度'), (8, '泰国'), (9, '其他')], default=0, verbose_name='地区')), | |
('movie_yer', models.SmallIntegerField(choices=[(2018, '2018'), (2017, '2017'), (2016, '2016'), (2015, '2015'), (2014, '2014'), (2013, '2013'), (2012, '2012'), (2011, '2011'), (2010, '2010'), (2009, '2009'), (2008, '2008'), (2007, '2007')], default=0, verbose_name='年代')), | |
('movie_jie', models.TextField(verbose_name='简介')), | |
('views', models.PositiveIntegerField(default=0, verbose_name='观看量')), | |
], | |
options={ | |
'verbose_name': '电影', | |
'verbose_name_plural': '电影', | |
}, | |
), | |
migrations.CreateModel( | |
name='Users', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('username', models.CharField(max_length=250, verbose_name='姓名')), | |
('uservip', models.SmallIntegerField(choices=[(1, '否'), (2, '是')], default=0, verbose_name='会员')), | |
('user_img', models.CharField(default='http://wx1.sinaimg.cn/large/006gFOhdly1fr0hdrzlolj30b40b4dg7.jpg', max_length=1000, verbose_name='头像')), | |
('usertext', models.TextField(default=' ', max_length=250, verbose_name='个人介绍')), | |
('usertime', models.DateTimeField(default=datetime.datetime(2018, 10, 12, 23, 0, 6, 237546), verbose_name='加入时间')), | |
('user', models.OneToOneField(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='用户名')), | |
], | |
options={ | |
'verbose_name': '用户', | |
'verbose_name_plural': '用户', | |
}, | |
), | |
migrations.AddField( | |
model_name='fen', | |
name='mei', | |
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.More', verbose_name='名字'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-12 15:00 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0001_initial'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('9cfb5b88-ce2f-11e8-88a4-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('41c2277e-a36a-4fbf-a262-ddedecb9e511'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 12, 23, 0, 52, 728354), verbose_name='加入时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-12 15:12 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0002_auto_20181012_2300'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('2b689c06-ce31-11e8-88fd-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('c632a8cf-2f4e-4447-b498-2224a49596b6'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 12, 23, 12, 1, 178545), verbose_name='加入时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 03:12 | |
import datetime | |
from django.db import migrations, models | |
import django.db.models.deletion | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0003_auto_20181012_2312'), | |
] | |
operations = [ | |
migrations.CreateModel( | |
name='Mcomment', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('comment_name', models.CharField(max_length=250, verbose_name='用户名')), | |
('comment_header', models.CharField(max_length=1000, verbose_name='头像')), | |
('comment_text', models.CharField(max_length=1000, verbose_name='评论内容')), | |
('comment_time', models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 12, 41, 449081), verbose_name='评论时间')), | |
('comment_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.More', verbose_name='电视剧名字')), | |
], | |
options={ | |
'verbose_name': '电视剧评论', | |
'verbose_name_plural': '电视剧评论', | |
}, | |
), | |
migrations.CreateModel( | |
name='Mcommentto', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('comment_name', models.CharField(max_length=250, verbose_name='用户名')), | |
('comment_header', models.CharField(max_length=1000, verbose_name='头像')), | |
('comment_text', models.CharField(max_length=1000, verbose_name='回复内容')), | |
('comment_time', models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 12, 41, 449081), verbose_name='回复时间')), | |
('comment_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.Mcomment', verbose_name='电视剧评论')), | |
], | |
options={ | |
'verbose_name': '电视剧评论回复', | |
'verbose_name_plural': '电视剧评论回复', | |
}, | |
), | |
migrations.CreateModel( | |
name='Vcomment', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('comment_name', models.CharField(max_length=250, verbose_name='用户名')), | |
('comment_header', models.CharField(max_length=1000, verbose_name='头像')), | |
('comment_text', models.CharField(max_length=1000, verbose_name='评论内容')), | |
('comment_time', models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 12, 41, 448080), verbose_name='评论时间')), | |
], | |
options={ | |
'verbose_name': '电影评论', | |
'verbose_name_plural': '电影评论', | |
}, | |
), | |
migrations.CreateModel( | |
name='Vcommentto', | |
fields=[ | |
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | |
('comment_name', models.CharField(max_length=250, verbose_name='用户名')), | |
('comment_header', models.CharField(max_length=1000, verbose_name='头像')), | |
('comment_text', models.CharField(max_length=1000, verbose_name='回复内容')), | |
('comment_time', models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 12, 41, 449081), verbose_name='回复时间')), | |
('comment_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.Vcomment', verbose_name='电影评论')), | |
], | |
options={ | |
'verbose_name': '电影评论回复', | |
'verbose_name_plural': '电影评论回复', | |
}, | |
), | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('d718528c-d34c-11e8-a79c-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('e276f144-5ca3-4f33-8c77-e92b4cb6070c'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 12, 41, 446078), verbose_name='加入时间'), | |
), | |
migrations.AddField( | |
model_name='vcomment', | |
name='comment_id', | |
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='movie.Movie', verbose_name='电影名字'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 03:13 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0004_auto_20181019_1112'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('f03cca1a-d34c-11e8-8dfd-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 13, 23, 631110), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 13, 23, 632098), verbose_name='回复时间'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('444af016-eb86-4e6a-8eb2-9e9f8062ee83'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 13, 23, 628108), verbose_name='加入时间'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 13, 23, 630110), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 13, 23, 630110), verbose_name='回复时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 03:23 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0005_auto_20181019_1113'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('63da95f4-d34e-11e8-9a8a-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_text', | |
field=models.TextField(verbose_name='评论内容'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 23, 47, 99958), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_text', | |
field=models.TextField(verbose_name='回复内容'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 23, 47, 99958), verbose_name='回复时间'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('8208940e-2d71-408b-bb79-5067808043df'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 23, 47, 95955), verbose_name='加入时间'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_text', | |
field=models.TextField(verbose_name='评论内容'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 23, 47, 98957), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_text', | |
field=models.TextField(verbose_name='回复内容'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 11, 23, 47, 98957), verbose_name='回复时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 14:14 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0006_auto_20181019_1123'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('4b6968c6-d3a9-11e8-b9ff-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_header', | |
field=models.CharField(max_length=1000, verbose_name='用户头像'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 14, 30, 294819), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_header', | |
field=models.CharField(max_length=1000, verbose_name='用户头像'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 14, 30, 295319), verbose_name='回复时间'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('f77f2094-fb22-49bf-a6fb-bfc12238bae6'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='user_img', | |
field=models.CharField(default='http://wx1.sinaimg.cn/large/006gFOhdly1fr0hdrzlolj30b40b4dg7.jpg', max_length=1000, verbose_name='用户头像'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 14, 30, 291818), verbose_name='加入时间'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_header', | |
field=models.CharField(max_length=1000, verbose_name='用户头像'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 14, 30, 293819), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_header', | |
field=models.CharField(max_length=1000, verbose_name='用户头像'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 14, 30, 294319), verbose_name='回复时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 14:24 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0007_auto_20181019_2214'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('b8b5adde-d3aa-11e8-820b-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 43, 163060), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 43, 163560), verbose_name='回复时间'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('fb4e13b7-dc4f-47a4-868a-3419cdf93c91'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 43, 160058), verbose_name='加入时间'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 43, 162059), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 43, 162560), verbose_name='回复时间'), | |
), | |
] |
# Generated by Django 2.0.4 on 2018-10-19 14:24 | |
import datetime | |
from django.db import migrations, models | |
import uuid | |
class Migration(migrations.Migration): | |
dependencies = [ | |
('movie', '0008_auto_20181019_2224'), | |
] | |
operations = [ | |
migrations.AlterField( | |
model_name='fen', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('beebd7d8-d3aa-11e8-92b9-0071cc998feb'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='mcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 53, 584358), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='mcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 53, 584858), verbose_name='回复时间'), | |
), | |
migrations.AlterField( | |
model_name='movie', | |
name='movie_uuid', | |
field=models.CharField(default=uuid.UUID('e92efa44-abcc-4903-a68d-719525ce5088'), max_length=500, verbose_name='UUID'), | |
), | |
migrations.AlterField( | |
model_name='users', | |
name='usertime', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 53, 581342), verbose_name='加入时间'), | |
), | |
migrations.AlterField( | |
model_name='vcomment', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 53, 583362), verbose_name='评论时间'), | |
), | |
migrations.AlterField( | |
model_name='vcommentto', | |
name='comment_time', | |
field=models.DateTimeField(default=datetime.datetime(2018, 10, 19, 22, 24, 53, 583857), verbose_name='回复时间'), | |
), | |
] |
from django.db import models | |
import datetime | |
from django.contrib.auth.models import User | |
import uuid | |
# 注意每次更改后执行加载模型 | |
# 1. python manage.py makemigrations | |
# 加载数据库 python manage.py makemigrations | |
# 2. python manage.py migrate | |
# 创建管理员 | |
# python manage.py createsuperuser | |
# ============================================== # | |
# 用户注册 | |
# ============================================== # | |
class Users(models.Model): | |
user = models.OneToOneField(User, on_delete=models.CASCADE, default=1, verbose_name='用户名') | |
username = models.CharField('姓名', max_length=250) | |
uservip = models.SmallIntegerField('会员', | |
choices=( | |
(1, '否'), (2, '是')), default=0) | |
user_img = models.CharField('用户头像', max_length=1000, | |
default='http://wx1.sinaimg.cn/large/006gFOhdly1fr0hdrzlolj30b40b4dg7.jpg') | |
usertext = models.TextField('个人介绍', max_length=250, default=' ') | |
usertime = models.DateTimeField('加入时间', default=datetime.datetime.now()) | |
def __str__(self): | |
return self.username | |
class Meta: | |
verbose_name = '用户' | |
verbose_name_plural = '用户' | |
# ============================================== # | |
# 电影 | |
# ============================================== # | |
class Movie(models.Model): | |
movie_name = models.CharField('名字', max_length=250) | |
movie_uuid = models.CharField('UUID', max_length=500, default=uuid.uuid4()) | |
movie_lei_z = models.SmallIntegerField('种类', | |
choices=( | |
(1, 'URL'), (2, 'ZHU'), (3, 'ZAI'), (4, 'PAN'), (5, 'MOM')), | |
default=0) | |
number = models.CharField('视频ID或链接', max_length=1000) | |
movie_zhu = models.CharField('主演', max_length=500) | |
movie_dao = models.CharField('导演', max_length=250) | |
movie_img = models.CharField('图片', max_length=1000) | |
movie_vip = models.SmallIntegerField('会员', | |
choices=( | |
(1, '否'), (2, '是')), default=0) | |
movie_lun = models.SmallIntegerField('轮播', | |
choices=( | |
(1, '否'), (2, '是')), default=0) | |
movie_head = models.SmallIntegerField('导航', | |
choices=( | |
(1, '电影'), (2, '美剧'), (3, '韩剧'), (4, '综艺'), (5, '动漫')), | |
default=0) | |
movie_lei = models.SmallIntegerField('类型', | |
choices=( | |
(1, '喜剧'), (2, '爱情'), (3, '恐怖'), (4, '动作'), (5, '科幻'), (6, '剧情'), | |
(7, '战争'), | |
(8, '警匪'), (9, '犯罪'), (10, '动画'), (11, '奇幻'), (12, '冒险')), | |
default=0) | |
movie_fen = models.SmallIntegerField('评分', | |
choices=( | |
(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), | |
(7, '7'), | |
(8, '8'), (9, '9'), (10, '10')), | |
default=0) | |
movie_di = models.SmallIntegerField('地区', | |
choices=( | |
(1, '大陆'), (2, '欧美'), (3, '台湾'), (4, '香港'), (5, '日本'), (6, '韩国'), (7, '印度'), | |
(8, '泰国'), (9, '其他')), | |
default=0) | |
movie_yer = models.SmallIntegerField('年代', | |
choices=( | |
(2018, '2018'), (2017, '2017'), (2016, '2016'), (2015, '2015'), | |
(2014, '2014'), | |
(2013, '2013'), | |
(2012, '2012'), | |
(2011, '2011'), (2010, '2010'), (2009, '2009'), (2008, '2008'), | |
(2007, '2007')), | |
default=0) | |
movie_jie = models.TextField('简介') | |
views = models.PositiveIntegerField('观看量', default=0) | |
def __str__(self): | |
return self.movie_name | |
def increase_views(self): | |
self.views += 1 | |
self.save(update_fields=['views']) | |
class Meta: | |
verbose_name = '电影' | |
verbose_name_plural = '电影' | |
# ============================================== # | |
# 电视 | |
# ============================================== # | |
class More(models.Model): | |
movie_name = models.CharField('名字', max_length=250) | |
movie_zhu = models.CharField('主演', max_length=500) | |
movie_dao = models.CharField('导演', max_length=250) | |
movie_img = models.CharField('图片', max_length=1000) | |
movie_vip = models.SmallIntegerField('会员', | |
choices=( | |
(1, '否'), (2, '是')), default=0) | |
movie_lun = models.SmallIntegerField('轮播', | |
choices=( | |
(1, '否'), (2, '是')), default=0) | |
movie_head = models.SmallIntegerField('导航', | |
choices=( | |
(2, '美剧'), (3, '韩剧'), (4, '纪录片'), (5, '动漫')), | |
default=0) | |
movie_lei = models.SmallIntegerField('类型', | |
choices=( | |
(1, '喜剧'), (2, '爱情'), (3, '恐怖'), (4, '动作'), (5, '科幻'), (6, '剧情'), | |
(7, '战争'), | |
(8, '警匪'), (9, '犯罪'), (10, '动画'), (11, '奇幻'), (12, '冒险')), | |
default=0) | |
movie_fen = models.SmallIntegerField('评分', | |
choices=( | |
(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), | |
(7, '7'), | |
(8, '8'), (9, '9'), (10, '10')), | |
default=0) | |
movie_di = models.SmallIntegerField('地区', | |
choices=( | |
(1, '大陆'), (2, '欧美'), (3, '台湾'), (4, '香港'), (5, '日本'), (6, '韩国'), (7, '印度'), | |
(8, '泰国'), (9, '其他')), | |
default=0) | |
movie_yer = models.SmallIntegerField('年代', | |
choices=( | |
(2018, '2018'), (2017, '2017'), (2016, '2016'), (2015, '2015'), | |
(2014, '2014'), | |
(2013, '2013'), | |
(2012, '2012'), | |
(2011, '2011'), (2010, '2010'), (2009, '2009'), (2008, '2008'), | |
(2007, '2007')), | |
default=0) | |
movie_jie = models.TextField('简介') | |
views = models.PositiveIntegerField('观看量', default=0) | |
def __str__(self): | |
return self.movie_name | |
def increase_views(self): | |
self.views += 1 | |
self.save(update_fields=['views']) | |
class Meta: | |
verbose_name = '电视剧' | |
verbose_name_plural = '电视剧' | |
# ============================================== # | |
# 电视分集 | |
# ============================================== # | |
class Fen(models.Model): | |
mei = models.ForeignKey(More, on_delete=models.CASCADE, | |
verbose_name='名字') | |
movie_uuid = models.CharField('UUID', max_length=500, default=uuid.uuid1()) | |
movie_lei_z = models.SmallIntegerField('种类', | |
choices=( | |
(1, 'URL'), (2, 'ZHU'), (3, 'ZAI'), (4, 'PAN'), (5, 'MOM')), | |
default=0) | |
number = models.CharField('视频ID或链接', max_length=1000) | |
movies_ji = models.CharField('第n集', max_length=250) | |
def __str__(self): | |
return self.movies_ji | |
class Meta: | |
verbose_name = '分集' | |
verbose_name_plural = '分集' | |
# ============================================== # | |
# 电影评论 | |
# ============================================== # | |
class Vcomment(models.Model): | |
comment_id = models.ForeignKey(Movie, on_delete=models.CASCADE, verbose_name='电影名字') | |
comment_name = models.CharField('用户名', max_length=250) | |
comment_header = models.CharField('用户头像', max_length=1000) | |
comment_text = models.TextField('评论内容') | |
comment_time = models.DateTimeField('评论时间', default=datetime.datetime.now()) | |
def __str__(self): | |
return self.comment_text[:10] + '...' | |
class Meta: | |
verbose_name = '电影评论' | |
verbose_name_plural = verbose_name | |
# ============================================== # | |
# 电影评论回复 | |
# ============================================== # | |
class Vcommentto(models.Model): | |
comment_id = models.ForeignKey(Vcomment, on_delete=models.CASCADE, verbose_name='电影评论') | |
comment_name = models.CharField('用户名', max_length=250) | |
comment_header = models.CharField('用户头像', max_length=1000) | |
comment_text = models.TextField('回复内容') | |
comment_time = models.DateTimeField('回复时间', default=datetime.datetime.now()) | |
def __str__(self): | |
return self.comment_text[:10] + '...' | |
class Meta: | |
verbose_name = '电影评论回复' | |
verbose_name_plural = verbose_name | |
# ============================================== # | |
# 电视剧评论 | |
# ============================================== # | |
class Mcomment(models.Model): | |
comment_id = models.ForeignKey(More, on_delete=models.CASCADE, verbose_name='电视剧名字') | |
comment_name = models.CharField('用户名', max_length=250) | |
comment_header = models.CharField('用户头像', max_length=1000) | |
comment_text = models.TextField('评论内容') | |
comment_time = models.DateTimeField('评论时间', default=datetime.datetime.now()) | |
def __str__(self): | |
return self.comment_text[:10] + '...' | |
class Meta: | |
verbose_name = '电视剧评论' | |
verbose_name_plural = verbose_name | |
# ============================================== # | |
# 电视剧评论回复 | |
# ============================================== # | |
class Mcommentto(models.Model): | |
comment_id = models.ForeignKey(Mcomment, on_delete=models.CASCADE, verbose_name='电视剧评论') | |
comment_name = models.CharField('用户名', max_length=250) | |
comment_header = models.CharField('用户头像', max_length=1000) | |
comment_text = models.TextField('回复内容') | |
comment_time = models.DateTimeField('回复时间', default=datetime.datetime.now()) | |
def __str__(self): | |
return self.comment_text[:10] + '...' | |
class Meta: | |
verbose_name = '电视剧评论回复' | |
verbose_name_plural = verbose_name |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import re | |
import requests | |
import random | |
import execjs | |
i = random.randint(100, 2000) | |
proxies = { | |
"http": "http://106.75.226.36:808", | |
"http": "http://118.190.95.35:9001", | |
"http": "http://61.135.217.7:80", | |
"http": "http://122.237.106.56:80", | |
"http": "http://171.37.160.231:8123", | |
"http": "http://125.81.57.229:8123", | |
"http": "http://39.90.212.102:48910", | |
"http": "http://119.31.210.170:7777", | |
"http": "http://210.26.124.143:808", | |
"http": "http://59.37.18.243:3128", | |
"http": "http://113.200.56.13:8010", | |
"http": "http://183.129.207.74:14823", | |
"http": "http://183.129.207.84:21231", | |
"http": "http://61.128.208.94:3128", | |
"http": "http://218.14.115.211:3128", | |
"http": "http://183.129.207.80:21776", | |
} | |
headers = { | |
'Referer': 'http://www.1993s.top/video/{}-1-1.html'.format(i), | |
} | |
# ============================================== | |
# 在线资源 | |
# ============================================== | |
def get_movie(id): | |
url = "https://zxzj.hcc11.com/ParsePlayer/Player/Index/2/?url=" + id | |
response2 = requests.get(url, headers=headers, proxies=proxies).text | |
find_text = re.findall("url = '(.*?)'", response2)[0] | |
if '189' in find_text: | |
sp = find_text.split('x-amz-UID') | |
s = re.findall('Expires=([\d]{3})', find_text)[0] | |
a = sp[1].split(s) | |
find_url = sp[0] + 'x-amz-UID' + a[0] + a[1][3:] | |
return find_url | |
elif 'Cloud/Down' in find_text: | |
finds = 'https://zxzj.hcc11.com/' + find_text | |
try: | |
requests.get(finds, timeout=2) | |
return '稍等!' | |
except: | |
return '稍等!' | |
else: | |
return find_text | |
# =============================================== | |
# A盘资源 | |
# =============================================== | |
def get_a(data_id): | |
url = "http://pan.jiexivip.com/api.php?id={}".format(data_id) | |
headers = { | |
"Referer": r"http://pan.jiexivip.com", | |
} | |
find_url = requests.get(url, headers=headers).json()['video'].replace('\\', '') | |
return find_url | |
# 龙珠资源 | |
def get_zhu(id): | |
url = "http://www.lzvod.net/player/?type=LB&vkey={}".format(id) | |
headers = { | |
"Referer": url, | |
} | |
response = requests.get(url, headers=headers, timeout=2000) | |
response.encoding = "utf-8" | |
html = response.text | |
re_url = "var my_url = '(.*?)';" | |
re_ckey = "var ckey = '(.*?)';" | |
re_type = "type = '(.*?)';" | |
re_vkey = "var vkey = '(.*?)';" | |
my_url = re.findall(re_url, html)[0] | |
ckey = re.findall(re_ckey, html)[0] | |
type = re.findall(re_type, html)[0] | |
vkey = re.findall(re_vkey, html)[0] | |
url = 'http://www.lzvod.net/player/1suplayer.php' | |
data = { | |
'ckey': ckey, | |
'my_url': my_url, | |
'refres': 1, | |
'type': type, | |
'vkey': int(vkey), | |
} | |
headers = { | |
'Host': 'www.lzvod.net', | |
'Origin': 'http://www.lzvod.net', | |
'Referer': my_url, | |
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36', | |
'X-Requested-With': 'XMLHttpRequest' | |
} | |
html = requests.post(url, data=data, headers=headers).json() | |
try: | |
find = html['url'] | |
return find | |
except: | |
return '稍等!' | |
# ========================================== | |
# Mo资源 | |
# ========================================== | |
def get_mom(id): | |
url = 'http://www.novipnoad.com/movie/{}.html'.format(id) | |
headers = { | |
'Referer': url, | |
'User-Agent': 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36' | |
} | |
he = { | |
'Host': 'bonjour.sc2yun.com', | |
'Referer': url, | |
'User-Agent': 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36' | |
} | |
html = requests.get(url, headers=headers).text | |
vid = re.findall('vid="(.*?)"', html)[0] | |
pkey = re.findall('pkey="(.*?)"', html)[0] | |
ref = url.replace('http://www.novipnoad.com', '') | |
data_url = 'http://bonjour.sc2yun.com/v1/?url={}&pkey={}&ref={}'.format(vid, pkey, ref) | |
html_data = requests.get(data_url, headers=he).text | |
ckey = re.findall("ckey: '(.*?)',", html_data)[0] | |
refs = re.findall("ref: '(.*?)',", html_data)[0] | |
ip_data = re.findall("ip: '(.*?)',", html_data)[0] | |
dves = re.findall('device=(.*?)"', html_data)[0] | |
url_data_to = 'http://bonjour.sc2yun.com/v1/player.php?id={}&device={}'.format(vid, dves) | |
h = { | |
'Referer': data_url, | |
'User-Agent': 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36' | |
} | |
s = (ckey, ref, ip_data, url_data_to) | |
data = requests.get(url_data_to, headers=h).text | |
d = 'http:' + re.findall('src="(.*?)&ckey', data)[0] | |
girl = get_data(d, ckey, refs, ip_data, url_data_to) | |
return girl | |
def get_data(d, ckey, refs, id_data, url_data): | |
f = ''' | |
function add(){ | |
var t = new Date().getTime() | |
return t | |
} | |
function adds(r){ | |
var t = encodeURIComponent(r) | |
return t | |
} | |
''' | |
ctx = execjs.compile(f) | |
time_data = ctx.call('add') | |
ref = ctx.call('adds', refs) | |
url = '{}&ckey={}&ref={}&ip={}&time={}'.format(d, ckey, ref, id_data, time_data) | |
headers = { | |
'Host': 'getlink.applinzi.com', | |
'User-Agent': 'Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36', | |
'Referer': url_data, | |
} | |
html = requests.get(url, headers=headers).text | |
girl = re.findall('decrypt\("(.*?)"', html)[0] | |
return girl | |
get_zhu(9147022258482765) |
from django.test import TestCase | |
# Create your tests here. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from django.urls import path | |
from . import views | |
urlpatterns = [ | |
path('', views.index, name='index'), | |
path('play/video-<int:play_id>/', views.play, name='play'), | |
path('list/<int:head_id>/', views.movie, name='list'), | |
path('ju/<int:lei_id>/', views.lei, name='ju'), | |
path('yer/<int:yer_id>/', views.yer, name='yer'), | |
path('di/<int:di_id>/', views.di, name='di'), | |
path('fen/<int:fen_id>/', views.fens, name='fen'), | |
path('more/<int:mei_id>/', views.meijus, name='more'), | |
path('mplay/<int:play_id>/', views.meiplay, name='meiplay'), | |
path('data/json/', views.playjson), | |
path('meidata/json/', views.meiplayjson), | |
path('getdata/json/', views.get_m_json), | |
path('postcomment/', views.post_comment), | |
path('postcommenttocoment/', views.post_commentto), | |
path('getcomment/', views.get_comment), | |
path('reg/', views.reg, name='reg'), | |
path('login/', views.logins, name='login'), | |
path('logout/', views.loginout, name='loginout'), | |
path('search/', views.search, name='search'), | |
] |
from .models import Movie, More, Fen, Vcomment, Vcommentto, Mcomment, Mcommentto | |
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger | |
from django.shortcuts import render, get_object_or_404, HttpResponse, HttpResponseRedirect | |
import json | |
from .movie import get_movie, get_zhu, get_a, get_mom | |
from django.db.models import Q | |
from django.contrib.auth import authenticate, login, logout | |
from django.contrib.auth.models import User | |
from django.contrib.auth.hashers import make_password | |
def fen(request, contact_list): | |
paginator = Paginator(contact_list, 18) | |
page = request.GET.get('page') | |
try: | |
context = paginator.page(page) | |
return context | |
except PageNotAnInteger: | |
context = paginator.page(1) | |
return context | |
except EmptyPage: | |
context = paginator.page(paginator.num_pages) | |
return context | |
# 主页 | |
def index(request): | |
# 电影,轮播图 | |
context_mv = Movie.objects.filter(movie_head=1)[::-1][:10] | |
context_lun = Movie.objects.filter(movie_lun=1)[::-1][:6] | |
# 美剧,韩剧,综艺,动漫 | |
context_mei = More.objects.filter(movie_head=2)[::-1][:10] | |
context_han = More.objects.filter(movie_head=3)[::-1][:10] | |
context_ji = More.objects.filter(movie_head=4)[::-1][:10] | |
context_man = More.objects.filter(movie_head=5)[::-1][:10] | |
# 电影热播 | |
ren_list_m = Movie.objects.all()[:18] | |
ren_list_mei = More.objects.filter(movie_head=2)[:18] | |
ren_list_han = More.objects.filter(movie_head=3)[:18] | |
ren_list_ji = More.objects.filter(movie_head=4)[:18] | |
ren_list_man = More.objects.filter(movie_head=5)[:18] | |
return render(request, 'movie/index.html', {'context_mv': context_mv, 'context_lun': context_lun, | |
'context_mei': context_mei, 'context_han': context_han, | |
'context_ji': context_ji, | |
'context_man': context_man, 'ren_list_m': ren_list_m, | |
'ren_list_mei': ren_list_mei, 'ren_list_han': ren_list_han, | |
'ren_list_man': ren_list_man, 'ren_list_ji': ren_list_ji}) | |
# 电影,等类型 | |
def movie(request, head_id): | |
context_mv = Movie.objects.filter(movie_head=head_id)[::-1] | |
number = len(context_mv) | |
context = fen(request, context_mv) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 按剧情分类 | |
def lei(request, lei_id): | |
context_mv = Movie.objects.filter(movie_lei=lei_id)[::-1] | |
number = len(context_mv) | |
context = fen(request, context_mv) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 按照年代分类 | |
def yer(request, yer_id): | |
context_mv = Movie.objects.filter(movie_yer=yer_id)[::-1] | |
number = len(context_mv) | |
context = fen(request, context_mv) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 按照地区分类 | |
def di(request, di_id): | |
context_mv = Movie.objects.filter(movie_di=di_id)[::-1] | |
number = len(context_mv) | |
context = fen(request, context_mv) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 按照评分分类 | |
def fens(request, fen_id): | |
context_mv = Movie.objects.filter(movie_fen=fen_id)[::-1] | |
number = len(context_mv) | |
context = fen(request, context_mv) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 电影播放页 | |
def play(request, play_id): | |
movies = get_object_or_404(Movie, pk=play_id) | |
movies.increase_views() | |
ren_list = Movie.objects.all()[:12] | |
return render(request, 'movie/play.html', {'movie': movies, 'ren_list': ren_list}) | |
# 美剧全部页 | |
def meijus(request, mei_id): | |
context_mei = More.objects.filter(movie_head=mei_id)[::-1] | |
number = len(context_mei) | |
context = fen(request, context_mei) | |
return render(request, 'movie/more.html', {'context': context, 'number': number}) | |
# 美剧播放页 | |
def meiplay(request, play_id): | |
movies = More.objects.filter(id=play_id)[0] | |
movies.increase_views() | |
ren_list = Movie.objects.all()[::-1][:12] | |
return render(request, 'movie/play.html', {'movie': movies, 'ren_list': ren_list}) | |
def playjson(request): | |
uuid = request.POST.get('uuid') | |
da = Movie.objects.filter(movie_uuid=uuid)[0] | |
id = da.number | |
if da.movie_lei_z == 2: | |
url = get_zhu(id) | |
elif da.movie_lei_z == 3: | |
url = get_movie(id) | |
elif da.movie_lei_z == 4: | |
url = get_a(id) | |
elif da.movie_lei_z == 5: | |
url = get_mom(id) | |
else: | |
url = da.number | |
data = {'result': '获取成功!', 'data_url': url} | |
return HttpResponse(json.dumps(data)) | |
# 美剧列表 | |
def meiplayjson(request): | |
data_id = request.POST.get('uuid') | |
mei_list = Fen.objects.filter(mei_id=data_id) | |
uuid_list = [a.id for a in mei_list] | |
da = mei_list[0] | |
id = da.number | |
if da.movie_lei_z == 2: | |
url = get_zhu(id) | |
elif da.movie_lei_z == 3: | |
url = get_movie(id) | |
else: | |
url = da.number | |
data = {'result': '获取成功!', 'uuid_list': uuid_list, 'data_url': url} | |
return HttpResponse(json.dumps(data)) | |
# 单个美剧 | |
def get_m_json(request): | |
data_id = request.POST.get('uuid') | |
data_fen = get_object_or_404(Fen, pk=data_id) | |
if data_fen.movie_lei_z == 2: | |
id = data_fen.number | |
url = get_zhu(id) | |
elif data_fen.movie_lei_z == 3: | |
id = data_fen.number | |
url = get_movie(id) | |
elif data_fen.movie_lei_z == 4: | |
id = data_fen.number | |
url = get_a(id) | |
elif data_fen.movie_lei_z == 5: | |
id = data_fen.number | |
url = get_mom(id) | |
else: | |
url = data_fen.number | |
data = {'result': '获取成功!', 'data_url': url} | |
return HttpResponse(json.dumps(data)) | |
# 提交评论 | |
def post_comment(request): | |
mcomment = Mcomment() | |
vcomment = Vcomment() | |
comment_data = request.POST.get('comment_id') | |
comment_id = comment_data.replace('mplay/', 'play/video-').split('-')[1].replace('/', '') | |
comment_name = request.POST.get('comment_name') | |
comment_header = request.POST.get('comment_header') | |
comment_text = request.POST.get('comment_text') | |
if 'mplay' in comment_data: | |
mcomment.comment_id_id = comment_id | |
mcomment.comment_name = comment_name | |
mcomment.comment_header = comment_header | |
mcomment.comment_text = comment_text | |
mcomment.save() | |
else: | |
vcomment.comment_id_id = comment_id | |
vcomment.comment_name = comment_name | |
vcomment.comment_header = comment_header | |
vcomment.comment_text = comment_text | |
vcomment.save() | |
data = {'result': '提交成功!'} | |
return HttpResponse(json.dumps(data)) | |
# 提交回复 | |
def post_commentto(request): | |
mcommentto = Mcommentto() | |
vcommentto = Vcommentto() | |
comment_data = request.POST.get('comment_data') | |
comment_id = request.POST.get('comment_id') | |
comment_name = request.POST.get('comment_name') | |
comment_header = request.POST.get('comment_header') | |
comment_text = request.POST.get('comment_text') | |
if 'mplay' in comment_data: | |
mcommentto.comment_id_id = comment_id | |
mcommentto.comment_name = comment_name | |
mcommentto.comment_header = comment_header | |
mcommentto.comment_text = comment_text | |
mcommentto.save() | |
else: | |
vcommentto.comment_id_id = comment_id | |
vcommentto.comment_name = comment_name | |
vcommentto.comment_header = comment_header | |
vcommentto.comment_text = comment_text | |
vcommentto.save() | |
data = {'result': '提交回复成功!'} | |
return HttpResponse(json.dumps(data)) | |
# 获取评论 | |
def get_comment(request): | |
comment_data = request.POST.get('comment_id') | |
comment_id = comment_data.replace('mplay/', 'play/video-').split('-')[1].replace('/', '') | |
if 'mplay' in comment_data: | |
ad_user = get_object_or_404(User, pk=1).username | |
comment_list = Mcomment.objects.filter(comment_id_id=comment_id)[::-1] | |
comment_list_json = [] | |
if len(comment_list) > 0: | |
for comment in comment_list: | |
get_comment_list = Mcommentto.objects.filter(comment_id_id=comment.id) | |
comment_to_list = [] | |
for comment_to in get_comment_list: | |
a_li = { | |
"comment_id": comment.id, | |
"comment_name": comment_to.comment_name.replace(ad_user, '站主'), | |
"comment_header": comment_to.comment_header, | |
"comment_text": comment_to.comment_text, | |
"comment_time": str(comment_to.comment_time)[:16], | |
} | |
comment_to_list.append(a_li) | |
b_li = { | |
"comment_id": comment.id, | |
"comment_name": comment.comment_name.replace(ad_user, '站主'), | |
"comment_header": comment.comment_header, | |
"comment_text": comment.comment_text, | |
"comment_time": str(comment.comment_time)[:16], | |
"comment_to_comment": comment_to_list | |
} | |
comment_list_json.append(b_li) | |
find = {"result": "获取成功!", "data": comment_list_json} | |
return HttpResponse(json.dumps(find)) | |
else: | |
return HttpResponse(json.dumps({'result': "暂时没有评论!"})) | |
else: | |
ad_user = get_object_or_404(User, pk=1).username | |
comment_list = Vcomment.objects.filter(comment_id_id=comment_id)[::-1] | |
comment_list_json = [] | |
if len(comment_list) > 0: | |
for comment in comment_list: | |
get_comment_list = Vcommentto.objects.filter(comment_id_id=comment.id) | |
comment_to_list = [] | |
for comment_to in get_comment_list: | |
a_li = { | |
"comment_id": comment.id, | |
"comment_name": comment_to.comment_name.replace(ad_user, '站主'), | |
"comment_header": comment_to.comment_header, | |
"comment_text": comment_to.comment_text, | |
"comment_time": str(comment_to.comment_time)[:16], | |
} | |
comment_to_list.append(a_li) | |
b_li = { | |
"comment_id": comment.id, | |
"comment_name": comment.comment_name.replace(ad_user, '站主'), | |
"comment_header": comment.comment_header, | |
"comment_text": comment.comment_text, | |
"comment_time": str(comment.comment_time)[:16], | |
"comment_to_comment": comment_to_list | |
} | |
comment_list_json.append(b_li) | |
find = {"result": "获取成功!", "data": comment_list_json} | |
return HttpResponse(json.dumps(find)) | |
else: | |
return HttpResponse(json.dumps({'result': "暂时没有评论!"})) | |
# 注册 | |
def reg(request): | |
if request.method == 'POST': | |
user_data = User() | |
username = request.POST.get('username') | |
email = request.POST.get('email') | |
password = request.POST.get('password') | |
password = make_password(password) | |
try: | |
user_data.username = username | |
user_data.email = email | |
user_data.password = password | |
user_data.save() | |
data = {'result': '注册成功!'} | |
return HttpResponse(json.dumps(data)) | |
except: | |
data = {'result': '注册失败!'} | |
return HttpResponse(json.dumps(data)) | |
else: | |
return render(request, 'movie/register.html') | |
# 登录 | |
def logins(request): | |
if request.method == 'POST': | |
username = request.POST.get('username') | |
password = request.POST.get('password') | |
user = authenticate(request, username=username, password=password) | |
if user is not None: | |
login(request, user) | |
data = {'result': '登录成功!'} | |
return HttpResponse(json.dumps(data)) | |
else: | |
data = {'result': '登录失败!'} | |
return HttpResponse(json.dumps(data)) | |
else: | |
return render(request, 'movie/login.html') | |
# 登出 | |
def loginout(request): | |
logout(request) | |
return HttpResponseRedirect('/') | |
# 搜索电影 | |
def search(request): | |
q = request.GET.get('q') | |
post_list = Movie.objects.filter(Q(movie_name__icontains=q) | Q(movie_jie__icontains=q)) | |
mei_list = More.objects.filter(Q(movie_name__icontains=q) | Q(movie_jie__icontains=q)) | |
return render(request, 'movie/search.html', {'context': post_list, 'mei_list': mei_list}) | |
""" | |
Django settings for moviewb project. | |
Generated by 'django-admin startproject' using Django 2.0.4. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/2.0/topics/settings/ | |
For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/2.0/ref/settings/ | |
""" | |
import os | |
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) | |
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
# Quick-start development settings - unsuitable for production | |
# See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ | |
# SECURITY WARNING: keep the secret key used in production secret! | |
SECRET_KEY = 't3#3smbw5k%=y^n6+w@=!+(rzwe4frmssvk_e5(g+flqhr*xav' | |
# SECURITY WARNING: don't run with debug turned on in production! | |
DEBUG = True | |
ALLOWED_HOSTS = ['127.0.0.1', '39.108.216.131', 'localhost'] | |
# ALLOWED_HOSTS = ['*'] | |
# Application definition | |
INSTALLED_APPS = [ | |
'movie.apps.MovieConfig', | |
'django.contrib.admin', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.messages', | |
'django.contrib.staticfiles', | |
'xadmin', | |
'crispy_forms', | |
] | |
MIDDLEWARE = [ | |
'django.middleware.security.SecurityMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.clickjacking.XFrameOptionsMiddleware', | |
] | |
ROOT_URLCONF = 'moviewb.urls' | |
TEMPLATES = [ | |
{ | |
'BACKEND': 'django.template.backends.django.DjangoTemplates', | |
'DIRS': [os.path.join(BASE_DIR, 'templates')] | |
, | |
'APP_DIRS': True, | |
'OPTIONS': { | |
'context_processors': [ | |
'django.template.context_processors.debug', | |
'django.template.context_processors.request', | |
'django.contrib.auth.context_processors.auth', | |
'django.contrib.messages.context_processors.messages', | |
], | |
}, | |
}, | |
] | |
WSGI_APPLICATION = 'moviewb.wsgi.application' | |
# Database | |
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.mysql', | |
'NAME': 'wbmovie', | |
'USER': 'root', | |
'PASSWORD': 'zhangxiang', | |
'HOST': '127.0.0.1', | |
'PORT': '3306', | |
'CHARSET': 'utf8', | |
} | |
} | |
# Password validation | |
# https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators | |
AUTH_PASSWORD_VALIDATORS = [ | |
{ | |
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', | |
}, | |
{ | |
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', | |
}, | |
{ | |
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', | |
}, | |
{ | |
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', | |
}, | |
] | |
# Internationalization | |
# https://docs.djangoproject.com/en/2.0/topics/i18n/ | |
LANGUAGE_CODE = 'zh-hans' | |
TIME_ZONE = 'Asia/Shanghai' | |
USE_I18N = True | |
USE_L10N = True | |
USE_TZ = True | |
# Static files (CSS, JavaScript, Images) | |
# https://docs.djangoproject.com/en/2.0/howto/static-files/ | |
STATIC_URL = '/static/' | |
# STATIC_ROOT = os.path.join(BASE_DIR, 'static') | |
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")] | |
# sudo ln -s /etc/nginx/sites-available/vive.cn /etc/nginx/sites-enabled/vive.cn | |
# source env/bin/activate | |
# gunicorn --bind unix:/tmp/vive.cn.socket moviewb.wsgi:application | |
# gunicorn --bind unix:/tmp/zhang18.top.socket wbmovie.wsgi:application | |
# gunicorn moviewb.wsgi:application -w 4 -b 0.0.0.0:8000 | |
# gunicorn wbblog.wsgi:application -w 4 -b 0.0.0.0:8001 |
from django.contrib import admin | |
from django.urls import path,include | |
import xadmin | |
urlpatterns = [ | |
path('xadmin/', xadmin.site.urls), | |
path('admin/', admin.site.urls), | |
path('',include('movie.urls')), | |
] |
""" | |
WSGI config for moviewb project. | |
It exposes the WSGI callable as a module-level variable named ``application``. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ | |
""" | |
import os | |
from django.core.wsgi import get_wsgi_application | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "moviewb.settings") | |
application = get_wsgi_application() |
-----BEGIN PRIVATE KEY----- | |
MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDLkOfNx6YdyiHV | |
2Mr/8HhdB/6GmIS+Fm1RHnNQDhfSKXHU/T11t9Y7zsQYsAGa07Pv47R/G5D6NUKY | |
fuR8mr8jw44dGfI6PWyeuak5B+WnJp4LZ7/ukis2ft6BwM28UpTIQss39g2UdndL | |
96u4blRwnN7jQG95DbxklPL/Vjl8AQmFgLWiH8nvtqaHmwn7TGSnEOnvsqWaRSIn | |
D2kNbWXxOaKI0lN2WWXxqlH3r//ZYNWzGNE/U7byqRiRdPSlsDveuhe8JU7uoiVe | |
XhbzvkNIwm2j9O43BDTp7MZvtt2ix42YYOBkkE/8g1VO6EIZep3o33WRJhywWIGy | |
GXA1bbWRAgMBAAECggEBAIb6AynIKtZv07WW9St1iGmvRk56zPG5ryxtc2punc7l | |
Wiwu6lSm2+92L0JrWfUOUK5Mnr71SVEOhaTV5qzUcs7E+PNE4/9IAUDRvGorWVRW | |
386SMYp/8xVEVEdWz1QCsdKDr3ngtapuTrXZeExnI6gz6/plHET5HaTXurQhuSYF | |
3WXHI0JwbsL9JgY61Vs0WvIYeKUqI8XvZ41xKxchoQkd8J2iSDKnm1rAhv86GaBD | |
hWgl7xvXJU/sZKyvR4uD+g8C9C6bRoh6ZGwgjpweW08mXfV2TED8mu9IX4gUHRDq | |
UI79nbVzNjtb9ZU6wkI05GeA+o+tykXfuXAruiOgnM0CgYEA/1zT7XqYBzhee/7g | |
vUq5Rw8b3UDaQu/B6X+DUjnZzKeKJz+zVKzATi4TrYzTb4+qOM2d/tEgPrht2sO9 | |
9Vl9fVBCyz3F/0Vj0EcwO+9VxNbeEm4F0gDhWacVoiDtwcSBSAA/pDLXDwziE+OX | |
dyChNBGEeD5BeX35ZTu1a8lZIisCgYEAzBL7BaMQTfZ9/8GXCBxR1Dd1K/2ffTGH | |
5WDIy1potE5f/mzYeqrAyxIlzHkKf2/mHv4e1gaA5WnmATTsFMEibyxd0YS4Y/Uj | |
vwcvTOgpCa3lMrXDvcBF0KbbyoGa0Ln4khbM4ywyviw1Hi7gUm70RgPKReSdVM4g | |
sU2TaOZLNTMCgYBGb7dxMLiQfUbqktIwxFS4uf0omUPa5MErA+YYHybpYWklDFgN | |
yhy9M85vt4F2qzz7sBOdfteTFVIP3qAd9dI8Z5AU+XQMxnoSsCAo2ApjYhUdJkXq | |
uB1wmjrIXqbWJLq4PoFPbEqPtzEA5W0ZCeINN6u/cwSiW1IYT1Dqaz5vwwKBgQCp | |
LuMknTcbK0ryCVBozPGZ+hAN1EmwxKthIofU7rL3KDK0/w/JQl5q/DSR+5cUZ3Rk | |
JVDzJpkdmFmyjmlaG3Osrx9oX5tuYwCrkg1IuP+sopntHHuWiBxZCrwUerYabNMC | |
ahyaCT5YItY2m64lKQ8iLGo433r/n5PC6glXYfTfuQKBgQDfu9wNL0ZTBnb4/w/0 | |
BnJhsNL8A6YOceNV9ELEKrVZm4X4e7RAnuRH1wae+VJA6jUY8x+HABRRQxie4rpt | |
a6ZuotOPHxIj33s8rIhkvu7sY8fjJ4ZQYuOSdcOxJCWcg2Q/KcB8pnW7xiVt1DOH | |
0n0CxbOd8Ngm2anWL7bT7V5q5g== | |
-----END PRIVATE KEY----- |
/*! | |
* Bootstrap v3.3.7 (http://getbootstrap.com) | |
* Copyright 2011-2016 Twitter, Inc. | |
* Licensed under the MIT license | |
*/ | |
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){document===a.target||this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);if(this.$element.trigger(g),!g.isDefaultPrevented())return f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=window.SVGElement&&c instanceof window.SVGElement,g=d?{top:0,left:0}:f?null:b.offset(),h={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},i=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,h,i,g)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){ | |
this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.7",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e<c&&"top";if("bottom"==this.affixed)return null!=c?!(e+this.unpin<=f.top)&&"bottom":!(e+g<=a-d)&&"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&e<=c?"top":null!=d&&i+j>=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); |
/*! | |
* Flickity PACKAGED v2.0.10 | |
* Touch, responsive, flickable carousels | |
* | |
* Licensed GPLv3 for open source use | |
* or Flickity Commercial License for commercial use | |
* | |
* http://flickity.metafizzy.co | |
* Copyright 2017 Metafizzy | |
*/ | |
!function (t, e) { | |
"function" == typeof define && define.amd ? define("jquery-bridget/jquery-bridget", ["jquery"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("jquery")) : t.jQueryBridget = e(t, t.jQuery) | |
}(window, function (t, e) { | |
"use strict"; | |
function i(i, o, a) { | |
function h(t, e, n) { | |
var s, o = "$()." + i + '("' + e + '")'; | |
return t.each(function (t, h) { | |
var l = a.data(h, i); | |
if (!l) return void r(i + " not initialized. Cannot call methods, i.e. " + o); | |
var c = l[e]; | |
if (!c || "_" == e.charAt(0)) return void r(o + " is not a valid method"); | |
var d = c.apply(l, n); | |
s = void 0 === s ? d : s | |
}), void 0 !== s ? s : t | |
} | |
function l(t, e) { | |
t.each(function (t, n) { | |
var s = a.data(n, i); | |
s ? (s.option(e), s._init()) : (s = new o(n, e), a.data(n, i, s)) | |
}) | |
} | |
a = a || e || t.jQuery, a && (o.prototype.option || (o.prototype.option = function (t) { | |
a.isPlainObject(t) && (this.options = a.extend(!0, this.options, t)) | |
}), a.fn[i] = function (t) { | |
if ("string" == typeof t) { | |
var e = s.call(arguments, 1); | |
return h(this, t, e) | |
} | |
return l(this, t), this | |
}, n(a)) | |
} | |
function n(t) { | |
!t || t && t.bridget || (t.bridget = i) | |
} | |
var s = Array.prototype.slice, o = t.console, r = "undefined" == typeof o ? function () { | |
} : function (t) { | |
o.error(t) | |
}; | |
return n(e || t.jQuery), i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("ev-emitter/ev-emitter", e) : "object" == typeof module && module.exports ? module.exports = e() : t.EvEmitter = e() | |
}("undefined" != typeof window ? window : this, function () { | |
function t() { | |
} | |
var e = t.prototype; | |
return e.on = function (t, e) { | |
if (t && e) { | |
var i = this._events = this._events || {}, n = i[t] = i[t] || []; | |
return n.indexOf(e) == -1 && n.push(e), this | |
} | |
}, e.once = function (t, e) { | |
if (t && e) { | |
this.on(t, e); | |
var i = this._onceEvents = this._onceEvents || {}, n = i[t] = i[t] || {}; | |
return n[e] = !0, this | |
} | |
}, e.off = function (t, e) { | |
var i = this._events && this._events[t]; | |
if (i && i.length) { | |
var n = i.indexOf(e); | |
return n != -1 && i.splice(n, 1), this | |
} | |
}, e.emitEvent = function (t, e) { | |
var i = this._events && this._events[t]; | |
if (i && i.length) { | |
i = i.slice(0), e = e || []; | |
for (var n = this._onceEvents && this._onceEvents[t], s = 0; s < i.length; s++) { | |
var o = i[s], r = n && n[o]; | |
r && (this.off(t, o), delete n[o]), o.apply(this, e) | |
} | |
return this | |
} | |
}, e.allOff = function () { | |
delete this._events, delete this._onceEvents | |
}, t | |
}), function (t, e) { | |
"use strict"; | |
"function" == typeof define && define.amd ? define("get-size/get-size", [], function () { | |
return e() | |
}) : "object" == typeof module && module.exports ? module.exports = e() : t.getSize = e() | |
}(window, function () { | |
"use strict"; | |
function t(t) { | |
var e = parseFloat(t), i = t.indexOf("%") == -1 && !isNaN(e); | |
return i && e | |
} | |
function e() { | |
} | |
function i() { | |
for (var t = { | |
width: 0, | |
height: 0, | |
innerWidth: 0, | |
innerHeight: 0, | |
outerWidth: 0, | |
outerHeight: 0 | |
}, e = 0; e < l; e++) { | |
var i = h[e]; | |
t[i] = 0 | |
} | |
return t | |
} | |
function n(t) { | |
var e = getComputedStyle(t); | |
return e || a("Style returned " + e + ". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"), e | |
} | |
function s() { | |
if (!c) { | |
c = !0; | |
var e = document.createElement("div"); | |
e.style.width = "200px", e.style.padding = "1px 2px 3px 4px", e.style.borderStyle = "solid", e.style.borderWidth = "1px 2px 3px 4px", e.style.boxSizing = "border-box"; | |
var i = document.body || document.documentElement; | |
i.appendChild(e); | |
var s = n(e); | |
o.isBoxSizeOuter = r = 200 == t(s.width), i.removeChild(e) | |
} | |
} | |
function o(e) { | |
if (s(), "string" == typeof e && (e = document.querySelector(e)), e && "object" == typeof e && e.nodeType) { | |
var o = n(e); | |
if ("none" == o.display) return i(); | |
var a = {}; | |
a.width = e.offsetWidth, a.height = e.offsetHeight; | |
for (var c = a.isBorderBox = "border-box" == o.boxSizing, d = 0; d < l; d++) { | |
var u = h[d], f = o[u], p = parseFloat(f); | |
a[u] = isNaN(p) ? 0 : p | |
} | |
var v = a.paddingLeft + a.paddingRight, g = a.paddingTop + a.paddingBottom, | |
m = a.marginLeft + a.marginRight, y = a.marginTop + a.marginBottom, | |
E = a.borderLeftWidth + a.borderRightWidth, S = a.borderTopWidth + a.borderBottomWidth, b = c && r, | |
x = t(o.width); | |
x !== !1 && (a.width = x + (b ? 0 : v + E)); | |
var C = t(o.height); | |
return C !== !1 && (a.height = C + (b ? 0 : g + S)), a.innerWidth = a.width - (v + E), a.innerHeight = a.height - (g + S), a.outerWidth = a.width + m, a.outerHeight = a.height + y, a | |
} | |
} | |
var r, a = "undefined" == typeof console ? e : function (t) { | |
console.error(t) | |
}, | |
h = ["paddingLeft", "paddingRight", "paddingTop", "paddingBottom", "marginLeft", "marginRight", "marginTop", "marginBottom", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "borderBottomWidth"], | |
l = h.length, c = !1; | |
return o | |
}), function (t, e) { | |
"use strict"; | |
"function" == typeof define && define.amd ? define("desandro-matches-selector/matches-selector", e) : "object" == typeof module && module.exports ? module.exports = e() : t.matchesSelector = e() | |
}(window, function () { | |
"use strict"; | |
var t = function () { | |
var t = window.Element.prototype; | |
if (t.matches) return "matches"; | |
if (t.matchesSelector) return "matchesSelector"; | |
for (var e = ["webkit", "moz", "ms", "o"], i = 0; i < e.length; i++) { | |
var n = e[i], s = n + "MatchesSelector"; | |
if (t[s]) return s | |
} | |
}(); | |
return function (e, i) { | |
return e[t](i) | |
} | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("fizzy-ui-utils/utils", ["desandro-matches-selector/matches-selector"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("desandro-matches-selector")) : t.fizzyUIUtils = e(t, t.matchesSelector) | |
}(window, function (t, e) { | |
var i = {}; | |
i.extend = function (t, e) { | |
for (var i in e) t[i] = e[i]; | |
return t | |
}, i.modulo = function (t, e) { | |
return (t % e + e) % e | |
}, i.makeArray = function (t) { | |
var e = []; | |
if (Array.isArray(t)) e = t; else if (t && "object" == typeof t && "number" == typeof t.length) for (var i = 0; i < t.length; i++) e.push(t[i]); else e.push(t); | |
return e | |
}, i.removeFrom = function (t, e) { | |
var i = t.indexOf(e); | |
i != -1 && t.splice(i, 1) | |
}, i.getParent = function (t, i) { | |
for (; t.parentNode && t != document.body;) if (t = t.parentNode, e(t, i)) return t | |
}, i.getQueryElement = function (t) { | |
return "string" == typeof t ? document.querySelector(t) : t | |
}, i.handleEvent = function (t) { | |
var e = "on" + t.type; | |
this[e] && this[e](t) | |
}, i.filterFindElements = function (t, n) { | |
t = i.makeArray(t); | |
var s = []; | |
return t.forEach(function (t) { | |
if (t instanceof HTMLElement) { | |
if (!n) return void s.push(t); | |
e(t, n) && s.push(t); | |
for (var i = t.querySelectorAll(n), o = 0; o < i.length; o++) s.push(i[o]) | |
} | |
}), s | |
}, i.debounceMethod = function (t, e, i) { | |
var n = t.prototype[e], s = e + "Timeout"; | |
t.prototype[e] = function () { | |
var t = this[s]; | |
t && clearTimeout(t); | |
var e = arguments, o = this; | |
this[s] = setTimeout(function () { | |
n.apply(o, e), delete o[s] | |
}, i || 100) | |
} | |
}, i.docReady = function (t) { | |
var e = document.readyState; | |
"complete" == e || "interactive" == e ? setTimeout(t) : document.addEventListener("DOMContentLoaded", t) | |
}, i.toDashed = function (t) { | |
return t.replace(/(.)([A-Z])/g, function (t, e, i) { | |
return e + "-" + i | |
}).toLowerCase() | |
}; | |
var n = t.console; | |
return i.htmlInit = function (e, s) { | |
i.docReady(function () { | |
var o = i.toDashed(s), r = "data-" + o, a = document.querySelectorAll("[" + r + "]"), | |
h = document.querySelectorAll(".js-" + o), l = i.makeArray(a).concat(i.makeArray(h)), | |
c = r + "-options", d = t.jQuery; | |
l.forEach(function (t) { | |
var i, o = t.getAttribute(r) || t.getAttribute(c); | |
try { | |
i = o && JSON.parse(o) | |
} catch (a) { | |
return void(n && n.error("Error parsing " + r + " on " + t.className + ": " + a)) | |
} | |
var h = new e(t, i); | |
d && d.data(t, s, h) | |
}) | |
}) | |
}, i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/cell", ["get-size/get-size"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("get-size")) : (t.Flickity = t.Flickity || {}, t.Flickity.Cell = e(t, t.getSize)) | |
}(window, function (t, e) { | |
function i(t, e) { | |
this.element = t, this.parent = e, this.create() | |
} | |
var n = i.prototype; | |
return n.create = function () { | |
this.element.style.position = "absolute", this.x = 0, this.shift = 0 | |
}, n.destroy = function () { | |
this.element.style.position = ""; | |
var t = this.parent.originSide; | |
this.element.style[t] = "" | |
}, n.getSize = function () { | |
this.size = e(this.element) | |
}, n.setPosition = function (t) { | |
this.x = t, this.updateTarget(), this.renderPosition(t) | |
}, n.updateTarget = n.setDefaultTarget = function () { | |
var t = "left" == this.parent.originSide ? "marginLeft" : "marginRight"; | |
this.target = this.x + this.size[t] + this.size.width * this.parent.cellAlign | |
}, n.renderPosition = function (t) { | |
var e = this.parent.originSide; | |
this.element.style[e] = this.parent.getPositionValue(t) | |
}, n.wrapShift = function (t) { | |
this.shift = t, this.renderPosition(this.x + this.parent.slideableWidth * t) | |
}, n.remove = function () { | |
this.element.parentNode.removeChild(this.element) | |
}, i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/slide", e) : "object" == typeof module && module.exports ? module.exports = e() : (t.Flickity = t.Flickity || {}, t.Flickity.Slide = e()) | |
}(window, function () { | |
"use strict"; | |
function t(t) { | |
this.parent = t, this.isOriginLeft = "left" == t.originSide, this.cells = [], this.outerWidth = 0, this.height = 0 | |
} | |
var e = t.prototype; | |
return e.addCell = function (t) { | |
if (this.cells.push(t), this.outerWidth += t.size.outerWidth, this.height = Math.max(t.size.outerHeight, this.height), 1 == this.cells.length) { | |
this.x = t.x; | |
var e = this.isOriginLeft ? "marginLeft" : "marginRight"; | |
this.firstMargin = t.size[e] | |
} | |
}, e.updateTarget = function () { | |
var t = this.isOriginLeft ? "marginRight" : "marginLeft", e = this.getLastCell(), i = e ? e.size[t] : 0, | |
n = this.outerWidth - (this.firstMargin + i); | |
this.target = this.x + this.firstMargin + n * this.parent.cellAlign | |
}, e.getLastCell = function () { | |
return this.cells[this.cells.length - 1] | |
}, e.select = function () { | |
this.changeSelectedClass("add") | |
}, e.unselect = function () { | |
this.changeSelectedClass("remove") | |
}, e.changeSelectedClass = function (t) { | |
this.cells.forEach(function (e) { | |
e.element.classList[t]("is-selected") | |
}) | |
}, e.getCellElements = function () { | |
return this.cells.map(function (t) { | |
return t.element | |
}) | |
}, t | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/animate", ["fizzy-ui-utils/utils"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("fizzy-ui-utils")) : (t.Flickity = t.Flickity || {}, t.Flickity.animatePrototype = e(t, t.fizzyUIUtils)) | |
}(window, function (t, e) { | |
var i = t.requestAnimationFrame || t.webkitRequestAnimationFrame, n = 0; | |
i || (i = function (t) { | |
var e = (new Date).getTime(), i = Math.max(0, 16 - (e - n)), s = setTimeout(t, i); | |
return n = e + i, s | |
}); | |
var s = {}; | |
s.startAnimation = function () { | |
this.isAnimating || (this.isAnimating = !0, this.restingFrames = 0, this.animate()) | |
}, s.animate = function () { | |
this.applyDragForce(), this.applySelectedAttraction(); | |
var t = this.x; | |
if (this.integratePhysics(), this.positionSlider(), this.settle(t), this.isAnimating) { | |
var e = this; | |
i(function () { | |
e.animate() | |
}) | |
} | |
}; | |
var o = function () { | |
var t = document.documentElement.style; | |
return "string" == typeof t.transform ? "transform" : "WebkitTransform" | |
}(); | |
return s.positionSlider = function () { | |
var t = this.x; | |
this.options.wrapAround && this.cells.length > 1 && (t = e.modulo(t, this.slideableWidth), t -= this.slideableWidth, this.shiftWrapCells(t)), t += this.cursorPosition, t = this.options.rightToLeft && o ? -t : t; | |
var i = this.getPositionValue(t); | |
this.slider.style[o] = this.isAnimating ? "translate3d(" + i + ",0,0)" : "translateX(" + i + ")"; | |
var n = this.slides[0]; | |
if (n) { | |
var s = -this.x - n.target, r = s / this.slidesWidth; | |
this.dispatchEvent("scroll", null, [r, s]) | |
} | |
}, s.positionSliderAtSelected = function () { | |
this.cells.length && (this.x = -this.selectedSlide.target, this.positionSlider()) | |
}, s.getPositionValue = function (t) { | |
return this.options.percentPosition ? .01 * Math.round(t / this.size.innerWidth * 1e4) + "%" : Math.round(t) + "px" | |
}, s.settle = function (t) { | |
this.isPointerDown || Math.round(100 * this.x) != Math.round(100 * t) || this.restingFrames++, this.restingFrames > 2 && (this.isAnimating = !1, delete this.isFreeScrolling, this.positionSlider(), this.dispatchEvent("settle")) | |
}, s.shiftWrapCells = function (t) { | |
var e = this.cursorPosition + t; | |
this._shiftCells(this.beforeShiftCells, e, -1); | |
var i = this.size.innerWidth - (t + this.slideableWidth + this.cursorPosition); | |
this._shiftCells(this.afterShiftCells, i, 1) | |
}, s._shiftCells = function (t, e, i) { | |
for (var n = 0; n < t.length; n++) { | |
var s = t[n], o = e > 0 ? i : 0; | |
s.wrapShift(o), e -= s.size.outerWidth | |
} | |
}, s._unshiftCells = function (t) { | |
if (t && t.length) for (var e = 0; e < t.length; e++) t[e].wrapShift(0) | |
}, s.integratePhysics = function () { | |
this.x += this.velocity, this.velocity *= this.getFrictionFactor() | |
}, s.applyForce = function (t) { | |
this.velocity += t | |
}, s.getFrictionFactor = function () { | |
return 1 - this.options[this.isFreeScrolling ? "freeScrollFriction" : "friction"] | |
}, s.getRestingPosition = function () { | |
return this.x + this.velocity / (1 - this.getFrictionFactor()) | |
}, s.applyDragForce = function () { | |
if (this.isPointerDown) { | |
var t = this.dragX - this.x, e = t - this.velocity; | |
this.applyForce(e) | |
} | |
}, s.applySelectedAttraction = function () { | |
if (!this.isPointerDown && !this.isFreeScrolling && this.cells.length) { | |
var t = this.selectedSlide.target * -1 - this.x, e = t * this.options.selectedAttraction; | |
this.applyForce(e) | |
} | |
}, s | |
}), function (t, e) { | |
if ("function" == typeof define && define.amd) define("flickity/js/flickity", ["ev-emitter/ev-emitter", "get-size/get-size", "fizzy-ui-utils/utils", "./cell", "./slide", "./animate"], function (i, n, s, o, r, a) { | |
return e(t, i, n, s, o, r, a) | |
}); else if ("object" == typeof module && module.exports) module.exports = e(t, require("ev-emitter"), require("get-size"), require("fizzy-ui-utils"), require("./cell"), require("./slide"), require("./animate")); else { | |
var i = t.Flickity; | |
t.Flickity = e(t, t.EvEmitter, t.getSize, t.fizzyUIUtils, i.Cell, i.Slide, i.animatePrototype) | |
} | |
}(window, function (t, e, i, n, s, o, r) { | |
function a(t, e) { | |
for (t = n.makeArray(t); t.length;) e.appendChild(t.shift()) | |
} | |
function h(t, e) { | |
var i = n.getQueryElement(t); | |
if (!i) return void(d && d.error("Bad element for Flickity: " + (i || t))); | |
if (this.element = i, this.element.flickityGUID) { | |
var s = f[this.element.flickityGUID]; | |
return s.option(e), s | |
} | |
l && (this.$element = l(this.element)), this.options = n.extend({}, this.constructor.defaults), this.option(e), this._create() | |
} | |
var l = t.jQuery, c = t.getComputedStyle, d = t.console, u = 0, f = {}; | |
h.defaults = { | |
accessibility: !0, | |
cellAlign: "center", | |
freeScrollFriction: .075, | |
friction: .28, | |
namespaceJQueryEvents: !0, | |
percentPosition: !0, | |
resize: !0, | |
selectedAttraction: .025, | |
setGallerySize: !0 | |
}, h.createMethods = []; | |
var p = h.prototype; | |
n.extend(p, e.prototype), p._create = function () { | |
var e = this.guid = ++u; | |
this.element.flickityGUID = e, f[e] = this, this.selectedIndex = 0, this.restingFrames = 0, this.x = 0, this.velocity = 0, this.originSide = this.options.rightToLeft ? "right" : "left", this.viewport = document.createElement("div"), this.viewport.className = "flickity-viewport", this._createSlider(), (this.options.resize || this.options.watchCSS) && t.addEventListener("resize", this), h.createMethods.forEach(function (t) { | |
this[t]() | |
}, this), this.options.watchCSS ? this.watchCSS() : this.activate() | |
}, p.option = function (t) { | |
n.extend(this.options, t) | |
}, p.activate = function () { | |
if (!this.isActive) { | |
this.isActive = !0, this.element.classList.add("flickity-enabled"), this.options.rightToLeft && this.element.classList.add("flickity-rtl"), this.getSize(); | |
var t = this._filterFindCellElements(this.element.children); | |
a(t, this.slider), this.viewport.appendChild(this.slider), this.element.appendChild(this.viewport), this.reloadCells(), this.options.accessibility && (this.element.tabIndex = 0, this.element.addEventListener("keydown", this)), this.emitEvent("activate"); | |
var e, i = this.options.initialIndex; | |
e = this.isInitActivated ? this.selectedIndex : void 0 !== i && this.cells[i] ? i : 0, this.select(e, !1, !0), this.isInitActivated = !0 | |
} | |
}, p._createSlider = function () { | |
var t = document.createElement("div"); | |
t.className = "flickity-slider", t.style[this.originSide] = 0, this.slider = t | |
}, p._filterFindCellElements = function (t) { | |
return n.filterFindElements(t, this.options.cellSelector) | |
}, p.reloadCells = function () { | |
this.cells = this._makeCells(this.slider.children), this.positionCells(), this._getWrapShiftCells(), this.setGallerySize() | |
}, p._makeCells = function (t) { | |
var e = this._filterFindCellElements(t), i = e.map(function (t) { | |
return new s(t, this) | |
}, this); | |
return i | |
}, p.getLastCell = function () { | |
return this.cells[this.cells.length - 1] | |
}, p.getLastSlide = function () { | |
return this.slides[this.slides.length - 1] | |
}, p.positionCells = function () { | |
this._sizeCells(this.cells), this._positionCells(0) | |
}, p._positionCells = function (t) { | |
t = t || 0, this.maxCellHeight = t ? this.maxCellHeight || 0 : 0; | |
var e = 0; | |
if (t > 0) { | |
var i = this.cells[t - 1]; | |
e = i.x + i.size.outerWidth | |
} | |
for (var n = this.cells.length, s = t; s < n; s++) { | |
var o = this.cells[s]; | |
o.setPosition(e), e += o.size.outerWidth, this.maxCellHeight = Math.max(o.size.outerHeight, this.maxCellHeight) | |
} | |
this.slideableWidth = e, this.updateSlides(), this._containSlides(), this.slidesWidth = n ? this.getLastSlide().target - this.slides[0].target : 0 | |
}, p._sizeCells = function (t) { | |
t.forEach(function (t) { | |
t.getSize() | |
}) | |
}, p.updateSlides = function () { | |
if (this.slides = [], this.cells.length) { | |
var t = new o(this); | |
this.slides.push(t); | |
var e = "left" == this.originSide, i = e ? "marginRight" : "marginLeft", n = this._getCanCellFit(); | |
this.cells.forEach(function (e, s) { | |
if (!t.cells.length) return void t.addCell(e); | |
var r = t.outerWidth - t.firstMargin + (e.size.outerWidth - e.size[i]); | |
n.call(this, s, r) ? t.addCell(e) : (t.updateTarget(), t = new o(this), this.slides.push(t), t.addCell(e)) | |
}, this), t.updateTarget(), this.updateSelectedSlide() | |
} | |
}, p._getCanCellFit = function () { | |
var t = this.options.groupCells; | |
if (!t) return function () { | |
return !1 | |
}; | |
if ("number" == typeof t) { | |
var e = parseInt(t, 10); | |
return function (t) { | |
return t % e !== 0 | |
} | |
} | |
var i = "string" == typeof t && t.match(/^(\d+)%$/), n = i ? parseInt(i[1], 10) / 100 : 1; | |
return function (t, e) { | |
return e <= (this.size.innerWidth + 1) * n | |
} | |
}, p._init = p.reposition = function () { | |
this.positionCells(), this.positionSliderAtSelected() | |
}, p.getSize = function () { | |
this.size = i(this.element), this.setCellAlign(), this.cursorPosition = this.size.innerWidth * this.cellAlign | |
}; | |
var v = {center: {left: .5, right: .5}, left: {left: 0, right: 1}, right: {right: 0, left: 1}}; | |
return p.setCellAlign = function () { | |
var t = v[this.options.cellAlign]; | |
this.cellAlign = t ? t[this.originSide] : this.options.cellAlign | |
}, p.setGallerySize = function () { | |
if (this.options.setGallerySize) { | |
var t = this.options.adaptiveHeight && this.selectedSlide ? this.selectedSlide.height : this.maxCellHeight; | |
this.viewport.style.height = t + "px" | |
} | |
}, p._getWrapShiftCells = function () { | |
if (this.options.wrapAround) { | |
this._unshiftCells(this.beforeShiftCells), this._unshiftCells(this.afterShiftCells); | |
var t = this.cursorPosition, e = this.cells.length - 1; | |
this.beforeShiftCells = this._getGapCells(t, e, -1), t = this.size.innerWidth - this.cursorPosition, this.afterShiftCells = this._getGapCells(t, 0, 1) | |
} | |
}, p._getGapCells = function (t, e, i) { | |
for (var n = []; t > 0;) { | |
var s = this.cells[e]; | |
if (!s) break; | |
n.push(s), e += i, t -= s.size.outerWidth | |
} | |
return n | |
}, p._containSlides = function () { | |
if (this.options.contain && !this.options.wrapAround && this.cells.length) { | |
var t = this.options.rightToLeft, e = t ? "marginRight" : "marginLeft", | |
i = t ? "marginLeft" : "marginRight", n = this.slideableWidth - this.getLastCell().size[i], | |
s = n < this.size.innerWidth, o = this.cursorPosition + this.cells[0].size[e], | |
r = n - this.size.innerWidth * (1 - this.cellAlign); | |
this.slides.forEach(function (t) { | |
s ? t.target = n * this.cellAlign : (t.target = Math.max(t.target, o), t.target = Math.min(t.target, r)) | |
}, this) | |
} | |
}, p.dispatchEvent = function (t, e, i) { | |
var n = e ? [e].concat(i) : i; | |
if (this.emitEvent(t, n), l && this.$element) { | |
t += this.options.namespaceJQueryEvents ? ".flickity" : ""; | |
var s = t; | |
if (e) { | |
var o = l.Event(e); | |
o.type = t, s = o | |
} | |
this.$element.trigger(s, i) | |
} | |
}, p.select = function (t, e, i) { | |
this.isActive && (t = parseInt(t, 10), this._wrapSelect(t), (this.options.wrapAround || e) && (t = n.modulo(t, this.slides.length)), this.slides[t] && (this.selectedIndex = t, this.updateSelectedSlide(), i ? this.positionSliderAtSelected() : this.startAnimation(), this.options.adaptiveHeight && this.setGallerySize(), this.dispatchEvent("select"), this.dispatchEvent("cellSelect"))) | |
}, p._wrapSelect = function (t) { | |
var e = this.slides.length, i = this.options.wrapAround && e > 1; | |
if (!i) return t; | |
var s = n.modulo(t, e), o = Math.abs(s - this.selectedIndex), r = Math.abs(s + e - this.selectedIndex), | |
a = Math.abs(s - e - this.selectedIndex); | |
!this.isDragSelect && r < o ? t += e : !this.isDragSelect && a < o && (t -= e), t < 0 ? this.x -= this.slideableWidth : t >= e && (this.x += this.slideableWidth) | |
}, p.previous = function (t, e) { | |
this.select(this.selectedIndex - 1, t, e) | |
}, p.next = function (t, e) { | |
this.select(this.selectedIndex + 1, t, e) | |
}, p.updateSelectedSlide = function () { | |
var t = this.slides[this.selectedIndex]; | |
t && (this.unselectSelectedSlide(), this.selectedSlide = t, t.select(), this.selectedCells = t.cells, this.selectedElements = t.getCellElements(), this.selectedCell = t.cells[0], this.selectedElement = this.selectedElements[0]) | |
}, p.unselectSelectedSlide = function () { | |
this.selectedSlide && this.selectedSlide.unselect() | |
}, p.selectCell = function (t, e, i) { | |
var n; | |
"number" == typeof t ? n = this.cells[t] : ("string" == typeof t && (t = this.element.querySelector(t)), n = this.getCell(t)); | |
for (var s = 0; n && s < this.slides.length; s++) { | |
var o = this.slides[s], r = o.cells.indexOf(n); | |
if (r != -1) return void this.select(s, e, i) | |
} | |
}, p.getCell = function (t) { | |
for (var e = 0; e < this.cells.length; e++) { | |
var i = this.cells[e]; | |
if (i.element == t) return i | |
} | |
}, p.getCells = function (t) { | |
t = n.makeArray(t); | |
var e = []; | |
return t.forEach(function (t) { | |
var i = this.getCell(t); | |
i && e.push(i) | |
}, this), e | |
}, p.getCellElements = function () { | |
return this.cells.map(function (t) { | |
return t.element | |
}) | |
}, p.getParentCell = function (t) { | |
var e = this.getCell(t); | |
return e ? e : (t = n.getParent(t, ".flickity-slider > *"), this.getCell(t)) | |
}, p.getAdjacentCellElements = function (t, e) { | |
if (!t) return this.selectedSlide.getCellElements(); | |
e = void 0 === e ? this.selectedIndex : e; | |
var i = this.slides.length; | |
if (1 + 2 * t >= i) return this.getCellElements(); | |
for (var s = [], o = e - t; o <= e + t; o++) { | |
var r = this.options.wrapAround ? n.modulo(o, i) : o, a = this.slides[r]; | |
a && (s = s.concat(a.getCellElements())) | |
} | |
return s | |
}, p.uiChange = function () { | |
this.emitEvent("uiChange") | |
}, p.childUIPointerDown = function (t) { | |
this.emitEvent("childUIPointerDown", [t]) | |
}, p.onresize = function () { | |
this.watchCSS(), this.resize() | |
}, n.debounceMethod(h, "onresize", 150), p.resize = function () { | |
if (this.isActive) { | |
this.getSize(), this.options.wrapAround && (this.x = n.modulo(this.x, this.slideableWidth)), this.positionCells(), this._getWrapShiftCells(), this.setGallerySize(), this.emitEvent("resize"); | |
var t = this.selectedElements && this.selectedElements[0]; | |
this.selectCell(t, !1, !0) | |
} | |
}, p.watchCSS = function () { | |
var t = this.options.watchCSS; | |
if (t) { | |
var e = c(this.element, ":after").content; | |
e.indexOf("flickity") != -1 ? this.activate() : this.deactivate() | |
} | |
}, p.onkeydown = function (t) { | |
if (this.options.accessibility && (!document.activeElement || document.activeElement == this.element)) if (37 == t.keyCode) { | |
var e = this.options.rightToLeft ? "next" : "previous"; | |
this.uiChange(), this[e]() | |
} else if (39 == t.keyCode) { | |
var i = this.options.rightToLeft ? "previous" : "next"; | |
this.uiChange(), this[i]() | |
} | |
}, p.deactivate = function () { | |
this.isActive && (this.element.classList.remove("flickity-enabled"), this.element.classList.remove("flickity-rtl"), this.cells.forEach(function (t) { | |
t.destroy() | |
}), this.unselectSelectedSlide(), this.element.removeChild(this.viewport), a(this.slider.children, this.element), this.options.accessibility && (this.element.removeAttribute("tabIndex"), this.element.removeEventListener("keydown", this)), this.isActive = !1, this.emitEvent("deactivate")) | |
}, p.destroy = function () { | |
this.deactivate(), t.removeEventListener("resize", this), this.emitEvent("destroy"), l && this.$element && l.removeData(this.element, "flickity"), delete this.element.flickityGUID, delete f[this.guid] | |
}, n.extend(p, r), h.data = function (t) { | |
t = n.getQueryElement(t); | |
var e = t && t.flickityGUID; | |
return e && f[e] | |
}, n.htmlInit(h, "flickity"), l && l.bridget && l.bridget("flickity", h), h.setJQuery = function (t) { | |
l = t | |
}, h.Cell = s, h | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("unipointer/unipointer", ["ev-emitter/ev-emitter"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("ev-emitter")) : t.Unipointer = e(t, t.EvEmitter) | |
}(window, function (t, e) { | |
function i() { | |
} | |
function n() { | |
} | |
var s = n.prototype = Object.create(e.prototype); | |
s.bindStartEvent = function (t) { | |
this._bindStartEvent(t, !0) | |
}, s.unbindStartEvent = function (t) { | |
this._bindStartEvent(t, !1) | |
}, s._bindStartEvent = function (e, i) { | |
i = void 0 === i || !!i; | |
var n = i ? "addEventListener" : "removeEventListener"; | |
t.PointerEvent ? e[n]("pointerdown", this) : (e[n]("mousedown", this), e[n]("touchstart", this)) | |
}, s.handleEvent = function (t) { | |
var e = "on" + t.type; | |
this[e] && this[e](t) | |
}, s.getTouch = function (t) { | |
for (var e = 0; e < t.length; e++) { | |
var i = t[e]; | |
if (i.identifier == this.pointerIdentifier) return i | |
} | |
}, s.onmousedown = function (t) { | |
var e = t.button; | |
e && 0 !== e && 1 !== e || this._pointerDown(t, t) | |
}, s.ontouchstart = function (t) { | |
this._pointerDown(t, t.changedTouches[0]) | |
}, s.onpointerdown = function (t) { | |
this._pointerDown(t, t) | |
}, s._pointerDown = function (t, e) { | |
this.isPointerDown || (this.isPointerDown = !0, this.pointerIdentifier = void 0 !== e.pointerId ? e.pointerId : e.identifier, this.pointerDown(t, e)) | |
}, s.pointerDown = function (t, e) { | |
this._bindPostStartEvents(t), this.emitEvent("pointerDown", [t, e]) | |
}; | |
var o = { | |
mousedown: ["mousemove", "mouseup"], | |
touchstart: ["touchmove", "touchend", "touchcancel"], | |
pointerdown: ["pointermove", "pointerup", "pointercancel"] | |
}; | |
return s._bindPostStartEvents = function (e) { | |
if (e) { | |
var i = o[e.type]; | |
i.forEach(function (e) { | |
t.addEventListener(e, this) | |
}, this), this._boundPointerEvents = i | |
} | |
}, s._unbindPostStartEvents = function () { | |
this._boundPointerEvents && (this._boundPointerEvents.forEach(function (e) { | |
t.removeEventListener(e, this) | |
}, this), delete this._boundPointerEvents) | |
}, s.onmousemove = function (t) { | |
this._pointerMove(t, t) | |
}, s.onpointermove = function (t) { | |
t.pointerId == this.pointerIdentifier && this._pointerMove(t, t) | |
}, s.ontouchmove = function (t) { | |
var e = this.getTouch(t.changedTouches); | |
e && this._pointerMove(t, e) | |
}, s._pointerMove = function (t, e) { | |
this.pointerMove(t, e) | |
}, s.pointerMove = function (t, e) { | |
this.emitEvent("pointerMove", [t, e]) | |
}, s.onmouseup = function (t) { | |
this._pointerUp(t, t) | |
}, s.onpointerup = function (t) { | |
t.pointerId == this.pointerIdentifier && this._pointerUp(t, t) | |
}, s.ontouchend = function (t) { | |
var e = this.getTouch(t.changedTouches); | |
e && this._pointerUp(t, e) | |
}, s._pointerUp = function (t, e) { | |
this._pointerDone(), this.pointerUp(t, e) | |
}, s.pointerUp = function (t, e) { | |
this.emitEvent("pointerUp", [t, e]) | |
}, s._pointerDone = function () { | |
this.isPointerDown = !1, delete this.pointerIdentifier, this._unbindPostStartEvents(), this.pointerDone() | |
}, s.pointerDone = i, s.onpointercancel = function (t) { | |
t.pointerId == this.pointerIdentifier && this._pointerCancel(t, t) | |
}, s.ontouchcancel = function (t) { | |
var e = this.getTouch(t.changedTouches); | |
e && this._pointerCancel(t, e) | |
}, s._pointerCancel = function (t, e) { | |
this._pointerDone(), this.pointerCancel(t, e) | |
}, s.pointerCancel = function (t, e) { | |
this.emitEvent("pointerCancel", [t, e]) | |
}, n.getPointerPoint = function (t) { | |
return {x: t.pageX, y: t.pageY} | |
}, n | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("unidragger/unidragger", ["unipointer/unipointer"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("unipointer")) : t.Unidragger = e(t, t.Unipointer) | |
}(window, function (t, e) { | |
function i() { | |
} | |
var n = i.prototype = Object.create(e.prototype); | |
return n.bindHandles = function () { | |
this._bindHandles(!0) | |
}, n.unbindHandles = function () { | |
this._bindHandles(!1) | |
}, n._bindHandles = function (e) { | |
e = void 0 === e || !!e; | |
for (var i = e ? "addEventListener" : "removeEventListener", n = 0; n < this.handles.length; n++) { | |
var s = this.handles[n]; | |
this._bindStartEvent(s, e), s[i]("click", this), t.PointerEvent && (s.style.touchAction = e ? this._touchActionValue : "") | |
} | |
}, n._touchActionValue = "none", n.pointerDown = function (t, e) { | |
if ("INPUT" == t.target.nodeName && "range" == t.target.type) return this.isPointerDown = !1, void delete this.pointerIdentifier; | |
this._dragPointerDown(t, e); | |
var i = document.activeElement; | |
i && i.blur && i.blur(), this._bindPostStartEvents(t), this.emitEvent("pointerDown", [t, e]) | |
}, n._dragPointerDown = function (t, i) { | |
this.pointerDownPoint = e.getPointerPoint(i); | |
var n = this.canPreventDefaultOnPointerDown(t, i); | |
n && t.preventDefault() | |
}, n.canPreventDefaultOnPointerDown = function (t) { | |
return "SELECT" != t.target.nodeName | |
}, n.pointerMove = function (t, e) { | |
var i = this._dragPointerMove(t, e); | |
this.emitEvent("pointerMove", [t, e, i]), this._dragMove(t, e, i) | |
}, n._dragPointerMove = function (t, i) { | |
var n = e.getPointerPoint(i), s = {x: n.x - this.pointerDownPoint.x, y: n.y - this.pointerDownPoint.y}; | |
return !this.isDragging && this.hasDragStarted(s) && this._dragStart(t, i), s | |
}, n.hasDragStarted = function (t) { | |
return Math.abs(t.x) > 3 || Math.abs(t.y) > 3 | |
}, n.pointerUp = function (t, e) { | |
this.emitEvent("pointerUp", [t, e]), this._dragPointerUp(t, e) | |
}, n._dragPointerUp = function (t, e) { | |
this.isDragging ? this._dragEnd(t, e) : this._staticClick(t, e) | |
}, n._dragStart = function (t, i) { | |
this.isDragging = !0, this.dragStartPoint = e.getPointerPoint(i), this.isPreventingClicks = !0, this.dragStart(t, i) | |
}, n.dragStart = function (t, e) { | |
this.emitEvent("dragStart", [t, e]) | |
}, n._dragMove = function (t, e, i) { | |
this.isDragging && this.dragMove(t, e, i) | |
}, n.dragMove = function (t, e, i) { | |
t.preventDefault(), this.emitEvent("dragMove", [t, e, i]) | |
}, n._dragEnd = function (t, e) { | |
this.isDragging = !1, setTimeout(function () { | |
delete this.isPreventingClicks | |
}.bind(this)), this.dragEnd(t, e) | |
}, n.dragEnd = function (t, e) { | |
this.emitEvent("dragEnd", [t, e]) | |
}, n.onclick = function (t) { | |
this.isPreventingClicks && t.preventDefault() | |
}, n._staticClick = function (t, e) { | |
if (!this.isIgnoringMouseUp || "mouseup" != t.type) { | |
var i = t.target.nodeName; | |
"INPUT" != i && "TEXTAREA" != i || t.target.focus(), this.staticClick(t, e), "mouseup" != t.type && (this.isIgnoringMouseUp = !0, setTimeout(function () { | |
delete this.isIgnoringMouseUp | |
}.bind(this), 400)) | |
} | |
}, n.staticClick = function (t, e) { | |
this.emitEvent("staticClick", [t, e]) | |
}, i.getPointerPoint = e.getPointerPoint, i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/drag", ["./flickity", "unidragger/unidragger", "fizzy-ui-utils/utils"], function (i, n, s) { | |
return e(t, i, n, s) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("./flickity"), require("unidragger"), require("fizzy-ui-utils")) : t.Flickity = e(t, t.Flickity, t.Unidragger, t.fizzyUIUtils) | |
}(window, function (t, e, i, n) { | |
function s(t) { | |
var e = "touchstart" == t.type, i = "touch" == t.pointerType, n = d[t.target.nodeName]; | |
return e || i || n | |
} | |
function o() { | |
return {x: t.pageXOffset, y: t.pageYOffset} | |
} | |
n.extend(e.defaults, {draggable: !0, dragThreshold: 3}), e.createMethods.push("_createDrag"); | |
var r = e.prototype; | |
n.extend(r, i.prototype), r._touchActionValue = "pan-y"; | |
var a = "createTouch" in document, h = !1; | |
r._createDrag = function () { | |
this.on("activate", this.bindDrag), this.on("uiChange", this._uiChangeDrag), this.on("childUIPointerDown", this._childUIPointerDownDrag), this.on("deactivate", this.unbindDrag), a && !h && (t.addEventListener("touchmove", function () { | |
}), h = !0) | |
}, r.bindDrag = function () { | |
this.options.draggable && !this.isDragBound && (this.element.classList.add("is-draggable"), this.handles = [this.viewport], this.bindHandles(), this.isDragBound = !0) | |
}, r.unbindDrag = function () { | |
this.isDragBound && (this.element.classList.remove("is-draggable"), this.unbindHandles(), delete this.isDragBound) | |
}, r._uiChangeDrag = function () { | |
delete this.isFreeScrolling | |
}, r._childUIPointerDownDrag = function (t) { | |
t.preventDefault(), this.pointerDownFocus(t) | |
}; | |
var l = {TEXTAREA: !0, INPUT: !0, OPTION: !0}, | |
c = {radio: !0, checkbox: !0, button: !0, submit: !0, image: !0, file: !0}; | |
r.pointerDown = function (e, i) { | |
var n = l[e.target.nodeName] && !c[e.target.type]; | |
if (n) return this.isPointerDown = !1, void delete this.pointerIdentifier; | |
this._dragPointerDown(e, i); | |
var s = document.activeElement; | |
s && s.blur && s != this.element && s != document.body && s.blur(), this.pointerDownFocus(e), this.dragX = this.x, this.viewport.classList.add("is-pointer-down"), this._bindPostStartEvents(e), this.pointerDownScroll = o(), t.addEventListener("scroll", this), this.dispatchEvent("pointerDown", e, [i]) | |
}, r.pointerDownFocus = function (e) { | |
var i = s(e); | |
if (this.options.accessibility && !i) { | |
var n = t.pageYOffset; | |
this.element.focus(), t.pageYOffset != n && t.scrollTo(t.pageXOffset, n) | |
} | |
}; | |
var d = {INPUT: !0, SELECT: !0}; | |
return r.canPreventDefaultOnPointerDown = function (t) { | |
var e = s(t); | |
return !e | |
}, r.hasDragStarted = function (t) { | |
return Math.abs(t.x) > this.options.dragThreshold | |
}, r.pointerUp = function (t, e) { | |
delete this.isTouchScrolling, this.viewport.classList.remove("is-pointer-down"), this.dispatchEvent("pointerUp", t, [e]), this._dragPointerUp(t, e) | |
}, r.pointerDone = function () { | |
t.removeEventListener("scroll", this), delete this.pointerDownScroll | |
}, r.dragStart = function (e, i) { | |
this.dragStartPosition = this.x, this.startAnimation(), t.removeEventListener("scroll", this), this.dispatchEvent("dragStart", e, [i]) | |
}, r.pointerMove = function (t, e) { | |
var i = this._dragPointerMove(t, e); | |
this.dispatchEvent("pointerMove", t, [e, i]), this._dragMove(t, e, i) | |
}, r.dragMove = function (t, e, i) { | |
t.preventDefault(), this.previousDragX = this.dragX; | |
var n = this.options.rightToLeft ? -1 : 1, s = this.dragStartPosition + i.x * n; | |
if (!this.options.wrapAround && this.slides.length) { | |
var o = Math.max(-this.slides[0].target, this.dragStartPosition); | |
s = s > o ? .5 * (s + o) : s; | |
var r = Math.min(-this.getLastSlide().target, this.dragStartPosition); | |
s = s < r ? .5 * (s + r) : s | |
} | |
this.dragX = s, this.dragMoveTime = new Date, this.dispatchEvent("dragMove", t, [e, i]) | |
}, r.dragEnd = function (t, e) { | |
this.options.freeScroll && (this.isFreeScrolling = !0); | |
var i = this.dragEndRestingSelect(); | |
if (this.options.freeScroll && !this.options.wrapAround) { | |
var n = this.getRestingPosition(); | |
this.isFreeScrolling = -n > this.slides[0].target && -n < this.getLastSlide().target | |
} else this.options.freeScroll || i != this.selectedIndex || (i += this.dragEndBoostSelect()); | |
delete this.previousDragX, this.isDragSelect = this.options.wrapAround, this.select(i), delete this.isDragSelect, this.dispatchEvent("dragEnd", t, [e]) | |
}, r.dragEndRestingSelect = function () { | |
var t = this.getRestingPosition(), e = Math.abs(this.getSlideDistance(-t, this.selectedIndex)), | |
i = this._getClosestResting(t, e, 1), n = this._getClosestResting(t, e, -1), | |
s = i.distance < n.distance ? i.index : n.index; | |
return s | |
}, r._getClosestResting = function (t, e, i) { | |
for (var n = this.selectedIndex, s = 1 / 0, o = this.options.contain && !this.options.wrapAround ? function (t, e) { | |
return t <= e | |
} : function (t, e) { | |
return t < e | |
}; o(e, s) && (n += i, s = e, e = this.getSlideDistance(-t, n), null !== e);) e = Math.abs(e); | |
return {distance: s, index: n - i} | |
}, r.getSlideDistance = function (t, e) { | |
var i = this.slides.length, s = this.options.wrapAround && i > 1, o = s ? n.modulo(e, i) : e, | |
r = this.slides[o]; | |
if (!r) return null; | |
var a = s ? this.slideableWidth * Math.floor(e / i) : 0; | |
return t - (r.target + a) | |
}, r.dragEndBoostSelect = function () { | |
if (void 0 === this.previousDragX || !this.dragMoveTime || new Date - this.dragMoveTime > 100) return 0; | |
var t = this.getSlideDistance(-this.dragX, this.selectedIndex), e = this.previousDragX - this.dragX; | |
return t > 0 && e > 0 ? 1 : t < 0 && e < 0 ? -1 : 0 | |
}, r.staticClick = function (t, e) { | |
var i = this.getParentCell(t.target), n = i && i.element, s = i && this.cells.indexOf(i); | |
this.dispatchEvent("staticClick", t, [e, n, s]) | |
}, r.onscroll = function () { | |
var t = o(), e = this.pointerDownScroll.x - t.x, i = this.pointerDownScroll.y - t.y; | |
(Math.abs(e) > 3 || Math.abs(i) > 3) && this._pointerDone() | |
}, e | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("tap-listener/tap-listener", ["unipointer/unipointer"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("unipointer")) : t.TapListener = e(t, t.Unipointer) | |
}(window, function (t, e) { | |
function i(t) { | |
this.bindTap(t) | |
} | |
var n = i.prototype = Object.create(e.prototype); | |
return n.bindTap = function (t) { | |
t && (this.unbindTap(), this.tapElement = t, this._bindStartEvent(t, !0)) | |
}, n.unbindTap = function () { | |
this.tapElement && (this._bindStartEvent(this.tapElement, !0), delete this.tapElement) | |
}, n.pointerUp = function (i, n) { | |
if (!this.isIgnoringMouseUp || "mouseup" != i.type) { | |
var s = e.getPointerPoint(n), o = this.tapElement.getBoundingClientRect(), r = t.pageXOffset, | |
a = t.pageYOffset, | |
h = s.x >= o.left + r && s.x <= o.right + r && s.y >= o.top + a && s.y <= o.bottom + a; | |
if (h && this.emitEvent("tap", [i, n]), "mouseup" != i.type) { | |
this.isIgnoringMouseUp = !0; | |
var l = this; | |
setTimeout(function () { | |
delete l.isIgnoringMouseUp | |
}, 400) | |
} | |
} | |
}, n.destroy = function () { | |
this.pointerDone(), this.unbindTap() | |
}, i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/prev-next-button", ["./flickity", "tap-listener/tap-listener", "fizzy-ui-utils/utils"], function (i, n, s) { | |
return e(t, i, n, s) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("./flickity"), require("tap-listener"), require("fizzy-ui-utils")) : e(t, t.Flickity, t.TapListener, t.fizzyUIUtils) | |
}(window, function (t, e, i, n) { | |
"use strict"; | |
function s(t, e) { | |
this.direction = t, this.parent = e, this._create() | |
} | |
function o(t) { | |
return "string" == typeof t ? t : "M " + t.x0 + ",50 L " + t.x1 + "," + (t.y1 + 50) + " L " + t.x2 + "," + (t.y2 + 50) + " L " + t.x3 + ",50 L " + t.x2 + "," + (50 - t.y2) + " L " + t.x1 + "," + (50 - t.y1) + " Z" | |
} | |
var r = "http://www.w3.org/2000/svg"; | |
s.prototype = new i, s.prototype._create = function () { | |
this.isEnabled = !0, this.isPrevious = this.direction == -1; | |
var t = this.parent.options.rightToLeft ? 1 : -1; | |
this.isLeft = this.direction == t; | |
var e = this.element = document.createElement("button"); | |
e.className = "flickity-prev-next-button", e.className += this.isPrevious ? " previous" : " next", e.setAttribute("type", "button"), this.disable(), e.setAttribute("aria-label", this.isPrevious ? "previous" : "next"); | |
var i = this.createSVG(); | |
e.appendChild(i), this.on("tap", this.onTap), this.parent.on("select", this.update.bind(this)), this.on("pointerDown", this.parent.childUIPointerDown.bind(this.parent)) | |
}, s.prototype.activate = function () { | |
this.bindTap(this.element), this.element.addEventListener("click", this), this.parent.element.appendChild(this.element) | |
}, s.prototype.deactivate = function () { | |
this.parent.element.removeChild(this.element), i.prototype.destroy.call(this), this.element.removeEventListener("click", this) | |
}, s.prototype.createSVG = function () { | |
var t = document.createElementNS(r, "svg"); | |
t.setAttribute("viewBox", "0 0 100 100"); | |
var e = document.createElementNS(r, "path"), i = o(this.parent.options.arrowShape); | |
return e.setAttribute("d", i), e.setAttribute("class", "arrow"), this.isLeft || e.setAttribute("transform", "translate(100, 100) rotate(180) "), t.appendChild(e), t | |
}, s.prototype.onTap = function () { | |
if (this.isEnabled) { | |
this.parent.uiChange(); | |
var t = this.isPrevious ? "previous" : "next"; | |
this.parent[t]() | |
} | |
}, s.prototype.handleEvent = n.handleEvent, s.prototype.onclick = function () { | |
var t = document.activeElement; | |
t && t == this.element && this.onTap() | |
}, s.prototype.enable = function () { | |
this.isEnabled || (this.element.disabled = !1, this.isEnabled = !0) | |
}, s.prototype.disable = function () { | |
this.isEnabled && (this.element.disabled = !0, this.isEnabled = !1) | |
}, s.prototype.update = function () { | |
var t = this.parent.slides; | |
if (this.parent.options.wrapAround && t.length > 1) return void this.enable(); | |
var e = t.length ? t.length - 1 : 0, i = this.isPrevious ? 0 : e, | |
n = this.parent.selectedIndex == i ? "disable" : "enable"; | |
this[n]() | |
}, s.prototype.destroy = function () { | |
this.deactivate() | |
}, n.extend(e.defaults, { | |
prevNextButtons: !0, | |
arrowShape: {x0: 10, x1: 60, y1: 50, x2: 70, y2: 40, x3: 30} | |
}), e.createMethods.push("_createPrevNextButtons"); | |
var a = e.prototype; | |
return a._createPrevNextButtons = function () { | |
this.options.prevNextButtons && (this.prevButton = new s((-1), this), this.nextButton = new s(1, this), this.on("activate", this.activatePrevNextButtons)) | |
}, a.activatePrevNextButtons = function () { | |
this.prevButton.activate(), this.nextButton.activate(), this.on("deactivate", this.deactivatePrevNextButtons) | |
}, a.deactivatePrevNextButtons = function () { | |
this.prevButton.deactivate(), this.nextButton.deactivate(), this.off("deactivate", this.deactivatePrevNextButtons) | |
}, e.PrevNextButton = s, e | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/page-dots", ["./flickity", "tap-listener/tap-listener", "fizzy-ui-utils/utils"], function (i, n, s) { | |
return e(t, i, n, s) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("./flickity"), require("tap-listener"), require("fizzy-ui-utils")) : e(t, t.Flickity, t.TapListener, t.fizzyUIUtils) | |
}(window, function (t, e, i, n) { | |
function s(t) { | |
this.parent = t, this._create() | |
} | |
s.prototype = new i, s.prototype._create = function () { | |
this.holder = document.createElement("ol"), this.holder.className = "flickity-page-dots", this.dots = [], this.on("tap", this.onTap), this.on("pointerDown", this.parent.childUIPointerDown.bind(this.parent)) | |
}, s.prototype.activate = function () { | |
this.setDots(), this.bindTap(this.holder), this.parent.element.appendChild(this.holder) | |
}, s.prototype.deactivate = function () { | |
this.parent.element.removeChild(this.holder), i.prototype.destroy.call(this) | |
}, s.prototype.setDots = function () { | |
var t = this.parent.slides.length - this.dots.length; | |
t > 0 ? this.addDots(t) : t < 0 && this.removeDots(-t) | |
}, s.prototype.addDots = function (t) { | |
for (var e = document.createDocumentFragment(), i = []; t;) { | |
var n = document.createElement("li"); | |
n.className = "dot", e.appendChild(n), i.push(n), t-- | |
} | |
this.holder.appendChild(e), this.dots = this.dots.concat(i) | |
}, s.prototype.removeDots = function (t) { | |
var e = this.dots.splice(this.dots.length - t, t); | |
e.forEach(function (t) { | |
this.holder.removeChild(t) | |
}, this) | |
}, s.prototype.updateSelected = function () { | |
this.selectedDot && (this.selectedDot.className = "dot"), this.dots.length && (this.selectedDot = this.dots[this.parent.selectedIndex], this.selectedDot.className = "dot is-selected") | |
}, s.prototype.onTap = function (t) { | |
var e = t.target; | |
if ("LI" == e.nodeName) { | |
this.parent.uiChange(); | |
var i = this.dots.indexOf(e); | |
this.parent.select(i) | |
} | |
}, s.prototype.destroy = function () { | |
this.deactivate() | |
}, e.PageDots = s, n.extend(e.defaults, {pageDots: !0}), e.createMethods.push("_createPageDots"); | |
var o = e.prototype; | |
return o._createPageDots = function () { | |
this.options.pageDots && (this.pageDots = new s(this), this.on("activate", this.activatePageDots), this.on("select", this.updateSelectedPageDots), this.on("cellChange", this.updatePageDots), this.on("resize", this.updatePageDots), this.on("deactivate", this.deactivatePageDots)) | |
}, o.activatePageDots = function () { | |
this.pageDots.activate() | |
}, o.updateSelectedPageDots = function () { | |
this.pageDots.updateSelected() | |
}, o.updatePageDots = function () { | |
this.pageDots.setDots() | |
}, o.deactivatePageDots = function () { | |
this.pageDots.deactivate() | |
}, e.PageDots = s, e | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/player", ["ev-emitter/ev-emitter", "fizzy-ui-utils/utils", "./flickity"], function (t, i, n) { | |
return e(t, i, n) | |
}) : "object" == typeof module && module.exports ? module.exports = e(require("ev-emitter"), require("fizzy-ui-utils"), require("./flickity")) : e(t.EvEmitter, t.fizzyUIUtils, t.Flickity) | |
}(window, function (t, e, i) { | |
function n(t) { | |
this.parent = t, this.state = "stopped", o && (this.onVisibilityChange = function () { | |
this.visibilityChange() | |
}.bind(this), this.onVisibilityPlay = function () { | |
this.visibilityPlay() | |
}.bind(this)) | |
} | |
var s, o; | |
"hidden" in document ? (s = "hidden", o = "visibilitychange") : "webkitHidden" in document && (s = "webkitHidden", o = "webkitvisibilitychange"), n.prototype = Object.create(t.prototype), n.prototype.play = function () { | |
if ("playing" != this.state) { | |
var t = document[s]; | |
if (o && t) return void document.addEventListener(o, this.onVisibilityPlay); | |
this.state = "playing", o && document.addEventListener(o, this.onVisibilityChange), this.tick() | |
} | |
}, n.prototype.tick = function () { | |
if ("playing" == this.state) { | |
var t = this.parent.options.autoPlay; | |
t = "number" == typeof t ? t : 3e3; | |
var e = this; | |
this.clear(), this.timeout = setTimeout(function () { | |
e.parent.next(!0), e.tick() | |
}, t) | |
} | |
}, n.prototype.stop = function () { | |
this.state = "stopped", this.clear(), o && document.removeEventListener(o, this.onVisibilityChange) | |
}, n.prototype.clear = function () { | |
clearTimeout(this.timeout) | |
}, n.prototype.pause = function () { | |
"playing" == this.state && (this.state = "paused", this.clear()) | |
}, n.prototype.unpause = function () { | |
"paused" == this.state && this.play() | |
}, n.prototype.visibilityChange = function () { | |
var t = document[s]; | |
this[t ? "pause" : "unpause"]() | |
}, n.prototype.visibilityPlay = function () { | |
this.play(), document.removeEventListener(o, this.onVisibilityPlay) | |
}, e.extend(i.defaults, {pauseAutoPlayOnHover: !0}), i.createMethods.push("_createPlayer"); | |
var r = i.prototype; | |
return r._createPlayer = function () { | |
this.player = new n(this), this.on("activate", this.activatePlayer), this.on("uiChange", this.stopPlayer), this.on("pointerDown", this.stopPlayer), this.on("deactivate", this.deactivatePlayer) | |
}, r.activatePlayer = function () { | |
this.options.autoPlay && (this.player.play(), this.element.addEventListener("mouseenter", this)) | |
}, r.playPlayer = function () { | |
this.player.play() | |
}, r.stopPlayer = function () { | |
this.player.stop() | |
}, r.pausePlayer = function () { | |
this.player.pause() | |
}, r.unpausePlayer = function () { | |
this.player.unpause() | |
}, r.deactivatePlayer = function () { | |
this.player.stop(), this.element.removeEventListener("mouseenter", this) | |
}, r.onmouseenter = function () { | |
this.options.pauseAutoPlayOnHover && (this.player.pause(), this.element.addEventListener("mouseleave", this)) | |
}, r.onmouseleave = function () { | |
this.player.unpause(), this.element.removeEventListener("mouseleave", this) | |
}, i.Player = n, i | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/add-remove-cell", ["./flickity", "fizzy-ui-utils/utils"], function (i, n) { | |
return e(t, i, n) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("./flickity"), require("fizzy-ui-utils")) : e(t, t.Flickity, t.fizzyUIUtils) | |
}(window, function (t, e, i) { | |
function n(t) { | |
var e = document.createDocumentFragment(); | |
return t.forEach(function (t) { | |
e.appendChild(t.element) | |
}), e | |
} | |
var s = e.prototype; | |
return s.insert = function (t, e) { | |
var i = this._makeCells(t); | |
if (i && i.length) { | |
var s = this.cells.length; | |
e = void 0 === e ? s : e; | |
var o = n(i), r = e == s; | |
if (r) this.slider.appendChild(o); else { | |
var a = this.cells[e].element; | |
this.slider.insertBefore(o, a) | |
} | |
if (0 === e) this.cells = i.concat(this.cells); else if (r) this.cells = this.cells.concat(i); else { | |
var h = this.cells.splice(e, s - e); | |
this.cells = this.cells.concat(i).concat(h) | |
} | |
this._sizeCells(i); | |
var l = e > this.selectedIndex ? 0 : i.length; | |
this._cellAddedRemoved(e, l) | |
} | |
}, s.append = function (t) { | |
this.insert(t, this.cells.length) | |
}, s.prepend = function (t) { | |
this.insert(t, 0) | |
}, s.remove = function (t) { | |
var e, n, s = this.getCells(t), o = 0, r = s.length; | |
for (e = 0; e < r; e++) { | |
n = s[e]; | |
var a = this.cells.indexOf(n) < this.selectedIndex; | |
o -= a ? 1 : 0 | |
} | |
for (e = 0; e < r; e++) n = s[e], n.remove(), i.removeFrom(this.cells, n); | |
s.length && this._cellAddedRemoved(0, o) | |
}, s._cellAddedRemoved = function (t, e) { | |
e = e || 0, this.selectedIndex += e, this.selectedIndex = Math.max(0, Math.min(this.slides.length - 1, this.selectedIndex)), this.cellChange(t, !0), this.emitEvent("cellAddedRemoved", [t, e]) | |
}, s.cellSizeChange = function (t) { | |
var e = this.getCell(t); | |
if (e) { | |
e.getSize(); | |
var i = this.cells.indexOf(e); | |
this.cellChange(i) | |
} | |
}, s.cellChange = function (t, e) { | |
var i = this.slideableWidth; | |
if (this._positionCells(t), this._getWrapShiftCells(), this.setGallerySize(), this.emitEvent("cellChange", [t]), this.options.freeScroll) { | |
var n = i - this.slideableWidth; | |
this.x += n * this.cellAlign, this.positionSlider() | |
} else e && this.positionSliderAtSelected(), this.select(this.selectedIndex) | |
}, e | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/lazyload", ["./flickity", "fizzy-ui-utils/utils"], function (i, n) { | |
return e(t, i, n) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("./flickity"), require("fizzy-ui-utils")) : e(t, t.Flickity, t.fizzyUIUtils) | |
}(window, function (t, e, i) { | |
"use strict"; | |
function n(t) { | |
if ("IMG" == t.nodeName && t.getAttribute("data-flickity-lazyload")) return [t]; | |
var e = t.querySelectorAll("img[data-flickity-lazyload]"); | |
return i.makeArray(e) | |
} | |
function s(t, e) { | |
this.img = t, this.flickity = e, this.load() | |
} | |
e.createMethods.push("_createLazyload"); | |
var o = e.prototype; | |
return o._createLazyload = function () { | |
this.on("select", this.lazyLoad) | |
}, o.lazyLoad = function () { | |
var t = this.options.lazyLoad; | |
if (t) { | |
var e = "number" == typeof t ? t : 0, i = this.getAdjacentCellElements(e), o = []; | |
i.forEach(function (t) { | |
var e = n(t); | |
o = o.concat(e) | |
}), o.forEach(function (t) { | |
new s(t, this) | |
}, this) | |
} | |
}, s.prototype.handleEvent = i.handleEvent, s.prototype.load = function () { | |
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.img.getAttribute("data-flickity-lazyload"), this.img.removeAttribute("data-flickity-lazyload") | |
}, s.prototype.onload = function (t) { | |
this.complete(t, "flickity-lazyloaded") | |
}, s.prototype.onerror = function (t) { | |
this.complete(t, "flickity-lazyerror") | |
}, s.prototype.complete = function (t, e) { | |
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this); | |
var i = this.flickity.getParentCell(this.img), n = i && i.element; | |
this.flickity.cellSizeChange(n), this.img.classList.add(e), this.flickity.dispatchEvent("lazyLoad", t, n) | |
}, e.LazyLoader = s, e | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity/js/index", ["./flickity", "./drag", "./prev-next-button", "./page-dots", "./player", "./add-remove-cell", "./lazyload"], e) : "object" == typeof module && module.exports && (module.exports = e(require("./flickity"), require("./drag"), require("./prev-next-button"), require("./page-dots"), require("./player"), require("./add-remove-cell"), require("./lazyload"))) | |
}(window, function (t) { | |
return t | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define("flickity-as-nav-for/as-nav-for", ["flickity/js/index", "fizzy-ui-utils/utils"], e) : "object" == typeof module && module.exports ? module.exports = e(require("flickity"), require("fizzy-ui-utils")) : t.Flickity = e(t.Flickity, t.fizzyUIUtils) | |
}(window, function (t, e) { | |
function i(t, e, i) { | |
return (e - t) * i + t | |
} | |
t.createMethods.push("_createAsNavFor"); | |
var n = t.prototype; | |
return n._createAsNavFor = function () { | |
this.on("activate", this.activateAsNavFor), this.on("deactivate", this.deactivateAsNavFor), this.on("destroy", this.destroyAsNavFor); | |
var t = this.options.asNavFor; | |
if (t) { | |
var e = this; | |
setTimeout(function () { | |
e.setNavCompanion(t) | |
}) | |
} | |
}, n.setNavCompanion = function (i) { | |
i = e.getQueryElement(i); | |
var n = t.data(i); | |
if (n && n != this) { | |
this.navCompanion = n; | |
var s = this; | |
this.onNavCompanionSelect = function () { | |
s.navCompanionSelect() | |
}, n.on("select", this.onNavCompanionSelect), this.on("staticClick", this.onNavStaticClick), this.navCompanionSelect(!0) | |
} | |
}, n.navCompanionSelect = function (t) { | |
if (this.navCompanion) { | |
var e = this.navCompanion.selectedCells[0], n = this.navCompanion.cells.indexOf(e), | |
s = n + this.navCompanion.selectedCells.length - 1, | |
o = Math.floor(i(n, s, this.navCompanion.cellAlign)); | |
if (this.selectCell(o, !1, t), this.removeNavSelectedElements(), !(o >= this.cells.length)) { | |
var r = this.cells.slice(n, s + 1); | |
this.navSelectedElements = r.map(function (t) { | |
return t.element | |
}), this.changeNavSelectedClass("add") | |
} | |
} | |
}, n.changeNavSelectedClass = function (t) { | |
this.navSelectedElements.forEach(function (e) { | |
e.classList[t]("is-nav-selected") | |
}) | |
}, n.activateAsNavFor = function () { | |
this.navCompanionSelect(!0) | |
}, n.removeNavSelectedElements = function () { | |
this.navSelectedElements && (this.changeNavSelectedClass("remove"), delete this.navSelectedElements) | |
}, n.onNavStaticClick = function (t, e, i, n) { | |
"number" == typeof n && this.navCompanion.selectCell(n) | |
}, n.deactivateAsNavFor = function () { | |
this.removeNavSelectedElements() | |
}, n.destroyAsNavFor = function () { | |
this.navCompanion && (this.navCompanion.off("select", this.onNavCompanionSelect), this.off("staticClick", this.onNavStaticClick), delete this.navCompanion) | |
}, t | |
}), function (t, e) { | |
"use strict"; | |
"function" == typeof define && define.amd ? define("imagesloaded/imagesloaded", ["ev-emitter/ev-emitter"], function (i) { | |
return e(t, i) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("ev-emitter")) : t.imagesLoaded = e(t, t.EvEmitter) | |
}("undefined" != typeof window ? window : this, function (t, e) { | |
function i(t, e) { | |
for (var i in e) t[i] = e[i]; | |
return t | |
} | |
function n(t) { | |
var e = []; | |
if (Array.isArray(t)) e = t; else if ("number" == typeof t.length) for (var i = 0; i < t.length; i++) e.push(t[i]); else e.push(t); | |
return e | |
} | |
function s(t, e, o) { | |
return this instanceof s ? ("string" == typeof t && (t = document.querySelectorAll(t)), this.elements = n(t), this.options = i({}, this.options), "function" == typeof e ? o = e : i(this.options, e), o && this.on("always", o), this.getImages(), a && (this.jqDeferred = new a.Deferred), void setTimeout(function () { | |
this.check() | |
}.bind(this))) : new s(t, e, o) | |
} | |
function o(t) { | |
this.img = t | |
} | |
function r(t, e) { | |
this.url = t, this.element = e, this.img = new Image | |
} | |
var a = t.jQuery, h = t.console; | |
s.prototype = Object.create(e.prototype), s.prototype.options = {}, s.prototype.getImages = function () { | |
this.images = [], this.elements.forEach(this.addElementImages, this) | |
}, s.prototype.addElementImages = function (t) { | |
"IMG" == t.nodeName && this.addImage(t), this.options.background === !0 && this.addElementBackgroundImages(t); | |
var e = t.nodeType; | |
if (e && l[e]) { | |
for (var i = t.querySelectorAll("img"), n = 0; n < i.length; n++) { | |
var s = i[n]; | |
this.addImage(s) | |
} | |
if ("string" == typeof this.options.background) { | |
var o = t.querySelectorAll(this.options.background); | |
for (n = 0; n < o.length; n++) { | |
var r = o[n]; | |
this.addElementBackgroundImages(r) | |
} | |
} | |
} | |
}; | |
var l = {1: !0, 9: !0, 11: !0}; | |
return s.prototype.addElementBackgroundImages = function (t) { | |
var e = getComputedStyle(t); | |
if (e) for (var i = /url\((['"])?(.*?)\1\)/gi, n = i.exec(e.backgroundImage); null !== n;) { | |
var s = n && n[2]; | |
s && this.addBackground(s, t), n = i.exec(e.backgroundImage) | |
} | |
}, s.prototype.addImage = function (t) { | |
var e = new o(t); | |
this.images.push(e) | |
}, s.prototype.addBackground = function (t, e) { | |
var i = new r(t, e); | |
this.images.push(i) | |
}, s.prototype.check = function () { | |
function t(t, i, n) { | |
setTimeout(function () { | |
e.progress(t, i, n) | |
}) | |
} | |
var e = this; | |
return this.progressedCount = 0, this.hasAnyBroken = !1, this.images.length ? void this.images.forEach(function (e) { | |
e.once("progress", t), e.check() | |
}) : void this.complete() | |
}, s.prototype.progress = function (t, e, i) { | |
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !t.isLoaded, this.emitEvent("progress", [this, t, e]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, t), this.progressedCount == this.images.length && this.complete(), this.options.debug && h && h.log("progress: " + i, t, e) | |
}, s.prototype.complete = function () { | |
var t = this.hasAnyBroken ? "fail" : "done"; | |
if (this.isComplete = !0, this.emitEvent(t, [this]), this.emitEvent("always", [this]), this.jqDeferred) { | |
var e = this.hasAnyBroken ? "reject" : "resolve"; | |
this.jqDeferred[e](this) | |
} | |
}, o.prototype = Object.create(e.prototype), o.prototype.check = function () { | |
var t = this.getIsImageComplete(); | |
return t ? void this.confirm(0 !== this.img.naturalWidth, "naturalWidth") : (this.proxyImage = new Image, this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), void(this.proxyImage.src = this.img.src)) | |
}, o.prototype.getIsImageComplete = function () { | |
return this.img.complete && void 0 !== this.img.naturalWidth | |
}, o.prototype.confirm = function (t, e) { | |
this.isLoaded = t, this.emitEvent("progress", [this, this.img, e]) | |
}, o.prototype.handleEvent = function (t) { | |
var e = "on" + t.type; | |
this[e] && this[e](t) | |
}, o.prototype.onload = function () { | |
this.confirm(!0, "onload"), this.unbindEvents() | |
}, o.prototype.onerror = function () { | |
this.confirm(!1, "onerror"), this.unbindEvents() | |
}, o.prototype.unbindEvents = function () { | |
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this) | |
}, r.prototype = Object.create(o.prototype), r.prototype.check = function () { | |
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url; | |
var t = this.getIsImageComplete(); | |
t && (this.confirm(0 !== this.img.naturalWidth, "naturalWidth"), this.unbindEvents()) | |
}, r.prototype.unbindEvents = function () { | |
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this) | |
}, r.prototype.confirm = function (t, e) { | |
this.isLoaded = t, this.emitEvent("progress", [this, this.element, e]) | |
}, s.makeJQueryPlugin = function (e) { | |
e = e || t.jQuery, e && (a = e, a.fn.imagesLoaded = function (t, e) { | |
var i = new s(this, t, e); | |
return i.jqDeferred.promise(a(this)) | |
}) | |
}, s.makeJQueryPlugin(), s | |
}), function (t, e) { | |
"function" == typeof define && define.amd ? define(["flickity/js/index", "imagesloaded/imagesloaded"], function (i, n) { | |
return e(t, i, n) | |
}) : "object" == typeof module && module.exports ? module.exports = e(t, require("flickity"), require("imagesloaded")) : t.Flickity = e(t, t.Flickity, t.imagesLoaded) | |
}(window, function (t, e, i) { | |
"use strict"; | |
e.createMethods.push("_createImagesLoaded"); | |
var n = e.prototype; | |
return n._createImagesLoaded = function () { | |
this.on("activate", this.imagesLoaded) | |
}, n.imagesLoaded = function () { | |
function t(t, i) { | |
var n = e.getParentCell(i.img); | |
e.cellSizeChange(n && n.element), e.options.freeScroll || e.positionSliderAtSelected() | |
} | |
if (this.options.imagesLoaded) { | |
var e = this; | |
i(this.slider).on("progress", t) | |
} | |
}, e | |
}); |
button[data-balloon] { | |
overflow: visible | |
} | |
[data-balloon] { | |
position: relative; | |
cursor: pointer | |
} | |
[data-balloon]:after { | |
font-family: sans-serif !important; | |
font-weight: 400 !important; | |
font-style: normal !important; | |
text-shadow: none !important; | |
font-size: 12px !important; | |
background: hsla(0, 0%, 7%, .9); | |
border-radius: 4px; | |
color: #fff; | |
content: attr(data-balloon); | |
padding: .5em 1em; | |
white-space: nowrap | |
} | |
[data-balloon]:after, [data-balloon]:before { | |
filter: alpha(opactiy=0); | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; | |
-moz-opacity: 0; | |
-khtml-opacity: 0; | |
opacity: 0; | |
pointer-events: none; | |
transition: all .18s ease-out .18s; | |
position: absolute; | |
z-index: 10 | |
} | |
[data-balloon]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M2.658 0h32.004c-6 0-11.627 12.002-16.002 12.002C14.285 12.002 8.594 0 2.658 0z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 18px; | |
height: 6px; | |
content: "" | |
} | |
[data-balloon]:hover:after, [data-balloon]:hover:before, [data-balloon][data-balloon-visible]:after, [data-balloon][data-balloon-visible]:before { | |
filter: alpha(opactiy=100); | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; | |
-moz-opacity: 1; | |
-khtml-opacity: 1; | |
opacity: 1; | |
pointer-events: auto | |
} | |
[data-balloon].font-awesome:after { | |
font-family: FontAwesome | |
} | |
[data-balloon][data-balloon-break]:after { | |
white-space: pre | |
} | |
[data-balloon][data-balloon-blunt]:after, [data-balloon][data-balloon-blunt]:before { | |
transition: none | |
} | |
[data-balloon][data-balloon-pos=up]:after { | |
margin-bottom: 11px | |
} | |
[data-balloon][data-balloon-pos=up]:after, [data-balloon][data-balloon-pos=up]:before { | |
bottom: 100%; | |
left: 50%; | |
-webkit-transform: translate(-50%, 10px); | |
transform: translate(-50%, 10px); | |
-webkit-transform-origin: top; | |
transform-origin: top | |
} | |
[data-balloon][data-balloon-pos=up]:before { | |
margin-bottom: 5px | |
} | |
[data-balloon][data-balloon-pos=up]:hover:after, [data-balloon][data-balloon-pos=up]:hover:before, [data-balloon][data-balloon-pos=up][data-balloon-visible]:after, [data-balloon][data-balloon-pos=up][data-balloon-visible]:before { | |
-webkit-transform: translate(-50%); | |
transform: translate(-50%) | |
} | |
[data-balloon][data-balloon-pos=up-left]:after { | |
left: 0; | |
margin-bottom: 11px | |
} | |
[data-balloon][data-balloon-pos=up-left]:after, [data-balloon][data-balloon-pos=up-left]:before { | |
bottom: 100%; | |
-webkit-transform: translateY(10px); | |
transform: translateY(10px); | |
-webkit-transform-origin: top; | |
transform-origin: top | |
} | |
[data-balloon][data-balloon-pos=up-left]:before { | |
left: 5px; | |
margin-bottom: 5px | |
} | |
[data-balloon][data-balloon-pos=up-left]:hover:after, [data-balloon][data-balloon-pos=up-left]:hover:before, [data-balloon][data-balloon-pos=up-left][data-balloon-visible]:after, [data-balloon][data-balloon-pos=up-left][data-balloon-visible]:before { | |
-webkit-transform: translate(0); | |
transform: translate(0) | |
} | |
[data-balloon][data-balloon-pos=up-right]:after { | |
right: 0; | |
margin-bottom: 11px | |
} | |
[data-balloon][data-balloon-pos=up-right]:after, [data-balloon][data-balloon-pos=up-right]:before { | |
bottom: 100%; | |
-webkit-transform: translateY(10px); | |
transform: translateY(10px); | |
-webkit-transform-origin: top; | |
transform-origin: top | |
} | |
[data-balloon][data-balloon-pos=up-right]:before { | |
right: 5px; | |
margin-bottom: 5px | |
} | |
[data-balloon][data-balloon-pos=up-right]:hover:after, [data-balloon][data-balloon-pos=up-right]:hover:before, [data-balloon][data-balloon-pos=up-right][data-balloon-visible]:after, [data-balloon][data-balloon-pos=up-right][data-balloon-visible]:before { | |
-webkit-transform: translate(0); | |
transform: translate(0) | |
} | |
[data-balloon][data-balloon-pos=down]:after { | |
margin-top: 11px | |
} | |
[data-balloon][data-balloon-pos=down]:after, [data-balloon][data-balloon-pos=down]:before { | |
left: 50%; | |
top: 100%; | |
-webkit-transform: translate(-50%, -10px); | |
transform: translate(-50%, -10px) | |
} | |
[data-balloon][data-balloon-pos=down]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002C21.715-.002 27.406 12 33.342 12z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 18px; | |
height: 6px; | |
margin-top: 5px | |
} | |
[data-balloon][data-balloon-pos=down]:hover:after, [data-balloon][data-balloon-pos=down]:hover:before, [data-balloon][data-balloon-pos=down][data-balloon-visible]:after, [data-balloon][data-balloon-pos=down][data-balloon-visible]:before { | |
-webkit-transform: translate(-50%); | |
transform: translate(-50%) | |
} | |
[data-balloon][data-balloon-pos=down-left]:after { | |
left: 0; | |
margin-top: 11px; | |
top: 100%; | |
-webkit-transform: translateY(-10px); | |
transform: translateY(-10px) | |
} | |
[data-balloon][data-balloon-pos=down-left]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002C21.715-.002 27.406 12 33.342 12z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 18px; | |
height: 6px; | |
left: 5px; | |
margin-top: 5px; | |
top: 100%; | |
-webkit-transform: translateY(-10px); | |
transform: translateY(-10px) | |
} | |
[data-balloon][data-balloon-pos=down-left]:hover:after, [data-balloon][data-balloon-pos=down-left]:hover:before, [data-balloon][data-balloon-pos=down-left][data-balloon-visible]:after, [data-balloon][data-balloon-pos=down-left][data-balloon-visible]:before { | |
-webkit-transform: translate(0); | |
transform: translate(0) | |
} | |
[data-balloon][data-balloon-pos=down-right]:after { | |
right: 0; | |
margin-top: 11px; | |
top: 100%; | |
-webkit-transform: translateY(-10px); | |
transform: translateY(-10px) | |
} | |
[data-balloon][data-balloon-pos=down-right]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002C21.715-.002 27.406 12 33.342 12z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 18px; | |
height: 6px; | |
right: 5px; | |
margin-top: 5px; | |
top: 100%; | |
-webkit-transform: translateY(-10px); | |
transform: translateY(-10px) | |
} | |
[data-balloon][data-balloon-pos=down-right]:hover:after, [data-balloon][data-balloon-pos=down-right]:hover:before, [data-balloon][data-balloon-pos=down-right][data-balloon-visible]:after, [data-balloon][data-balloon-pos=down-right][data-balloon-visible]:before { | |
-webkit-transform: translate(0); | |
transform: translate(0) | |
} | |
[data-balloon][data-balloon-pos=left]:after { | |
margin-right: 11px; | |
right: 100%; | |
top: 50%; | |
-webkit-transform: translate(10px, -50%); | |
transform: translate(10px, -50%) | |
} | |
[data-balloon][data-balloon-pos=left]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002C12.002 21.715 0 27.406 0 33.342z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 6px; | |
height: 18px; | |
margin-right: 5px; | |
right: 100%; | |
top: 50%; | |
-webkit-transform: translate(10px, -50%); | |
transform: translate(10px, -50%) | |
} | |
[data-balloon][data-balloon-pos=left]:hover:after, [data-balloon][data-balloon-pos=left]:hover:before, [data-balloon][data-balloon-pos=left][data-balloon-visible]:after, [data-balloon][data-balloon-pos=left][data-balloon-visible]:before { | |
-webkit-transform: translateY(-50%); | |
transform: translateY(-50%) | |
} | |
[data-balloon][data-balloon-pos=right]:after { | |
left: 100%; | |
margin-left: 11px; | |
top: 50%; | |
-webkit-transform: translate(-10px, -50%); | |
transform: translate(-10px, -50%) | |
} | |
[data-balloon][data-balloon-pos=right]:before { | |
background: no-repeat url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M12 2.658v32.004c0-6-12.002-11.627-12.002-16.002C-.002 14.285 12 8.594 12 2.658z'/%3E%3C/svg%3E"); | |
background-size: 100% auto; | |
width: 6px; | |
height: 18px; | |
left: 100%; | |
margin-left: 5px; | |
top: 50%; | |
-webkit-transform: translate(-10px, -50%); | |
transform: translate(-10px, -50%) | |
} | |
[data-balloon][data-balloon-pos=right]:hover:after, [data-balloon][data-balloon-pos=right]:hover:before, [data-balloon][data-balloon-pos=right][data-balloon-visible]:after, [data-balloon][data-balloon-pos=right][data-balloon-visible]:before { | |
-webkit-transform: translateY(-50%); | |
transform: translateY(-50%) | |
} | |
[data-balloon][data-balloon-length=small]:after { | |
white-space: normal; | |
width: 80px | |
} | |
[data-balloon][data-balloon-length=medium]:after { | |
white-space: normal; | |
width: 150px | |
} | |
[data-balloon][data-balloon-length=large]:after { | |
white-space: normal; | |
width: 260px | |
} | |
[data-balloon][data-balloon-length=xlarge]:after { | |
white-space: normal; | |
width: 380px | |
} | |
@media screen and (max-width: 768px) { | |
[data-balloon][data-balloon-length=xlarge]:after { | |
white-space: normal; | |
width: 90vw | |
} | |
} | |
[data-balloon][data-balloon-length=fit]:after { | |
white-space: normal; | |
width: 100% | |
} | |
@-webkit-keyframes my-face { | |
2% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
4% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
6% { | |
-webkit-transform: translateY(1.5px) rotate(-1.5deg); | |
transform: translateY(1.5px) rotate(-1.5deg) | |
} | |
8% { | |
-webkit-transform: translateY(-1.5px) rotate(-1.5deg); | |
transform: translateY(-1.5px) rotate(-1.5deg) | |
} | |
10% { | |
-webkit-transform: translateY(2.5px) rotate(1.5deg); | |
transform: translateY(2.5px) rotate(1.5deg) | |
} | |
12% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
14% { | |
-webkit-transform: translateY(-1.5px) rotate(1.5deg); | |
transform: translateY(-1.5px) rotate(1.5deg) | |
} | |
16% { | |
-webkit-transform: translateY(-.5px) rotate(-1.5deg); | |
transform: translateY(-.5px) rotate(-1.5deg) | |
} | |
18% { | |
-webkit-transform: translateY(.5px) rotate(-1.5deg); | |
transform: translateY(.5px) rotate(-1.5deg) | |
} | |
20% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
22% { | |
-webkit-transform: translateY(.5px) rotate(-1.5deg); | |
transform: translateY(.5px) rotate(-1.5deg) | |
} | |
24% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
26% { | |
-webkit-transform: translateY(.5px) rotate(.5deg); | |
transform: translateY(.5px) rotate(.5deg) | |
} | |
28% { | |
-webkit-transform: translateY(.5px) rotate(1.5deg); | |
transform: translateY(.5px) rotate(1.5deg) | |
} | |
30% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
32% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
34% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
36% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
38% { | |
-webkit-transform: translateY(1.5px) rotate(-1.5deg); | |
transform: translateY(1.5px) rotate(-1.5deg) | |
} | |
40% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
42% { | |
-webkit-transform: translateY(2.5px) rotate(-1.5deg); | |
transform: translateY(2.5px) rotate(-1.5deg) | |
} | |
44% { | |
-webkit-transform: translateY(1.5px) rotate(.5deg); | |
transform: translateY(1.5px) rotate(.5deg) | |
} | |
46% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
48% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
50% { | |
-webkit-transform: translateY(.5px) rotate(.5deg); | |
transform: translateY(.5px) rotate(.5deg) | |
} | |
52% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
54% { | |
-webkit-transform: translateY(-1.5px) rotate(1.5deg); | |
transform: translateY(-1.5px) rotate(1.5deg) | |
} | |
56% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
58% { | |
-webkit-transform: translateY(.5px) rotate(2.5deg); | |
transform: translateY(.5px) rotate(2.5deg) | |
} | |
60% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
62% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
64% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
66% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
68% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
70% { | |
-webkit-transform: translateY(1.5px) rotate(.5deg); | |
transform: translateY(1.5px) rotate(.5deg) | |
} | |
72% { | |
-webkit-transform: translateY(2.5px) rotate(1.5deg); | |
transform: translateY(2.5px) rotate(1.5deg) | |
} | |
74% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
76% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
78% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
80% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
82% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
84% { | |
-webkit-transform: translateY(1.5px) rotate(2.5deg); | |
transform: translateY(1.5px) rotate(2.5deg) | |
} | |
86% { | |
-webkit-transform: translateY(-1.5px) rotate(-1.5deg); | |
transform: translateY(-1.5px) rotate(-1.5deg) | |
} | |
88% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
90% { | |
-webkit-transform: translateY(2.5px) rotate(-.5deg); | |
transform: translateY(2.5px) rotate(-.5deg) | |
} | |
92% { | |
-webkit-transform: translateY(.5px) rotate(-.5deg); | |
transform: translateY(.5px) rotate(-.5deg) | |
} | |
94% { | |
-webkit-transform: translateY(2.5px) rotate(.5deg); | |
transform: translateY(2.5px) rotate(.5deg) | |
} | |
96% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
98% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
0%, to { | |
-webkit-transform: translate(0) rotate(0deg); | |
transform: translate(0) rotate(0deg) | |
} | |
} | |
@keyframes my-face { | |
2% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
4% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
6% { | |
-webkit-transform: translateY(1.5px) rotate(-1.5deg); | |
transform: translateY(1.5px) rotate(-1.5deg) | |
} | |
8% { | |
-webkit-transform: translateY(-1.5px) rotate(-1.5deg); | |
transform: translateY(-1.5px) rotate(-1.5deg) | |
} | |
10% { | |
-webkit-transform: translateY(2.5px) rotate(1.5deg); | |
transform: translateY(2.5px) rotate(1.5deg) | |
} | |
12% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
14% { | |
-webkit-transform: translateY(-1.5px) rotate(1.5deg); | |
transform: translateY(-1.5px) rotate(1.5deg) | |
} | |
16% { | |
-webkit-transform: translateY(-.5px) rotate(-1.5deg); | |
transform: translateY(-.5px) rotate(-1.5deg) | |
} | |
18% { | |
-webkit-transform: translateY(.5px) rotate(-1.5deg); | |
transform: translateY(.5px) rotate(-1.5deg) | |
} | |
20% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
22% { | |
-webkit-transform: translateY(.5px) rotate(-1.5deg); | |
transform: translateY(.5px) rotate(-1.5deg) | |
} | |
24% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
26% { | |
-webkit-transform: translateY(.5px) rotate(.5deg); | |
transform: translateY(.5px) rotate(.5deg) | |
} | |
28% { | |
-webkit-transform: translateY(.5px) rotate(1.5deg); | |
transform: translateY(.5px) rotate(1.5deg) | |
} | |
30% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
32% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
34% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
36% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
38% { | |
-webkit-transform: translateY(1.5px) rotate(-1.5deg); | |
transform: translateY(1.5px) rotate(-1.5deg) | |
} | |
40% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
42% { | |
-webkit-transform: translateY(2.5px) rotate(-1.5deg); | |
transform: translateY(2.5px) rotate(-1.5deg) | |
} | |
44% { | |
-webkit-transform: translateY(1.5px) rotate(.5deg); | |
transform: translateY(1.5px) rotate(.5deg) | |
} | |
46% { | |
-webkit-transform: translateY(-1.5px) rotate(2.5deg); | |
transform: translateY(-1.5px) rotate(2.5deg) | |
} | |
48% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
50% { | |
-webkit-transform: translateY(.5px) rotate(.5deg); | |
transform: translateY(.5px) rotate(.5deg) | |
} | |
52% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
54% { | |
-webkit-transform: translateY(-1.5px) rotate(1.5deg); | |
transform: translateY(-1.5px) rotate(1.5deg) | |
} | |
56% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
58% { | |
-webkit-transform: translateY(.5px) rotate(2.5deg); | |
transform: translateY(.5px) rotate(2.5deg) | |
} | |
60% { | |
-webkit-transform: translateY(2.5px) rotate(2.5deg); | |
transform: translateY(2.5px) rotate(2.5deg) | |
} | |
62% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
64% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
66% { | |
-webkit-transform: translateY(1.5px) rotate(-.5deg); | |
transform: translateY(1.5px) rotate(-.5deg) | |
} | |
68% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
70% { | |
-webkit-transform: translateY(1.5px) rotate(.5deg); | |
transform: translateY(1.5px) rotate(.5deg) | |
} | |
72% { | |
-webkit-transform: translateY(2.5px) rotate(1.5deg); | |
transform: translateY(2.5px) rotate(1.5deg) | |
} | |
74% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
76% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
78% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
80% { | |
-webkit-transform: translateY(1.5px) rotate(1.5deg); | |
transform: translateY(1.5px) rotate(1.5deg) | |
} | |
82% { | |
-webkit-transform: translateY(-.5px) rotate(.5deg); | |
transform: translateY(-.5px) rotate(.5deg) | |
} | |
84% { | |
-webkit-transform: translateY(1.5px) rotate(2.5deg); | |
transform: translateY(1.5px) rotate(2.5deg) | |
} | |
86% { | |
-webkit-transform: translateY(-1.5px) rotate(-1.5deg); | |
transform: translateY(-1.5px) rotate(-1.5deg) | |
} | |
88% { | |
-webkit-transform: translateY(-.5px) rotate(2.5deg); | |
transform: translateY(-.5px) rotate(2.5deg) | |
} | |
90% { | |
-webkit-transform: translateY(2.5px) rotate(-.5deg); | |
transform: translateY(2.5px) rotate(-.5deg) | |
} | |
92% { | |
-webkit-transform: translateY(.5px) rotate(-.5deg); | |
transform: translateY(.5px) rotate(-.5deg) | |
} | |
94% { | |
-webkit-transform: translateY(2.5px) rotate(.5deg); | |
transform: translateY(2.5px) rotate(.5deg) | |
} | |
96% { | |
-webkit-transform: translateY(-.5px) rotate(1.5deg); | |
transform: translateY(-.5px) rotate(1.5deg) | |
} | |
98% { | |
-webkit-transform: translateY(-1.5px) rotate(-.5deg); | |
transform: translateY(-1.5px) rotate(-.5deg) | |
} | |
0%, to { | |
-webkit-transform: translate(0) rotate(0deg); | |
transform: translate(0) rotate(0deg) | |
} | |
} | |
.dplayer { | |
position: relative; | |
overflow: hidden; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
line-height: 1 | |
} | |
.dplayer * { | |
box-sizing: content-box | |
} | |
.dplayer svg { | |
width: 100%; | |
height: 100% | |
} | |
.dplayer svg circle, .dplayer svg path { | |
fill: #fff | |
} | |
.dplayer:-webkit-full-screen { | |
width: 100%; | |
height: 100%; | |
background: #000; | |
position: fixed; | |
z-index: 100000; | |
left: 0; | |
top: 0 | |
} | |
.dplayer:-webkit-full-screen .dplayer-danmaku .dplayer-danmaku-bottom.dplayer-danmaku-move, .dplayer:-webkit-full-screen .dplayer-danmaku .dplayer-danmaku-top.dplayer-danmaku-move { | |
-webkit-animation: danmaku-center 6s linear; | |
animation: danmaku-center 6s linear; | |
-webkit-animation-play-state: inherit; | |
animation-play-state: inherit | |
} | |
.dplayer:-webkit-full-screen .dplayer-danmaku .dplayer-danmaku-right.dplayer-danmaku-move { | |
-webkit-animation: danmaku 8s linear; | |
animation: danmaku 8s linear; | |
-webkit-animation-play-state: inherit; | |
animation-play-state: inherit | |
} | |
.dplayer.dplayer-live .dplayer-bar-wrap, .dplayer.dplayer-live .dplayer-setting-loop, .dplayer.dplayer-live .dplayer-setting-speed, .dplayer.dplayer-live .dplayer-time, .dplayer.dplayer-no-danmaku .dplayer-controller .dplayer-icons .dplayer-comment, .dplayer.dplayer-no-danmaku .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box .dplayer-setting-danmaku, .dplayer.dplayer-no-danmaku .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box .dplayer-setting-danunlimit, .dplayer.dplayer-no-danmaku .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box .dplayer-setting-showdan, .dplayer.dplayer-no-danmaku .dplayer-danmaku { | |
display: none | |
} | |
.dplayer.dplayer-arrow .dplayer-danmaku { | |
font-size: 18px | |
} | |
.dplayer.dplayer-arrow .dplayer-icon { | |
margin: 0 -3px | |
} | |
.dplayer.dplayer-playing .dplayer-danmaku .dplayer-danmaku-move { | |
-webkit-animation-play-state: running; | |
animation-play-state: running | |
} | |
@media (min-width: 900px) { | |
.dplayer.dplayer-playing .dplayer-controller, .dplayer.dplayer-playing .dplayer-controller-mask { | |
opacity: 0 | |
} | |
.dplayer.dplayer-playing:hover .dplayer-controller, .dplayer.dplayer-playing:hover .dplayer-controller-mask { | |
opacity: 1 | |
} | |
} | |
.dplayer.dplayer-loading .dplayer-bezel .diplayer-loading-icon { | |
display: block | |
} | |
.dplayer.dplayer-loading .dplayer-danmaku, .dplayer.dplayer-loading .dplayer-danmaku-move, .dplayer.dplayer-paused .dplayer-danmaku, .dplayer.dplayer-paused .dplayer-danmaku-move { | |
-webkit-animation-play-state: paused; | |
animation-play-state: paused | |
} | |
.dplayer.dplayer-hide-controller { | |
cursor: none | |
} | |
.dplayer.dplayer-hide-controller .dplayer-controller, .dplayer.dplayer-hide-controller .dplayer-controller-mask { | |
opacity: 0; | |
-webkit-transform: translateY(100%); | |
transform: translateY(100%) | |
} | |
.dplayer.dplayer-show-controller .dplayer-controller, .dplayer.dplayer-show-controller .dplayer-controller-mask { | |
opacity: 1 | |
} | |
.dplayer.dplayer-fulled { | |
position: fixed; | |
z-index: 100000; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 100% | |
} | |
.dplayer.dplayer-mobile .dplayer-controller .dplayer-icons .dplayer-camera-icon, .dplayer.dplayer-mobile .dplayer-controller .dplayer-icons .dplayer-volume { | |
display: none | |
} | |
.dplayer.dplayer-mobile .dplayer-controller .dplayer-icons .dplayer-full .dplayer-full-in-icon { | |
position: static; | |
display: inline-block | |
} | |
.dplayer.dplayer-mobile .dplayer-bar-time { | |
display: none | |
} | |
.dplayer-web-fullscreen-fix { | |
position: fixed; | |
top: 0; | |
left: 0; | |
margin: 0; | |
padding: 0 | |
} | |
[data-balloon]:before { | |
display: none | |
} | |
[data-balloon]:after { | |
padding: .3em .7em; | |
background: hsla(0, 0%, 7%, .7) | |
} | |
[data-balloon][data-balloon-pos=up]:after { | |
margin-bottom: 0 | |
} | |
.dplayer-bezel { | |
position: absolute; | |
left: 0; | |
right: 0; | |
top: 0; | |
bottom: 0; | |
font-size: 22px; | |
color: #fff; | |
pointer-events: none | |
} | |
.dplayer-bezel .dplayer-bezel-icon { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
margin: -26px 0 0 -26px; | |
height: 52px; | |
width: 52px; | |
padding: 12px; | |
box-sizing: border-box; | |
background: rgba(0, 0, 0, .5); | |
border-radius: 50%; | |
opacity: 0; | |
pointer-events: none | |
} | |
.dplayer-bezel .dplayer-bezel-icon.dplayer-bezel-transition { | |
-webkit-animation: bezel-hide .5s linear; | |
animation: bezel-hide .5s linear | |
} | |
@-webkit-keyframes bezel-hide { | |
0% { | |
opacity: 1; | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
to { | |
opacity: 0; | |
-webkit-transform: scale(2); | |
transform: scale(2) | |
} | |
} | |
@keyframes bezel-hide { | |
0% { | |
opacity: 1; | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
to { | |
opacity: 0; | |
-webkit-transform: scale(2); | |
transform: scale(2) | |
} | |
} | |
.dplayer-bezel .dplayer-danloading { | |
position: absolute; | |
top: 50%; | |
margin-top: -7px; | |
width: 100%; | |
text-align: center; | |
font-size: 14px; | |
line-height: 14px; | |
-webkit-animation: my-face 5s infinite ease-in-out; | |
animation: my-face 5s infinite ease-in-out | |
} | |
.dplayer-bezel .diplayer-loading-icon { | |
display: none; | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
margin: -18px 0 0 -18px; | |
height: 36px; | |
width: 36px; | |
pointer-events: none | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-hide { | |
display: none | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot { | |
-webkit-animation: diplayer-loading-dot-fade .8s ease infinite; | |
animation: diplayer-loading-dot-fade .8s ease infinite; | |
opacity: 0; | |
-webkit-transform-origin: 4px 4px; | |
transform-origin: 4px 4px | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-7 { | |
-webkit-animation-delay: .7s; | |
animation-delay: .7s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-6 { | |
-webkit-animation-delay: .6s; | |
animation-delay: .6s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-5 { | |
-webkit-animation-delay: .5s; | |
animation-delay: .5s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-4 { | |
-webkit-animation-delay: .4s; | |
animation-delay: .4s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-3 { | |
-webkit-animation-delay: .3s; | |
animation-delay: .3s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-2 { | |
-webkit-animation-delay: .2s; | |
animation-delay: .2s | |
} | |
.dplayer-bezel .diplayer-loading-icon .diplayer-loading-dot.diplayer-loading-dot-1 { | |
-webkit-animation-delay: .1s; | |
animation-delay: .1s | |
} | |
@-webkit-keyframes diplayer-loading-dot-fade { | |
0% { | |
opacity: .7; | |
-webkit-transform: scale(1.2); | |
transform: scale(1.2) | |
} | |
50% { | |
opacity: .25; | |
-webkit-transform: scale(.9); | |
transform: scale(.9) | |
} | |
to { | |
opacity: .25; | |
-webkit-transform: scale(.85); | |
transform: scale(.85) | |
} | |
} | |
@keyframes diplayer-loading-dot-fade { | |
0% { | |
opacity: .7; | |
-webkit-transform: scale(1.2); | |
transform: scale(1.2) | |
} | |
50% { | |
opacity: .25; | |
-webkit-transform: scale(.9); | |
transform: scale(.9) | |
} | |
to { | |
opacity: .25; | |
-webkit-transform: scale(.85); | |
transform: scale(.85) | |
} | |
} | |
.dplayer-controller-mask { | |
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==) repeat-x bottom; | |
height: 98px; | |
width: 100% | |
} | |
.dplayer-controller, .dplayer-controller-mask { | |
position: absolute; | |
bottom: 0; | |
transition: all .3s ease | |
} | |
.dplayer-controller { | |
left: 0; | |
right: 0; | |
height: 41px; | |
padding: 0 20px; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none | |
} | |
.dplayer-controller.dplayer-controller-comment .dplayer-icons { | |
display: none | |
} | |
.dplayer-controller.dplayer-controller-comment .dplayer-icons.dplayer-comment-box { | |
display: block | |
} | |
.dplayer-controller .dplayer-bar-wrap { | |
padding: 5px 0; | |
cursor: pointer; | |
position: absolute; | |
bottom: 33px; | |
width: calc(100% - 40px); | |
height: 3px | |
} | |
.dplayer-controller .dplayer-bar-wrap:hover .dplayer-bar .dplayer-played .dplayer-thumb { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar-preview { | |
position: absolute; | |
background: #fff; | |
pointer-events: none; | |
display: none; | |
background-size: auto 100% | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar-preview-canvas { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
z-index: 1; | |
pointer-events: none | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar-time { | |
position: absolute; | |
left: 0; | |
top: -20px; | |
width: 30px; | |
border-radius: 4px; | |
padding: 5px 7px; | |
background-color: rgba(0, 0, 0, .62); | |
color: #fff; | |
font-size: 12px; | |
text-align: center; | |
opacity: 1; | |
transition: opacity .1s ease-in-out; | |
word-wrap: normal; | |
word-break: normal; | |
z-index: 2; | |
pointer-events: none | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar-time.hidden { | |
opacity: 0 | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar { | |
position: relative; | |
height: 3px; | |
width: 100%; | |
background: hsla(0, 0%, 100%, .2); | |
cursor: pointer | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar .dplayer-loaded { | |
background: hsla(0, 0%, 100%, .4); | |
transition: all .5s ease | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar .dplayer-loaded, .dplayer-controller .dplayer-bar-wrap .dplayer-bar .dplayer-played { | |
position: absolute; | |
left: 0; | |
top: 0; | |
bottom: 0; | |
height: 3px; | |
will-change: width | |
} | |
.dplayer-controller .dplayer-bar-wrap .dplayer-bar .dplayer-played .dplayer-thumb { | |
position: absolute; | |
top: 0; | |
right: 5px; | |
margin-top: -4px; | |
margin-right: -10px; | |
height: 11px; | |
width: 11px; | |
border-radius: 50%; | |
cursor: pointer; | |
transition: all .3s ease-in-out; | |
-webkit-transform: scale(0); | |
transform: scale(0) | |
} | |
.dplayer-controller .dplayer-icons { | |
height: 38px; | |
position: absolute; | |
bottom: 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box { | |
display: none; | |
position: absolute; | |
transition: all .3s ease-in-out; | |
z-index: 2; | |
height: 38px; | |
bottom: 0; | |
left: 20px; | |
right: 20px; | |
color: #fff | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-icon { | |
padding: 7px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-icon { | |
position: absolute; | |
left: 0; | |
top: 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-send-icon { | |
position: absolute; | |
right: 0; | |
top: 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box { | |
position: absolute; | |
background: rgba(28, 28, 28, .9); | |
bottom: 41px; | |
left: 0; | |
box-shadow: 0 0 25px rgba(0, 0, 0, .3); | |
border-radius: 4px; | |
padding: 10px 10px 16px; | |
font-size: 14px; | |
width: 204px; | |
transition: all .3s ease-in-out; | |
-webkit-transform: scale(0); | |
transform: scale(0) | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box.dplayer-comment-setting-open { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box input[type=radio] { | |
display: none | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box label { | |
cursor: pointer | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-title { | |
font-size: 13px; | |
color: #fff; | |
line-height: 30px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type { | |
font-size: 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type .dplayer-comment-setting-title { | |
margin-bottom: 6px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type label:nth-child(2) span { | |
border-radius: 4px 0 0 4px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type label:nth-child(4) span { | |
border-radius: 0 4px 4px 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type span { | |
width: 33%; | |
padding: 4px 6px; | |
line-height: 16px; | |
display: inline-block; | |
font-size: 12px; | |
color: #fff; | |
border: 1px solid #fff; | |
margin-right: -1px; | |
box-sizing: border-box; | |
text-align: center; | |
cursor: pointer | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-type input:checked + span { | |
background: #e4e4e6; | |
color: #1c1c1c | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-color { | |
font-size: 0 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-color label { | |
font-size: 0; | |
padding: 6px; | |
display: inline-block | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-color span { | |
width: 22px; | |
height: 22px; | |
display: inline-block; | |
border-radius: 50%; | |
box-sizing: border-box; | |
cursor: pointer | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-setting-box .dplayer-comment-setting-color span:hover { | |
-webkit-animation: my-face 5s infinite ease-in-out; | |
animation: my-face 5s infinite ease-in-out | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-input { | |
outline: none; | |
border: none; | |
padding: 8px 31px; | |
font-size: 14px; | |
line-height: 18px; | |
text-align: center; | |
border-radius: 4px; | |
background: none; | |
margin: 0; | |
height: 100%; | |
box-sizing: border-box; | |
width: 100%; | |
color: #fff | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-input::-webkit-input-placeholder { | |
color: #fff; | |
opacity: .8 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-input:-ms-input-placeholder, .dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-input::-ms-input-placeholder { | |
color: #fff; | |
opacity: .8 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-comment-box .dplayer-comment-input::placeholder { | |
color: #fff; | |
opacity: .8 | |
} | |
.dplayer-controller .dplayer-icons.dplayer-icons-left .dplayer-icon { | |
padding: 7px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-icons-right { | |
right: 20px | |
} | |
.dplayer-controller .dplayer-icons.dplayer-icons-right .dplayer-icon { | |
padding: 8px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-live-badge, .dplayer-controller .dplayer-icons .dplayer-time { | |
line-height: 38px; | |
color: #eee; | |
text-shadow: 0 0 2px rgba(0, 0, 0, .5); | |
vertical-align: middle; | |
font-size: 13px; | |
cursor: default | |
} | |
.dplayer-controller .dplayer-icons .dplayer-live-dot { | |
display: inline-block; | |
width: 6px; | |
height: 6px; | |
vertical-align: 4%; | |
margin-right: 5px; | |
content: ""; | |
border-radius: 6px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon { | |
width: 40px; | |
height: 100%; | |
border: none; | |
background-color: transparent; | |
outline: none; | |
cursor: pointer; | |
vertical-align: middle; | |
box-sizing: border-box; | |
display: inline-block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon .dplayer-icon-content { | |
transition: all .2s ease-in-out; | |
opacity: .8 | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon:hover .dplayer-icon-content { | |
opacity: 1 | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon.dplayer-quality-icon { | |
color: #fff; | |
width: auto; | |
line-height: 22px; | |
font-size: 14px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon.dplayer-comment-icon { | |
padding: 10px 9px 9px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon.dplayer-setting-icon { | |
padding-top: 8.5px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-icon.dplayer-volume-icon { | |
width: 43px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume { | |
position: relative; | |
display: inline-block; | |
cursor: pointer; | |
height: 100% | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume:hover .dplayer-volume-bar-wrap .dplayer-volume-bar { | |
width: 45px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume:hover .dplayer-volume-bar-wrap .dplayer-volume-bar .dplayer-volume-bar-inner .dplayer-thumb { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume.dplayer-volume-active .dplayer-volume-bar-wrap .dplayer-volume-bar { | |
width: 45px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume.dplayer-volume-active .dplayer-volume-bar-wrap .dplayer-volume-bar .dplayer-volume-bar-inner .dplayer-thumb { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume .dplayer-volume-bar-wrap { | |
display: inline-block; | |
margin: 0 10px 0 -5px; | |
vertical-align: middle; | |
height: 100% | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume .dplayer-volume-bar-wrap .dplayer-volume-bar { | |
position: relative; | |
top: 17px; | |
width: 0; | |
height: 3px; | |
background: #aaa; | |
transition: all .3s ease-in-out | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume .dplayer-volume-bar-wrap .dplayer-volume-bar .dplayer-volume-bar-inner { | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
height: 100%; | |
transition: all .1s ease; | |
will-change: width | |
} | |
.dplayer-controller .dplayer-icons .dplayer-volume .dplayer-volume-bar-wrap .dplayer-volume-bar .dplayer-volume-bar-inner .dplayer-thumb { | |
position: absolute; | |
top: 0; | |
right: 5px; | |
margin-top: -4px; | |
margin-right: -10px; | |
height: 11px; | |
width: 11px; | |
border-radius: 50%; | |
cursor: pointer; | |
transition: all .3s ease-in-out; | |
-webkit-transform: scale(0); | |
transform: scale(0) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting, .dplayer-controller .dplayer-icons .dplayer-subtitle-btn { | |
display: inline-block; | |
height: 100% | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box { | |
position: absolute; | |
right: 0; | |
bottom: 50px; | |
-webkit-transform: scale(0); | |
transform: scale(0); | |
width: 150px; | |
border-radius: 2px; | |
background: rgba(28, 28, 28, .9); | |
padding: 7px 0; | |
transition: all .3s ease-in-out; | |
overflow: hidden; | |
z-index: 2 | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box > div { | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box > div.dplayer-setting-origin-panel { | |
display: block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box.dplayer-setting-box-open { | |
-webkit-transform: scale(1); | |
transform: scale(1) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box.dplayer-setting-box-narrow { | |
width: 70px; | |
height: 180px; | |
text-align: center | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box.dplayer-setting-box-speed .dplayer-setting-origin-panel { | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-box.dplayer-setting-box-speed .dplayer-setting-speed-panel { | |
display: block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-item, .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-speed-item { | |
height: 30px; | |
padding: 5px 10px; | |
box-sizing: border-box; | |
cursor: pointer; | |
position: relative | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-item:hover, .dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-speed-item:hover { | |
background-color: hsla(0, 0%, 100%, .1) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku { | |
padding: 5px 0 | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku .dplayer-label { | |
padding: 0 10px; | |
display: inline | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku:hover .dplayer-label { | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku:hover .dplayer-danmaku-bar-wrap { | |
display: inline-block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku.dplayer-setting-danmaku-active .dplayer-label { | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku.dplayer-setting-danmaku-active .dplayer-danmaku-bar-wrap { | |
display: inline-block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku .dplayer-danmaku-bar-wrap { | |
padding: 0 10px; | |
box-sizing: border-box; | |
display: none; | |
vertical-align: middle; | |
height: 100%; | |
width: 100% | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku .dplayer-danmaku-bar-wrap .dplayer-danmaku-bar { | |
position: relative; | |
top: 8.5px; | |
width: 100%; | |
height: 3px; | |
background: #fff; | |
transition: all .3s ease-in-out | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku .dplayer-danmaku-bar-wrap .dplayer-danmaku-bar .dplayer-danmaku-bar-inner { | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
height: 100%; | |
transition: all .1s ease; | |
background: #aaa; | |
will-change: width | |
} | |
.dplayer-controller .dplayer-icons .dplayer-setting .dplayer-setting-danmaku .dplayer-danmaku-bar-wrap .dplayer-danmaku-bar .dplayer-danmaku-bar-inner .dplayer-thumb { | |
position: absolute; | |
top: 0; | |
right: 5px; | |
margin-top: -4px; | |
margin-right: -10px; | |
height: 11px; | |
width: 11px; | |
border-radius: 50%; | |
cursor: pointer; | |
transition: all .3s ease-in-out; | |
background: #aaa | |
} | |
.dplayer-controller .dplayer-icons .dplayer-full { | |
display: inline-block; | |
height: 100%; | |
position: relative | |
} | |
.dplayer-controller .dplayer-icons .dplayer-full:hover .dplayer-full-in-icon { | |
display: block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-full .dplayer-full-in-icon { | |
position: absolute; | |
top: -30px; | |
z-index: 1; | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality { | |
position: relative; | |
display: inline-block; | |
height: 100%; | |
z-index: 2 | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality:hover .dplayer-quality-list, .dplayer-controller .dplayer-icons .dplayer-quality:hover .dplayer-quality-mask { | |
display: block | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality .dplayer-quality-mask { | |
display: none; | |
position: absolute; | |
bottom: 38px; | |
left: -18px; | |
width: 80px; | |
padding-bottom: 12px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality .dplayer-quality-list { | |
display: none; | |
font-size: 12px; | |
width: 80px; | |
border-radius: 2px; | |
background: rgba(28, 28, 28, .9); | |
padding: 5px 0; | |
transition: all .3s ease-in-out; | |
overflow: hidden; | |
color: #fff; | |
text-align: center | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality .dplayer-quality-item { | |
height: 25px; | |
box-sizing: border-box; | |
cursor: pointer; | |
line-height: 25px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-quality .dplayer-quality-item:hover { | |
background-color: hsla(0, 0%, 100%, .1) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-comment { | |
display: inline-block; | |
height: 100% | |
} | |
.dplayer-controller .dplayer-icons .dplayer-label { | |
color: #eee; | |
font-size: 13px; | |
display: inline-block; | |
vertical-align: middle; | |
white-space: nowrap | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle { | |
width: 32px; | |
height: 20px; | |
text-align: center; | |
font-size: 0; | |
vertical-align: middle; | |
position: absolute; | |
top: 5px; | |
right: 10px | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input { | |
max-height: 0; | |
max-width: 0; | |
display: none | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input + label { | |
display: inline-block; | |
position: relative; | |
box-shadow: inset 0 0 0 0 #dfdfdf; | |
border: 1px solid #dfdfdf; | |
height: 20px; | |
width: 32px; | |
border-radius: 10px; | |
box-sizing: border-box; | |
cursor: pointer; | |
transition: .2s ease-in-out | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input + label:after, .dplayer-controller .dplayer-icons .dplayer-toggle input + label:before { | |
content: ""; | |
position: absolute; | |
display: block; | |
height: 18px; | |
width: 18px; | |
top: 0; | |
left: 0; | |
border-radius: 15px; | |
transition: .2s ease-in-out | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input + label:after { | |
background: #fff; | |
box-shadow: 0 1px 3px rgba(0, 0, 0, .4) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input:checked + label { | |
border-color: hsla(0, 0%, 100%, .5) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input:checked + label:before { | |
width: 30px; | |
background: hsla(0, 0%, 100%, .5) | |
} | |
.dplayer-controller .dplayer-icons .dplayer-toggle input:checked + label:after { | |
left: 12px | |
} | |
.dplayer-danmaku { | |
position: absolute; | |
left: 0; | |
right: 0; | |
top: 0; | |
bottom: 0; | |
font-size: 22px; | |
color: #fff | |
} | |
.dplayer-danmaku .dplayer-danmaku-item { | |
display: inline-block; | |
pointer-events: none; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
cursor: default; | |
white-space: nowrap; | |
text-shadow: .5px .5px .5px rgba(0, 0, 0, .5) | |
} | |
.dplayer-danmaku .dplayer-danmaku-item--demo { | |
position: absolute; | |
visibility: hidden | |
} | |
.dplayer-danmaku .dplayer-danmaku-right { | |
position: absolute; | |
right: 0; | |
-webkit-transform: translateX(100%); | |
transform: translateX(100%) | |
} | |
.dplayer-danmaku .dplayer-danmaku-right.dplayer-danmaku-move { | |
will-change: transform; | |
-webkit-animation: danmaku 5s linear; | |
animation: danmaku 5s linear; | |
-webkit-animation-play-state: paused; | |
animation-play-state: paused | |
} | |
@-webkit-keyframes danmaku { | |
0% { | |
-webkit-transform: translateX(100%); | |
transform: translateX(100%) | |
} | |
} | |
@keyframes danmaku { | |
0% { | |
-webkit-transform: translateX(100%); | |
transform: translateX(100%) | |
} | |
} | |
.dplayer-danmaku .dplayer-danmaku-bottom, .dplayer-danmaku .dplayer-danmaku-top { | |
position: absolute; | |
width: 100%; | |
text-align: center; | |
visibility: hidden | |
} | |
.dplayer-danmaku .dplayer-danmaku-bottom.dplayer-danmaku-move, .dplayer-danmaku .dplayer-danmaku-top.dplayer-danmaku-move { | |
will-change: visibility; | |
-webkit-animation: danmaku-center 4s linear; | |
animation: danmaku-center 4s linear; | |
-webkit-animation-play-state: paused; | |
animation-play-state: paused | |
} | |
@-webkit-keyframes danmaku-center { | |
0% { | |
visibility: visible | |
} | |
to { | |
visibility: visible | |
} | |
} | |
@keyframes danmaku-center { | |
0% { | |
visibility: visible | |
} | |
to { | |
visibility: visible | |
} | |
} | |
.dplayer-logo { | |
pointer-events: none; | |
position: absolute; | |
left: 20px; | |
top: 20px; | |
max-width: 50px; | |
max-height: 50px | |
} | |
.dplayer-logo img { | |
max-width: 100%; | |
max-height: 100%; | |
background: none | |
} | |
.dplayer-menu { | |
position: absolute; | |
width: 170px; | |
border-radius: 2px; | |
background: rgba(28, 28, 28, .85); | |
padding: 5px 0; | |
overflow: hidden; | |
z-index: 3; | |
display: none | |
} | |
.dplayer-menu.dplayer-menu-show { | |
display: block | |
} | |
.dplayer-menu .dplayer-menu-item { | |
height: 30px; | |
box-sizing: border-box; | |
cursor: pointer | |
} | |
.dplayer-menu .dplayer-menu-item:hover { | |
background-color: hsla(0, 0%, 100%, .1) | |
} | |
.dplayer-menu .dplayer-menu-item a { | |
padding: 0 10px; | |
line-height: 30px; | |
color: #eee; | |
font-size: 13px; | |
display: inline-block; | |
vertical-align: middle; | |
width: 100%; | |
box-sizing: border-box; | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
overflow: hidden | |
} | |
.dplayer-menu .dplayer-menu-item a:hover { | |
text-decoration: none | |
} | |
.dplayer-notice { | |
opacity: 0; | |
position: absolute; | |
bottom: 60px; | |
left: 20px; | |
font-size: 14px; | |
border-radius: 2px; | |
background: rgba(28, 28, 28, .9); | |
padding: 7px 20px; | |
transition: all .3s ease-in-out; | |
overflow: hidden; | |
color: #fff; | |
pointer-events: none | |
} | |
.dplayer-subtitle { | |
position: absolute; | |
bottom: 40px; | |
width: 90%; | |
left: 5%; | |
text-align: center; | |
color: #fff; | |
text-shadow: .5px .5px .5px rgba(0, 0, 0, .5); | |
font-size: 20px | |
} | |
.dplayer-subtitle.dplayer-subtitle-hide { | |
display: none | |
} | |
.dplayer-mask { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
z-index: 1; | |
display: none | |
} | |
.dplayer-mask.dplayer-mask-show { | |
display: block | |
} | |
.dplayer-video-wrap { | |
position: relative; | |
background: #000; | |
font-size: 0; | |
width: 100%; | |
height: 100% | |
} | |
.dplayer-video-wrap .dplayer-video { | |
width: 100%; | |
height: 100%; | |
display: none | |
} | |
.dplayer-video-wrap .dplayer-video-current { | |
display: block | |
} | |
.dplayer-video-wrap .dplayer-video-prepare { | |
display: none | |
} | |
.dplayer-info-panel { | |
position: absolute; | |
top: 10px; | |
left: 10px; | |
width: 400px; | |
background: rgba(28, 28, 28, .8); | |
padding: 10px; | |
color: #fff; | |
font-size: 12px; | |
border-radius: 2px | |
} | |
.dplayer-info-panel-hide { | |
display: none | |
} | |
.dplayer-info-panel .dplayer-info-panel-close { | |
cursor: pointer; | |
position: absolute; | |
right: 10px; | |
top: 10px | |
} | |
.dplayer-info-panel .dplayer-info-panel-item > span { | |
display: inline-block; | |
vertical-align: middle; | |
line-height: 15px; | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
overflow: hidden | |
} | |
.dplayer-info-panel .dplayer-info-panel-item-title { | |
width: 100px; | |
text-align: right; | |
margin-right: 10px | |
} | |
.dplayer-info-panel .dplayer-info-panel-item-data { | |
width: 260px | |
} | |
/*# sourceMappingURL=DPlayer.min.css.map*/ |
!function (e, t) { | |
"object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define("DPlayer", [], t) : "object" == typeof exports ? exports.DPlayer = t() : e.DPlayer = t() | |
}("undefined" != typeof self ? self : this, function () { | |
return function (e) { | |
function t(i) { | |
if (n[i]) return n[i].exports; | |
var a = n[i] = {i: i, l: !1, exports: {}}; | |
return e[i].call(a.exports, a, a.exports, t), a.l = !0, a.exports | |
} | |
var n = {}; | |
return t.m = e, t.c = n, t.d = function (e, n, i) { | |
t.o(e, n) || Object.defineProperty(e, n, {configurable: !1, enumerable: !0, get: i}) | |
}, t.n = function (e) { | |
var n = e && e.__esModule ? function () { | |
return e.default | |
} : function () { | |
return e | |
}; | |
return t.d(n, "a", n), n | |
}, t.o = function (e, t) { | |
return Object.prototype.hasOwnProperty.call(e, t) | |
}, t.p = "/", t(t.s = 5) | |
}([function (e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var i = /mobile/i.test(window.navigator.userAgent), a = { | |
secondToTime: function (e) { | |
var t = function (e) { | |
return e < 10 ? "0" + e : "" + e | |
}, n = Math.floor(e / 3600), i = Math.floor((e - 3600 * n) / 60), a = Math.floor(e - 3600 * n - 60 * i); | |
return (n > 0 ? [n, i, a] : [i, a]).map(t).join(":") | |
}, | |
getElementViewLeft: function (e) { | |
var t = e.offsetLeft, n = e.offsetParent, | |
i = document.body.scrollLeft + document.documentElement.scrollLeft; | |
if (document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement) for (; null !== n && n !== e;) t += n.offsetLeft, n = n.offsetParent; else for (; null !== n;) t += n.offsetLeft, n = n.offsetParent; | |
return t - i | |
}, | |
getScrollPosition: function () { | |
return { | |
left: window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0, | |
top: window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0 | |
} | |
}, | |
setScrollPosition: function (e) { | |
var t = e.left, n = void 0 === t ? 0 : t, i = e.top, a = void 0 === i ? 0 : i; | |
this.isFirefox ? (document.documentElement.scrollLeft = n, document.documentElement.scrollTop = a) : window.scrollTo(n, a) | |
}, | |
isMobile: i, | |
isFirefox: /firefox/i.test(window.navigator.userAgent), | |
isChrome: /chrome/i.test(window.navigator.userAgent), | |
storage: { | |
set: function (e, t) { | |
localStorage.setItem(e, t) | |
}, get: function (e) { | |
return localStorage.getItem(e) | |
} | |
}, | |
cumulativeOffset: function (e) { | |
var t = 0, n = 0; | |
do { | |
t += e.offsetTop || 0, n += e.offsetLeft || 0, e = e.offsetParent | |
} while (e); | |
return {top: t, left: n} | |
}, | |
nameMap: { | |
dragStart: i ? "touchstart" : "mousedown", | |
dragMove: i ? "touchmove" : "mousemove", | |
dragEnd: i ? "touchend" : "mouseup" | |
} | |
}; | |
t.default = a | |
}, function (e, t, n) { | |
"use strict"; | |
var i, a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { | |
return typeof e | |
} : function (e) { | |
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
}; | |
i = function () { | |
return this | |
}(); | |
try { | |
i = i || Function("return this")() || (0, eval)("this") | |
} catch (e) { | |
"object" === ("undefined" == typeof window ? "undefined" : a(window)) && (i = window) | |
} | |
e.exports = i | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
return e && e.__esModule ? e : {default: e} | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = n(16), o = i(a), s = n(17), r = i(s), l = n(18), c = i(l), u = n(19), d = i(u), p = n(20), h = i(p), | |
y = n(21), m = i(y), f = n(22), v = i(f), g = n(23), b = i(g), k = n(24), w = i(k), x = n(25), S = i(x), | |
T = n(26), L = i(T), M = n(27), q = i(M), _ = n(28), E = i(_), B = n(29), P = i(B), C = n(30), O = i(C), | |
z = n(31), F = i(z), j = { | |
play: o.default, | |
pause: r.default, | |
volumeUp: c.default, | |
volumeDown: d.default, | |
volumeOff: h.default, | |
full: m.default, | |
fullWeb: v.default, | |
setting: b.default, | |
right: w.default, | |
comment: S.default, | |
commentOff: L.default, | |
send: q.default, | |
pallette: E.default, | |
camera: P.default, | |
subtitle: O.default, | |
loading: F.default | |
}; | |
t.default = j | |
}, function (e, t, n) { | |
"use strict"; | |
e.exports = n(33) | |
}, function (e, t, n) { | |
var i = n(3); | |
e.exports = function (e) { | |
"use strict"; | |
e = e || {}; | |
var t = "", n = e.enableSubtitle, a = e.subtitle, o = e.current, s = e.pic, r = i.$escape, l = e.screenshot, | |
c = e.preload, u = e.url, n = a && "webvtt" === a.type; | |
return t += '\n<video\n class="dplayer-video ', o && (t += "dplayer-video-current"), t += '"\n webkit-playsinline\n playsinline\n ', s && (t += 'poster="', t += r(s), t += '"'), t += "\n ", (l || n) && (t += 'crossorigin="anonymous"'), t += "\n ", c && (t += 'preload="', t += r(c), t += '"'), t += "\n ", u && (t += 'src="', t += r(u), t += '"'), t += "\n >\n ", n && (t += '\n <track kind="metadata" default src="', t += r(a.url), t += '"></track>\n '), t += "\n</video>" | |
} | |
}, function (e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", {value: !0}), n(6); | |
var i = n(7), a = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(i); | |
// console.log("\n %c DPlayer v1.22.2 d3847a3 %c http://dplayer.js.org \n\n", "color: #fadfa3; background: #030307; padding:5px 0;", "background: #fadfa3; padding:5px 0;"), | |
t.default = a.default | |
}, function (e, t) { | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
return e && e.__esModule ? e : {default: e} | |
} | |
function a(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var o = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), s = n(8), r = i(s), l = n(0), c = i(l), u = n(12), d = i(u), p = n(14), h = i(p), y = n(15), m = i(y), | |
f = n(2), v = i(f), g = n(35), b = i(g), k = n(36), w = i(k), x = n(37), S = i(x), T = n(38), L = i(T), | |
M = n(39), q = i(M), _ = n(40), E = i(_), B = n(41), P = i(B), C = n(42), O = i(C), z = n(43), F = i(z), | |
j = n(45), I = i(j), D = n(46), W = i(D), H = n(47), A = i(H), R = n(48), V = i(R), X = n(49), N = i(X), | |
U = n(4), $ = i(U), Q = 0, J = [], Y = function () { | |
function e(t) { | |
var n = this; | |
a(this, e), this.options = (0, d.default)(t), this.options.video.quality && (this.qualityIndex = this.options.video.defaultQuality, this.quality = this.options.video.quality[this.options.video.defaultQuality]), this.tran = new h.default(this.options.lang).tran, this.events = new w.default, this.user = new L.default(this), this.container = this.options.container, this.container.classList.add("dplayer"), this.options.danmaku || this.container.classList.add("dplayer-no-danmaku"), this.options.live && this.container.classList.add("dplayer-live"), c.default.isMobile && this.container.classList.add("dplayer-mobile"), this.arrow = this.container.offsetWidth <= 500, this.arrow && this.container.classList.add("dplayer-arrow"), this.template = new m.default({ | |
container: this.container, | |
options: this.options, | |
index: Q, | |
tran: this.tran | |
}), this.video = this.template.video, this.bar = new E.default(this.template), this.bezel = new O.default(this.template.bezel), this.fullScreen = new S.default(this), this.controller = new F.default(this), this.options.danmaku && (this.danmaku = new b.default({ | |
container: this.template.danmaku, | |
opacity: this.user.get("opacity"), | |
callback: function () { | |
setTimeout(function () { | |
n.template.danmakuLoading.style.display = "none", n.options.autoplay && n.play() | |
}, 0) | |
}, | |
error: function (e) { | |
n.notice(e) | |
}, | |
apiBackend: this.options.apiBackend, | |
borderColor: this.options.theme, | |
height: this.arrow ? 24 : 30, | |
time: function () { | |
return n.video.currentTime | |
}, | |
unlimited: this.user.get("unlimited"), | |
api: { | |
id: this.options.danmaku.id, | |
address: this.options.danmaku.api, | |
token: this.options.danmaku.token, | |
maximum: this.options.danmaku.maximum, | |
addition: this.options.danmaku.addition, | |
user: this.options.danmaku.user | |
}, | |
events: this.events | |
}), this.comment = new W.default(this)), this.setting = new I.default(this), document.addEventListener("click", function () { | |
n.focus = !1 | |
}, !0), this.container.addEventListener("click", function () { | |
n.focus = !0 | |
}, !0), this.paused = !0, this.time = new P.default(this), this.hotkey = new A.default(this), this.contextmenu = new V.default(this), this.initVideo(this.video, this.quality && this.quality.type || this.options.video.type), this.infoPanel = new N.default(this), !this.danmaku && this.options.autoplay && this.play(), Q++, J.push(this) | |
} | |
return o(e, [{ | |
key: "seek", value: function (e) { | |
e = Math.max(e, 0), this.video.duration && (e = Math.min(e, this.video.duration)), this.video.currentTime < e ? this.notice(this.tran("FF") + " " + (e - this.video.currentTime).toFixed(0) + " " + this.tran("s")) : this.video.currentTime > e && this.notice(this.tran("REW") + " " + (this.video.currentTime - e).toFixed(0) + " " + this.tran("s")), this.video.currentTime = e, this.danmaku && this.danmaku.seek(), this.bar.set("played", e / this.video.duration, "width") | |
} | |
}, { | |
key: "play", value: function () { | |
var e = this; | |
if (this.paused = !1, this.video.paused && this.bezel.switch(v.default.play), this.template.playButton.innerHTML = v.default.pause, r.default.resolve(this.video.play()).catch(function () { | |
e.pause() | |
}).then(function () { | |
}), this.time.enable("loading"), this.time.enable("progress"), this.container.classList.remove("dplayer-paused"), this.container.classList.add("dplayer-playing"), this.danmaku && this.danmaku.play(), this.options.mutex) for (var t = 0; t < J.length; t++) this !== J[t] && J[t].pause() | |
} | |
}, { | |
key: "pause", value: function () { | |
this.paused = !0, this.container.classList.remove("dplayer-loading"), this.video.paused || this.bezel.switch(v.default.pause), this.ended = !1, this.template.playButton.innerHTML = v.default.play, this.video.pause(), this.time.disable("loading"), this.time.disable("progress"), this.container.classList.remove("dplayer-playing"), this.container.classList.add("dplayer-paused"), this.danmaku && this.danmaku.pause() | |
} | |
}, { | |
key: "switchVolumeIcon", value: function () { | |
this.volume() >= .95 ? this.template.volumeIcon.innerHTML = v.default.volumeUp : this.volume() > 0 ? this.template.volumeIcon.innerHTML = v.default.volumeDown : this.template.volumeIcon.innerHTML = v.default.volumeOff | |
} | |
}, { | |
key: "volume", value: function (e, t, n) { | |
if (e = parseFloat(e), !isNaN(e)) { | |
e = Math.max(e, 0), e = Math.min(e, 1), this.bar.set("volume", e, "width"); | |
var i = (100 * e).toFixed(0) + "%"; | |
this.template.volumeBarWrapWrap.dataset.balloon = i, t || this.user.set("volume", e), n || this.notice(this.tran("Volume") + " " + (100 * e).toFixed(0) + "%"), this.video.volume = e, this.video.muted && (this.video.muted = !1), this.switchVolumeIcon() | |
} | |
return this.video.volume | |
} | |
}, { | |
key: "toggle", value: function () { | |
this.video.paused ? this.play() : this.pause() | |
} | |
}, { | |
key: "on", value: function (e, t) { | |
this.events.on(e, t) | |
} | |
}, { | |
key: "switchVideo", value: function (e, t) { | |
this.pause(), this.video.poster = e.pic ? e.pic : "", this.video.src = e.url, this.initMSE(this.video, e.type || "auto"), t && (this.template.danmakuLoading.style.display = "block", this.bar.set("played", 0, "width"), this.bar.set("loaded", 0, "width"), this.template.ptime.innerHTML = "00:00", this.template.danmaku.innerHTML = "", this.danmaku && this.danmaku.reload({ | |
id: t.id, | |
address: t.api, | |
token: t.token, | |
maximum: t.maximum, | |
addition: t.addition, | |
user: t.user | |
})) | |
} | |
}, { | |
key: "initMSE", value: function (e, t) { | |
var n = this; | |
if (this.type = t, this.options.video.customType && this.options.video.customType[t]) "[object Function]" === Object.prototype.toString.call(this.options.video.customType[t]) ? this.options.video.customType[t](this.video, this) : console.error("Illegal customType: " + t); else switch ("auto" === this.type && (/m3u8(#|\?|$)/i.exec(e.src) ? this.type = "hls" : /.flv(#|\?|$)/i.exec(e.src) ? this.type = "flv" : /.mpd(#|\?|$)/i.exec(e.src) ? this.type = "dash" : this.type = "normal"), this.type) { | |
case"hls": | |
if (Hls) if (Hls.isSupported()) { | |
var i = new Hls; | |
i.loadSource(e.src), i.attachMedia(e) | |
} else this.notice("Error: Hls is not supported."); else this.notice("Error: Can't find Hls."); | |
break; | |
case"flv": | |
if (flvjs && flvjs.isSupported()) if (flvjs.isSupported()) { | |
var a = flvjs.createPlayer({type: "flv", url: e.src}); | |
a.attachMediaElement(e), a.load() | |
} else this.notice("Error: flvjs is not supported."); else this.notice("Error: Can't find flvjs."); | |
break; | |
case"dash": | |
dashjs ? dashjs.MediaPlayer().create().initialize(e, e.src, !1) : this.notice("Error: Can't find dashjs."); | |
break; | |
case"webtorrent": | |
if (WebTorrent) if (WebTorrent.WEBRTC_SUPPORT) { | |
this.container.classList.add("dplayer-loading"); | |
var o = new WebTorrent, s = e.src; | |
o.add(s, function (e) { | |
e.files.find(function (e) { | |
return e.name.endsWith(".mp4") | |
}).renderTo(n.video, {autoplay: n.options.autoplay}, function () { | |
n.container.classList.remove("dplayer-loading") | |
}) | |
}) | |
} else this.notice("Error: Webtorrent is not supported."); else this.notice("Error: Can't find Webtorrent.") | |
} | |
} | |
}, { | |
key: "initVideo", value: function (e, t) { | |
var n = this; | |
this.initMSE(e, t), this.on("durationchange", function () { | |
1 !== e.duration && (n.template.dtime.innerHTML = c.default.secondToTime(e.duration)) | |
}), this.on("progress", function () { | |
var t = e.buffered.length ? e.buffered.end(e.buffered.length - 1) / e.duration : 0; | |
n.bar.set("loaded", t, "width") | |
}), this.on("error", function () { | |
n.tran && n.notice && (n.type, n.notice(n.tran("This video fails to load"), -1)) | |
}), this.ended = !1, this.on("ended", function () { | |
n.bar.set("played", 1, "width"), n.setting.loop ? (n.seek(0), e.play()) : (n.ended = !0, n.pause()), n.danmaku && (n.danmaku.danIndex = 0) | |
}), this.on("play", function () { | |
n.paused && n.play() | |
}), this.on("pause", function () { | |
n.paused || n.pause() | |
}); | |
for (var i = 0; i < this.events.videoEvents.length; i++) !function (t) { | |
e.addEventListener(n.events.videoEvents[t], function () { | |
n.events.trigger(n.events.videoEvents[t]) | |
}) | |
}(i); | |
this.volume(this.user.get("volume"), !0, !0), this.options.subtitle && (this.subtitle = new q.default(this.template.subtitle, this.video, this.options.subtitle, this.events), this.user.get("subtitle") || this.subtitle.hide()) | |
} | |
}, { | |
key: "switchQuality", value: function (e) { | |
var t = this; | |
if (this.qualityIndex !== e && !this.switchingQuality) { | |
this.qualityIndex = e, this.switchingQuality = !0, this.quality = this.options.video.quality[e], this.template.qualityButton.innerHTML = this.quality.name; | |
var n = this.video.paused; | |
this.video.pause(); | |
var i = (0, $.default)({ | |
current: !1, | |
pic: null, | |
screenshot: this.options.screenshot, | |
preload: "auto", | |
url: this.quality.url, | |
subtitle: this.options.subtitle | |
}), a = (new DOMParser).parseFromString(i, "text/html").body.firstChild; | |
this.template.videoWrap.insertBefore(a, this.template.videoWrap.getElementsByTagName("div")[0]), this.prevVideo = this.video, this.video = a, this.initVideo(this.video, this.quality.type || this.options.video.type), this.seek(this.prevVideo.currentTime), this.notice(this.tran("Switching to") + " " + this.quality.name + " " + this.tran("quality"), -1), this.events.trigger("quality_start", this.quality), this.on("canplay", function () { | |
if (t.prevVideo) { | |
if (t.video.currentTime !== t.prevVideo.currentTime) return void t.seek(t.prevVideo.currentTime); | |
t.template.videoWrap.removeChild(t.prevVideo), t.video.classList.add("dplayer-video-current"), n || t.video.play(), t.prevVideo = null, t.notice(t.tran("Switched to") + " " + t.quality.name + " " + t.tran("quality")), t.switchingQuality = !1, t.events.trigger("quality_end") | |
} | |
}) | |
} | |
} | |
}, { | |
key: "notice", value: function (e) { | |
var t = this, n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 2e3, | |
i = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : .8; | |
this.template.notice.innerHTML = e, this.template.notice.style.opacity = i, this.noticeTime && clearTimeout(this.noticeTime), this.events.trigger("notice_show", e), this.noticeTime = setTimeout(function () { | |
t.template.notice.style.opacity = 0, t.events.trigger("notice_hide") | |
}, n) | |
} | |
}, { | |
key: "resize", value: function () { | |
this.danmaku && this.danmaku.resize(), this.events.trigger("resize") | |
} | |
}, { | |
key: "speed", value: function (e) { | |
this.video.playbackRate = e | |
} | |
}, { | |
key: "destroy", value: function () { | |
J.splice(J.indexOf(this), 1), this.pause(), this.controller.destroy(), this.time.destroy(), this.video.src = "", this.container.innerHTML = "", this.events.trigger("destroy"); | |
for (var e in this) this.hasOwnProperty(e) && "paused" !== e && delete this[e] | |
} | |
}]), e | |
}(); | |
t.default = Y | |
}, function (e, t, n) { | |
"use strict"; | |
(function (t) { | |
function n() { | |
} | |
function i(e, t) { | |
return function () { | |
e.apply(t, arguments) | |
} | |
} | |
function a(e) { | |
if (!(this instanceof a)) throw new TypeError("Promises must be constructed via new"); | |
if ("function" != typeof e) throw new TypeError("not a function"); | |
this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], u(e, this) | |
} | |
function o(e, t) { | |
for (; 3 === e._state;) e = e._value; | |
if (0 === e._state) return void e._deferreds.push(t); | |
e._handled = !0, a._immediateFn(function () { | |
var n = 1 === e._state ? t.onFulfilled : t.onRejected; | |
if (null === n) return void(1 === e._state ? s : r)(t.promise, e._value); | |
var i; | |
try { | |
i = n(e._value) | |
} catch (e) { | |
return void r(t.promise, e) | |
} | |
s(t.promise, i) | |
}) | |
} | |
function s(e, t) { | |
try { | |
if (t === e) throw new TypeError("A promise cannot be resolved with itself."); | |
if (t && ("object" === (void 0 === t ? "undefined" : d(t)) || "function" == typeof t)) { | |
var n = t.then; | |
if (t instanceof a) return e._state = 3, e._value = t, void l(e); | |
if ("function" == typeof n) return void u(i(n, t), e) | |
} | |
e._state = 1, e._value = t, l(e) | |
} catch (t) { | |
r(e, t) | |
} | |
} | |
function r(e, t) { | |
e._state = 2, e._value = t, l(e) | |
} | |
function l(e) { | |
2 === e._state && 0 === e._deferreds.length && a._immediateFn(function () { | |
e._handled || a._unhandledRejectionFn(e._value) | |
}); | |
for (var t = 0, n = e._deferreds.length; t < n; t++) o(e, e._deferreds[t]); | |
e._deferreds = null | |
} | |
function c(e, t, n) { | |
this.onFulfilled = "function" == typeof e ? e : null, this.onRejected = "function" == typeof t ? t : null, this.promise = n | |
} | |
function u(e, t) { | |
var n = !1; | |
try { | |
e(function (e) { | |
n || (n = !0, s(t, e)) | |
}, function (e) { | |
n || (n = !0, r(t, e)) | |
}) | |
} catch (e) { | |
if (n) return; | |
n = !0, r(t, e) | |
} | |
} | |
var d = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { | |
return typeof e | |
} : function (e) { | |
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
}, p = setTimeout; | |
a.prototype.catch = function (e) { | |
return this.then(null, e) | |
}, a.prototype.then = function (e, t) { | |
var i = new this.constructor(n); | |
return o(this, new c(e, t, i)), i | |
}, a.prototype.finally = function (e) { | |
var t = this.constructor; | |
return this.then(function (n) { | |
return t.resolve(e()).then(function () { | |
return n | |
}) | |
}, function (n) { | |
return t.resolve(e()).then(function () { | |
return t.reject(n) | |
}) | |
}) | |
}, a.all = function (e) { | |
return new a(function (t, n) { | |
function i(e, s) { | |
try { | |
if (s && ("object" === (void 0 === s ? "undefined" : d(s)) || "function" == typeof s)) { | |
var r = s.then; | |
if ("function" == typeof r) return void r.call(s, function (t) { | |
i(e, t) | |
}, n) | |
} | |
a[e] = s, 0 == --o && t(a) | |
} catch (e) { | |
n(e) | |
} | |
} | |
if (!e || void 0 === e.length) throw new TypeError("Promise.all accepts an array"); | |
var a = Array.prototype.slice.call(e); | |
if (0 === a.length) return t([]); | |
for (var o = a.length, s = 0; s < a.length; s++) i(s, a[s]) | |
}) | |
}, a.resolve = function (e) { | |
return e && "object" === (void 0 === e ? "undefined" : d(e)) && e.constructor === a ? e : new a(function (t) { | |
t(e) | |
}) | |
}, a.reject = function (e) { | |
return new a(function (t, n) { | |
n(e) | |
}) | |
}, a.race = function (e) { | |
return new a(function (t, n) { | |
for (var i = 0, a = e.length; i < a; i++) e[i].then(t, n) | |
}) | |
}, a._immediateFn = "function" == typeof t && function (e) { | |
t(e) | |
} || function (e) { | |
p(e, 0) | |
}, a._unhandledRejectionFn = function (e) { | |
"undefined" != typeof console && console && console.warn("Possible Unhandled Promise Rejection:", e) | |
}, e.exports = a | |
}).call(t, n(9).setImmediate) | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
this._id = e, this._clearFn = t | |
} | |
var a = Function.prototype.apply; | |
t.setTimeout = function () { | |
return new i(a.call(setTimeout, window, arguments), clearTimeout) | |
}, t.setInterval = function () { | |
return new i(a.call(setInterval, window, arguments), clearInterval) | |
}, t.clearTimeout = t.clearInterval = function (e) { | |
e && e.close() | |
}, i.prototype.unref = i.prototype.ref = function () { | |
}, i.prototype.close = function () { | |
this._clearFn.call(window, this._id) | |
}, t.enroll = function (e, t) { | |
clearTimeout(e._idleTimeoutId), e._idleTimeout = t | |
}, t.unenroll = function (e) { | |
clearTimeout(e._idleTimeoutId), e._idleTimeout = -1 | |
}, t._unrefActive = t.active = function (e) { | |
clearTimeout(e._idleTimeoutId); | |
var t = e._idleTimeout; | |
t >= 0 && (e._idleTimeoutId = setTimeout(function () { | |
e._onTimeout && e._onTimeout() | |
}, t)) | |
}, n(10), t.setImmediate = setImmediate, t.clearImmediate = clearImmediate | |
}, function (e, t, n) { | |
"use strict"; | |
(function (e, t) { | |
!function (e, n) { | |
function i(e) { | |
"function" != typeof e && (e = new Function("" + e)); | |
for (var t = new Array(arguments.length - 1), n = 0; n < t.length; n++) t[n] = arguments[n + 1]; | |
var i = {callback: e, args: t}; | |
return c[l] = i, r(l), l++ | |
} | |
function a(e) { | |
delete c[e] | |
} | |
function o(e) { | |
var t = e.callback, i = e.args; | |
switch (i.length) { | |
case 0: | |
t(); | |
break; | |
case 1: | |
t(i[0]); | |
break; | |
case 2: | |
t(i[0], i[1]); | |
break; | |
case 3: | |
t(i[0], i[1], i[2]); | |
break; | |
default: | |
t.apply(n, i) | |
} | |
} | |
function s(e) { | |
if (u) setTimeout(s, 0, e); else { | |
var t = c[e]; | |
if (t) { | |
u = !0; | |
try { | |
o(t) | |
} finally { | |
a(e), u = !1 | |
} | |
} | |
} | |
} | |
if (!e.setImmediate) { | |
var r, l = 1, c = {}, u = !1, d = e.document, p = Object.getPrototypeOf && Object.getPrototypeOf(e); | |
p = p && p.setTimeout ? p : e, "[object process]" === {}.toString.call(e.process) ? function () { | |
r = function (e) { | |
t.nextTick(function () { | |
s(e) | |
}) | |
} | |
}() : function () { | |
if (e.postMessage && !e.importScripts) { | |
var t = !0, n = e.onmessage; | |
return e.onmessage = function () { | |
t = !1 | |
}, e.postMessage("", "*"), e.onmessage = n, t | |
} | |
}() ? function () { | |
var t = "setImmediate$" + Math.random() + "$", n = function (n) { | |
n.source === e && "string" == typeof n.data && 0 === n.data.indexOf(t) && s(+n.data.slice(t.length)) | |
}; | |
e.addEventListener ? e.addEventListener("message", n, !1) : e.attachEvent("onmessage", n), r = function (n) { | |
e.postMessage(t + n, "*") | |
} | |
}() : e.MessageChannel ? function () { | |
var e = new MessageChannel; | |
e.port1.onmessage = function (e) { | |
s(e.data) | |
}, r = function (t) { | |
e.port2.postMessage(t) | |
} | |
}() : d && "onreadystatechange" in d.createElement("script") ? function () { | |
var e = d.documentElement; | |
r = function (t) { | |
var n = d.createElement("script"); | |
n.onreadystatechange = function () { | |
s(t), n.onreadystatechange = null, e.removeChild(n), n = null | |
}, e.appendChild(n) | |
} | |
}() : function () { | |
r = function (e) { | |
setTimeout(s, 0, e) | |
} | |
}(), p.setImmediate = i, p.clearImmediate = a | |
} | |
}("undefined" == typeof self ? void 0 === e ? void 0 : e : self) | |
}).call(t, n(1), n(11)) | |
}, function (e, t, n) { | |
"use strict"; | |
function i() { | |
throw new Error("setTimeout has not been defined") | |
} | |
function a() { | |
throw new Error("clearTimeout has not been defined") | |
} | |
function o(e) { | |
if (d === setTimeout) return setTimeout(e, 0); | |
if ((d === i || !d) && setTimeout) return d = setTimeout, setTimeout(e, 0); | |
try { | |
return d(e, 0) | |
} catch (t) { | |
try { | |
return d.call(null, e, 0) | |
} catch (t) { | |
return d.call(this, e, 0) | |
} | |
} | |
} | |
function s(e) { | |
if (p === clearTimeout) return clearTimeout(e); | |
if ((p === a || !p) && clearTimeout) return p = clearTimeout, clearTimeout(e); | |
try { | |
return p(e) | |
} catch (t) { | |
try { | |
return p.call(null, e) | |
} catch (t) { | |
return p.call(this, e) | |
} | |
} | |
} | |
function r() { | |
f && y && (f = !1, y.length ? m = y.concat(m) : v = -1, m.length && l()) | |
} | |
function l() { | |
if (!f) { | |
var e = o(r); | |
f = !0; | |
for (var t = m.length; t;) { | |
for (y = m, m = []; ++v < t;) y && y[v].run(); | |
v = -1, t = m.length | |
} | |
y = null, f = !1, s(e) | |
} | |
} | |
function c(e, t) { | |
this.fun = e, this.array = t | |
} | |
function u() { | |
} | |
var d, p, h = e.exports = {}; | |
!function () { | |
try { | |
d = "function" == typeof setTimeout ? setTimeout : i | |
} catch (e) { | |
d = i | |
} | |
try { | |
p = "function" == typeof clearTimeout ? clearTimeout : a | |
} catch (e) { | |
p = a | |
} | |
}(); | |
var y, m = [], f = !1, v = -1; | |
h.nextTick = function (e) { | |
var t = new Array(arguments.length - 1); | |
if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n]; | |
m.push(new c(e, t)), 1 !== m.length || f || o(l) | |
}, c.prototype.run = function () { | |
this.fun.apply(null, this.array) | |
}, h.title = "browser", h.browser = !0, h.env = {}, h.argv = [], h.version = "", h.versions = {}, h.on = u, h.addListener = u, h.once = u, h.off = u, h.removeListener = u, h.removeAllListeners = u, h.emit = u, h.prependListener = u, h.prependOnceListener = u, h.listeners = function (e) { | |
return [] | |
}, h.binding = function (e) { | |
throw new Error("process.binding is not supported") | |
}, h.cwd = function () { | |
return "/" | |
}, h.chdir = function (e) { | |
throw new Error("process.chdir is not supported") | |
}, h.umask = function () { | |
return 0 | |
} | |
}, function (e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { | |
return typeof e | |
} : function (e) { | |
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
}, a = n(13), o = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(a); | |
t.default = function (e) { | |
var t = { | |
container: e.element || document.getElementsByClassName("dplayer")[0], | |
live: !1, | |
autoplay: !1, | |
theme: "#b7daff", | |
loop: !1, | |
lang: (navigator.language || navigator.browserLanguage).toLowerCase(), | |
screenshot: !1, | |
hotkey: !0, | |
preload: "auto", | |
volume: .7, | |
apiBackend: o.default, | |
video: {}, | |
contextmenu: [], | |
mutex: !0 | |
}; | |
for (var n in t) t.hasOwnProperty(n) && !e.hasOwnProperty(n) && (e[n] = t[n]); | |
return e.video && !e.video.type && (e.video.type = "auto"), "object" === i(e.danmaku) && e.danmaku && !e.danmaku.user && (e.danmaku.user = "DIYgod"), e.subtitle && (!e.subtitle.type && (e.subtitle.type = "webvtt"), !e.subtitle.fontSize && (e.subtitle.fontSize = "20px"), !e.subtitle.bottom && (e.subtitle.bottom = "40px"), !e.subtitle.color && (e.subtitle.color = "#fff")), e.video.quality && (e.video.url = e.video.quality[e.video.defaultQuality].url), e.lang && (e.lang = e.lang.toLowerCase()), e.contextmenu = e.contextmenu.concat([{ | |
text: "Video info", | |
click: function (e) { | |
e.infoPanel.triggle() | |
} | |
}]), e | |
} | |
}, function (e, t, n) { | |
"use strict"; | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var i = function (e, t, n, i, a) { | |
var o = new XMLHttpRequest; | |
o.onreadystatechange = function () { | |
if (4 === o.readyState) { | |
if (o.status >= 200 && o.status < 300 || 304 === o.status) { | |
var e = JSON.parse(o.responseText); | |
return 0 !== e.code ? i(o, e) : n(o, e) | |
} | |
a(o) | |
} | |
}, o.open(null !== t ? "POST" : "GET", e, !0), o.setRequestHeader("Content-type", "application/json; charset=UTF-8"), o.send(null !== t ? JSON.stringify(t) : null) | |
}; | |
t.default = { | |
send: function (e, t, n) { | |
i(e, t, function (e, t) { | |
console.log("Post danmaku: ", t), n && n() | |
}, function (e, t) { | |
alert(t.msg) | |
}, function (e) { | |
console.log("Request was unsuccessful: " + e.status) | |
}) | |
}, read: function (e, t) { | |
i(e, null, function (e, n) { | |
t(null, n.danmaku) | |
}, function (e, n) { | |
t({status: e.status, response: n}) | |
}, function (e) { | |
t({status: e.status, response: null}) | |
}) | |
} | |
} | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
var t = this; | |
this.lang = e, this.tran = function (e) { | |
return a[t.lang] && a[t.lang][e] ? a[t.lang][e] : e | |
} | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = { | |
"zh-cn": { | |
"Danmaku is loading": "\u5f39\u5e55\u52a0\u8f7d\u4e2d", | |
Top: "\u9876\u90e8", | |
Bottom: "\u5e95\u90e8", | |
Rolling: "\u6eda\u52a8", | |
"Input danmaku, hit Enter": "\u8f93\u5165\u5f39\u5e55\uff0c\u56de\u8f66\u53d1\u9001", | |
"About author": "\u5173\u4e8e\u4f5c\u8005", | |
"DPlayer feedback": "\u64ad\u653e\u5668\u610f\u89c1\u53cd\u9988", | |
"About DPlayer": "\u5173\u4e8e DPlayer \u64ad\u653e\u5668", | |
Loop: "\u6d17\u8111\u5faa\u73af", | |
Speed: "\u901f\u5ea6", | |
"Opacity for danmaku": "\u5f39\u5e55\u900f\u660e\u5ea6", | |
Normal: "\u6b63\u5e38", | |
"Please input danmaku content!": "\u8981\u8f93\u5165\u5f39\u5e55\u5185\u5bb9\u554a\u5582\uff01", | |
"Set danmaku color": "\u8bbe\u7f6e\u5f39\u5e55\u989c\u8272", | |
"Set danmaku type": "\u8bbe\u7f6e\u5f39\u5e55\u7c7b\u578b", | |
"Show danmaku": "\u663e\u793a\u5f39\u5e55", | |
"This video fails to load": "\u89c6\u9891\u52a0\u8f7d\u5931\u8d25", | |
"Switching to": "\u6b63\u5728\u5207\u6362\u81f3", | |
"Switched to": "\u5df2\u7ecf\u5207\u6362\u81f3", | |
quality: "\u753b\u8d28", | |
FF: "\u5feb\u8fdb", | |
REW: "\u5feb\u9000", | |
"Unlimited danmaku": "\u6d77\u91cf\u5f39\u5e55", | |
"Send danmaku": "\u53d1\u9001\u5f39\u5e55", | |
Setting: "\u8bbe\u7f6e", | |
"Full screen": "\u5168\u5c4f", | |
"Web full screen": "\u9875\u9762\u5168\u5c4f", | |
Send: "\u53d1\u9001", | |
Screenshot: "\u622a\u56fe", | |
s: "\u79d2", | |
"Show subtitle": "\u663e\u793a\u5b57\u5e55", | |
"Hide subtitle": "\u9690\u85cf\u5b57\u5e55", | |
Volume: "\u97f3\u91cf", | |
Live: "\u76f4\u64ad", | |
"Video info": "\u89c6\u9891\u7edf\u8ba1\u4fe1\u606f" | |
}, | |
"zh-tw": { | |
"Danmaku is loading": "\u5f48\u5e55\u52a0\u8f09\u4e2d", | |
Top: "\u9802\u90e8", | |
Bottom: "\u5e95\u90e8", | |
Rolling: "\u6efe\u52d5", | |
"Input danmaku, hit Enter": "\u8f38\u5165\u5f48\u5e55\uff0cEnter \u767c\u9001", | |
"About author": "\u95dc\u65bc\u4f5c\u8005", | |
"DPlayer feedback": "\u64ad\u653e\u5668\u610f\u898b\u53cd\u994b", | |
"About DPlayer": "\u95dc\u65bc DPlayer \u64ad\u653e\u5668", | |
Loop: "\u5faa\u74b0\u64ad\u653e", | |
Speed: "\u901f\u5ea6", | |
"Opacity for danmaku": "\u5f48\u5e55\u900f\u660e\u5ea6", | |
Normal: "\u6b63\u5e38", | |
"Please input danmaku content!": "\u8acb\u8f38\u5165\u5f48\u5e55\u5185\u5bb9\u554a\uff01", | |
"Set danmaku color": "\u8a2d\u7f6e\u5f48\u5e55\u984f\u8272", | |
"Set danmaku type": "\u8a2d\u7f6e\u5f48\u5e55\u985e\u578b", | |
"Show danmaku": "\u986f\u793a\u5f48\u5e55", | |
"This video fails to load": "\u8996\u983b\u52a0\u8f09\u5931\u6557", | |
"Switching to": "\u6b63\u5728\u5207\u63db\u81f3", | |
"Switched to": "\u5df2\u7d93\u5207\u63db\u81f3", | |
quality: "\u756b\u8cea", | |
FF: "\u5feb\u9032", | |
REW: "\u5feb\u9000", | |
"Unlimited danmaku": "\u6d77\u91cf\u5f48\u5e55", | |
"Send danmaku": "\u767c\u9001\u5f48\u5e55", | |
Setting: "\u8a2d\u7f6e", | |
"Full screen": "\u5168\u5c4f", | |
"Web full screen": "\u9801\u9762\u5168\u5c4f", | |
Send: "\u767c\u9001", | |
Screenshot: "\u622a\u5716", | |
s: "\u79d2", | |
"Show subtitle": "\u986f\u793a\u5b57\u5e55", | |
"Hide subtitle": "\u96b1\u85cf\u5b57\u5e55", | |
Volume: "\u97f3\u91cf", | |
Live: "\u76f4\u64ad", | |
"Video info": "\u8996\u983b\u7d71\u8a08\u4fe1\u606f" | |
} | |
}; | |
t.default = i | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
return e && e.__esModule ? e : {default: e} | |
} | |
function a(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var o = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), s = n(2), r = i(s), l = n(32), c = i(l), u = function () { | |
function e(t) { | |
a(this, e), this.container = t.container, this.options = t.options, this.index = t.index, this.tran = t.tran, this.init() | |
} | |
return o(e, [{ | |
key: "init", value: function () { | |
this.container.innerHTML = (0, c.default)({ | |
options: this.options, | |
index: this.index, | |
tran: this.tran, | |
icons: r.default, | |
video: { | |
current: !0, | |
pic: this.options.video.pic, | |
screenshot: this.options.screenshot, | |
preload: this.options.preload, | |
url: this.options.video.url, | |
subtitle: this.options.subtitle | |
} | |
}), this.volumeBar = this.container.querySelector(".dplayer-volume-bar-inner"), this.volumeBarWrap = this.container.querySelector(".dplayer-volume-bar"), this.volumeBarWrapWrap = this.container.querySelector(".dplayer-volume-bar-wrap"), this.volumeButton = this.container.querySelector(".dplayer-volume"), this.volumeIcon = this.container.querySelector(".dplayer-volume-icon .dplayer-icon-content"), this.playedBar = this.container.querySelector(".dplayer-played"), this.loadedBar = this.container.querySelector(".dplayer-loaded"), this.playedBarWrap = this.container.querySelector(".dplayer-bar-wrap"), this.playedBarTime = this.container.querySelector(".dplayer-bar-time"), this.danmaku = this.container.querySelector(".dplayer-danmaku"), this.danmakuLoading = this.container.querySelector(".dplayer-danloading"), this.video = this.container.querySelector(".dplayer-video-current"), this.bezel = this.container.querySelector(".dplayer-bezel-icon"), this.playButton = this.container.querySelector(".dplayer-play-icon"), this.videoWrap = this.container.querySelector(".dplayer-video-wrap"), this.controllerMask = this.container.querySelector(".dplayer-controller-mask"), this.ptime = this.container.querySelector(".dplayer-ptime"), this.settingButton = this.container.querySelector(".dplayer-setting-icon"), this.settingBox = this.container.querySelector(".dplayer-setting-box"), this.mask = this.container.querySelector(".dplayer-mask"), this.loop = this.container.querySelector(".dplayer-setting-loop"), this.loopToggle = this.container.querySelector(".dplayer-setting-loop .dplayer-toggle-setting-input"), this.showDanmaku = this.container.querySelector(".dplayer-setting-showdan"), this.showDanmakuToggle = this.container.querySelector(".dplayer-showdan-setting-input"), this.unlimitDanmaku = this.container.querySelector(".dplayer-setting-danunlimit"), this.unlimitDanmakuToggle = this.container.querySelector(".dplayer-danunlimit-setting-input"), this.speed = this.container.querySelector(".dplayer-setting-speed"), this.speedItem = this.container.querySelectorAll(".dplayer-setting-speed-item"), this.danmakuOpacityBar = this.container.querySelector(".dplayer-danmaku-bar-inner"), this.danmakuOpacityBarWrap = this.container.querySelector(".dplayer-danmaku-bar"), this.danmakuOpacityBarWrapWrap = this.container.querySelector(".dplayer-danmaku-bar-wrap"), this.danmakuOpacityBox = this.container.querySelector(".dplayer-setting-danmaku"), this.dtime = this.container.querySelector(".dplayer-dtime"), this.controller = this.container.querySelector(".dplayer-controller"), this.commentInput = this.container.querySelector(".dplayer-comment-input"), this.commentButton = this.container.querySelector(".dplayer-comment-icon"), this.commentSettingBox = this.container.querySelector(".dplayer-comment-setting-box"), this.commentSettingButton = this.container.querySelector(".dplayer-comment-setting-icon"), this.commentSettingFill = this.container.querySelector(".dplayer-comment-setting-icon path"), this.commentSendButton = this.container.querySelector(".dplayer-send-icon"), this.commentSendFill = this.container.querySelector(".dplayer-send-icon path"), this.commentColorSettingBox = this.container.querySelector(".dplayer-comment-setting-color"), this.browserFullButton = this.container.querySelector(".dplayer-full-icon"), this.webFullButton = this.container.querySelector(".dplayer-full-in-icon"), this.menu = this.container.querySelector(".dplayer-menu"), this.menuItem = this.container.querySelectorAll(".dplayer-menu-item"), this.qualityList = this.container.querySelector(".dplayer-quality-list"), this.camareButton = this.container.querySelector(".dplayer-camera-icon"), this.subtitleButton = this.container.querySelector(".dplayer-subtitle-icon"), this.subtitleButtonInner = this.container.querySelector(".dplayer-subtitle-icon .dplayer-icon-content"), this.subtitle = this.container.querySelector(".dplayer-subtitle"), this.qualityButton = this.container.querySelector(".dplayer-quality-icon"), this.barPreview = this.container.querySelector(".dplayer-bar-preview"), this.barWrap = this.container.querySelector(".dplayer-bar-wrap"), this.notice = this.container.querySelector(".dplayer-notice"), this.infoPanel = this.container.querySelector(".dplayer-info-panel"), this.infoPanelClose = this.container.querySelector(".dplayer-info-panel-close"), this.infoVersion = this.container.querySelector(".dplayer-info-panel-item-version .dplayer-info-panel-item-data"), this.infoFPS = this.container.querySelector(".dplayer-info-panel-item-fps .dplayer-info-panel-item-data"), this.infoType = this.container.querySelector(".dplayer-info-panel-item-type .dplayer-info-panel-item-data"), this.infoUrl = this.container.querySelector(".dplayer-info-panel-item-url .dplayer-info-panel-item-data"), this.infoResolution = this.container.querySelector(".dplayer-info-panel-item-resolution .dplayer-info-panel-item-data"), this.infoDuration = this.container.querySelector(".dplayer-info-panel-item-duration .dplayer-info-panel-item-data"), this.infoDanmakuId = this.container.querySelector(".dplayer-info-panel-item-danmaku-id .dplayer-info-panel-item-data"), this.infoDanmakuApi = this.container.querySelector(".dplayer-info-panel-item-danmaku-api .dplayer-info-panel-item-data"), this.infoDanmakuAmount = this.container.querySelector(".dplayer-info-panel-item-danmaku-amount .dplayer-info-panel-item-data") | |
} | |
}]), e | |
}(); | |
t.default = u | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 32"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 21 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 33"><path d="M6.667 28h-5.333c-0.8 0-1.333-0.533-1.333-1.333v-5.333c0-0.8 0.533-1.333 1.333-1.333s1.333 0.533 1.333 1.333v4h4c0.8 0 1.333 0.533 1.333 1.333s-0.533 1.333-1.333 1.333zM30.667 28h-5.333c-0.8 0-1.333-0.533-1.333-1.333s0.533-1.333 1.333-1.333h4v-4c0-0.8 0.533-1.333 1.333-1.333s1.333 0.533 1.333 1.333v5.333c0 0.8-0.533 1.333-1.333 1.333zM30.667 12c-0.8 0-1.333-0.533-1.333-1.333v-4h-4c-0.8 0-1.333-0.533-1.333-1.333s0.533-1.333 1.333-1.333h5.333c0.8 0 1.333 0.533 1.333 1.333v5.333c0 0.8-0.533 1.333-1.333 1.333zM1.333 12c-0.8 0-1.333-0.533-1.333-1.333v-5.333c0-0.8 0.533-1.333 1.333-1.333h5.333c0.8 0 1.333 0.533 1.333 1.333s-0.533 1.333-1.333 1.333h-4v4c0 0.8-0.533 1.333-1.333 1.333z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 33"><path d="M24.965 24.38h-18.132c-1.366 0-2.478-1.113-2.478-2.478v-11.806c0-1.364 1.111-2.478 2.478-2.478h18.132c1.366 0 2.478 1.113 2.478 2.478v11.806c0 1.364-1.11 2.478-2.478 2.478zM6.833 10.097v11.806h18.134l-0.002-11.806h-18.132zM2.478 28.928h5.952c0.684 0 1.238-0.554 1.238-1.239 0-0.684-0.554-1.238-1.238-1.238h-5.952v-5.802c0-0.684-0.554-1.239-1.238-1.239s-1.239 0.556-1.239 1.239v5.802c0 1.365 1.111 2.478 2.478 2.478zM30.761 19.412c-0.684 0-1.238 0.554-1.238 1.238v5.801h-5.951c-0.686 0-1.239 0.554-1.239 1.238 0 0.686 0.554 1.239 1.239 1.239h5.951c1.366 0 2.478-1.111 2.478-2.478v-5.801c0-0.683-0.554-1.238-1.239-1.238zM0 5.55v5.802c0 0.683 0.554 1.238 1.238 1.238s1.238-0.555 1.238-1.238v-5.802h5.952c0.684 0 1.238-0.554 1.238-1.238s-0.554-1.238-1.238-1.238h-5.951c-1.366-0.001-2.478 1.111-2.478 2.476zM32 11.35v-5.801c0-1.365-1.11-2.478-2.478-2.478h-5.951c-0.686 0-1.239 0.554-1.239 1.238s0.554 1.238 1.239 1.238h5.951v5.801c0 0.683 0.554 1.237 1.238 1.237 0.686 0.002 1.239-0.553 1.239-1.236z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 28"><path d="M28.633 17.104c0.035 0.21 0.026 0.463-0.026 0.76s-0.14 0.598-0.262 0.904c-0.122 0.306-0.271 0.581-0.445 0.825s-0.367 0.419-0.576 0.524c-0.209 0.105-0.393 0.157-0.55 0.157s-0.332-0.035-0.524-0.105c-0.175-0.052-0.393-0.1-0.655-0.144s-0.528-0.052-0.799-0.026c-0.271 0.026-0.541 0.083-0.812 0.17s-0.502 0.236-0.694 0.445c-0.419 0.437-0.664 0.934-0.734 1.493s0.009 1.092 0.236 1.598c0.175 0.349 0.148 0.699-0.079 1.048-0.105 0.14-0.271 0.284-0.498 0.432s-0.476 0.284-0.747 0.406-0.555 0.218-0.851 0.288c-0.297 0.070-0.559 0.105-0.786 0.105-0.157 0-0.306-0.061-0.445-0.183s-0.236-0.253-0.288-0.393h-0.026c-0.192-0.541-0.52-1.009-0.982-1.402s-1-0.589-1.611-0.589c-0.594 0-1.131 0.197-1.611 0.589s-0.816 0.851-1.009 1.375c-0.087 0.21-0.218 0.362-0.393 0.458s-0.367 0.144-0.576 0.144c-0.244 0-0.52-0.044-0.825-0.131s-0.611-0.197-0.917-0.327c-0.306-0.131-0.581-0.284-0.825-0.458s-0.428-0.349-0.55-0.524c-0.087-0.122-0.135-0.266-0.144-0.432s0.057-0.397 0.197-0.694c0.192-0.402 0.266-0.86 0.223-1.375s-0.266-0.991-0.668-1.428c-0.244-0.262-0.541-0.432-0.891-0.511s-0.681-0.109-0.995-0.092c-0.367 0.017-0.742 0.087-1.127 0.21-0.244 0.070-0.489 0.052-0.734-0.052-0.192-0.070-0.371-0.231-0.537-0.485s-0.314-0.533-0.445-0.838c-0.131-0.306-0.231-0.62-0.301-0.943s-0.087-0.59-0.052-0.799c0.052-0.384 0.227-0.629 0.524-0.734 0.524-0.21 0.995-0.555 1.415-1.035s0.629-1.017 0.629-1.611c0-0.611-0.21-1.144-0.629-1.598s-0.891-0.786-1.415-0.996c-0.157-0.052-0.288-0.179-0.393-0.38s-0.157-0.406-0.157-0.616c0-0.227 0.035-0.48 0.105-0.76s0.162-0.55 0.275-0.812 0.244-0.502 0.393-0.72c0.148-0.218 0.31-0.38 0.485-0.485 0.14-0.087 0.275-0.122 0.406-0.105s0.275 0.052 0.432 0.105c0.524 0.21 1.070 0.275 1.637 0.197s1.070-0.327 1.506-0.747c0.21-0.209 0.362-0.467 0.458-0.773s0.157-0.607 0.183-0.904c0.026-0.297 0.026-0.568 0-0.812s-0.048-0.419-0.065-0.524c-0.035-0.105-0.066-0.227-0.092-0.367s-0.013-0.262 0.039-0.367c0.105-0.244 0.293-0.458 0.563-0.642s0.563-0.336 0.878-0.458c0.314-0.122 0.62-0.214 0.917-0.275s0.533-0.092 0.707-0.092c0.227 0 0.406 0.074 0.537 0.223s0.223 0.301 0.275 0.458c0.192 0.471 0.507 0.886 0.943 1.244s0.952 0.537 1.546 0.537c0.611 0 1.153-0.17 1.624-0.511s0.803-0.773 0.996-1.297c0.070-0.14 0.179-0.284 0.327-0.432s0.301-0.223 0.458-0.223c0.244 0 0.511 0.035 0.799 0.105s0.572 0.166 0.851 0.288c0.279 0.122 0.537 0.279 0.773 0.472s0.423 0.402 0.563 0.629c0.087 0.14 0.113 0.293 0.079 0.458s-0.070 0.284-0.105 0.354c-0.227 0.506-0.297 1.039-0.21 1.598s0.341 1.048 0.76 1.467c0.419 0.419 0.934 0.651 1.546 0.694s1.179-0.057 1.703-0.301c0.14-0.087 0.31-0.122 0.511-0.105s0.371 0.096 0.511 0.236c0.262 0.244 0.493 0.616 0.694 1.113s0.336 1 0.406 1.506c0.035 0.297-0.013 0.528-0.144 0.694s-0.266 0.275-0.406 0.327c-0.542 0.192-1.004 0.528-1.388 1.009s-0.576 1.026-0.576 1.637c0 0.594 0.162 1.113 0.485 1.559s0.747 0.764 1.27 0.956c0.122 0.070 0.227 0.14 0.314 0.21 0.192 0.157 0.323 0.358 0.393 0.602v0zM16.451 19.462c0.786 0 1.528-0.149 2.227-0.445s1.305-0.707 1.821-1.231c0.515-0.524 0.921-1.131 1.218-1.821s0.445-1.428 0.445-2.214c0-0.786-0.148-1.524-0.445-2.214s-0.703-1.292-1.218-1.808c-0.515-0.515-1.122-0.921-1.821-1.218s-1.441-0.445-2.227-0.445c-0.786 0-1.524 0.148-2.214 0.445s-1.292 0.703-1.808 1.218c-0.515 0.515-0.921 1.118-1.218 1.808s-0.445 1.428-0.445 2.214c0 0.786 0.149 1.524 0.445 2.214s0.703 1.297 1.218 1.821c0.515 0.524 1.118 0.934 1.808 1.231s1.428 0.445 2.214 0.445v0z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M27.128 0.38h-22.553c-2.336 0-4.229 1.825-4.229 4.076v16.273c0 2.251 1.893 4.076 4.229 4.076h4.229v-2.685h8.403l-8.784 8.072 1.566 1.44 7.429-6.827h9.71c2.335 0 4.229-1.825 4.229-4.076v-16.273c0-2.252-1.894-4.076-4.229-4.076zM28.538 19.403c0 1.5-1.262 2.717-2.819 2.717h-8.36l-0.076-0.070-0.076 0.070h-11.223c-1.557 0-2.819-1.217-2.819-2.717v-13.589c0-1.501 1.262-2.718 2.819-2.718h19.734c1.557 0 2.819-0.141 2.819 1.359v14.947zM9.206 10.557c-1.222 0-2.215 0.911-2.215 2.036s0.992 2.035 2.215 2.035c1.224 0 2.216-0.911 2.216-2.035s-0.992-2.036-2.216-2.036zM22.496 10.557c-1.224 0-2.215 0.911-2.215 2.036s0.991 2.035 2.215 2.035c1.224 0 2.215-0.911 2.215-2.035s-0.991-2.036-2.215-2.036zM15.852 10.557c-1.224 0-2.215 0.911-2.215 2.036s0.991 2.035 2.215 2.035c1.222 0 2.215-0.911 2.215-2.035s-0.992-2.036-2.215-2.036z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M27.090 0.131h-22.731c-2.354 0-4.262 1.839-4.262 4.109v16.401c0 2.269 1.908 4.109 4.262 4.109h4.262v-2.706h8.469l-8.853 8.135 1.579 1.451 7.487-6.88h9.787c2.353 0 4.262-1.84 4.262-4.109v-16.401c0-2.27-1.909-4.109-4.262-4.109v0zM28.511 19.304c0 1.512-1.272 2.738-2.841 2.738h-8.425l-0.076-0.070-0.076 0.070h-11.311c-1.569 0-2.841-1.226-2.841-2.738v-13.696c0-1.513 1.272-2.739 2.841-2.739h19.889c1.569 0 2.841-0.142 2.841 1.37v15.064z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M13.725 30l3.9-5.325-3.9-1.125v6.45zM0 17.5l11.050 3.35 13.6-11.55-10.55 12.425 11.8 3.65 6.1-23.375-32 15.5z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M19.357 2.88c1.749 0 3.366 0.316 4.851 0.946 1.485 0.632 2.768 1.474 3.845 2.533s1.922 2.279 2.532 3.661c0.611 1.383 0.915 2.829 0.915 4.334 0 1.425-0.304 2.847-0.915 4.271-0.611 1.425-1.587 2.767-2.928 4.028-0.855 0.813-1.811 1.607-2.869 2.38s-2.136 1.465-3.233 2.075c-1.099 0.61-2.198 1.098-3.296 1.465-1.098 0.366-2.115 0.549-3.051 0.549-1.343 0-2.441-0.438-3.296-1.311-0.854-0.876-1.281-2.41-1.281-4.608 0-0.366 0.020-0.773 0.060-1.221s0.062-0.895 0.062-1.343c0-0.773-0.183-1.353-0.55-1.738-0.366-0.387-0.793-0.58-1.281-0.58-0.652 0-1.21 0.295-1.678 0.886s-0.926 1.23-1.373 1.921c-0.447 0.693-0.905 1.334-1.372 1.923s-1.028 0.886-1.679 0.886c-0.529 0-1.048-0.427-1.556-1.282s-0.763-2.259-0.763-4.212c0-2.197 0.529-4.241 1.587-6.133s2.462-3.529 4.21-4.912c1.75-1.383 3.762-2.471 6.041-3.264 2.277-0.796 4.617-1.212 7.018-1.253zM7.334 15.817c0.569 0 1.047-0.204 1.434-0.611s0.579-0.875 0.579-1.404c0-0.569-0.193-1.047-0.579-1.434s-0.864-0.579-1.434-0.579c-0.529 0-0.987 0.193-1.373 0.579s-0.58 0.864-0.58 1.434c0 0.53 0.194 0.998 0.58 1.404 0.388 0.407 0.845 0.611 1.373 0.611zM12.216 11.79c0.691 0 1.292-0.254 1.8-0.763s0.762-1.107 0.762-1.8c0-0.732-0.255-1.343-0.762-1.831-0.509-0.489-1.109-0.732-1.8-0.732-0.732 0-1.342 0.244-1.831 0.732-0.488 0.488-0.732 1.098-0.732 1.831 0 0.693 0.244 1.292 0.732 1.8s1.099 0.763 1.831 0.763zM16.366 25.947c0.692 0 1.282-0.214 1.77-0.64s0.732-0.987 0.732-1.678-0.244-1.261-0.732-1.709c-0.489-0.448-1.078-0.671-1.77-0.671-0.65 0-1.21 0.223-1.678 0.671s-0.702 1.018-0.702 1.709c0 0.692 0.234 1.25 0.702 1.678s1.027 0.64 1.678 0.64zM19.113 9.592c0.651 0 1.129-0.203 1.433-0.611 0.305-0.406 0.459-0.874 0.459-1.404 0-0.488-0.154-0.947-0.459-1.373-0.304-0.427-0.782-0.641-1.433-0.641-0.529 0-1.008 0.193-1.434 0.58s-0.64 0.865-0.64 1.434c0 0.571 0.213 1.049 0.64 1.434 0.427 0.389 0.905 0.581 1.434 0.581zM24.848 12.826c0.57 0 1.067-0.213 1.495-0.64 0.427-0.427 0.64-0.947 0.64-1.556 0-0.57-0.214-1.068-0.64-1.495-0.428-0.427-0.927-0.64-1.495-0.64-0.611 0-1.129 0.213-1.555 0.64-0.428 0.427-0.642 0.926-0.642 1.495 0 0.611 0.213 1.129 0.642 1.556s0.947 0.64 1.555 0.64z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M16 23c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6zM16 13c-2.206 0-4 1.794-4 4s1.794 4 4 4c2.206 0 4-1.794 4-4s-1.794-4-4-4zM27 28h-22c-1.654 0-3-1.346-3-3v-16c0-1.654 1.346-3 3-3h3c0.552 0 1 0.448 1 1s-0.448 1-1 1h-3c-0.551 0-1 0.449-1 1v16c0 0.552 0.449 1 1 1h22c0.552 0 1-0.448 1-1v-16c0-0.551-0.448-1-1-1h-11c-0.552 0-1-0.448-1-1s0.448-1 1-1h11c1.654 0 3 1.346 3 3v16c0 1.654-1.346 3-3 3zM24 10.5c0 0.828 0.672 1.5 1.5 1.5s1.5-0.672 1.5-1.5c0-0.828-0.672-1.5-1.5-1.5s-1.5 0.672-1.5 1.5zM15 4c0 0.552-0.448 1-1 1h-4c-0.552 0-1-0.448-1-1v0c0-0.552 0.448-1 1-1h4c0.552 0 1 0.448 1 1v0z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>' | |
}, function (e, t) { | |
e.exports = '<svg version="1.1" viewBox="0 0 22 22"><svg x="7" y="1"><circle class="diplayer-loading-dot diplayer-loading-dot-0" cx="4" cy="4" r="2"></circle></svg><svg x="11" y="3"><circle class="diplayer-loading-dot diplayer-loading-dot-1" cx="4" cy="4" r="2"></circle></svg><svg x="13" y="7"><circle class="diplayer-loading-dot diplayer-loading-dot-2" cx="4" cy="4" r="2"></circle></svg><svg x="11" y="11"><circle class="diplayer-loading-dot diplayer-loading-dot-3" cx="4" cy="4" r="2"></circle></svg><svg x="7" y="13"><circle class="diplayer-loading-dot diplayer-loading-dot-4" cx="4" cy="4" r="2"></circle></svg><svg x="3" y="11"><circle class="diplayer-loading-dot diplayer-loading-dot-5" cx="4" cy="4" r="2"></circle></svg><svg x="1" y="7"><circle class="diplayer-loading-dot diplayer-loading-dot-6" cx="4" cy="4" r="2"></circle></svg><svg x="3" y="3"><circle class="diplayer-loading-dot diplayer-loading-dot-7" cx="4" cy="4" r="2"></circle></svg></svg>' | |
}, function (e, t, n) { | |
var i = n(3); | |
e.exports = function (e) { | |
"use strict"; | |
e = e || {}; | |
var t = "", a = (arguments[1], e.video), o = e.options, s = i.$escape, r = e.tran, l = e.icons, c = e.index, | |
u = i.$each; | |
e.$value, e.$index; | |
return t += '<div class="dplayer-mask"></div>\n<div class="dplayer-video-wrap">\n ', function (e) { | |
t += e | |
}(n(4)(a)), t += "\n ", o.logo && (t += '\n <div class="dplayer-logo">\n <img src="', t += s(o.logo), t += '">\n </div>\n '), t += '\n <div class="dplayer-danmaku"', o.danmaku && o.danmaku.bottm && (t += ' style="margin-bottom:', t += s(o.danmaku.bottm), t += '"'), t += '>\n <div class="dplayer-danmaku-item dplayer-danmaku-item--demo"></div>\n </div>\n <div class="dplayer-subtitle"></div>\n <div class="dplayer-bezel">\n <span class="dplayer-bezel-icon"></span>\n ', o.danmaku && (t += '\n <span class="dplayer-danloading">', t += s(r("Danmaku is loading")), t += "</span>\n "), t += '\n <span class="diplayer-loading-icon">', t += l.loading, t += '</span>\n </div>\n</div>\n<div class="dplayer-controller-mask"></div>\n<div class="dplayer-controller">\n <div class="dplayer-icons dplayer-comment-box">\n <button class="dplayer-icon dplayer-comment-setting-icon" data-balloon="', t += s(r("Setting")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.pallette, t += '</span>\n </button>\n <div class="dplayer-comment-setting-box">\n <div class="dplayer-comment-setting-color">\n <div class="dplayer-comment-setting-title">', t += s(r("Set danmaku color")), t += '</div>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#fff" checked>\n <span style="background: #fff;"></span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#e54256">\n <span style="background: #e54256"></span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#ffe133">\n <span style="background: #ffe133"></span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#64DD17">\n <span style="background: #64DD17"></span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#39ccff">\n <span style="background: #39ccff"></span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-color-', t += s(c), t += '" value="#D500F9">\n <span style="background: #D500F9"></span>\n </label>\n </div>\n <div class="dplayer-comment-setting-type">\n <div class="dplayer-comment-setting-title">', t += s(r("Set danmaku type")), t += '</div>\n <label>\n <input type="radio" name="dplayer-danmaku-type-', t += s(c), t += '" value="top">\n <span>', t += s(r("Top")), t += '</span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-type-', t += s(c), t += '" value="right" checked>\n <span>', t += s(r("Rolling")), t += '</span>\n </label>\n <label>\n <input type="radio" name="dplayer-danmaku-type-', t += s(c), t += '" value="bottom">\n <span>', t += s(r("Bottom")), t += '</span>\n </label>\n </div>\n </div>\n <input class="dplayer-comment-input" type="text" placeholder="', t += s(r("Input danmaku, hit Enter")), t += '" maxlength="30">\n <button class="dplayer-icon dplayer-send-icon" data-balloon="', t += s(r("Send")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.send, t += '</span>\n </button>\n </div>\n <div class="dplayer-icons dplayer-icons-left">\n <button class="dplayer-icon dplayer-play-icon">\n <span class="dplayer-icon-content">', t += l.play, t += '</span>\n </button>\n <div class="dplayer-volume">\n <button class="dplayer-icon dplayer-volume-icon">\n <span class="dplayer-icon-content">', t += l.volumeDown, t += '</span>\n </button>\n <div class="dplayer-volume-bar-wrap" data-balloon-pos="up">\n <div class="dplayer-volume-bar">\n <div class="dplayer-volume-bar-inner" style="background: ', t += s(o.theme), t += ';">\n <span class="dplayer-thumb" style="background: ', t += s(o.theme), t += '"></span>\n </div>\n </div>\n </div>\n </div>\n <span class="dplayer-time">\n <span class="dplayer-ptime">0:00</span> /\n <span class="dplayer-dtime">0:00</span>\n </span>\n ', o.live && (t += '\n <span class="dplayer-live-badge"><span class="dplayer-live-dot" style="background: ', t += s(o.theme), t += ';"></span>', t += s(r("Live")), t += "</span>\n "), t += '\n </div>\n <div class="dplayer-icons dplayer-icons-right">\n ', o.video.quality && (t += '\n <div class="dplayer-quality">\n <button class="dplayer-icon dplayer-quality-icon">', t += s(o.video.quality[o.video.defaultQuality].name), t += '</button>\n <div class="dplayer-quality-mask">\n <div class="dplayer-quality-list">\n ', u(o.video.quality, function (e, n) { | |
t += '\n <div class="dplayer-quality-item" data-index="', t += s(n), t += '">', t += s(e.name), t += "</div>\n " | |
}), t += "\n </div>\n </div>\n </div>\n "), t += "\n ", o.screenshot && (t += '\n <div class="dplayer-icon dplayer-camera-icon" data-balloon="', t += s(r("Screenshot")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.camera, t += "</span>\n </div>\n "), t += '\n <div class="dplayer-comment">\n <button class="dplayer-icon dplayer-comment-icon" data-balloon="', t += s(r("Send danmaku")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.comment, t += "</span>\n </button>\n </div>\n ", o.subtitle && (t += '\n <div class="dplayer-subtitle-btn">\n <button class="dplayer-icon dplayer-subtitle-icon" data-balloon="', t += s(r("Hide subtitle")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.subtitle, t += "</span>\n </button>\n </div>\n "), t += '\n <div class="dplayer-setting">\n <button class="dplayer-icon dplayer-setting-icon" data-balloon="', t += s(r("Setting")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.setting, t += '</span>\n </button>\n <div class="dplayer-setting-box">\n <div class="dplayer-setting-origin-panel">\n <div class="dplayer-setting-item dplayer-setting-speed">\n <span class="dplayer-label">', t += s(r("Speed")), t += '</span>\n <div class="dplayer-toggle">', t += l.right, t += '</div>\n </div>\n <div class="dplayer-setting-item dplayer-setting-loop">\n <span class="dplayer-label">', t += s(r("Loop")), t += '</span>\n <div class="dplayer-toggle">\n <input class="dplayer-toggle-setting-input" type="checkbox" name="dplayer-toggle">\n <label for="dplayer-toggle"></label>\n </div>\n </div>\n <div class="dplayer-setting-item dplayer-setting-showdan">\n <span class="dplayer-label">', t += s(r("Show danmaku")), t += '</span>\n <div class="dplayer-toggle">\n <input class="dplayer-showdan-setting-input" type="checkbox" name="dplayer-toggle-dan">\n <label for="dplayer-toggle-dan"></label>\n </div>\n </div>\n <div class="dplayer-setting-item dplayer-setting-danunlimit">\n <span class="dplayer-label">', t += s(r("Unlimited danmaku")), t += '</span>\n <div class="dplayer-toggle">\n <input class="dplayer-danunlimit-setting-input" type="checkbox" name="dplayer-toggle-danunlimit">\n <label for="dplayer-toggle-danunlimit"></label>\n </div>\n </div>\n <div class="dplayer-setting-item dplayer-setting-danmaku">\n <span class="dplayer-label">', t += s(r("Opacity for danmaku")), t += '</span>\n <div class="dplayer-danmaku-bar-wrap">\n <div class="dplayer-danmaku-bar">\n <div class="dplayer-danmaku-bar-inner">\n <span class="dplayer-thumb"></span>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="dplayer-setting-speed-panel">\n <div class="dplayer-setting-speed-item" data-speed="0.5">\n <span class="dplayer-label">0.5</span>\n </div>\n <div class="dplayer-setting-speed-item" data-speed="0.75">\n <span class="dplayer-label">0.75</span>\n </div>\n <div class="dplayer-setting-speed-item" data-speed="1">\n <span class="dplayer-label">', t += s(r("Normal")), t += '</span>\n </div>\n <div class="dplayer-setting-speed-item" data-speed="1.25">\n <span class="dplayer-label">1.25</span>\n </div>\n <div class="dplayer-setting-speed-item" data-speed="1.5">\n <span class="dplayer-label">1.5</span>\n </div>\n <div class="dplayer-setting-speed-item" data-speed="2">\n <span class="dplayer-label">2</span>\n </div>\n </div>\n </div>\n </div>\n <div class="dplayer-full">\n <button class="dplayer-icon dplayer-full-in-icon" data-balloon="', t += s(r("Web full screen")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.fullWeb, t += '</span>\n </button>\n <button class="dplayer-icon dplayer-full-icon" data-balloon="', t += s(r("Full screen")), t += '" data-balloon-pos="up">\n <span class="dplayer-icon-content">', t += l.full, t += '</span>\n </button>\n </div>\n </div>\n <div class="dplayer-bar-wrap">\n <div class="dplayer-bar-time hidden">00:00</div>\n <div class="dplayer-bar-preview"></div>\n <div class="dplayer-bar">\n <div class="dplayer-loaded" style="width: 0;"></div>\n <div class="dplayer-played" style="width: 0; background: ', t += s(o.theme), t += '">\n <span class="dplayer-thumb" style="background: ', t += s(o.theme), t += '"></span>\n </div>\n </div>\n </div>\n</div>\n<div class="dplayer-info-panel dplayer-info-panel-hide">\n <div class="dplayer-info-panel-close">[x]</div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-version">\n <span class="dplayer-info-panel-item-title">Player version</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-fps">\n <span class="dplayer-info-panel-item-title">Player FPS</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-type">\n <span class="dplayer-info-panel-item-title">Video type</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-url">\n <span class="dplayer-info-panel-item-title">Video url</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-resolution">\n <span class="dplayer-info-panel-item-title">Video resolution</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-duration">\n <span class="dplayer-info-panel-item-title">Video duration</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n ', o.danmaku && (t += '\n <div class="dplayer-info-panel-item dplayer-info-panel-item-danmaku-id">\n <span class="dplayer-info-panel-item-title">Danamku id</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-danmaku-api">\n <span class="dplayer-info-panel-item-title">Danamku api</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n <div class="dplayer-info-panel-item dplayer-info-panel-item-danmaku-amount">\n <span class="dplayer-info-panel-item-title">Danamku amount</span>\n <span class="dplayer-info-panel-item-data"></span>\n </div>\n '), t += '\n</div>\n<div class="dplayer-menu">\n ',u(o.contextmenu, function (e, n) { | |
t += '\n <div class="dplayer-menu-item">\n <a target="_blank" href="', t += s(e.link || "javascript:void(0);"), t += '">', t += s(r(e.text)), t += "</a>\n </div>\n " | |
}),t += '\n</div>\n<div class="dplayer-notice"></div>' | |
} | |
}, function (e, t, n) { | |
"use strict"; | |
(function (t) { | |
function i(e) { | |
return "string" != typeof e && (e = void 0 === e || null === e ? "" : "function" == typeof e ? i(e.call(e)) : JSON.stringify(e)), e | |
} | |
function a(e) { | |
var t = "" + e, n = r.exec(t); | |
if (!n) return e; | |
var i = "", a = void 0, o = void 0, s = void 0; | |
for (a = n.index, o = 0; a < t.length; a++) { | |
switch (t.charCodeAt(a)) { | |
case 34: | |
s = """; | |
break; | |
case 38: | |
s = "&"; | |
break; | |
case 39: | |
s = "'"; | |
break; | |
case 60: | |
s = "<"; | |
break; | |
case 62: | |
s = ">"; | |
break; | |
default: | |
continue | |
} | |
o !== a && (i += t.substring(o, a)), o = a + 1, i += s | |
} | |
return o !== a ? i + t.substring(o, a) : i | |
} | |
var o = n(34), s = Object.create(o ? t : window), r = /["&'<>]/; | |
s.$escape = function (e) { | |
return a(i(e)) | |
}, s.$each = function (e, t) { | |
if (Array.isArray(e)) for (var n = 0, i = e.length; n < i; n++) t(e[n], n); else for (var a in e) t(e[a], a) | |
}, e.exports = s | |
}).call(t, n(1)) | |
}, function (e, t, n) { | |
"use strict"; | |
(function (t) { | |
e.exports = !1; | |
try { | |
e.exports = "[object process]" === Object.prototype.toString.call(t.process) | |
} catch (e) { | |
} | |
}).call(t, n(1)) | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) { | |
return typeof e | |
} : function (e) { | |
return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e | |
}, o = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), s = function () { | |
function e(t) { | |
i(this, e), this.options = t, this.container = this.options.container, this.danTunnel = { | |
right: {}, | |
top: {}, | |
bottom: {} | |
}, this.danIndex = 0, this.dan = [], this.showing = !0, this._opacity = this.options.opacity, this.events = this.options.events, this.unlimited = this.options.unlimited, this._measure(""), this.load() | |
} | |
return o(e, [{ | |
key: "load", value: function () { | |
var e = this, t = void 0; | |
t = this.options.api.maximum ? this.options.api.address + "v2/?id=" + this.options.api.id + "&max=" + this.options.api.maximum : this.options.api.address + "v2/?id=" + this.options.api.id; | |
var n = (this.options.api.addition || []).slice(0); | |
n.push(t), this.events && this.events.trigger("danmaku_load_start", n), this._readAllEndpoints(n, function (t) { | |
e.dan = [].concat.apply([], t).sort(function (e, t) { | |
return e.time - t.time | |
}), window.requestAnimationFrame(function () { | |
e.frame() | |
}), e.options.callback(), e.events && e.events.trigger("danmaku_load_end") | |
}) | |
} | |
}, { | |
key: "reload", value: function (e) { | |
this.options.api = e, this.dan = [], this.clear(), this.load() | |
} | |
}, { | |
key: "_readAllEndpoints", value: function (e, t) { | |
for (var n = this, i = [], a = 0, o = 0; o < e.length; ++o) this.options.apiBackend.read(e[o], function (o) { | |
return function (s, r) { | |
if (++a, s) s.response ? n.options.error(s.response.msg) : n.options.error("Request was unsuccessful: " + s.status), i[o] = []; else { | |
var l = ["right", "top", "bottom"]; | |
i[o] = r ? r.map(function (e) { | |
return {time: e[0], type: l[e[1]], color: e[2], author: e[3], text: e[4]} | |
}) : [] | |
} | |
if (a === e.length) return t(i) | |
} | |
}(o)) | |
} | |
}, { | |
key: "send", value: function (e, t) { | |
var n = { | |
token: this.options.api.token, | |
player: this.options.api.id, | |
author: this.options.api.user, | |
time: this.options.time(), | |
text: e.text, | |
color: e.color, | |
type: e.type | |
}; | |
this.options.apiBackend.send(this.options.api.address + "v2/", n, t), this.dan.splice(this.danIndex, 0, n), this.danIndex++; | |
var i = { | |
text: this.htmlEncode(n.text), | |
color: n.color, | |
type: n.type, | |
border: "2px solid " + this.options.borderColor | |
}; | |
this.draw(i), this.events && this.events.trigger("danmaku_send", n) | |
} | |
}, { | |
key: "frame", value: function () { | |
var e = this; | |
if (this.dan.length && !this.paused && this.showing) { | |
for (var t = this.dan[this.danIndex], n = []; t && this.options.time() > parseFloat(t.time);) n.push(t), t = this.dan[++this.danIndex]; | |
this.draw(n) | |
} | |
window.requestAnimationFrame(function () { | |
e.frame() | |
}) | |
} | |
}, { | |
key: "opacity", value: function (e) { | |
if (void 0 !== e) { | |
for (var t = this.container.getElementsByClassName("dplayer-danmaku-item"), n = 0; n < t.length; n++) t[n].style.opacity = e; | |
this._opacity = e, this.events && this.events.trigger("danmaku_opacity", this._opacity) | |
} | |
return this._opacity | |
} | |
}, { | |
key: "draw", value: function (e) { | |
var t = this; | |
if (this.showing) { | |
var n = this.options.height, i = this.container.offsetWidth, o = this.container.offsetHeight, | |
s = parseInt(o / n), r = function (e) { | |
var n = e.offsetWidth || parseInt(e.style.width), | |
i = e.getBoundingClientRect().right || t.container.getBoundingClientRect().right + n; | |
return t.container.getBoundingClientRect().right - i | |
}, l = function (e) { | |
return (i + e) / 5 | |
}, c = function (e, n, o) { | |
for (var c = i / l(o), u = 0; t.unlimited || u < s; u++) { | |
var d = function (a) { | |
var o = t.danTunnel[n][a + ""]; | |
if (!o || !o.length) return t.danTunnel[n][a + ""] = [e], e.addEventListener("animationend", function () { | |
t.danTunnel[n][a + ""].splice(0, 1) | |
}), {v: a % s}; | |
if ("right" !== n) return "continue"; | |
for (var u = 0; u < o.length; u++) { | |
var d = r(o[u]) - 10; | |
if (d <= i - c * l(parseInt(o[u].style.width)) || d <= 0) break; | |
if (u === o.length - 1) return t.danTunnel[n][a + ""].push(e), e.addEventListener("animationend", function () { | |
t.danTunnel[n][a + ""].splice(0, 1) | |
}), {v: a % s} | |
} | |
}(u); | |
switch (d) { | |
case"continue": | |
continue; | |
default: | |
if ("object" === (void 0 === d ? "undefined" : a(d))) return d.v | |
} | |
} | |
return -1 | |
}; | |
"[object Array]" !== Object.prototype.toString.call(e) && (e = [e]); | |
for (var u = document.createDocumentFragment(), d = 0; d < e.length; d++) !function (a) { | |
e[a].type || (e[a].type = "right"), e[a].color || (e[a].color = "#fff"); | |
var o = document.createElement("div"); | |
o.classList.add("dplayer-danmaku-item"), o.classList.add("dplayer-danmaku-" + e[a].type), e[a].border ? o.innerHTML = '<span style="border:' + e[a].border + '">' + e[a].text + "</span>" : o.innerHTML = e[a].text, o.style.opacity = t._opacity, o.style.color = e[a].color, o.addEventListener("animationend", function () { | |
t.container.removeChild(o) | |
}); | |
var s = t._measure(e[a].text), r = void 0; | |
switch (e[a].type) { | |
case"right": | |
r = c(o, e[a].type, s), r >= 0 && (o.style.width = s + 1 + "px", o.style.top = n * r + "px", o.style.transform = "translateX(-" + i + "px)"); | |
break; | |
case"top": | |
r = c(o, e[a].type), r >= 0 && (o.style.top = n * r + "px"); | |
break; | |
case"bottom": | |
r = c(o, e[a].type), r >= 0 && (o.style.bottom = n * r + "px"); | |
break; | |
default: | |
console.error("Can't handled danmaku type: " + e[a].type) | |
} | |
r >= 0 && (o.classList.add("dplayer-danmaku-move"), u.appendChild(o)) | |
}(d); | |
return this.container.appendChild(u), u | |
} | |
} | |
}, { | |
key: "play", value: function () { | |
this.paused = !1 | |
} | |
}, { | |
key: "pause", value: function () { | |
this.paused = !0 | |
} | |
}, { | |
key: "_measure", value: function (e) { | |
if (!this.context) { | |
var t = getComputedStyle(this.container.getElementsByClassName("dplayer-danmaku-item")[0], null); | |
this.context = document.createElement("canvas").getContext("2d"), this.context.font = t.getPropertyValue("font") | |
} | |
return this.context.measureText(e).width | |
} | |
}, { | |
key: "seek", value: function () { | |
this.clear(); | |
for (var e = 0; e < this.dan.length; e++) { | |
if (this.dan[e].time >= this.options.time()) { | |
this.danIndex = e; | |
break | |
} | |
this.danIndex = this.dan.length | |
} | |
} | |
}, { | |
key: "clear", value: function () { | |
this.danTunnel = { | |
right: {}, | |
top: {}, | |
bottom: {} | |
}, this.danIndex = 0, this.options.container.innerHTML = "", this.events && this.events.trigger("danmaku_clear") | |
} | |
}, { | |
key: "htmlEncode", value: function (e) { | |
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/\//g, "/") | |
} | |
}, { | |
key: "resize", value: function () { | |
for (var e = this.container.offsetWidth, t = this.container.getElementsByClassName("dplayer-danmaku-item"), n = 0; n < t.length; n++) t[n].style.transform = "translateX(-" + e + "px)" | |
} | |
}, { | |
key: "hide", value: function () { | |
this.showing = !1, this.pause(), this.clear(), this.events && this.events.trigger("danmaku_hide") | |
} | |
}, { | |
key: "show", value: function () { | |
this.seek(), this.showing = !0, this.play(), this.events && this.events.trigger("danmaku_show") | |
} | |
}, { | |
key: "unlimit", value: function (e) { | |
this.unlimited = e | |
} | |
}]), e | |
}(); | |
t.default = s | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e() { | |
i(this, e), this.events = {}, this.videoEvents = ["abort", "canplay", "canplaythrough", "durationchange", "emptied", "ended", "error", "loadeddata", "loadedmetadata", "loadstart", "mozaudioavailable", "pause", "play", "playing", "progress", "ratechange", "seeked", "seeking", "stalled", "suspend", "timeupdate", "volumechange", "waiting"], this.playerEvents = ["screenshot", "thumbnails_show", "thumbnails_hide", "danmaku_show", "danmaku_hide", "danmaku_clear", "danmaku_loaded", "danmaku_send", "danmaku_opacity", "contextmenu_show", "contextmenu_hide", "notice_show", "notice_hide", "quality_start", "quality_end", "destroy", "resize", "fullscreen", "fullscreen_cancel", "webfullscreen", "webfullscreen_cancel", "subtitle_show", "subtitle_hide", "subtitle_change"] | |
} | |
return a(e, [{ | |
key: "on", value: function (e, t) { | |
this.type(e) && "function" == typeof t && (this.events[e] || (this.events[e] = []), this.events[e].push(t)) | |
} | |
}, { | |
key: "trigger", value: function (e, t) { | |
if (this.events[e] && this.events[e].length) for (var n = 0; n < this.events[e].length; n++) this.events[e][n](t) | |
} | |
}, { | |
key: "type", value: function (e) { | |
return -1 !== this.playerEvents.indexOf(e) ? "player" : -1 !== this.videoEvents.indexOf(e) ? "video" : (console.error("Unknown event name: " + e), null) | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = n(0), s = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(o), r = function () { | |
function e(t) { | |
var n = this; | |
i(this, e), this.player = t, this.player.events.on("webfullscreen", function () { | |
n.player.resize() | |
}), this.player.events.on("webfullscreen_cancel", function () { | |
n.player.resize(), s.default.setScrollPosition(n.lastScrollPosition) | |
}); | |
var a = function () { | |
n.player.resize(), n.isFullScreen("browser") ? n.player.events.trigger("fullscreen") : (s.default.setScrollPosition(n.lastScrollPosition), n.player.events.trigger("fullscreen_cancel")) | |
}; | |
this.player.container.addEventListener("fullscreenchange", a), this.player.container.addEventListener("mozfullscreenchange", a), this.player.container.addEventListener("webkitfullscreenchange", a) | |
} | |
return a(e, [{ | |
key: "isFullScreen", value: function () { | |
switch (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "browser") { | |
case"browser": | |
return document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement; | |
case"web": | |
return this.player.container.classList.contains("dplayer-fulled") | |
} | |
} | |
}, { | |
key: "request", value: function () { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "browser", | |
t = "browser" === e ? "web" : "browser", n = this.isFullScreen(t); | |
switch (n || (this.lastScrollPosition = s.default.getScrollPosition()), e) { | |
case"browser": | |
this.player.container.requestFullscreen ? this.player.container.requestFullscreen() : this.player.container.mozRequestFullScreen ? this.player.container.mozRequestFullScreen() : this.player.container.webkitRequestFullscreen ? this.player.container.webkitRequestFullscreen() : this.player.video.webkitEnterFullscreen && this.player.video.webkitEnterFullscreen(); | |
break; | |
case"web": | |
this.player.container.classList.add("dplayer-fulled"), document.body.classList.add("dplayer-web-fullscreen-fix"), this.player.events.trigger("webfullscreen") | |
} | |
n && this.cancel(t) | |
} | |
}, { | |
key: "cancel", value: function () { | |
switch (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "browser") { | |
case"browser": | |
document.cancelFullScreen ? document.cancelFullScreen() : document.mozCancelFullScreen ? document.mozCancelFullScreen() : document.webkitCancelFullScreen && document.webkitCancelFullScreen(); | |
break; | |
case"web": | |
this.player.container.classList.remove("dplayer-fulled"), document.body.classList.remove("dplayer-web-fullscreen-fix"), this.player.events.trigger("webfullscreen_cancel") | |
} | |
} | |
}, { | |
key: "toggle", value: function () { | |
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "browser"; | |
this.isFullScreen(e) ? this.cancel(e) : this.request(e) | |
} | |
}]), e | |
}(); | |
t.default = r | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = n(0), s = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(o), r = function () { | |
function e(t) { | |
i(this, e), this.storageName = { | |
opacity: "dplayer-danmaku-opacity", | |
volume: "dplayer-volume", | |
unlimited: "dplayer-danmaku-unlimited", | |
danmaku: "dplayer-danmaku-show", | |
subtitle: "dplayer-subtitle-show" | |
}, this.default = { | |
opacity: .7, | |
volume: t.options.volume || .7, | |
unlimited: (t.options.danmaku && t.options.danmaku.unlimited ? 1 : 0) || 0, | |
danmaku: 1, | |
subtitle: 1 | |
}, this.data = {}, this.init() | |
} | |
return a(e, [{ | |
key: "init", value: function () { | |
for (var e in this.storageName) { | |
var t = this.storageName[e]; | |
this.data[e] = parseFloat(s.default.storage.get(t) || this.default[e]) | |
} | |
} | |
}, { | |
key: "get", value: function (e) { | |
return this.data[e] | |
} | |
}, { | |
key: "set", value: function (e, t) { | |
this.data[e] = t, s.default.storage.set(this.storageName[e], t) | |
} | |
}]), e | |
}(); | |
t.default = r | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t, n, a, o) { | |
i(this, e), this.container = t, this.video = n, this.options = a, this.events = o, this.init() | |
} | |
return a(e, [{ | |
key: "init", value: function () { | |
var e = this; | |
if (this.container.style.fontSize = this.options.fontSize, this.container.style.bottom = this.options.bottom, this.container.style.color = this.options.color, this.video.textTracks && this.video.textTracks[0]) { | |
var t = this.video.textTracks[0]; | |
t.oncuechange = function () { | |
var n = t.activeCues[0]; | |
if (n) { | |
e.container.innerHTML = ""; | |
var i = document.createElement("p"); | |
i.appendChild(n.getCueAsHTML()), e.container.appendChild(i) | |
} else e.container.innerHTML = ""; | |
e.events.trigger("subtitle_change") | |
} | |
} | |
} | |
}, { | |
key: "show", value: function () { | |
this.container.classList.remove("dplayer-subtitle-hide"), this.events.trigger("subtitle_show") | |
} | |
}, { | |
key: "hide", value: function () { | |
this.container.classList.add("dplayer-subtitle-hide"), this.events.trigger("subtitle_hide") | |
} | |
}, { | |
key: "toggle", value: function () { | |
this.container.classList.contains("dplayer-subtitle-hide") ? this.show() : this.hide() | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t) { | |
i(this, e), this.elements = {}, this.elements.volume = t.volumeBar, this.elements.played = t.playedBar, this.elements.loaded = t.loadedBar, this.elements.danmaku = t.danmakuOpacityBar | |
} | |
return a(e, [{ | |
key: "set", value: function (e, t, n) { | |
t = Math.max(t, 0), t = Math.min(t, 1), this.elements[e].style[n] = 100 * t + "%" | |
} | |
}, { | |
key: "get", value: function (e) { | |
return parseFloat(this.elements[e].style.width) / 100 | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = n(0), s = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(o), r = function () { | |
function e(t) { | |
i(this, e), this.player = t, window.requestAnimationFrame = function () { | |
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (e) { | |
window.setTimeout(e, 1e3 / 60) | |
} | |
}(), this.types = ["loading", "progress", "info", "fps"], this.init() | |
} | |
return a(e, [{ | |
key: "init", value: function () { | |
for (var e = 0; e < this.types.length; e++) { | |
var t = this.types[e]; | |
"fps" !== t && this["init" + t + "Checker"]() | |
} | |
} | |
}, { | |
key: "initloadingChecker", value: function () { | |
var e = this, t = 0, n = 0, i = !1; | |
this.loadingChecker = setInterval(function () { | |
e.enableloadingChecker && (n = e.player.video.currentTime, i || n !== t || e.player.video.paused || (e.player.container.classList.add("dplayer-loading"), i = !0), i && n > t && !e.player.video.paused && (e.player.container.classList.remove("dplayer-loading"), i = !1), t = n) | |
}, 100) | |
} | |
}, { | |
key: "initprogressChecker", value: function () { | |
var e = this; | |
this.progressChecker = setInterval(function () { | |
if (e.enableprogressChecker) { | |
e.player.bar.set("played", e.player.video.currentTime / e.player.video.duration, "width"); | |
var t = s.default.secondToTime(e.player.video.currentTime); | |
e.player.template.ptime.innerHTML !== t && (e.player.template.ptime.innerHTML = s.default.secondToTime(e.player.video.currentTime)) | |
} | |
}, 100) | |
} | |
}, { | |
key: "initfpsChecker", value: function () { | |
var e = this; | |
window.requestAnimationFrame(function () { | |
if (e.enablefpsChecker) if (e.initfpsChecker(), e.fpsStart) { | |
e.fpsIndex++; | |
var t = new Date; | |
t - e.fpsStart > 1e3 && (e.player.infoPanel.fps(e.fpsIndex / (t - e.fpsStart) * 1e3), e.fpsStart = new Date, e.fpsIndex = 0) | |
} else e.fpsStart = new Date, e.fpsIndex = 0; else e.fpsStart = 0, e.fpsIndex = 0 | |
}) | |
} | |
}, { | |
key: "initinfoChecker", value: function () { | |
var e = this; | |
this.infoChecker = setInterval(function () { | |
e.enableinfoChecker && e.player.infoPanel.update() | |
}, 1e3) | |
} | |
}, { | |
key: "enable", value: function (e) { | |
this["enable" + e + "Checker"] = !0, "fps" === e && this.initfpsChecker() | |
} | |
}, { | |
key: "disable", value: function (e) { | |
this["enable" + e + "Checker"] = !1 | |
} | |
}, { | |
key: "destroy", value: function (e) { | |
this[e + "Checker"] && clearInterval(this[e + "Checker"]) | |
} | |
}]), e | |
}(); | |
t.default = r | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t) { | |
var n = this; | |
i(this, e), this.container = t, this.container.addEventListener("animationend", function () { | |
n.container.classList.remove("dplayer-bezel-transition") | |
}) | |
} | |
return a(e, [{ | |
key: "switch", value: function (e) { | |
this.container.innerHTML = e, this.container.classList.add("dplayer-bezel-transition") | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
return e && e.__esModule ? e : {default: e} | |
} | |
function a(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var o = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), s = n(0), r = i(s), l = n(44), c = i(l), u = n(2), d = i(u), p = function () { | |
function e(t) { | |
var n = this; | |
a(this, e), this.player = t, this.autoHideTimer = 0, r.default.isMobile || (this.player.container.addEventListener("mousemove", function () { | |
n.setAutoHide() | |
}), this.player.container.addEventListener("click", function () { | |
n.setAutoHide() | |
}), this.player.on("play", function () { | |
n.setAutoHide() | |
}), this.player.on("pause", function () { | |
n.setAutoHide() | |
})), this.initPlayButton(), this.initThumbnails(), this.initPlayedBar(), this.initFullButton(), this.initQualityButton(), this.initScreenshotButton(), this.initSubtitleButton(), r.default.isMobile || this.initVolumeButton() | |
} | |
return o(e, [{ | |
key: "initPlayButton", value: function () { | |
var e = this; | |
this.player.template.playButton.addEventListener("click", function () { | |
e.player.toggle() | |
}), r.default.isMobile ? (this.player.template.videoWrap.addEventListener("click", function () { | |
e.toggle() | |
}), this.player.template.controllerMask.addEventListener("click", function () { | |
e.toggle() | |
})) : (this.player.template.videoWrap.addEventListener("click", function () { | |
e.player.toggle() | |
}), this.player.template.controllerMask.addEventListener("click", function () { | |
e.player.toggle() | |
})) | |
} | |
}, { | |
key: "initThumbnails", value: function () { | |
var e = this; | |
this.player.options.video.thumbnails && (this.thumbnails = new c.default({ | |
container: this.player.template.barPreview, | |
barWidth: this.player.template.barWrap.offsetWidth, | |
url: this.player.options.video.thumbnails, | |
events: this.player.events | |
}), this.player.on("loadedmetadata", function () { | |
e.thumbnails.resize(160, e.player.video.videoHeight / e.player.video.videoWidth * 160) | |
})) | |
} | |
}, { | |
key: "initPlayedBar", value: function () { | |
var e = this, t = function (t) { | |
var n = ((t.clientX || t.changedTouches[0].clientX) - r.default.getElementViewLeft(e.player.template.playedBarWrap)) / e.player.template.playedBarWrap.clientWidth; | |
n = Math.max(n, 0), n = Math.min(n, 1), e.player.bar.set("played", n, "width"), e.player.template.ptime.innerHTML = r.default.secondToTime(n * e.player.video.duration) | |
}, n = function n(i) { | |
document.removeEventListener(r.default.nameMap.dragEnd, n), document.removeEventListener(r.default.nameMap.dragMove, t); | |
var a = ((i.clientX || i.changedTouches[0].clientX) - r.default.getElementViewLeft(e.player.template.playedBarWrap)) / e.player.template.playedBarWrap.clientWidth; | |
a = Math.max(a, 0), a = Math.min(a, 1), e.player.bar.set("played", a, "width"), e.player.seek(e.player.bar.get("played") * e.player.video.duration), e.player.time.enable("progress") | |
}; | |
this.player.template.playedBarWrap.addEventListener(r.default.nameMap.dragStart, function () { | |
e.player.time.disable("progress"), document.addEventListener(r.default.nameMap.dragMove, t), document.addEventListener(r.default.nameMap.dragEnd, n) | |
}), this.player.template.playedBarWrap.addEventListener(r.default.nameMap.dragMove, function (t) { | |
if (e.player.video.duration) { | |
var n = r.default.cumulativeOffset(e.player.template.playedBarWrap).left, | |
i = (t.clientX || t.changedTouches[0].clientX) - n; | |
if (i < 0 || i > e.player.template.playedBarWrap.offsetWidth) return; | |
var a = e.player.video.duration * (i / e.player.template.playedBarWrap.offsetWidth); | |
r.default.isMobile && e.thumbnails && e.thumbnails.show(), e.thumbnails && e.thumbnails.move(i), e.player.template.playedBarTime.style.left = i - 20 + "px", e.player.template.playedBarTime.innerText = r.default.secondToTime(a), e.player.template.playedBarTime.classList.remove("hidden") | |
} | |
}), this.player.template.playedBarWrap.addEventListener(r.default.nameMap.dragEnd, function () { | |
r.default.isMobile && e.thumbnails && e.thumbnails.hide() | |
}), r.default.isMobile || (this.player.template.playedBarWrap.addEventListener("mouseenter", function () { | |
e.player.video.duration && (e.thumbnails && e.thumbnails.show(), e.player.template.playedBarTime.classList.remove("hidden")) | |
}), this.player.template.playedBarWrap.addEventListener("mouseleave", function () { | |
e.player.video.duration && (e.thumbnails && e.thumbnails.hide(), e.player.template.playedBarTime.classList.add("hidden")) | |
})) | |
} | |
}, { | |
key: "initFullButton", value: function () { | |
var e = this; | |
this.player.template.browserFullButton.addEventListener("click", function () { | |
e.player.fullScreen.toggle("browser") | |
}), this.player.template.webFullButton.addEventListener("click", function () { | |
e.player.fullScreen.toggle("web") | |
}) | |
} | |
}, { | |
key: "initVolumeButton", value: function () { | |
var e = this, t = function (t) { | |
var n = t || window.event, | |
i = ((n.clientX || n.changedTouches[0].clientX) - r.default.getElementViewLeft(e.player.template.volumeBarWrap) - 5.5) / 35; | |
e.player.volume(i) | |
}, n = function n() { | |
document.removeEventListener(r.default.nameMap.dragEnd, n), document.removeEventListener(r.default.nameMap.dragMove, t), e.player.template.volumeButton.classList.remove("dplayer-volume-active") | |
}; | |
this.player.template.volumeBarWrapWrap.addEventListener("click", function (t) { | |
var n = t || window.event, | |
i = ((n.clientX || n.changedTouches[0].clientX) - r.default.getElementViewLeft(e.player.template.volumeBarWrap) - 5.5) / 35; | |
e.player.volume(i) | |
}), this.player.template.volumeBarWrapWrap.addEventListener(r.default.nameMap.dragStart, function () { | |
document.addEventListener(r.default.nameMap.dragMove, t), document.addEventListener(r.default.nameMap.dragEnd, n), e.player.template.volumeButton.classList.add("dplayer-volume-active") | |
}), this.player.template.volumeIcon.addEventListener("click", function () { | |
e.player.video.muted ? (e.player.video.muted = !1, e.player.switchVolumeIcon(), e.player.bar.set("volume", e.player.volume(), "width")) : (e.player.video.muted = !0, e.player.template.volumeIcon.innerHTML = d.default.volumeOff, e.player.bar.set("volume", 0, "width")) | |
}) | |
} | |
}, { | |
key: "initQualityButton", value: function () { | |
var e = this; | |
this.player.options.video.quality && this.player.template.qualityList.addEventListener("click", function (t) { | |
t.target.classList.contains("dplayer-quality-item") && e.player.switchQuality(t.target.dataset.index) | |
}) | |
} | |
}, { | |
key: "initScreenshotButton", value: function () { | |
var e = this; | |
this.player.options.screenshot && this.player.template.camareButton.addEventListener("click", function () { | |
var t = document.createElement("canvas"); | |
t.width = e.player.video.videoWidth, t.height = e.player.video.videoHeight, t.getContext("2d").drawImage(e.player.video, 0, 0, t.width, t.height); | |
var n = void 0; | |
t.toBlob(function (e) { | |
n = URL.createObjectURL(e); | |
var t = document.createElement("a"); | |
t.href = n, t.download = "DPlayer.png", t.style.display = "none", document.body.appendChild(t), t.click(), document.body.removeChild(t), URL.revokeObjectURL(n) | |
}), e.player.events.trigger("screenshot", n) | |
}) | |
} | |
}, { | |
key: "initSubtitleButton", value: function () { | |
var e = this; | |
this.player.options.subtitle && (this.player.events.on("subtitle_show", function () { | |
e.player.template.subtitleButton.dataset.balloon = e.player.tran("Hide subtitle"), e.player.template.subtitleButtonInner.style.opacity = "", e.player.user.set("subtitle", 1) | |
}), this.player.events.on("subtitle_hide", function () { | |
e.player.template.subtitleButton.dataset.balloon = e.player.tran("Show subtitle"), e.player.template.subtitleButtonInner.style.opacity = "0.4", e.player.user.set("subtitle", 0) | |
}), this.player.template.subtitleButton.addEventListener("click", function () { | |
e.player.subtitle.toggle() | |
})) | |
} | |
}, { | |
key: "setAutoHide", value: function () { | |
var e = this; | |
this.show(), clearTimeout(this.autoHideTimer), this.autoHideTimer = setTimeout(function () { | |
!e.player.video.played.length || e.player.paused || e.disableAutoHide || e.hide() | |
}, 3e3) | |
} | |
}, { | |
key: "show", value: function () { | |
this.player.container.classList.remove("dplayer-hide-controller") | |
} | |
}, { | |
key: "hide", value: function () { | |
this.player.container.classList.add("dplayer-hide-controller"), this.player.setting.hide(), this.player.comment && this.player.comment.hide() | |
} | |
}, { | |
key: "isShow", value: function () { | |
return !this.player.container.classList.contains("dplayer-hide-controller") | |
} | |
}, { | |
key: "toggle", value: function () { | |
this.isShow() ? this.hide() : this.show() | |
} | |
}, { | |
key: "destroy", value: function () { | |
clearTimeout(this.autoHideTimer) | |
} | |
}]), e | |
}(); | |
t.default = p | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t) { | |
i(this, e), this.container = t.container, this.barWidth = t.barWidth, this.container.style.backgroundImage = "url('" + t.url + "')", this.events = t.events | |
} | |
return a(e, [{ | |
key: "resize", value: function (e, t) { | |
this.container.style.width = e + "px", this.container.style.height = t + "px", this.container.style.top = 2 - t + "px" | |
} | |
}, { | |
key: "show", value: function () { | |
this.container.style.display = "block", this.events && this.events.trigger("thumbnails_show") | |
} | |
}, { | |
key: "move", value: function (e) { | |
this.container.style.backgroundPosition = "-" + 160 * (Math.ceil(e / this.barWidth * 100) - 1) + "px 0", this.container.style.left = e - this.container.offsetWidth / 2 + "px" | |
} | |
}, { | |
key: "hide", value: function () { | |
this.container.style.display = "none", this.events && this.events.trigger("thumbnails_hide") | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = n(0), s = function (e) { | |
return e && e.__esModule ? e : {default: e} | |
}(o), r = function () { | |
function e(t) { | |
var n = this; | |
i(this, e), this.player = t, this.player.template.mask.addEventListener("click", function () { | |
n.hide() | |
}), this.player.template.settingButton.addEventListener("click", function () { | |
n.show() | |
}), this.loop = this.player.options.loop, this.player.template.loopToggle.checked = this.loop, this.player.template.loop.addEventListener("click", function () { | |
n.player.template.loopToggle.checked = !n.player.template.loopToggle.checked, n.player.template.loopToggle.checked ? n.loop = !0 : n.loop = !1, n.hide() | |
}), this.showDanmaku = this.player.user.get("danmaku"), this.showDanmaku || this.player.danmaku && this.player.danmaku.hide(), this.player.template.showDanmakuToggle.checked = this.showDanmaku, this.player.template.showDanmaku.addEventListener("click", function () { | |
n.player.template.showDanmakuToggle.checked = !n.player.template.showDanmakuToggle.checked, n.player.template.showDanmakuToggle.checked ? (n.showDanmaku = !0, n.player.danmaku.show()) : (n.showDanmaku = !1, n.player.danmaku.hide()), n.player.user.set("danmaku", n.showDanmaku ? 1 : 0), n.hide() | |
}), this.unlimitDanmaku = this.player.user.get("unlimited"), this.player.template.unlimitDanmakuToggle.checked = this.unlimitDanmaku, this.player.template.unlimitDanmaku.addEventListener("click", function () { | |
n.player.template.unlimitDanmakuToggle.checked = !n.player.template.unlimitDanmakuToggle.checked, n.player.template.unlimitDanmakuToggle.checked ? (n.unlimitDanmaku = !0, n.player.danmaku.unlimit(!0)) : (n.unlimitDanmaku = !1, n.player.danmaku.unlimit(!1)), n.player.user.set("unlimited", n.unlimitDanmaku ? 1 : 0), n.hide() | |
}), this.player.template.speed.addEventListener("click", function () { | |
n.player.template.settingBox.classList.add("dplayer-setting-box-narrow"), n.player.template.settingBox.classList.add("dplayer-setting-box-speed") | |
}); | |
for (var a = 0; a < this.player.template.speedItem.length; a++) !function (e) { | |
n.player.template.speedItem[e].addEventListener("click", function () { | |
n.player.speed(n.player.template.speedItem[e].dataset.speed), n.hide() | |
}) | |
}(a); | |
if (this.player.danmaku) { | |
this.player.on("danmaku_opacity", function (e) { | |
n.player.bar.set("danmaku", e, "width"), n.player.user.set("opacity", e) | |
}), this.player.danmaku.opacity(this.player.user.get("opacity")); | |
var o = function (e) { | |
var t = e || window.event, | |
i = ((t.clientX || t.changedTouches[0].clientX) - s.default.getElementViewLeft(n.player.template.danmakuOpacityBarWrap)) / 130; | |
i = Math.max(i, 0), i = Math.min(i, 1), n.player.danmaku.opacity(i) | |
}, r = function e() { | |
document.removeEventListener(s.default.nameMap.dragEnd, e), document.removeEventListener(s.default.nameMap.dragMove, o), n.player.template.danmakuOpacityBox.classList.remove("dplayer-setting-danmaku-active") | |
}; | |
this.player.template.danmakuOpacityBarWrapWrap.addEventListener("click", function (e) { | |
var t = e || window.event, | |
i = ((t.clientX || t.changedTouches[0].clientX) - s.default.getElementViewLeft(n.player.template.danmakuOpacityBarWrap)) / 130; | |
i = Math.max(i, 0), i = Math.min(i, 1), n.player.danmaku.opacity(i) | |
}), this.player.template.danmakuOpacityBarWrapWrap.addEventListener(s.default.nameMap.dragStart, function () { | |
document.addEventListener(s.default.nameMap.dragMove, o), document.addEventListener(s.default.nameMap.dragEnd, r), n.player.template.danmakuOpacityBox.classList.add("dplayer-setting-danmaku-active") | |
}) | |
} | |
} | |
return a(e, [{ | |
key: "hide", value: function () { | |
var e = this; | |
this.player.template.settingBox.classList.remove("dplayer-setting-box-open"), this.player.template.mask.classList.remove("dplayer-mask-show"), setTimeout(function () { | |
e.player.template.settingBox.classList.remove("dplayer-setting-box-narrow"), e.player.template.settingBox.classList.remove("dplayer-setting-box-speed") | |
}, 300), this.player.controller.disableAutoHide = !1 | |
} | |
}, { | |
key: "show", value: function () { | |
this.player.template.settingBox.classList.add("dplayer-setting-box-open"), this.player.template.mask.classList.add("dplayer-mask-show"), this.player.controller.disableAutoHide = !0 | |
} | |
}]), e | |
}(); | |
t.default = r | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t) { | |
var n = this; | |
i(this, e), this.player = t, this.player.template.mask.addEventListener("click", function () { | |
n.hide() | |
}), this.player.template.commentButton.addEventListener("click", function () { | |
n.show() | |
}), this.player.template.commentSettingButton.addEventListener("click", function () { | |
n.toggleSetting() | |
}), this.player.template.commentColorSettingBox.addEventListener("click", function () { | |
if (n.player.template.commentColorSettingBox.querySelector("input:checked+span")) { | |
var e = n.player.template.commentColorSettingBox.querySelector("input:checked").value; | |
n.player.template.commentSettingFill.style.fill = e, n.player.template.commentInput.style.color = e, n.player.template.commentSendFill.style.fill = e | |
} | |
}), this.player.template.commentInput.addEventListener("click", function () { | |
n.hideSetting() | |
}), this.player.template.commentInput.addEventListener("keydown", function (e) { | |
13 === (e || window.event).keyCode && n.send() | |
}), this.player.template.commentSendButton.addEventListener("click", function () { | |
n.send() | |
}) | |
} | |
return a(e, [{ | |
key: "show", value: function () { | |
this.player.controller.disableAutoHide = !0, this.player.template.controller.classList.add("dplayer-controller-comment"), this.player.template.mask.classList.add("dplayer-mask-show"), this.player.container.classList.add("dplayer-show-controller"), this.player.template.commentInput.focus() | |
} | |
}, { | |
key: "hide", value: function () { | |
this.player.template.controller.classList.remove("dplayer-controller-comment"), this.player.template.mask.classList.remove("dplayer-mask-show"), this.player.container.classList.remove("dplayer-show-controller"), this.player.controller.disableAutoHide = !1, this.hideSetting() | |
} | |
}, { | |
key: "showSetting", value: function () { | |
this.player.template.commentSettingBox.classList.add("dplayer-comment-setting-open") | |
} | |
}, { | |
key: "hideSetting", value: function () { | |
this.player.template.commentSettingBox.classList.remove("dplayer-comment-setting-open") | |
} | |
}, { | |
key: "toggleSetting", value: function () { | |
this.player.template.commentSettingBox.classList.contains("dplayer-comment-setting-open") ? this.hideSetting() : this.showSetting() | |
} | |
}, { | |
key: "send", value: function () { | |
var e = this; | |
if (this.player.template.commentInput.blur(), !this.player.template.commentInput.value.replace(/^\s+|\s+$/g, "")) return void this.player.notice(this.player.tran("Please input danmaku content!")); | |
this.player.danmaku.send({ | |
text: this.player.template.commentInput.value, | |
color: this.player.container.querySelector(".dplayer-comment-setting-color input:checked").value, | |
type: this.player.container.querySelector(".dplayer-comment-setting-type input:checked").value | |
}, function () { | |
e.player.template.commentInput.value = "", e.hide() | |
}) | |
} | |
}]), e | |
}(); | |
t.default = o | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function e(t) { | |
i(this, e), t.options.hotkey && document.addEventListener("keydown", function (e) { | |
if (t.focus) { | |
var n = document.activeElement.tagName.toUpperCase(), | |
i = document.activeElement.getAttribute("contenteditable"); | |
if ("INPUT" !== n && "TEXTAREA" !== n && "" !== i && "true" !== i) { | |
var a = e || window.event, o = void 0; | |
switch (a.keyCode) { | |
case 32: | |
a.preventDefault(), t.toggle(); | |
break; | |
case 37: | |
a.preventDefault(), t.seek(t.video.currentTime - 5), t.controller.setAutoHide(); | |
break; | |
case 39: | |
a.preventDefault(), t.seek(t.video.currentTime + 5), t.controller.setAutoHide(); | |
break; | |
case 38: | |
a.preventDefault(), o = t.volume() + .1, t.volume(o); | |
break; | |
case 40: | |
a.preventDefault(), o = t.volume() - .1, t.volume(o) | |
} | |
} | |
} | |
}), document.addEventListener("keydown", function (e) { | |
switch ((e || window.event).keyCode) { | |
case 27: | |
t.fullScreen.isFullScreen("web") && t.fullScreen.cancel("web") | |
} | |
}) | |
}; | |
t.default = a | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e) { | |
if (Array.isArray(e)) { | |
for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t]; | |
return n | |
} | |
return Array.from(e) | |
} | |
function a(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var o = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), s = function () { | |
function e(t) { | |
var n = this; | |
a(this, e), this.player = t, [].concat(i(this.player.template.menuItem)).map(function (e, t) { | |
return n.player.options.contextmenu[t].click && e.addEventListener("click", function () { | |
n.player.options.contextmenu[t].click(n.player), n.hide() | |
}), e | |
}), this.player.container.addEventListener("contextmenu", function (e) { | |
var t = e || window.event; | |
t.preventDefault(); | |
var i = n.player.container.getBoundingClientRect(); | |
n.show(t.clientX - i.left, t.clientY - i.top), n.player.template.mask.addEventListener("click", function () { | |
n.hide() | |
}) | |
}) | |
} | |
return o(e, [{ | |
key: "show", value: function (e, t) { | |
this.player.template.menu.classList.add("dplayer-menu-show"); | |
var n = this.player.container.getBoundingClientRect(); | |
e + this.player.template.menu.offsetWidth >= n.width ? (this.player.template.menu.style.right = n.width - e + "px", this.player.template.menu.style.left = "initial") : (this.player.template.menu.style.left = e + "px", this.player.template.menu.style.right = "initial"), t + this.player.template.menu.offsetHeight >= n.height ? (this.player.template.menu.style.bottom = n.height - t + "px", this.player.template.menu.style.top = "initial") : (this.player.template.menu.style.top = t + "px", this.player.template.menu.style.bottom = "initial"), this.player.template.mask.classList.add("dplayer-mask-show"), this.player.events.trigger("contextmenu_show") | |
} | |
}, { | |
key: "hide", value: function () { | |
this.player.template.mask.classList.remove("dplayer-mask-show"), this.player.template.menu.classList.remove("dplayer-menu-show"), this.player.events.trigger("contextmenu_hide") | |
} | |
}]), e | |
}(); | |
t.default = s | |
}, function (e, t, n) { | |
"use strict"; | |
function i(e, t) { | |
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") | |
} | |
Object.defineProperty(t, "__esModule", {value: !0}); | |
var a = function () { | |
function e(e, t) { | |
for (var n = 0; n < t.length; n++) { | |
var i = t[n]; | |
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i) | |
} | |
} | |
return function (t, n, i) { | |
return n && e(t.prototype, n), i && e(t, i), t | |
} | |
}(), o = function () { | |
function e(t) { | |
var n = this; | |
i(this, e), this.container = t.template.infoPanel, this.template = t.template, this.video = t.video, this.player = t, this.template.infoPanelClose.addEventListener("click", function () { | |
n.hide() | |
}) | |
} | |
return a(e, [{ | |
key: "show", value: function () { | |
this.beginTime = Date.now(), this.update(), this.player.time.enable("info"), this.player.time.enable("fps"), this.container.classList.remove("dplayer-info-panel-hide") | |
} | |
}, { | |
key: "hide", value: function () { | |
this.player.time.disable("info"), this.player.time.disable("fps"), this.container.classList.add("dplayer-info-panel-hide") | |
} | |
}, { | |
key: "triggle", value: function () { | |
this.container.classList.contains("dplayer-info-panel-hide") ? this.show() : this.hide() | |
} | |
}, { | |
key: "update", value: function () { | |
this.template.infoVersion.innerHTML = "v1.22.2 d3847a3", this.template.infoType.innerHTML = this.player.type, this.template.infoUrl.innerHTML = this.player.options.video.url, this.template.infoResolution.innerHTML = this.player.video.videoWidth + " x " + this.player.video.videoHeight, this.template.infoDuration.innerHTML = this.player.video.duration, this.player.options.danmaku && (this.template.infoDanmakuId.innerHTML = this.player.options.danmaku.id, this.template.infoDanmakuApi.innerHTML = this.player.options.danmaku.api, this.template.infoDanmakuAmount.innerHTML = this.player.danmaku.dan.length) | |
} | |
}, { | |
key: "fps", value: function (e) { | |
this.template.infoFPS.innerHTML = "" + e.toFixed(1) | |
} | |
}]), e | |
}(); | |
t.default = o | |
}]).default | |
}); | |
//# sourceMappingURL=DPlayer.min.js.map |
@font-face {font-family: "iconfont"; | |
src: url('iconfont.eot?t=1513950066096'); /* IE9*/ | |
src: url('iconfont.eot?t=1513950066096#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |
url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAADAEAAsAAAAAUIgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZXB0nFY21hcAAAAYAAAAI5AAAFmOQmkDxnbHlmAAADvAAAKBkAAEKwpgc7bWhlYWQAACvYAAAAMQAAADYQTpzJaGhlYQAALAwAAAAgAAAAJAhIBDBobXR4AAAsLAAAADQAAAEICG//5mxvY2EAACxgAAAAhgAAAIYPVf5sbWF4cAAALOgAAAAfAAAAIAFdAMFuYW1lAAAtCAAAAUUAAAJtPlT+fXBvc3QAAC5QAAABsgAAAmx2t+u0eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWKcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBwYKp6fY27438AQw9zMMBMozAiSAwDkPwxieJzF1MdqlFEAxfH/mNi7JsZoYu+99xaXPoBufAQREZEgrsRnsDfsPdgVA8kmhCDkEbIK525cZWMWhngmJxshCwXBb/gNMx93mHu/e84FxgM1tsFqYdxFKv5E5bzvVkbu1zBl5H5t5Zi/b2KJx82gVffUpi9qV6e61K0efVOv+tQv6bsGNKih0lCay4nSOzzs37Xqiu7rjb6qY8zxP/Sz1JXGcnx0/J9fFc9pE0c5ySlOc2bM11nOcYFLXB4ZP85rqvXKJzCRSUz2+qYyjele1UxmMZs5zKWOeubRwHwaWcBCmmhmEYu9+qUsYzkrWMkqVrOGtaxjvZ/TRs9iM1vYyja2s4Od7GI3e9jLPvZzgIMc4jBHaPEUJvzVCv/pVfl/f/37Na36VtM0+s1PhdZRnqKuhPcKXY1qTnUtqlnV9ahmWDfCe4puhncX3QrvM7od3nF0J6rZ1t1wCtC9qM5O98PJQA/CGUEPw2lBj8K5QY/DCUJPwllCT8OpQs/C+ULPw0lDL8KZQy/D6UOvwjlEr8OJRG3hbKI34ZSit+G8onfh5KL34QyjD+E0o4/hXKNP4YSjz+Gsoy/h1KOv4fyj9nATUEe4E6gz3A7UFe4J6g43BvWEu4O+hVuEeqN6Hqkv3CzUH+4YUrht6Hu4d2gg3ED0I9xFNBhuJfoZ7icaCjeVUhfuLKU+3F7KvHCPKQ3hRlMaw92mLAi3nLIw3HdKU7j5lObwGUA5Hj4NKCfC5wKlN2j5BSRaKdAAAAB4nM17eYAbxZV3v6q+D0mtltStuTSSRtKMx3NpRpKPufBtY2xsY5s7mEAgMTaB4MCawxPA5r4xBAxkuUwW5yCwmyW7WfAudiAkJISEhABZIPB95sjmAPKRkFHP96paGo+JnYRv94/PI1dXV1eVul694/dePQmSIEy8Rr9NPcER2oU+YZ5wpCCA3AmZEGmGdGGgm3RCPC3F3ViIFrKFtJLNdNMhcDNyLFEsD+RdWZHDEIIW6E8Xy4VuUoDSwDCZDcVEM0CysWFVNNcUpdeD7hVatvpLyD0QT2WbwsNd/uLpI7Fiq6Oea0ajyWj0alWWJJUQMRyCDW5CkzRd9u+Twg3xb6c6SArMZKFh6TFWa2N03eUDG5tzrgYwNgZOY2vogRG7wcbPBQ0JJ5pUIpbqNVjZthic+4bhOWZz/nUB/ym41jFRoGOCIbhCVugWZgnzhdNxvf2lbiiEQGkBtzAMFbzEK9lugEIcG/ERtrFneCllQ5BzS0EnfFgJBsb7h8HBajaOzcXKMHSDIuMMhZLSjy0xRW6BcqUMzyTJFaefdgWlV5y2m2xYsfIM0vDiig3wxQZyxsoVGwg2vYePTr+CvHfaFaT3YK1s6Hs4ycyiLmsxrb2rNgdRqR6PUh1ur3Vi3YPBL+I8/h94p+A7d09O8+5BW/1lte9KSk5MFmO1OVY2NRhRWdczSEtgBCXfId9BvkF+ibmQGIZ8AdddAb56OCMWh5Jim6D435NBhrICpq3AA07R8X8nQ8iWISyFJEjKdghkNh3jxe30Q3qU0CzkhR5hhnCYIDA6p51yvpBmHOemiwqtpDP5Au1GpnPxmwJGLAyUi4mYnMnnJluGIWh5Ry+2kM4vaNlM9X0jFDKIaUvne9V9IU96VozGNAqfh5mrZ8xYPXN7U2cTfpBF8QabtkPTtObmaU17m9oAdqd7IIz8EPFXRaMmWa9rSlQff7pz5sw1M2d2xrFfc3P8gDu2Jr4wWiW7ajzXI8wWFgqCw0SngLwUS/Tzeid/635nGOp1F3ifNO/D61lOgn5gfYK6u00PhfR1bFXrDlKj32RldYg1kKdZWR3k9Sd5fYhTY8yMmgBY+O9gwa5vQ1AB0nnoZ2z7+doOIz/laxMqjOwVwBfNKDbTDQXI40u635AtWybrsVQU25Kr22UslyNnyGSMldWTZWQMMsZKLqN3oIyuEdqEXmEmyucy4Vjhkzh7N5RsJd0CcbuSVpi+GQElbaOIpW1kkX5GlIIzKcbDMLn/uamNU9jkz3teku5qpJ/Ewk/t00Qzpr8WhvdgyYzxS+DwyhVGOGycQmZP75oNMLtr+uw7oLmrpaWrGe7F26Cxa/YdLdNb8AP3wWC94+CdtY7roStDxhqxrI413iHHHVG+VSI7Zh4O1U/NPJxAOBEGOLZ7EGCwu4uVXS4Oa2lJ/E1NgiBO6rcCp91xKJl5oSALSkJwi+VAK4Ugi21loYJtMTnQS8OQY+RjHCVNqRQTLtInEUK5Zn9MsBT2F2JSPgyiIPmvvPii/4okQfrFY+6ZpxIrpg7feOQe/0/YJO3ZA5KUzUpS1JHzheqKxmy21NYGNzS0tZWyWf8fW9esX9MaS8qi7DgSKEa0YcExCxqihgKS42BrEsZehLRU/5KZZSVmE6V3oD615P9pz5zzK1rMkLTBK1YDm72Uhdr1Bw3NzQ2RFlN3NFmnaiQU97x4KIJaUtYc3WwJZHPiUrqPHof82yJME8rCHGEN0ozLWi6QzXjOZvRAppNcXlOQ84rl0p/XHaZ0gnoc2ayCer+ZGxYmzlijzzAGGl/FypvJA7jZDdVrGvmev8y2ntX8vRByw2E0LHcFLevDBg4rQVf6mXTXAPk6NhHWZfy3jQr5MZuqurBRaSB7zVDIrH6fNcBLrPRzB69PmCGAkFmpZLq6Mr0Bz+yif6KHCQ1CK9KgG3VTlglUur7uNEoKCh4nCg2jei8obgHtoVtRwK0UlEySLCjR/lAilBz/363TIElKTK/cI0nfglv/QR8T/QuN69KiDNfazZ9tJrdVbygvBKiyPn5TEjpbyZokDva3y/8xhyTHKie3+aAOeNvDMLG3Y2VHoGcmdiNfdwppoYhmov5KzEwzog9BXQvUXlpKVHKc2SU3lw9BwqXPJMdvT3dCkn4Ky3A8DIvL42NY0DG88QesEPxQkw1H9/sa/fu0mCWq+SRMT5NnG6AzfZgeDuuHVRaRaqKyGOD/MDpu0JQJOeZI0gT8QUErwvS8PDExcZqo001oEwuo55cLJwobkZ/KCddpQa1doKgZKZc4qQUC0DQCaNpyGfaSTkLuAfa6KUiU6/ZNzleccjfIOC4xUrOs+cluw6xeDtrDhIMweEEPa2eLTkwRz0oubThXUlG6yAq05L9QSSim/aLTneW/YkSIpV8qm4kPufh8ODCsDxI7bhA/nDDlucSI23SOMTQwHlDlznSoQ42hvnyBl8vCkQ2GScPGGWt1CyI6nY7m3/9AU1VHB7U04I/rUU3RR2ko/G0lFgH524VFasqMh0n1255mbecq4eamzpngGoYUMfwXLM0DV7clQ/ffmtnVdK3kRGUJRpvNnAKRmLIbsUJMeQuIScJxE0wV99Di8jtGd6O+s4Sk0MWtxQqkNzKCXVFqXFKIc8aoMEtBGVJjIjsEA+XZgZzTKZZVmmJZpSntdF5qGij3RKv/jNdkEhYOkKMewvIUZHcIxZGTP8vYeTHnaYFxCxEOXqfLoSNVrdj3q3ilG5N93viNA/PhEfJjLKtD2Hgj63wj2meEGm+GYiH83AQWfkfcggeDe252p+j6irD6b9f0ElNLeNvXDYwKFeQrNIGlvJtgSB4fsVt8UimXUOl/PB3vx8OOEw7FnPBdYDiORs9YTKS+w/SorQ+PSlfc+bEU+mfACWshB8AJaWG8RCAO+PmcrC5ODxw2kCVRgCjxpg/OLl4u0Y/SpF8Y+Rg0maK6S4FG4fWPaeHeZ6xQ/3ystd7FNh2GWbmeFZ2sCDA2XUq6OcYuF13gWoTrgABr+bKFSJoDaP9dpxjz35QZrq7Ksv+0TBjcLscg7n8PYZYiTM63hs2X41iNaRbUM2xOhuH/M1Z0cD4Gzv13cW5/H84tjx8Uydd9gEdqPkAipnCNxhBggSsol1yML/K9APeX4jH/aTaJDJch7EcXgL01hNEdQBeAfSPfP6bnR9EO9QuDOKfi5uyP6HZ7ivZHo4wGiJPC+TPYDy9l34ejyJGD49diQc+OJCPN4w+29UIzXYOl6T/Z+sH7qu1qJyDaR/Q/4xrw2jz8wKi4YxyiwytI1cYC0qZtm/54M/TlyHOs9Me9fXDHB5prq/CTGuJ3PC/neYJg4hq+iGtYj0jWFBKIK9oRi80QhoTFKKXrhA24qgKuweWaKW3TAl9QaVJR2RBA3HoHXKwzdUBuCq86HHjYHIRweMbEF1n9AG9hm+f5uzwvySqe/7IRwuq0FAwytcSfeLANG/q8+o0vBGpmHVM5TPWsq+sfIjC/YbyXlXSW5z+I3dd4fUn/Bri8eim7h5AOOdbyEmpKuJw0gGX4L+3vNozNQc/9I1/mzG9xl+QHrPRfZOWeyQIeDURKqGGBMeqjjOdQ76HnycW73FZB75oxM0OnSiDiSE0uL+jHVwIvKj0J1ohQl+rHId5GCa4QgRVNf/iVumhf+8sZUhSN6MiHkE76Vf4e1OCSTcfqYi2+9S3bNsLU0iPhLz9H68JNto9pqhbVr9np35cMDAQ4XKQ53rqVVvH9G4Q+zhXID24la1eybinYwn5b6TcggAn7Wb1/vyCUnCmeYW6qnWrJPR69znvAAysW+pn3D795Q0EBU/xlyO8eeRzLXrJkZrUDCxLnu1j9T92ydJKr1dkib4ZfFfxXXXcnu3sMWj3o8KuKEwL1KSjmaa8HfXl/NeyadQSMP4pFD2kLxRijxELXYcUK7BPqhokt9Fe4zuWI2PKlHo5aetCdkBU0N5PeV3EEinX8IiM0gyDawmImbCtTlMGcFBTy5QpXLsNA3yaSrscfj+kKBSIPzxXf/sZDb0vS2w+paj6U7tJ19MuzLRo1Wqwdz4jiMzt2/ECcXVEIIZJmxNg4rKoMDGFxkgiqYSaeiBuqJKnm4F3HPPJrSfr1I//4awmobiGy06mhEgric3fd+ZwoPnfn8itLpiqL9VEyjuK63dSEelyEFsigYNd1LPOHoVLgGhGeVVFNTlfCMdX/Sfaf1FgY1JcUFUqIqxT/aXgANyym1mzZF7ktWyhcJzyCczHAzbRdmCCrcFoiDkcAnu8hbkkZYTCwoDBYXh4hSn+Bk61ScBGtJ1KkEK+EQa64lRL2yWNbhf3HSqWQxWnkWgOrFJQ4flOi1sAqituPE5VrDayyf/umhLpq21YLddFZyhrxquYrDcu0Ut5eL2cahnlJy1XialmSxO0x5zZJUuQV9MqWraaum23uHq/VCofNC1uuFldJsijd5MR2SGKjdPdtsivJidjaL19sGbateel38p5qGpp11c6j4glFduW/v11yJSURP/qByy3dNDU3/6tWTwlbmnndA8fEE7K0nWw6+uhNBMuugq6gZLZk5h6LvvbceccQkRixCBX/YI6lLqMrRXy5G5zoLaIoS0fRy1OXG5ZltXiPu21sIZtbLqcrJFEUb3Ri2yXUNsvpZalLTNMys95uL2Ua4KX3tXlqOKRbV9y9Ip5QFVfa8UXJFSU3ftR9WyxUApqb25fyNBQu85p71qKjLSWkO2+V2Brjq+/ZahmmeUPwrlhGxaijiFbwpuSYebatRxAkJ/5nfX3uxuKTugplkpepO/0hpkb///b1/Xe5s58y0bNXNKqFw3HXjYfDWFXQ/zdTNbvB6WUjtQ4imdLfSL2DSTD5Xx+HOn8u7/Ax1o66AfXDxPX0FzW/p0XIC9OFsrBAOIXFLhIIHuBA3wc4iAiEt4SqIV6Bmh9fqvnxORas3+8U9BdiBzoF3EcolGpOAXmupV3xP2f7+1oK4HrksCJkYAfMKZbtLadtiZywIH3CAv+LUutd4OKdP2FuanJlAP9iKxq1QtFoaLtuRzX6qblU6h4EPRLRYdaQNHYzXdHe7D8Y8TcoUGghb3k9btUtHgbw93BS3xyoPhK56LSLiiekF+DHf0m6EzUcu50QFK/xHBMEL2ppFnMK2MUHhxAH1kvqvFTvUC/SgBAb3PYZM7q3SMgMOtLwBvo7fhaQEDL8LGCBsFJYL5wrXFL3IQ+gIiMis8porgLYnCgOQw9wAaFTnAZnqkN5oHMZ9OCUxr9szaBx/z7MDf4Iny4V4Hx6bqoDvPFvsNKDeQP0NCyqR3CT/hIvYYvqhAFvkAmVKwLUtpgjqDtQbRlwyv460XId+DTVFItbaD5pxAh3fEImEUfZoLByo+JEiMxLBXFMR6vflcQSfowuqt81sADgndJ8GN+qOiH1XRYEUP3/UkMO1gHtKLlaNQx1NSv8VwOwdldwWdu0dvbd7AXu7pmbCKsSjcQMoA4cqTkhol6msnIn2mJH28ZKdfKchr6DexMWUkIPenLLhU8IWwXBYWcp7EgmG/ApDQK/FQYnkJpKrr/m3PKTF4QKH3kOf2U8dEIwMAjeca1Yf8YOdvr5dt70NHP7p7U+3drZeSJZWHq6tBCAXwi5ljW2Bh1OqDcGXfwNhx5H1yj/PvmQAUbY//y7Rjhk0GX47FV8Bp14meb/tLyAkAXlV4Muh/+lh34+aIagk/980Pxq0Ml/vj52WutrDKK+VpocHEqEuJwEerO+F4cLa4VPCmcK5wuXBTvylyj+157DoaIvU+pTz0Gkj9ZrY296itH9KU6DE/H1nwpWxy4XHfoRfY5HZtZwB+TB//f6X96dv7wBxAozQQlfCLW4wWTF/zUr2d2FUypo2xjAphO/m/hPOkGztTMltP5oy1BPpxPlnpoWSciFNDuPm4wcTPUdaS0OxupkzbRzpvlXFUpHUGVZqeDITlSSYp7XN/7H3gYPNjWMNkCXHLMl2T+69nLsbfBNyC9HR6s7551MYeXclCYZMa01nwEodpBjOzr8dk00HU1ngS8Y5eTKokYyRnXuCv034jWHOGn6mChlKRpxBU5UIzFFiUVU/x7Uo8rHAiLL+YhTuTE/j892qhKaxO9jPA7AzsbKuLYpB065yeNj9E3j6VK+rZBRcO+KCTchuujrD0N9+bRB3HnhhTspZWX17eBcl58h+1VRkP2Xnk96ahPVZX03wvDk+EASzj2dnQzrm7aRuRftFMWdFwXl6VcScuXpvKw+3tDwyLhMIGLEiPTajmTytK+V+VHv4Hcmz/XWk3eCc70DoglTOWi1hli7uoaVMFo7FlxfOyfczVrJg6z8n4nLKVMs44H7vPquORoxY+rgdUfsDfZ5717cqY52idqO0tldrYVRZdwsouxCEwcf2eVyERup3N1bH4u7vHfh1lmqY1Jt9EaH+8UbmRV7Q0U/V31C4aaKYfAfoJ1qFhzED/OEYwXB5mai4CTKLOCs0AoqObcfF4P8hsgshr6vmylANpPnOEviTIF0DbiBV3HvsZVj0norhwnQ1nh/eMLrIKTDmwjf39j2hgaSCEQD/KcREP0/fY0T/ffk7LWsMu84gOPmsdrasx8ll56lRhRZ/dTnAdafqEpqRD39PHjm641tIE8ICTtN3mm1E4iloE0GmQJQSsRqXAIiAgV0br+umZuP30zZ8S85ecmSk/mxMDn/lPN2F6lsh8Wur3zm1J29YiQii6V/CeJgD3L+T09G5k8QPi1sEr4gXCPcJtwvCC66GLXgRrDPLMDBInwMbXE9D1NglTSlDlNOydOHqEtTTtjTh6hLU07e04eoj7VOP/DY6HaDXch7/PDtgRA7pgvBI2GmmMP+GNNy13D7sJN1uJqfvF09WfU/99/tkJ6eId9ugOnp6qP8+H5RZTHBF5k3YzGwFyH3sE5PsEffnKz5N0PtPT963XGwRna9Izh/nPrhMZ3d9EO6Bnld0NDYpHi4dxh4LEFWeAtyPlPMPKzcU0sHcZlNysss9gNyPmgN+rzgb10ES+iy7y6D92eTmTkxN3TXkJ9vpikjfWQLnKVE0M26LtweMdlx2Ytd53TFWsMi/u+ELt8cvnuYziaz4ALWjWr+WcufWSYeDkvgveF7R7JidgiGfRHnMXA+uIq5aop/Dk5k4IRQ7YKuSEtcxP895/f41myYLY7cPwrX8X7184Sb6Zu43g7U4KN8zZlCLj9Qgf1sWwnYltteKYh+o1UqBFIcKHwEO0HagUKP9s/yhlz/w0QcXrVhMUJ7HledN+D/s6H4rVlAccx/Mo8vgQrms90o9cPdPazsachmBzKZBljuXx1P+IlZLryjwLSU/wRXTkMD83Ft8fy6nJ9FZ+wcVHXybZNjcZ5eyAywGaB27r2Fvo362ET/sSD0IX44FbXyR965MGmlavq6P2iAetjALWXywcKyufIIKfWwkFMwQwwZopYk1YJam4WfCGq0Imn45FZCtn7ylEspvfSUlWeQyQwneFb2f/XDZ/1fSdOk8cf+bVyqdub6+pb09eWcZDKfTDpktWwk5vSkAEjXI5+55TuiPE0Wv3bp8Xd1kHBDuxlaExFFxfBgLt166inbKN12yqlbaSfZsGrlRkI2rly1gfjR5xATyf7bz+32UcXvhiegiF+wpAidyUISPzqhqvszzwaQTv8CEZ+6NZtRW1JbHxLJOcfLuhVz/jWWUggxYkGuUmDfbfQeZwnDwiJEw8GhRNYtpXn+WMEu8LP0/pKSLsR5BJeidS/xEHQ8yJir8KhvHNKldCXohoM9uhFZI3lTstqW7GM1D+YPLPbIg94TWLnRq77pBcF5g3hGEKSvvgRD/hOmRzZ7vdU15PPQkfIXed7mzR5z4x71/F504jZjA/wIeWX8d8nkq4xz9hewqu+mJzzviZdf3p+L9RK9RAihf9yN3H8Ero8drLPz6rwioV2rKLmsVJD62QkE8j2TBH5AA7VMCQcrQdNkepgbHFlz6zYLHjJN+LoFlr/CMPwjseIBPJSAr4O/wsuBa8H3Tb420x9oY+vN+StMfg9f1xwEYP6u6zVHF7Xr+R3Z/L4sv681qj+T5Z+pjVpn5wsvdP6+w58WCikgohnleVD+E3G/moCf8voIiHH4PleRAwjhxhkylODDtfwalEgLDWmxTRRxryNCThgUFgurhJOEzwjnoi3juK5urIPjOc7+vMpFgOMbRNv99fhakFLIAetHRa6mJg7RLB1CqezVH7uFn51v/QeNp6hVH7vxYeJQFru2yV0X65oU1R8fvfe4k796GDtIV2fevnbFDTNUhl27ZxwOcPiMGUsIWTIj09Mzv7s7698Y3AaPst3dC7CR/Glqz1ojnLzjlzmWLEDS370CGRFx/o6ud26fO6zrclSvDF7xo3b+FlVjeB4csYjHDUbmA8yeweJn5LjJ+XDuIrApF3RD9YiPNM9nrwWxyTfCZ5Od63r6Mvpl3J9PCGcLn0fmzYRBzuazBdyGeGmgJ0hgKtUD1CHCUlblZqik6+Z+CJQKIk5SKZfqCizB/pjqirG97U+4tXOKLNvn2pEFuHwfU4BSS76sRC45rD1hKERW1Uy+bU6DiSrklqdEwyof0Rk2dc3z9/G4TFIPaYYV7lo1K2KJb+z6yhtiuHlRrj1k6KqmUE213I45tyM5kUN/sllx1M0KQ52bM+cr6Gh8rm8uEIb5iK79xFBac9NXLM623PqUiF/WmMqtXJ23dFU1zvb4udPZMc0IFY47pjPf9pXXJen1rxSmrVzbXQgZmvMT3aB8JsqN0A78Fh4GwhI2q+jMbHr2WW4rvkv/ixpCJ8fuy4TVwskMwRfSMjP2rsOyKpBSlXI9oFpOKE65QBWEwUwKepBMqNzcSo4qTr7sguso/SOQpsEo3BmqFNDpiadpAOBqbj9NKqb/vCSrECX3kH+hRNIiFqL7+xQ0jf5xagP5VyrdE/+D830O3l9bF4LF/suJdf4Nd8sPkwbVn0v+I/ZBIu7/6CfwtCSbNjvg+yq5el3Cr0L7Z5eQ63ly5Gf5YSZoQONNhIL/Qdx3lVBIUjVRgluZf+efLkcMeEvXwWvT/fdUajnqL36Z6c28Puq/qfmWHpHhv1Lg6WbOf8aXZKqrRgSF+M3Yb1/P9IL4h/rxKefViXGeD/pTtBkLebZKgaTRtsoMS/VPRuELjEGZV4R+Q77C/CLHVbgvEG8hw5z9ClKQkRzwaz+L2DOF4NL34WX/96/7b0rhMPm7Dy6eeXpPstdGOGaocjbVVFjTvemXZ1FcHPn+b78PxJ6vSzIygL0sil6EVt1O5vUV5wLMLfbNI/8K7eV2/ABcRWFhzH/NbW4R7/5Sk2e1hBSGFKVELOTE4eZbZDRhqPD9H1HRXWPIqmyEwD4pSYyWiNs7D6fr62WT9jbm86VCoYHbl4eRr0bRw+wRFgjHo28g4BKYt5eVMt3sCGk2j8IiukizdhaVK6LoIVFy3KbIiHTyaGWHgYWOcGCZBb+RFjxsG9whH+WKLUhK5Ms005go7FxnXquZjuX7qkV1LXbWxa3TwNTHn9RMmNZ68VkxTaeW6vuhqKlTMfpacA/EckyH9agWWX/HjCLers1Avje+irla9KvcHf4F/qehKOh2iLC4j1/lzZRFgUjI1iEaYk3V54M7iFpAWQ+/mmJRpFT9jsWzgzke3Z94CxP+xBZ0yy4RzmReVAHhtFPgKZkpJlOMh4YgX+b3fSwvgyHxDD9ORfyjMATOWCXFhZP3q7BRPIwS9OKcVsB+mQK2INHRky238Ch1fyxiUeP5B0xRlTeerWpmcmm+bRrRkunVWYqOW7px2HO9UmNhGtrWIyORjPUw0/WPGDMiIh3oTC6e7iXzVjTqv+X0RC0J1U+xO3/ydF1BSh+9kv4zAulf/kaLWVT7TWgsHMqh8njAzEQiR8axq5hJp0aTrjfc2Co2Ef+tzImZJLq+rc2dxzakztwgaaL5iBqLqA/TFWvbOjb0NfYi5STLGXAgEaa2lfeSuVWFTDf7WrBnmt9Uoqr/g68pInrmX9MD+ZzguO4LiI3nCxfVc9trMSaqMGXP1H9vHycYmvbevoCgI8BIiqSaQfrQF0gUUSNiL/YsA4qcYW5PbRxjYzaOuUvsOGGAPePjUNoHgnHsWQyWahocxhJN/Mc09/22wcEtvRfOoiLVNMXWOk9oO6+rq7l3c++5beE4pbLmaiJpivVsGbmPtrWN3DuypSfWCIRiu0JEJ5w9Dz2d5q6uc3MnTldtWdOoOHtL30WDpIQ9/Mc129VgjgpK28h9taGi5qoKFWOR7Ln4NTj0vLZPTFcjiqqK4uyL+rYMjq/Dl7qoj7+UqiI5px/PXwq/6LxsOBa8FCVNTu+WkXtreQFBLKgiCLlsLacnXTMddpBmmi4F5yRZZghmg81sdC3Tk4fg6RunRJKR6u3k39krV0fgeTMSMf1ObDyF1U6JmGRX7WYmvG5FIpbfjJ1dGzuTT+3vhpOsNvff4PvZkzlIU/P1FwlHIeJj2Tt/J2wVtgk3CjcJ/1iLjB0krqAcIpagHCJW0X+IYMVsmPoN7pSZ3KkzHTAa0lPSd5uB60LulvDTDMTj5KT9EYZrJquf+5sbr5kQDtrs728+WAEHjoPo+INN9bys8SfbeoHOxAIibgTIkeS4vxiPuOOvhjHgxx8ZeMefdSWPTknv2seSu/6J53YZEbT24jCaZnGiOnGhSFHPNiK3rmLaFh2g8ghn1jDUeDdAgCTh5DmqjDGJrgW0XKY3ekgeygWuBpjyqEFOnrU2Qso52eVagOmAGvNX+PREht8bhiR+SbUT2pkRL3KmlrDVL1GaPGgr/FYUifglxuIb/W8whoblG5l0fImQcXn/M1jOReUb9WcXHfoR/fDQU1b/+DHerZ63dQ7K1TlCGGVKkJhJ7wvMcbwvJtM+Lv78JwZ2EMyHRIXhwxLHlfSN8RnsDehTWK7QPNW/D71FC/z7VC+iwFWEEtOgIsCV+tURk/U0I+RyRfF3km+yu+oSOFYJu7q/iQKllOPnq3Q38B220THUR0mhzLIoJK6ROQyrQavgVxApqAT5EPipexLcl+O/fis45f2uWflQSTGwJz4zHo7GB89uXwriK19+4BURlrafPRiPhrOiHo0NnlnItNE9N938hNiWKZw5GIuGlIj8BmKDvzv+uM2EbD6u3KPJelTLTVt4IiEnLlz4CWJQ1bHFk103EksuunPx1pN2vS6Kr+86aduiuxYmY3ZGNB1v4W0Lhk9vv+VJUXzylvbThxbcviDpINUU+E2u/YQLCLnghBMuoJDkSdcxctLiResIWbco1azbqqoHNLqf/pquE04VPiucxbMM3BbCjBiiiQQHFSHohAKPFjESDXBCZVmAl8M2RGL93D9WYhygdJNyv5sI4C4PB6JRZEN6eCY/A7L90G+jRmMIrr+P7CuvcEViRBtEiaDfYxg2OInDu5eNqjbQpd19I6BEelYm9uSLqDHz23Sr0PfprKtDvilWoaSBWmZlYDhdRrNg6hbzA0Rio6IBo1L097AMOP97GzdGPS9K1/V2q5HGRHpuUzjkNkTt1IJ0roN0XNg1fya6njM7svHRI0gxB7fkioDDBGl9MVXszPUBaR4YvDtmE2huSHTHbKcdMUtDV7w5b8heB7FiVvUteAvcqP8Z26v5rDuRpicLpyFFz2YSweBpJc0Zj4cNmM9a5r8PCPyBTJ6jfeYDcIIrWbt2sMqJzMcwziwnWMxuBDjBGXMyR1ZmXi8L5QU0RaOaJfv8IL1ysFhBCIqq1yYieoRhSzfAjJTTwwMV06INhFZiTXnQ3eyn+wqWvi0g8p7Eyh7koZG+7qUUbHV0WffhCQdsw9BxhySxIWoQ0V1Rrl7HyLpx47FgORZAR5JQI98c707akXR7LBLrTjQ0M2GMxO4eHGghUMx1FlN9Z4i+oGP3GqHhiNFEpmMWOv+z5ndd0IHdO3LpBSk72uCGwk1z0ommiNrdA8Sr0RfeCs6ceJ5oexCbg7984FTDzaW8QIP4VLy3j3kPRf7rilKZiTnqc6QoEX7uvyLLkP75MffMV6kZ04dvXr7Xr6JrSvfuBSq1pWVJ1R0pn6f+K+HGT21SnUjIFDXyOztChqJrTznpqESI0DHZf+XnbKoZZTkWpXKxWJ9A8qt755xf1h0RJxq8csnPoNUf9E74tEpszRdMC0Txh+FUNFMOLV0L169eGrfsA9Y7g8Xn//b18jOX/dmxNIb+FlbwPv7x1trp3xey0QE7HsuM6r+sqtCmfsx1/tgO7Z/Fv5tPwc5T9+e7MVw2IAyxrNL6gmSB1vKAhUpeYE5LBfVxrpxQKP+tmiMF7osiyU7wq+WMvH9pP4e0zN7xSf8DXJf25JOg4at94M9DVStdRXU4yYrLV4lhW6Wb/Rc+/yLCX0Xz/6j+MN4Sx8/Y1DlwTvpDHPzklMmqOQV5+SSdXiWiy/n3iJIjKvRv8n+2hqp2WPw0ASPMJorX82bH6HP0YuRaQWJ7Zgc/VUFFwLyL2Ty7HZEfy/9kSrf248eKDczFCPw6KKPClQUiqnt8XzK19XPGBhfp+qLBsTnrmV+5fuGVo6PDo1cuXC2+8w31oV+J/nolojylWLb8L7BLb5B8f0wCsgce08xUcxulbc0pdHdb+T//6IffFsW3H4Zp/mZZfkqxLeVbcJtuWv79+G2Tv8Ogu+kmzovz2e+rg3Qq5sYr/XW0Wj/o4wd/AXrNVbJuEDNSgnSo2hFLkKXwrVtRDbnVvua8+xpT2q9pFoz0kh/iZbTnVs2yNP/e72a+K6NbLv/8RRnCtnIvuuxc8/wccs2+4OabiJBgbeju+0LPCFgawQtBb966+tWXFbBs9dfvKuiOK89UR3XT1MluNnEtn/kO5L9dPObLYKBSz5V047H4MLjdgcrmCbhy/Y8pYHbqG4QgcVQYgjaeV+kGQZ86YmBimuH6nrvltaRemceTuVEgzFJim1wbztx27utzm9ED5UC0J0/Q6ea0ZVEaHdK1ZKI9YSnAVmwoXliTDVES4/12ulxsT7WFZLSJoiTp6LHZCgIpud9yopFoKpSNReLHzes9Y3FoenLpbE3Wonr/ArfdnLdu2sxlTjiatprssB2NTENQJeozUpZBZXdWbnpPxNJbFM2UtXB3i52gAIrhtIYaEppHVBoOtTUZeZnYjtIdgpOO3DZgqLMbRDnkTlvYfnhPXKaSRiEcmXHp0ouK8bDRG5Zi6eH+eUfOduMp1KbInkRNDqRm5jrOmBFKuPHGGa0rv7TqtMuyyagoGk2IZRQpqYs0kmjedMLh1y9t6fdiibhjt0/LD2bmHeEZjYn+o7b0VJp0WUyH28vbjrzoAl2O2JKa7JyXHcqEbS2hKJ41uP3ohbf0q45F1OGHpuaRFlge6d+cc6u4QdYgZSncrO3AHIY1d85VEd+oQ9cve9L/IzYpqDkUKZMRRXylXL56Vsu7QGUSjsq/T/3uq+z3Mh/NYeiX7TCVu/vqYyX/j0/O2VxRozoq121nkMfgCAWNsuLvFf/tcdW2gjNOxtc3iOfR84QS3jA4i452pW8S4GpQh7t1L6WvG1jmFtpGDXgmP1089JkOLWVmjulffy3Npf0hfxBh7LXr+4/O8ADq9s4zZo/tol3tsA/2dXTSXfQ86CyoZsQ0WnPAOh6T9YfgibZjijgBtLXeyiJG2zum011jw+s7/CTs61w/OIaCJ/xf4TW2NQAAAHicY2BkYGAA4hxfT4l4fpuvDNwsDCBwLVmnEEb///g/naWCuRnI5WBgAokCABSiCtkAAAB4nGNgZGBgbvjfwBDDUv7/4/9vLBUMQBEU4AQAs3YHf3icY2FgYGB+ycDAwkAs/v+feLVEmfeRJPUsyPT/P2A24/9/QIzkrv9/STKznIEBABdaDlIAAAAAAHYBHAFGAbACHgJIAuYDfgQABFIEpgVeBdwGZgbOBvYHHgdGB6gIWAi4CSwJqAnMCtwLdAvaDHwNSg4QDtwPPg+sEAoQMhCeESwSFhKOEvoTnBQMFJIVYhYQFrgXPBfaGIgZOBmIGo4bNBuAHBIcvB1sHeQeVB7IHyoflCCYIQAhWAAAeJxjYGRgYHBi2MogyAACTEDMBYQMDP/BfAYAInQCHwB4nGWPTU7DMBCFX/oHpBKqqGCH5AViASj9EatuWFRq911036ZOmyqJI8et1ANwHo7ACTgC3IA78EgnmzaWx9+8eWNPANzgBx6O3y33kT1cMjtyDRe4F65TfxBukF+Em2jjVbhF/U3YxzOmwm10YXmD17hi9oR3YQ8dfAjXcI1P4Tr1L+EG+Vu4iTv8CrfQ8erCPuZeV7iNRy/2x1YvnF6p5UHFockikzm/gple75KFrdLqnGtbxCZTg6BfSVOdaVvdU+zXQ+ciFVmTqgmrOkmMyq3Z6tAFG+fyUa8XiR6EJuVYY/62xgKOcQWFJQ6MMUIYZIjK6Og7VWb0r7FDwl57Vj3N53RbFNT/c4UBAvTPXFO6stJ5Ok+BPV8bUnV0K27LnpQ0kV7NSRKyQl7WtlRC6gE2ZVeOEXpc0Yk/KGdI/wAJWm7IAAAAeJxtkNd62zAMRvVHM7bTvffeM927TZ8EJmGJNUUqJGVZb18q/XJXXIEASeCcZCf5F7Pk/3GAHaTIkKNAiQq7mGGOBfZwAidxCqdxBmdxDudxARdxCZdxBVdxDddxAzdxC7dxB3dxD/fxAA/xCI/xBE/xDM/xAi/xCq+xjzd4i3d4jw/4iE/4jC/4im/4jh/4iV84wO8E25S0zpYk1pkgFypBgWvrxlxo67kStm3ZBJ8KNxaSNQfOWKqQc0tKVyvaWKdibWVdmzWsu7kyU05BWZNp9n7WWsd9LGqZTWnaKVEcOmEll45Xjn2TutVh4ZmcaCofZ4jAMvUcct8qzaXvhYgfFb53Gx6r4EgZZer5RvFQx+3ZjdWUa+VDOZCbmvngrKlLEsL2JqQk5QQk1oXjVhkZMTUbSW5GIZBoJsZKKn90u/TsNkpw3jkV3y7ttuycPVpBq7oJvvzDA+soZOnsECV5QWYaGtEiszLrVPQhC7wNkXjDCyWskXYw2pJMW+rSJcmstlbuTZ2VNaHTNO4vjk8+2K6M5jvyPgoRfVQ85r6haK+xIZMUaPdYvU+Svym6rUoAAA==') format('woff'), | |
url('iconfont.ttf?t=1513950066096') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ | |
url('iconfont.svg?t=1513950066096#iconfont') format('svg'); /* iOS 4.1- */ | |
} | |
.iconfont { | |
font-family:"iconfont" !important; | |
font-size:16px; | |
font-style:normal; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.icon-all:before { content: "\e696"; } | |
.icon-back:before { content: "\e697"; } | |
.icon-cart:before { content: "\e698"; } | |
.icon-category:before { content: "\e699"; } | |
.icon-close:before { content: "\e69a"; } | |
.icon-comments:before { content: "\e69b"; } | |
.icon-cry:before { content: "\e69c"; } | |
.icon-delete:before { content: "\e69d"; } | |
.icon-edit:before { content: "\e69e"; } | |
.icon-email:before { content: "\e69f"; } | |
.icon-favorite:before { content: "\e6a0"; } | |
.icon-form:before { content: "\e6a2"; } | |
.icon-help:before { content: "\e6a3"; } | |
.icon-information:before { content: "\e6a4"; } | |
.icon-less:before { content: "\e6a5"; } | |
.icon-moreunfold:before { content: "\e6a6"; } | |
.icon-more:before { content: "\e6a7"; } | |
.icon-pic:before { content: "\e6a8"; } | |
.icon-qrcode:before { content: "\e6a9"; } | |
.icon-refresh:before { content: "\e6aa"; } | |
.icon-rfq:before { content: "\e6ab"; } | |
.icon-search:before { content: "\e6ac"; } | |
.icon-selected:before { content: "\e6ad"; } | |
.icon-set:before { content: "\e6ae"; } | |
.icon-smile:before { content: "\e6af"; } | |
.icon-success:before { content: "\e6b1"; } | |
.icon-survey:before { content: "\e6b2"; } | |
.icon-training:before { content: "\e6b3"; } | |
.icon-viewgallery:before { content: "\e6b4"; } | |
.icon-viewlist:before { content: "\e6b5"; } | |
.icon-warning:before { content: "\e6b6"; } | |
.icon-wrong:before { content: "\e6b7"; } | |
.icon-account:before { content: "\e6b8"; } | |
.icon-add:before { content: "\e6b9"; } | |
.icon-clock:before { content: "\e6bb"; } | |
.icon-remind:before { content: "\e6bc"; } | |
.icon-calendar:before { content: "\e6bf"; } | |
.icon-attachment:before { content: "\e6c0"; } | |
.icon-discount:before { content: "\e6c5"; } | |
.icon-service:before { content: "\e6c7"; } | |
.icon-print:before { content: "\e6c9"; } | |
.icon-box:before { content: "\e6cb"; } | |
.icon-process:before { content: "\e6ce"; } | |
.icon-lights:before { content: "\e6de"; } | |
.icon-jewelry:before { content: "\e6e4"; } | |
.icon-browse:before { content: "\e6e6"; } | |
.icon-scanning:before { content: "\e6ec"; } | |
.icon-pin:before { content: "\e6f2"; } | |
.icon-link:before { content: "\e6f7"; } | |
.icon-cut:before { content: "\e6f8"; } | |
.icon-text:before { content: "\e6fc"; } | |
.icon-move:before { content: "\e6fd"; } | |
.icon-icondownload:before { content: "\e714"; } | |
.icon-map:before { content: "\e715"; } | |
.icon-bad:before { content: "\e716"; } | |
.icon-good:before { content: "\e717"; } | |
.icon-iconfontplay2:before { content: "\e719"; } | |
.icon-iconfontstop:before { content: "\e71a"; } | |
.icon-compass:before { content: "\e71b"; } | |
.icon-security:before { content: "\e71c"; } | |
.icon-share:before { content: "\e71d"; } | |
.icon-hot:before { content: "\e756"; } | |
.icon-data:before { content: "\e757"; } | |
.icon-favorites:before { content: "\e7ce"; } |
/*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ | |
!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 = c.slice, e = c.concat, f = c.push, g = c.indexOf, h = {}, i = h.toString, j = h.hasOwnProperty, | |
k = {}, l = a.document, m = "2.1.1", 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 d.call(this) | |
}, get: function (a) { | |
return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this) | |
}, pushStack: function (a) { | |
var b = n.merge(this.constructor(), a); | |
return b.prevObject = this, b.context = this.context, b | |
}, each: function (a, b) { | |
return n.each(this, a, b) | |
}, map: function (a) { | |
return this.pushStack(n.map(this, function (b, c) { | |
return a.call(b, c, b) | |
})) | |
}, slice: function () { | |
return this.pushStack(d.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(null) | |
}, push: f, 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) { | |
return !n.isArray(a) && a - parseFloat(a) >= 0 | |
}, isPlainObject: function (a) { | |
return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0 | |
}, 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 ? h[i.call(a)] || "object" : typeof a | |
}, globalEval: function (a) { | |
var b, c = eval; | |
a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = l.createElement("script"), b.text = a, l.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, c) { | |
var d, e = 0, f = a.length, g = s(a); | |
if (c) { | |
if (g) { | |
for (; f > e; e++) if (d = b.apply(a[e], c), d === !1) break | |
} else for (e in a) if (d = b.apply(a[e], c), d === !1) break | |
} else if (g) { | |
for (; f > e; e++) if (d = b.call(a[e], e, a[e]), d === !1) break | |
} else for (e in a) if (d = b.call(a[e], e, a[e]), 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) : f.call(c, a)), c | |
}, inArray: function (a, b, c) { | |
return null == b ? -1 : g.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, f = 0, g = a.length, h = s(a), i = []; | |
if (h) for (; g > f; f++) d = b(a[f], f, c), null != d && i.push(d); else for (f in a) d = b(a[f], f, c), null != d && i.push(d); | |
return e.apply([], i) | |
}, guid: 1, proxy: function (a, b) { | |
var c, e, f; | |
return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (e = d.call(arguments, 2), f = function () { | |
return a.apply(b || this, e.concat(d.call(arguments))) | |
}, f.guid = a.guid = a.guid || n.guid++, f) : void 0 | |
}, now: Date.now, support: k | |
}), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (a, b) { | |
h["[object " + b + "]"] = b.toLowerCase() | |
}); | |
function s(a) { | |
var b = a.length, c = n.type(a); | |
return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "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" + -new Date, v = a.document, w = 0, | |
x = 0, y = gb(), z = gb(), A = gb(), B = function (a, b) { | |
return a === b && (l = !0), 0 | |
}, C = "undefined", D = 1 << 31, E = {}.hasOwnProperty, F = [], G = F.pop, H = F.push, I = F.push, J = F.slice, | |
K = F.indexOf || function (a) { | |
for (var b = 0, c = this.length; c > b; b++) if (this[b] === a) return b; | |
return -1 | |
}, | |
L = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", | |
M = "[\\x20\\t\\r\\n\\f]", N = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", O = N.replace("w", "w#"), | |
P = "\\[" + M + "*(" + N + ")(?:" + M + "*([*^$|!~]?=)" + M + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + O + "))|)" + M + "*\\]", | |
Q = ":(" + N + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + P + ")*)|.*)\\)|)", | |
R = new RegExp("^" + M + "+|((?:^|[^\\\\])(?:\\\\.)*)" + M + "+$", "g"), | |
S = new RegExp("^" + M + "*," + M + "*"), T = new RegExp("^" + M + "*([>+~]|" + M + ")" + M + "*"), | |
U = new RegExp("=" + M + "*([^\\]'\"]*?)" + M + "*\\]", "g"), V = new RegExp(Q), | |
W = new RegExp("^" + O + "$"), X = { | |
ID: new RegExp("^#(" + N + ")"), | |
CLASS: new RegExp("^\\.(" + N + ")"), | |
TAG: new RegExp("^(" + N.replace("w", "w*") + ")"), | |
ATTR: new RegExp("^" + P), | |
PSEUDO: new RegExp("^" + Q), | |
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + M + "*(even|odd|(([+-]|)(\\d*)n|)" + M + "*(?:([+-]|)" + M + "*(\\d+)|))" + M + "*\\)|)", "i"), | |
bool: new RegExp("^(?:" + L + ")$", "i"), | |
needsContext: new RegExp("^" + M + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + M + "*((?:-\\d)?\\d*)" + M + "*\\)|)(?=[^-]|$)", "i") | |
}, Y = /^(?:input|select|textarea|button)$/i, Z = /^h\d$/i, $ = /^[^{]+\{\s*\[native \w/, | |
_ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ab = /[+~]/, bb = /'|\\/g, | |
cb = new RegExp("\\\\([\\da-f]{1,6}" + M + "?|(" + M + ")|.)", "ig"), db = 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) | |
}; | |
try { | |
I.apply(F = J.call(v.childNodes), v.childNodes), F[v.childNodes.length].nodeType | |
} catch (eb) { | |
I = { | |
apply: F.length ? function (a, b) { | |
H.apply(a, J.call(b)) | |
} : function (a, b) { | |
var c = a.length, d = 0; | |
while (a[c++] = b[d++]) ; | |
a.length = c - 1 | |
} | |
} | |
} | |
function fb(a, b, d, e) { | |
var f, h, j, k, l, o, r, s, w, x; | |
if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], !a || "string" != typeof a) return d; | |
if (1 !== (k = b.nodeType) && 9 !== k) return []; | |
if (p && !e) { | |
if (f = _.exec(a)) if (j = f[1]) { | |
if (9 === k) { | |
if (h = b.getElementById(j), !h || !h.parentNode) return d; | |
if (h.id === j) return d.push(h), d | |
} else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j) return d.push(h), d | |
} else { | |
if (f[2]) return I.apply(d, b.getElementsByTagName(a)), d; | |
if ((j = f[3]) && c.getElementsByClassName && b.getElementsByClassName) return I.apply(d, b.getElementsByClassName(j)), d | |
} | |
if (c.qsa && (!q || !q.test(a))) { | |
if (s = r = u, w = b, x = 9 === k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) { | |
o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length; | |
while (l--) o[l] = s + qb(o[l]); | |
w = ab.test(a) && ob(b.parentNode) || b, x = o.join(",") | |
} | |
if (x) try { | |
return I.apply(d, w.querySelectorAll(x)), d | |
} catch (y) { | |
} finally { | |
r || b.removeAttribute("id") | |
} | |
} | |
} | |
return i(a.replace(R, "$1"), b, d, e) | |
} | |
function gb() { | |
var a = []; | |
function b(c, e) { | |
return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e | |
} | |
return b | |
} | |
function hb(a) { | |
return a[u] = !0, a | |
} | |
function ib(a) { | |
var b = n.createElement("div"); | |
try { | |
return !!a(b) | |
} catch (c) { | |
return !1 | |
} finally { | |
b.parentNode && b.parentNode.removeChild(b), b = null | |
} | |
} | |
function jb(a, b) { | |
var c = a.split("|"), e = a.length; | |
while (e--) d.attrHandle[c[e]] = b | |
} | |
function kb(a, b) { | |
var c = b && a, | |
d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || D) - (~a.sourceIndex || D); | |
if (d) return d; | |
if (c) while (c = c.nextSibling) if (c === b) return -1; | |
return a ? 1 : -1 | |
} | |
function lb(a) { | |
return function (b) { | |
var c = b.nodeName.toLowerCase(); | |
return "input" === c && b.type === a | |
} | |
} | |
function mb(a) { | |
return function (b) { | |
var c = b.nodeName.toLowerCase(); | |
return ("input" === c || "button" === c) && b.type === a | |
} | |
} | |
function nb(a) { | |
return hb(function (b) { | |
return b = +b, hb(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 ob(a) { | |
return a && typeof a.getElementsByTagName !== C && a | |
} | |
c = fb.support = {}, f = fb.isXML = function (a) { | |
var b = a && (a.ownerDocument || a).documentElement; | |
return b ? "HTML" !== b.nodeName : !1 | |
}, m = fb.setDocument = function (a) { | |
var b, e = a ? a.ownerDocument || a : v, g = e.defaultView; | |
return e !== n && 9 === e.nodeType && e.documentElement ? (n = e, o = e.documentElement, p = !f(e), g && g !== g.top && (g.addEventListener ? g.addEventListener("unload", function () { | |
m() | |
}, !1) : g.attachEvent && g.attachEvent("onunload", function () { | |
m() | |
})), c.attributes = ib(function (a) { | |
return a.className = "i", !a.getAttribute("className") | |
}), c.getElementsByTagName = ib(function (a) { | |
return a.appendChild(e.createComment("")), !a.getElementsByTagName("*").length | |
}), c.getElementsByClassName = $.test(e.getElementsByClassName) && ib(function (a) { | |
return a.innerHTML = "<div class='a'></div><div class='a i'></div>", a.firstChild.className = "i", 2 === a.getElementsByClassName("i").length | |
}), c.getById = ib(function (a) { | |
return o.appendChild(a).id = u, !e.getElementsByName || !e.getElementsByName(u).length | |
}), c.getById ? (d.find.ID = function (a, b) { | |
if (typeof b.getElementById !== C && p) { | |
var c = b.getElementById(a); | |
return c && c.parentNode ? [c] : [] | |
} | |
}, d.filter.ID = function (a) { | |
var b = a.replace(cb, db); | |
return function (a) { | |
return a.getAttribute("id") === b | |
} | |
}) : (delete d.find.ID, d.filter.ID = function (a) { | |
var b = a.replace(cb, db); | |
return function (a) { | |
var c = typeof a.getAttributeNode !== C && a.getAttributeNode("id"); | |
return c && c.value === b | |
} | |
}), d.find.TAG = c.getElementsByTagName ? function (a, b) { | |
return typeof b.getElementsByTagName !== C ? b.getElementsByTagName(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 typeof b.getElementsByClassName !== C && p ? b.getElementsByClassName(a) : void 0 | |
}, r = [], q = [], (c.qsa = $.test(e.querySelectorAll)) && (ib(function (a) { | |
a.innerHTML = "<select msallowclip=''><option selected=''></option></select>", a.querySelectorAll("[msallowclip^='']").length && q.push("[*^$]=" + M + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + M + "*(?:value|" + L + ")"), a.querySelectorAll(":checked").length || q.push(":checked") | |
}), ib(function (a) { | |
var b = e.createElement("input"); | |
b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + M + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:") | |
})), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ib(function (a) { | |
c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", Q) | |
}), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.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 === e || a.ownerDocument === v && t(v, a) ? -1 : b === e || b.ownerDocument === v && t(v, b) ? 1 : k ? K.call(k, a) - K.call(k, b) : 0 : 4 & d ? -1 : 1) | |
} : function (a, b) { | |
if (a === b) return l = !0, 0; | |
var c, d = 0, f = a.parentNode, g = b.parentNode, h = [a], i = [b]; | |
if (!f || !g) return a === e ? -1 : b === e ? 1 : f ? -1 : g ? 1 : k ? K.call(k, a) - K.call(k, b) : 0; | |
if (f === g) return kb(a, b); | |
c = a; | |
while (c = c.parentNode) h.unshift(c); | |
c = b; | |
while (c = c.parentNode) i.unshift(c); | |
while (h[d] === i[d]) d++; | |
return d ? kb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0 | |
}, e) : n | |
}, fb.matches = function (a, b) { | |
return fb(a, null, null, b) | |
}, fb.matchesSelector = function (a, b) { | |
if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || 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 fb(b, n, null, [a]).length > 0 | |
}, fb.contains = function (a, b) { | |
return (a.ownerDocument || a) !== n && m(a), t(a, b) | |
}, fb.attr = function (a, b) { | |
(a.ownerDocument || a) !== n && m(a); | |
var e = d.attrHandle[b.toLowerCase()], | |
f = e && E.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 | |
}, fb.error = function (a) { | |
throw new Error("Syntax error, unrecognized expression: " + a) | |
}, fb.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 = fb.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 = fb.selectors = { | |
cacheLength: 50, | |
createPseudo: hb, | |
match: X, | |
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(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === 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] || fb.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] && fb.error(a[0]), a | |
}, PSEUDO: function (a) { | |
var b, c = !a[6] && a[2]; | |
return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.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(cb, db).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("(^|" + M + ")" + a + "(" + M + "|$)")) && y(a, function (a) { | |
return b.test("string" == typeof a.className && a.className || typeof a.getAttribute !== C && a.getAttribute("class") || "") | |
}) | |
}, ATTR: function (a, b, c) { | |
return function (d) { | |
var e = fb.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 + " ").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; | |
if (q) { | |
if (f) { | |
while (p) { | |
l = b; | |
while (l = l[p]) if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) return !1; | |
o = p = "only" === a && !o && "nextSibling" | |
} | |
return !0 | |
} | |
if (o = [g ? q.firstChild : q.lastChild], g && s) { | |
k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n]; | |
while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if (1 === l.nodeType && ++m && l === b) { | |
k[a] = [w, n, m]; | |
break | |
} | |
} else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) m = j[1]; else while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)) break; | |
return m -= e, m === d || m % d === 0 && m / d >= 0 | |
} | |
} | |
}, PSEUDO: function (a, b) { | |
var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || fb.error("unsupported pseudo: " + a); | |
return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? hb(function (a, c) { | |
var d, f = e(a, b), g = f.length; | |
while (g--) d = K.call(a, f[g]), a[d] = !(c[d] = f[g]) | |
}) : function (a) { | |
return e(a, 0, c) | |
}) : e | |
} | |
}, | |
pseudos: { | |
not: hb(function (a) { | |
var b = [], c = [], d = h(a.replace(R, "$1")); | |
return d[u] ? hb(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), !c.pop() | |
} | |
}), has: hb(function (a) { | |
return function (b) { | |
return fb(a, b).length > 0 | |
} | |
}), contains: hb(function (a) { | |
return function (b) { | |
return (b.textContent || b.innerText || e(b)).indexOf(a) > -1 | |
} | |
}), lang: hb(function (a) { | |
return W.test(a || "") || fb.error("unsupported lang: " + a), a = a.replace(cb, db).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 Z.test(a.nodeName) | |
}, input: function (a) { | |
return Y.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: nb(function () { | |
return [0] | |
}), last: nb(function (a, b) { | |
return [b - 1] | |
}), eq: nb(function (a, b, c) { | |
return [0 > c ? c + b : c] | |
}), even: nb(function (a, b) { | |
for (var c = 0; b > c; c += 2) a.push(c); | |
return a | |
}), odd: nb(function (a, b) { | |
for (var c = 1; b > c; c += 2) a.push(c); | |
return a | |
}), lt: nb(function (a, b, c) { | |
for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d); | |
return a | |
}), gt: nb(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] = lb(b); | |
for (b in{submit: !0, reset: !0}) d.pseudos[b] = mb(b); | |
function pb() { | |
} | |
pb.prototype = d.filters = d.pseudos, d.setFilters = new pb, g = fb.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 = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({ | |
value: c, | |
type: e[0].replace(R, " ") | |
}), h = h.slice(c.length)); | |
for (g in d.filter) !(e = X[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 ? fb.error(a) : z(a, i).slice(0) | |
}; | |
function qb(a) { | |
for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value; | |
return d | |
} | |
function rb(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 = [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 (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f) return j[2] = h[2]; | |
if (i[d] = j, j[2] = a(b, c, g)) return !0 | |
} | |
} | |
} | |
function sb(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 tb(a, b, c) { | |
for (var d = 0, e = b.length; e > d; d++) fb(a, b[d], c); | |
return c | |
} | |
function ub(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 vb(a, b, c, d, e, f) { | |
return d && !d[u] && (d = vb(d)), e && !e[u] && (e = vb(e, f)), hb(function (f, g, h, i) { | |
var j, k, l, m = [], n = [], o = g.length, p = f || tb(b || "*", h.nodeType ? [h] : h, []), | |
q = !a || !f && b ? p : ub(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q; | |
if (c && c(q, r, h, i), d) { | |
j = ub(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 ? K.call(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l)) | |
} | |
} else r = ub(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : I.apply(g, r) | |
}) | |
} | |
function wb(a) { | |
for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = rb(function (a) { | |
return a === b | |
}, h, !0), l = rb(function (a) { | |
return K.call(b, a) > -1 | |
}, h, !0), m = [function (a, c, d) { | |
return !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d)) | |
}]; f > i; i++) if (c = d.relative[a[i].type]) m = [rb(sb(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 vb(i > 1 && sb(m), i > 1 && qb(a.slice(0, i - 1).concat({value: " " === a[i - 2].type ? "*" : ""})).replace(R, "$1"), c, e > i && wb(a.slice(i, e)), f > e && wb(a = a.slice(e)), f > e && qb(a)) | |
} | |
m.push(c) | |
} | |
return sb(m) | |
} | |
function xb(a, b) { | |
var c = b.length > 0, e = a.length > 0, f = function (f, g, h, i, k) { | |
var l, m, o, p = 0, q = "0", r = f && [], s = [], t = j, u = f || e && d.find.TAG("*", k), | |
v = w += null == t ? 1 : Math.random() || .1, x = u.length; | |
for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) { | |
if (e && l) { | |
m = 0; | |
while (o = a[m++]) if (o(l, g, h)) { | |
i.push(l); | |
break | |
} | |
k && (w = v) | |
} | |
c && ((l = !o && l) && p--, f && r.push(l)) | |
} | |
if (p += q, c && q !== p) { | |
m = 0; | |
while (o = b[m++]) o(r, s, g, h); | |
if (f) { | |
if (p > 0) while (q--) r[q] || s[q] || (s[q] = G.call(i)); | |
s = ub(s) | |
} | |
I.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && fb.uniqueSort(i) | |
} | |
return k && (w = v, j = t), r | |
}; | |
return c ? hb(f) : f | |
} | |
return h = fb.compile = function (a, b) { | |
var c, d = [], e = [], f = A[a + " "]; | |
if (!f) { | |
b || (b = g(a)), c = b.length; | |
while (c--) f = wb(b[c]), f[u] ? d.push(f) : e.push(f); | |
f = A(a, xb(e, d)), f.selector = a | |
} | |
return f | |
}, i = fb.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(cb, db), b) || [])[0], !b) return e; | |
n && (b = b.parentNode), a = a.slice(j.shift().value.length) | |
} | |
i = X.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(cb, db), ab.test(j[0].type) && ob(b.parentNode) || b))) { | |
if (j.splice(i, 1), a = f.length && qb(j), !a) return I.apply(e, f), e; | |
break | |
} | |
} | |
} | |
return (n || h(a, o))(f, b, !p, e, ab.test(a) && ob(b.parentNode) || b), e | |
}, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = ib(function (a) { | |
return 1 & a.compareDocumentPosition(n.createElement("div")) | |
}), ib(function (a) { | |
return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href") | |
}) || jb("type|href|height|width", function (a, b, c) { | |
return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2) | |
}), c.attributes && ib(function (a) { | |
return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value") | |
}) || jb("value", function (a, b, c) { | |
return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue | |
}), ib(function (a) { | |
return null == a.getAttribute("disabled") | |
}) || jb(L, function (a, b, c) { | |
var d; | |
return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null | |
}), fb | |
}(a); | |
n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains; | |
var u = n.expr.match.needsContext, v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, w = /^.[^:#\[\.,]*$/; | |
function x(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 (w.test(b)) return n.filter(b, a, c); | |
b = n.filter(b, a) | |
} | |
return n.grep(a, function (a) { | |
return g.call(b, a) >= 0 !== 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(x(this, a || [], !1)) | |
}, not: function (a) { | |
return this.pushStack(x(this, a || [], !0)) | |
}, is: function (a) { | |
return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length | |
} | |
}); | |
var y, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, A = n.fn.init = function (a, b) { | |
var c, d; | |
if (!a) return this; | |
if ("string" == typeof a) { | |
if (c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a); | |
if (c[1]) { | |
if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)), v.test(c[1]) && n.isPlainObject(b)) for (c in b) n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]); | |
return this | |
} | |
return d = l.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = l, this.selector = a, this | |
} | |
return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this)) | |
}; | |
A.prototype = n.fn, y = n(l); | |
var B = /^(?:parents|prev(?:Until|All))/, C = {children: !0, contents: !0, next: !0, prev: !0}; | |
n.extend({ | |
dir: 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 | |
}, sibling: function (a, b) { | |
for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a); | |
return c | |
} | |
}), 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 = u.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.unique(f) : f) | |
}, index: function (a) { | |
return a ? "string" == typeof a ? g.call(n(a), this[0]) : g.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.unique(n.merge(this.get(), n(a, b)))) | |
}, addBack: function (a) { | |
return this.add(null == a ? this.prevObject : this.prevObject.filter(a)) | |
} | |
}); | |
function D(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 n.dir(a, "parentNode") | |
}, parentsUntil: function (a, b, c) { | |
return n.dir(a, "parentNode", c) | |
}, next: function (a) { | |
return D(a, "nextSibling") | |
}, prev: function (a) { | |
return D(a, "previousSibling") | |
}, nextAll: function (a) { | |
return n.dir(a, "nextSibling") | |
}, prevAll: function (a) { | |
return n.dir(a, "previousSibling") | |
}, nextUntil: function (a, b, c) { | |
return n.dir(a, "nextSibling", c) | |
}, prevUntil: function (a, b, c) { | |
return n.dir(a, "previousSibling", c) | |
}, siblings: function (a) { | |
return n.sibling((a.parentNode || {}).firstChild, a) | |
}, children: function (a) { | |
return n.sibling(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 && (C[a] || n.unique(e), B.test(a) && e.reverse()), this.pushStack(e) | |
} | |
}); | |
var E = /\S+/g, F = {}; | |
function G(a) { | |
var b = F[a] = {}; | |
return n.each(a.match(E) || [], function (a, c) { | |
b[c] = !0 | |
}), b | |
} | |
n.Callbacks = function (a) { | |
a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a); | |
var b, c, d, e, f, g, h = [], i = !a.once && [], j = function (l) { | |
for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++) if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) { | |
b = !1; | |
break | |
} | |
d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable()) | |
}, k = { | |
add: function () { | |
if (h) { | |
var c = h.length; | |
!function g(b) { | |
n.each(b, function (b, c) { | |
var d = n.type(c); | |
"function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && g(c) | |
}) | |
}(arguments), d ? f = h.length : b && (e = c, j(b)) | |
} | |
return this | |
}, remove: function () { | |
return h && n.each(arguments, function (a, b) { | |
var c; | |
while ((c = n.inArray(b, h, c)) > -1) h.splice(c, 1), d && (f >= c && f--, g >= c && g--) | |
}), this | |
}, has: function (a) { | |
return a ? n.inArray(a, h) > -1 : !(!h || !h.length) | |
}, empty: function () { | |
return h = [], f = 0, this | |
}, disable: function () { | |
return h = i = b = void 0, this | |
}, disabled: function () { | |
return !h | |
}, lock: function () { | |
return i = void 0, b || k.disable(), this | |
}, locked: function () { | |
return !i | |
}, fireWith: function (a, b) { | |
return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this | |
}, fire: function () { | |
return k.fireWith(this, arguments), this | |
}, fired: function () { | |
return !!c | |
} | |
}; | |
return k | |
}, 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().done(c.resolve).fail(c.reject).progress(c.notify) : 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 = d.call(arguments), e = c.length, f = 1 !== e || a && n.isFunction(a.promise) ? e : 0, | |
g = 1 === f ? a : n.Deferred(), h = function (a, b, c) { | |
return function (e) { | |
b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c) | |
} | |
}, i, j, k; | |
if (e > 1) for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f; | |
return f || g.resolveWith(k, c), g.promise() | |
} | |
}); | |
var H; | |
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 || (H.resolveWith(l, [n]), n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready")))) | |
} | |
}); | |
function I() { | |
l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready() | |
} | |
n.ready.promise = function (b) { | |
return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))), H.promise(b) | |
}, n.ready.promise(); | |
var J = n.access = 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) n.access(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 | |
}; | |
n.acceptData = function (a) { | |
return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType | |
}; | |
function K() { | |
Object.defineProperty(this.cache = {}, 0, { | |
get: function () { | |
return {} | |
} | |
}), this.expando = n.expando + Math.random() | |
} | |
K.uid = 1, K.accepts = n.acceptData, K.prototype = { | |
key: function (a) { | |
if (!K.accepts(a)) return 0; | |
var b = {}, c = a[this.expando]; | |
if (!c) { | |
c = K.uid++; | |
try { | |
b[this.expando] = {value: c}, Object.defineProperties(a, b) | |
} catch (d) { | |
b[this.expando] = c, n.extend(a, b) | |
} | |
} | |
return this.cache[c] || (this.cache[c] = {}), c | |
}, set: function (a, b, c) { | |
var d, e = this.key(a), f = this.cache[e]; | |
if ("string" == typeof b) f[b] = c; else if (n.isEmptyObject(f)) n.extend(this.cache[e], b); else for (d in b) f[d] = b[d]; | |
return f | |
}, get: function (a, b) { | |
var c = this.cache[this.key(a)]; | |
return void 0 === b ? c : c[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 = this.key(a), g = this.cache[f]; | |
if (void 0 === b) this.cache[f] = {}; else { | |
n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length; | |
while (c--) delete g[d[c]] | |
} | |
}, hasData: function (a) { | |
return !n.isEmptyObject(this.cache[a[this.expando]] || {}) | |
}, discard: function (a) { | |
a[this.expando] && delete this.cache[a[this.expando]] | |
} | |
}; | |
var L = new K, M = new K, N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, O = /([A-Z])/g; | |
function P(a, b, c) { | |
var d; | |
if (void 0 === c && 1 === a.nodeType) if (d = "data-" + b.replace(O, "-$1").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) { | |
try { | |
c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c | |
} catch (e) { | |
} | |
M.set(a, b, c) | |
} else c = void 0; | |
return c | |
} | |
n.extend({ | |
hasData: function (a) { | |
return M.hasData(a) || L.hasData(a) | |
}, data: function (a, b, c) { | |
return M.access(a, b, c) | |
}, removeData: function (a, b) { | |
M.remove(a, b) | |
}, _data: function (a, b, c) { | |
return L.access(a, b, c) | |
}, _removeData: function (a, b) { | |
L.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 = M.get(f), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) { | |
c = g.length; | |
while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d]))); | |
L.set(f, "hasDataAttrs", !0) | |
} | |
return e | |
} | |
return "object" == typeof a ? this.each(function () { | |
M.set(this, a) | |
}) : J(this, function (b) { | |
var c, d = n.camelCase(a); | |
if (f && void 0 === b) { | |
if (c = M.get(f, a), void 0 !== c) return c; | |
if (c = M.get(f, d), void 0 !== c) return c; | |
if (c = P(f, d, void 0), void 0 !== c) return c | |
} else this.each(function () { | |
var c = M.get(this, d); | |
M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b) | |
}) | |
}, null, b, arguments.length > 1, null, !0) | |
}, removeData: function (a) { | |
return this.each(function () { | |
M.remove(this, a) | |
}) | |
} | |
}), n.extend({ | |
queue: function (a, b, c) { | |
var d; | |
return a ? (b = (b || "fx") + "queue", d = L.get(a, b), c && (!d || n.isArray(c) ? d = L.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 L.get(a, c) || L.access(a, c, { | |
empty: n.Callbacks("once memory").add(function () { | |
L.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 = L.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h)); | |
return h(), e.promise(b) | |
} | |
}); | |
var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, R = ["Top", "Right", "Bottom", "Left"], S = function (a, b) { | |
return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a) | |
}, T = /^(?:checkbox|radio)$/i; | |
!function () { | |
var a = l.createDocumentFragment(), b = a.appendChild(l.createElement("div")), c = l.createElement("input"); | |
c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue | |
}(); | |
var U = "undefined"; | |
k.focusinBubbles = "onfocusin" in a; | |
var V = /^key/, W = /^(?:mouse|pointer|contextmenu)|click/, X = /^(?:focusinfocus|focusoutblur)$/, | |
Y = /^([^.]*)(?:\.(.+)|)$/; | |
function Z() { | |
return !0 | |
} | |
function $() { | |
return !1 | |
} | |
function _() { | |
try { | |
return l.activeElement | |
} catch (a) { | |
} | |
} | |
n.event = { | |
global: {}, | |
add: function (a, b, c, d, e) { | |
var f, g, h, i, j, k, l, m, o, p, q, r = L.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 typeof n !== U && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0 | |
}), b = (b || "").match(E) || [""], j = b.length; | |
while (j--) h = Y.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, !1)), 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 = L.hasData(a) && L.get(a); | |
if (r && (i = r.events)) { | |
b = (b || "").match(E) || [""], j = b.length; | |
while (j--) if (h = Y.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) && (delete r.handle, L.remove(a, "events")) | |
} | |
}, | |
trigger: function (b, c, d, e) { | |
var f, g, h, i, k, m, o, p = [d || l], q = j.call(b, "type") ? b.type : b, | |
r = j.call(b, "namespace") ? b.namespace.split(".") : []; | |
if (g = h = d = d || l, 3 !== d.nodeType && 8 !== d.nodeType && !X.test(q + n.event.triggered) && (q.indexOf(".") >= 0 && (r = q.split("."), q = r.shift(), r.sort()), k = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, e || !o.trigger || o.trigger.apply(d, c) !== !1)) { | |
if (!e && !o.noBubble && !n.isWindow(d)) { | |
for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode) p.push(g), h = g; | |
h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a) | |
} | |
f = 0; | |
while ((g = p[f++]) && !b.isPropagationStopped()) b.type = f > 1 ? i : o.bindType || q, m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle"), m && m.apply(g, c), m = k && g[k], m && m.apply && n.acceptData(g) && (b.result = m.apply(g, c), b.result === !1 && b.preventDefault()); | |
return b.type = q, e || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !n.acceptData(d) || k && n.isFunction(d[q]) && !n.isWindow(d) && (h = d[k], h && (d[k] = null), n.event.triggered = q, d[q](), n.event.triggered = void 0, h && (d[k] = h)), b.result | |
} | |
}, | |
dispatch: function (a) { | |
a = n.event.fix(a); | |
var b, c, e, f, g, h = [], i = d.call(arguments), j = (L.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.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !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 && (!a.button || "click" !== a.type)) for (; i !== this; i = i.parentNode || this) if (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) >= 0 : 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 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, d, e, f = b.button; | |
return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || l, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a | |
} | |
}, | |
fix: function (a) { | |
if (a[n.expando]) return a; | |
var b, c, d, e = a.type, f = a, g = this.fixHooks[e]; | |
g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length; | |
while (b--) c = d[b], a[c] = f[c]; | |
return a.target || (a.target = l), 3 === a.target.nodeType && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a | |
}, | |
special: { | |
load: {noBubble: !0}, focus: { | |
trigger: function () { | |
return this !== _() && this.focus ? (this.focus(), !1) : void 0 | |
}, delegateType: "focusin" | |
}, blur: { | |
trigger: function () { | |
return this === _() && 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) | |
} | |
} | |
}, | |
simulate: function (a, b, c, d) { | |
var e = n.extend(new n.Event, c, {type: a, isSimulated: !0, originalEvent: {}}); | |
d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault() | |
} | |
}, n.removeEvent = function (a, b, c) { | |
a.removeEventListener && a.removeEventListener(b, c, !1) | |
}, 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 ? Z : $) : 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 = { | |
isDefaultPrevented: $, | |
isPropagationStopped: $, | |
isImmediatePropagationStopped: $, | |
preventDefault: function () { | |
var a = this.originalEvent; | |
this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault() | |
}, | |
stopPropagation: function () { | |
var a = this.originalEvent; | |
this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation() | |
}, | |
stopImmediatePropagation: function () { | |
var a = this.originalEvent; | |
this.isImmediatePropagationStopped = Z, a && a.stopImmediatePropagation && 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 | |
} | |
} | |
}), k.focusinBubbles || n.each({focus: "focusin", blur: "focusout"}, function (a, b) { | |
var c = function (a) { | |
n.event.simulate(b, a.target, n.event.fix(a), !0) | |
}; | |
n.event.special[b] = { | |
setup: function () { | |
var d = this.ownerDocument || this, e = L.access(d, b); | |
e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1) | |
}, teardown: function () { | |
var d = this.ownerDocument || this, e = L.access(d, b) - 1; | |
e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b)) | |
} | |
} | |
}), n.fn.extend({ | |
on: function (a, b, c, d, e) { | |
var f, g; | |
if ("object" == typeof a) { | |
"string" != typeof b && (c = c || b, b = void 0); | |
for (g in a) this.on(g, b, c, a[g], e); | |
return this | |
} | |
if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1) d = $; else if (!d) return this; | |
return 1 === e && (f = d, d = function (a) { | |
return n().off(a), f.apply(this, arguments) | |
}, d.guid = f.guid || (f.guid = n.guid++)), this.each(function () { | |
n.event.add(this, a, d, c, b) | |
}) | |
}, one: function (a, b, c, d) { | |
return this.on(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 = $), this.each(function () { | |
n.event.remove(this, a, c, b) | |
}) | |
}, 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 | |
} | |
}); | |
var ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, bb = /<([\w:]+)/, | |
cb = /<|&#?\w+;/, db = /<(?:script|style|link)/i, eb = /checked\s*(?:[^=]|=\s*.checked.)/i, | |
fb = /^$|\/(?:java|ecma)script/i, gb = /^true\/(.*)/, hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, ib = { | |
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, "", ""] | |
}; | |
ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td; | |
function jb(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 kb(a) { | |
return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a | |
} | |
function lb(a) { | |
var b = gb.exec(a.type); | |
return b ? a.type = b[1] : a.removeAttribute("type"), a | |
} | |
function mb(a, b) { | |
for (var c = 0, d = a.length; d > c; c++) L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval")) | |
} | |
function nb(a, b) { | |
var c, d, e, f, g, h, i, j; | |
if (1 === b.nodeType) { | |
if (L.hasData(a) && (f = L.access(a), g = L.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]) | |
} | |
M.hasData(a) && (h = M.access(a), i = n.extend({}, h), M.set(b, i)) | |
} | |
} | |
function ob(a, b) { | |
var c = a.getElementsByTagName ? a.getElementsByTagName(b || "*") : a.querySelectorAll ? a.querySelectorAll(b || "*") : []; | |
return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c | |
} | |
function pb(a, b) { | |
var c = b.nodeName.toLowerCase(); | |
"input" === c && T.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue) | |
} | |
n.extend({ | |
clone: function (a, b, c) { | |
var d, e, f, g, h = a.cloneNode(!0), i = n.contains(a.ownerDocument, a); | |
if (!(k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a))) for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++) pb(f[d], g[d]); | |
if (b) if (c) for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++) nb(f[d], g[d]); else nb(a, h); | |
return g = ob(h, "script"), g.length > 0 && mb(g, !i && ob(a, "script")), h | |
}, buildFragment: function (a, b, c, d) { | |
for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++) if (e = a[m], e || 0 === e) if ("object" === n.type(e)) n.merge(l, e.nodeType ? [e] : e); else if (cb.test(e)) { | |
f = f || k.appendChild(b.createElement("div")), g = (bb.exec(e) || ["", ""])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, "<$1></$2>") + h[2], j = h[0]; | |
while (j--) f = f.lastChild; | |
n.merge(l, f.childNodes), f = k.firstChild, f.textContent = "" | |
} else l.push(b.createTextNode(e)); | |
k.textContent = "", m = 0; | |
while (e = l[m++]) if ((!d || -1 === n.inArray(e, d)) && (i = n.contains(e.ownerDocument, e), f = ob(k.appendChild(e), "script"), i && mb(f), c)) { | |
j = 0; | |
while (e = f[j++]) fb.test(e.type || "") && c.push(e) | |
} | |
return k | |
}, cleanData: function (a) { | |
for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) { | |
if (n.acceptData(c) && (e = c[L.expando], e && (b = L.cache[e]))) { | |
if (b.events) for (d in b.events) f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle); | |
L.cache[e] && delete L.cache[e] | |
} | |
delete M.cache[c[M.expando]] | |
} | |
} | |
}), n.fn.extend({ | |
text: function (a) { | |
return J(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 this.domManip(arguments, function (a) { | |
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { | |
var b = jb(this, a); | |
b.appendChild(a) | |
} | |
}) | |
}, prepend: function () { | |
return this.domManip(arguments, function (a) { | |
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { | |
var b = jb(this, a); | |
b.insertBefore(a, b.firstChild) | |
} | |
}) | |
}, before: function () { | |
return this.domManip(arguments, function (a) { | |
this.parentNode && this.parentNode.insertBefore(a, this) | |
}) | |
}, after: function () { | |
return this.domManip(arguments, function (a) { | |
this.parentNode && this.parentNode.insertBefore(a, this.nextSibling) | |
}) | |
}, remove: function (a, b) { | |
for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++) b || 1 !== c.nodeType || n.cleanData(ob(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && mb(ob(c, "script")), c.parentNode.removeChild(c)); | |
return this | |
}, empty: function () { | |
for (var a, b = 0; null != (a = this[b]); b++) 1 === a.nodeType && (n.cleanData(ob(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 J(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 && !db.test(a) && !ib[(bb.exec(a) || ["", ""])[1].toLowerCase()]) { | |
a = a.replace(ab, "<$1></$2>"); | |
try { | |
for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ob(b, !1)), b.innerHTML = a); | |
b = 0 | |
} catch (e) { | |
} | |
} | |
b && this.empty().append(a) | |
}, null, a, arguments.length) | |
}, replaceWith: function () { | |
var a = arguments[0]; | |
return this.domManip(arguments, function (b) { | |
a = this.parentNode, n.cleanData(ob(this)), a && a.replaceChild(b, this) | |
}), a && (a.length || a.nodeType) ? this : this.remove() | |
}, detach: function (a) { | |
return this.remove(a, !0) | |
}, domManip: function (a, b) { | |
a = e.apply([], a); | |
var c, d, f, g, h, i, j = 0, l = this.length, m = this, o = l - 1, p = a[0], q = n.isFunction(p); | |
if (q || l > 1 && "string" == typeof p && !k.checkClone && eb.test(p)) return this.each(function (c) { | |
var d = m.eq(c); | |
q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b) | |
}); | |
if (l && (c = n.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, 1 === c.childNodes.length && (c = d), d)) { | |
for (f = n.map(ob(c, "script"), kb), g = f.length; l > j; j++) h = c, j !== o && (h = n.clone(h, !0, !0), g && n.merge(f, ob(h, "script"))), b.call(this[j], h, j); | |
if (g) for (i = f[f.length - 1].ownerDocument, n.map(f, lb), j = 0; g > j; j++) h = f[j], fb.test(h.type || "") && !L.access(h, "globalEval") && n.contains(i, h) && (h.src ? n._evalUrl && n._evalUrl(h.src) : n.globalEval(h.textContent.replace(hb, ""))) | |
} | |
return this | |
} | |
}), 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), g = e.length - 1, h = 0; g >= h; h++) c = h === g ? this : this.clone(!0), n(e[h])[b](c), f.apply(d, c.get()); | |
return this.pushStack(d) | |
} | |
}); | |
var qb, rb = {}; | |
function sb(b, c) { | |
var d, e = n(c.createElement(b)).appendTo(c.body), | |
f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display"); | |
return e.detach(), f | |
} | |
function tb(a) { | |
var b = l, c = rb[a]; | |
return c || (c = sb(a, b), "none" !== c && c || (qb = (qb || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c | |
} | |
var ub = /^margin/, vb = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"), wb = function (a) { | |
return a.ownerDocument.defaultView.getComputedStyle(a, null) | |
}; | |
function xb(a, b, c) { | |
var d, e, f, g, h = a.style; | |
return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), vb.test(g) && ub.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 yb(a, b) { | |
return { | |
get: function () { | |
return a() ? void delete this.get : (this.get = b).apply(this, arguments) | |
} | |
} | |
} | |
!function () { | |
var b, c, d = l.documentElement, e = l.createElement("div"), f = l.createElement("div"); | |
if (f.style) { | |
f.style.backgroundClip = "content-box", f.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === f.style.backgroundClip, e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", e.appendChild(f); | |
function g() { | |
f.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", f.innerHTML = "", d.appendChild(e); | |
var g = a.getComputedStyle(f, null); | |
b = "1%" !== g.top, c = "4px" === g.width, d.removeChild(e) | |
} | |
a.getComputedStyle && n.extend(k, { | |
pixelPosition: function () { | |
return g(), b | |
}, boxSizingReliable: function () { | |
return null == c && g(), c | |
}, reliableMarginRight: function () { | |
var b, c = f.appendChild(l.createElement("div")); | |
return c.style.cssText = f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", f.style.width = "1px", d.appendChild(e), b = !parseFloat(a.getComputedStyle(c, null).marginRight), d.removeChild(e), b | |
} | |
}) | |
} | |
}(), n.swap = 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 | |
}; | |
var zb = /^(none|table(?!-c[ea]).+)/, Ab = new RegExp("^(" + Q + ")(.*)$", "i"), | |
Bb = new RegExp("^([+-])=(" + Q + ")", "i"), | |
Cb = {position: "absolute", visibility: "hidden", display: "block"}, | |
Db = {letterSpacing: "0", fontWeight: "400"}, Eb = ["Webkit", "O", "Moz", "ms"]; | |
function Fb(a, b) { | |
if (b in a) return b; | |
var c = b[0].toUpperCase() + b.slice(1), d = b, e = Eb.length; | |
while (e--) if (b = Eb[e] + c, b in a) return b; | |
return d | |
} | |
function Gb(a, b, c) { | |
var d = Ab.exec(b); | |
return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b | |
} | |
function Hb(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 + R[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e))) : (g += n.css(a, "padding" + R[f], !0, e), "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e))); | |
return g | |
} | |
function Ib(a, b, c) { | |
var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = wb(a), | |
g = "border-box" === n.css(a, "boxSizing", !1, f); | |
if (0 >= e || null == e) { | |
if (e = xb(a, b, f), (0 > e || null == e) && (e = a.style[b]), vb.test(e)) return e; | |
d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0 | |
} | |
return e + Hb(a, b, c || (g ? "border" : "content"), d, f) + "px" | |
} | |
function Jb(a, b) { | |
for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = L.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", tb(d.nodeName)))) : (e = S(d), "none" === c && e || L.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 = xb(a, "opacity"); | |
return "" === c ? "1" : c | |
} | |
} | |
} | |
}, | |
cssNumber: { | |
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] = Fb(i, 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 = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), k.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] = Fb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), "normal" === e && b in Db && (e = Db[b]), "" === c || c ? (f = parseFloat(e), c === !0 || n.isNumeric(f) ? f || 0 : e) : e | |
} | |
}), n.each(["height", "width"], function (a, b) { | |
n.cssHooks[b] = { | |
get: function (a, c, d) { | |
return c ? zb.test(n.css(a, "display")) && 0 === a.offsetWidth ? n.swap(a, Cb, function () { | |
return Ib(a, b, d) | |
}) : Ib(a, b, d) : void 0 | |
}, set: function (a, c, d) { | |
var e = d && wb(a); | |
return Gb(a, c, d ? Hb(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0) | |
} | |
} | |
}), n.cssHooks.marginRight = yb(k.reliableMarginRight, function (a, b) { | |
return b ? n.swap(a, {display: "inline-block"}, xb, [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 + R[d] + b] = f[d] || f[d - 2] || f[0]; | |
return e | |
} | |
}, ub.test(a) || (n.cssHooks[a + b].set = Gb) | |
}), n.fn.extend({ | |
css: function (a, b) { | |
return J(this, function (a, b, c) { | |
var d, e, f = {}, g = 0; | |
if (n.isArray(b)) { | |
for (d = wb(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 Jb(this, !0) | |
}, hide: function () { | |
return Jb(this) | |
}, toggle: function (a) { | |
return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () { | |
S(this) ? n(this).show() : n(this).hide() | |
}) | |
} | |
}); | |
function Kb(a, b, c, d, e) { | |
return new Kb.prototype.init(a, b, c, d, e) | |
} | |
n.Tween = Kb, Kb.prototype = { | |
constructor: Kb, init: function (a, b, c, d, e, f) { | |
this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px") | |
}, cur: function () { | |
var a = Kb.propHooks[this.prop]; | |
return a && a.get ? a.get(this) : Kb.propHooks._default.get(this) | |
}, run: function (a) { | |
var b, c = Kb.propHooks[this.prop]; | |
return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : 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) : Kb.propHooks._default.set(this), this | |
} | |
}, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = { | |
_default: { | |
get: function (a) { | |
var b; | |
return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop] | |
}, set: function (a) { | |
n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now | |
} | |
} | |
}, Kb.propHooks.scrollTop = Kb.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 | |
} | |
}, n.fx = Kb.prototype.init, n.fx.step = {}; | |
var Lb, Mb, Nb = /^(?:toggle|show|hide)$/, Ob = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"), | |
Pb = /queueHooks$/, Qb = [Vb], Rb = { | |
"*": [function (a, b) { | |
var c = this.createTween(a, b), d = c.cur(), e = Ob.exec(b), f = e && e[3] || (n.cssNumber[a] ? "" : "px"), | |
g = (n.cssNumber[a] || "px" !== f && +d) && Ob.exec(n.css(c.elem, a)), h = 1, i = 20; | |
if (g && g[3] !== f) { | |
f = f || g[3], e = e || [], g = +d || 1; | |
do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i) | |
} | |
return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c | |
}] | |
}; | |
function Sb() { | |
return setTimeout(function () { | |
Lb = void 0 | |
}), Lb = n.now() | |
} | |
function Tb(a, b) { | |
var c, d = 0, e = {height: a}; | |
for (b = b ? 1 : 0; 4 > d; d += 2 - b) c = R[d], e["margin" + c] = e["padding" + c] = a; | |
return b && (e.opacity = e.width = a), e | |
} | |
function Ub(a, b, c) { | |
for (var d, e = (Rb[b] || []).concat(Rb["*"]), f = 0, g = e.length; g > f; f++) if (d = e[f].call(c, b, a)) return d | |
} | |
function Vb(a, b, c) { | |
var d, e, f, g, h, i, j, k, l = this, m = {}, o = a.style, p = a.nodeType && S(a), q = L.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 ? L.get(a, "olddisplay") || tb(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], Nb.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 ? tb(a.nodeName) : j) && (o.display = j); else { | |
q ? "hidden" in q && (p = q.hidden) : q = L.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function () { | |
n(a).hide() | |
}), l.done(function () { | |
var b; | |
L.remove(a, "fxshow"); | |
for (b in m) n.style(a, b, m[b]) | |
}); | |
for (d in m) g = Ub(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 Wb(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 Xb(a, b, c) { | |
var d, e, f = 0, g = Qb.length, h = n.Deferred().always(function () { | |
delete i.elem | |
}), i = function () { | |
if (e) return !1; | |
for (var b = Lb || Sb(), 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: {}}, c), | |
originalProperties: b, | |
originalOptions: c, | |
startTime: Lb || Sb(), | |
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.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this | |
} | |
}), k = j.props; | |
for (Wb(k, j.opts.specialEasing); g > f; f++) if (d = Qb[f].call(j, a, k, j.opts)) return d; | |
return n.map(k, Ub, 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(Xb, { | |
tweener: function (a, b) { | |
n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" "); | |
for (var c, d = 0, e = a.length; e > d; d++) c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b) | |
}, prefilter: function (a, b) { | |
b ? Qb.unshift(a) : Qb.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(S).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 = Xb(this, n.extend({}, a), f); | |
(e || L.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 = L.get(this); | |
if (e) g[e] && g[e].stop && d(g[e]); else for (e in g) g[e] && g[e].stop && Pb.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 = L.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(Tb(b, !0), a, d, e) | |
} | |
}), n.each({ | |
slideDown: Tb("show"), | |
slideUp: Tb("hide"), | |
slideToggle: Tb("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 (Lb = n.now(); b < c.length; b++) a = c[b], a() || c[b] !== a || c.splice(b--, 1); | |
c.length || n.fx.stop(), Lb = 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 () { | |
Mb || (Mb = setInterval(n.fx.tick, n.fx.interval)) | |
}, n.fx.stop = function () { | |
clearInterval(Mb), Mb = null | |
}, n.fx.speeds = {slow: 600, fast: 200, _default: 400}, n.fn.delay = function (a, b) { | |
return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function (b, c) { | |
var d = setTimeout(b, a); | |
c.stop = function () { | |
clearTimeout(d) | |
} | |
}) | |
}, function () { | |
var a = l.createElement("input"), b = l.createElement("select"), c = b.appendChild(l.createElement("option")); | |
a.type = "checkbox", k.checkOn = "" !== a.value, k.optSelected = c.selected, b.disabled = !0, k.optDisabled = !c.disabled, a = l.createElement("input"), a.value = "t", a.type = "radio", k.radioValue = "t" === a.value | |
}(); | |
var Yb, Zb, $b = n.expr.attrHandle; | |
n.fn.extend({ | |
attr: function (a, b) { | |
return J(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 (a && 3 !== f && 8 !== f && 2 !== f) return typeof a.getAttribute === U ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && "get" in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set" in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b)) | |
}, removeAttr: function (a, b) { | |
var c, d, e = 0, f = b && b.match(E); | |
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) | |
}, attrHooks: { | |
type: { | |
set: function (a, b) { | |
if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) { | |
var c = a.value; | |
return a.setAttribute("type", b), c && (a.value = c), b | |
} | |
} | |
} | |
} | |
}), Zb = { | |
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 = $b[b] || n.find.attr; | |
$b[b] = function (a, b, d) { | |
var e, f; | |
return d || (f = $b[b], $b[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, $b[b] = f), e | |
} | |
}); | |
var _b = /^(?:input|select|textarea|button)$/i; | |
n.fn.extend({ | |
prop: function (a, b) { | |
return J(this, n.prop, a, b, arguments.length > 1) | |
}, removeProp: function (a) { | |
return this.each(function () { | |
delete this[n.propFix[a] || a] | |
}) | |
} | |
}), n.extend({ | |
propFix: {"for": "htmlFor", "class": "className"}, prop: function (a, b, c) { | |
var d, e, f, g = a.nodeType; | |
if (a && 3 !== g && 8 !== g && 2 !== g) return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), 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) { | |
return a.hasAttribute("tabindex") || _b.test(a.nodeName) || a.href ? a.tabIndex : -1 | |
} | |
} | |
} | |
}), k.optSelected || (n.propHooks.selected = { | |
get: function (a) { | |
var b = a.parentNode; | |
return b && b.parentNode && b.parentNode.selectedIndex, null | |
} | |
}), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () { | |
n.propFix[this.toLowerCase()] = this | |
}); | |
var ac = /[\t\r\n\f]/g; | |
n.fn.extend({ | |
addClass: function (a) { | |
var b, c, d, e, f, g, h = "string" == typeof a && a, i = 0, j = this.length; | |
if (n.isFunction(a)) return this.each(function (b) { | |
n(this).addClass(a.call(this, b, this.className)) | |
}); | |
if (h) for (b = (a || "").match(E) || []; j > i; i++) if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : " ")) { | |
f = 0; | |
while (e = b[f++]) d.indexOf(" " + e + " ") < 0 && (d += e + " "); | |
g = n.trim(d), c.className !== g && (c.className = g) | |
} | |
return this | |
}, removeClass: function (a) { | |
var b, c, d, e, f, g, h = 0 === arguments.length || "string" == typeof a && a, i = 0, j = this.length; | |
if (n.isFunction(a)) return this.each(function (b) { | |
n(this).removeClass(a.call(this, b, this.className)) | |
}); | |
if (h) for (b = (a || "").match(E) || []; j > i; i++) if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : "")) { | |
f = 0; | |
while (e = b[f++]) while (d.indexOf(" " + e + " ") >= 0) d = d.replace(" " + e + " ", " "); | |
g = a ? n.trim(d) : "", c.className !== g && (c.className = g) | |
} | |
return this | |
}, toggleClass: function (a, b) { | |
var c = typeof a; | |
return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function (c) { | |
n(this).toggleClass(a.call(this, c, this.className, b), b) | |
} : function () { | |
if ("string" === c) { | |
var b, d = 0, e = n(this), f = a.match(E) || []; | |
while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b) | |
} else (c === U || "boolean" === c) && (this.className && L.set(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : L.get(this, "__className__") || "") | |
}) | |
}, hasClass: function (a) { | |
for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++) if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ac, " ").indexOf(b) >= 0) return !0; | |
return !1 | |
} | |
}); | |
var bc = /\r/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(bc, "") : 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)) | |
} | |
}, 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 || (k.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(d.value, f) >= 0) && (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) >= 0 : void 0 | |
} | |
}, k.checkOn || (n.valHooks[this].get = function (a) { | |
return null === a.getAttribute("value") ? "on" : a.value | |
}) | |
}), 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) | |
}, 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) | |
} | |
}); | |
var cc = n.now(), dc = /\?/; | |
n.parseJSON = function (a) { | |
return JSON.parse(a + "") | |
}, n.parseXML = function (a) { | |
var b, c; | |
if (!a || "string" != typeof a) return null; | |
try { | |
c = new DOMParser, b = c.parseFromString(a, "text/xml") | |
} catch (d) { | |
b = void 0 | |
} | |
return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b | |
}; | |
var ec, fc, gc = /#.*$/, hc = /([?&])_=[^&]*/, ic = /^(.*?):[ \t]*([^\r\n]*)$/gm, | |
jc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, kc = /^(?:GET|HEAD)$/, lc = /^\/\//, | |
mc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/, nc = {}, oc = {}, pc = "*/".concat("*"); | |
try { | |
fc = location.href | |
} catch (qc) { | |
fc = l.createElement("a"), fc.href = "", fc = fc.href | |
} | |
ec = mc.exec(fc.toLowerCase()) || []; | |
function rc(a) { | |
return function (b, c) { | |
"string" != typeof b && (c = b, b = "*"); | |
var d, e = 0, f = b.toLowerCase().match(E) || []; | |
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 sc(a, b, c, d) { | |
var e = {}, f = a === oc; | |
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 tc(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 uc(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 vc(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: fc, | |
type: "GET", | |
isLocal: jc.test(ec[1]), | |
global: !0, | |
processData: !0, | |
async: !0, | |
contentType: "application/x-www-form-urlencoded; charset=UTF-8", | |
accepts: { | |
"*": pc, | |
text: "text/plain", | |
html: "text/html", | |
xml: "application/xml, text/xml", | |
json: "application/json, text/javascript" | |
}, | |
contents: {xml: /xml/, html: /html/, json: /json/}, | |
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 ? tc(tc(a, n.ajaxSettings), b) : tc(n.ajaxSettings, a) | |
}, | |
ajaxPrefilter: rc(nc), | |
ajaxTransport: rc(oc), | |
ajax: function (a, b) { | |
"object" == typeof a && (b = a, a = void 0), b = b || {}; | |
var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b), l = k.context || k, | |
m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event, o = n.Deferred(), | |
p = n.Callbacks("once memory"), q = k.statusCode || {}, r = {}, s = {}, t = 0, u = "canceled", v = { | |
readyState: 0, getResponseHeader: function (a) { | |
var b; | |
if (2 === t) { | |
if (!f) { | |
f = {}; | |
while (b = ic.exec(e)) f[b[1].toLowerCase()] = b[2] | |
} | |
b = f[a.toLowerCase()] | |
} | |
return null == b ? null : b | |
}, getAllResponseHeaders: function () { | |
return 2 === t ? e : null | |
}, setRequestHeader: function (a, b) { | |
var c = a.toLowerCase(); | |
return t || (a = s[c] = s[c] || a, r[a] = b), this | |
}, overrideMimeType: function (a) { | |
return t || (k.mimeType = a), this | |
}, statusCode: function (a) { | |
var b; | |
if (a) if (2 > t) for (b in a) q[b] = [q[b], a[b]]; else v.always(a[v.status]); | |
return this | |
}, abort: function (a) { | |
var b = a || u; | |
return c && c.abort(b), x(0, b), this | |
} | |
}; | |
if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || fc) + "").replace(gc, "").replace(lc, ec[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (h = mc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === ec[1] && h[2] === ec[2] && (h[3] || ("http:" === h[1] ? "80" : "443")) === (ec[3] || ("http:" === ec[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), sc(nc, k, b, v), 2 === t) return v; | |
i = k.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !kc.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = hc.test(d) ? d.replace(hc, "$1_=" + cc++) : d + (dc.test(d) ? "&" : "?") + "_=" + cc++)), k.ifModified && (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]), n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + pc + "; q=0.01" : "") : k.accepts["*"]); | |
for (j in k.headers) v.setRequestHeader(j, k.headers[j]); | |
if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t)) return v.abort(); | |
u = "abort"; | |
for (j in{success: 1, error: 1, complete: 1}) v[j](k[j]); | |
if (c = sc(oc, k, b, v)) { | |
v.readyState = 1, i && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function () { | |
v.abort("timeout") | |
}, k.timeout)); | |
try { | |
t = 1, c.send(r, x) | |
} catch (w) { | |
if (!(2 > t)) throw w; | |
x(-1, w) | |
} | |
} else x(-1, "No Transport"); | |
function x(a, b, f, h) { | |
var j, r, s, u, w, x = b; | |
2 !== t && (t = 2, g && clearTimeout(g), c = void 0, e = h || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, f && (u = uc(k, v, f)), u = vc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[d] = w), w = v.getResponseHeader("etag"), w && (n.etag[d] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop"))) | |
} | |
return v | |
}, | |
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({ | |
url: a, | |
type: b, | |
dataType: e, | |
data: c, | |
success: d | |
}) | |
} | |
}), n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) { | |
n.fn[b] = function (a) { | |
return this.on(b, 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 this.each(n.isFunction(a) ? function (b) { | |
n(this).wrapInner(a.call(this, b)) | |
} : 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 a.offsetWidth <= 0 && a.offsetHeight <= 0 | |
}, n.expr.filters.visible = function (a) { | |
return !n.expr.filters.hidden(a) | |
}; | |
var wc = /%20/g, xc = /\[\]$/, yc = /\r?\n/g, zc = /^(?:submit|button|image|reset|file)$/i, | |
Ac = /^(?:input|select|textarea|keygen)/i; | |
function Bc(a, b, c, d) { | |
var e; | |
if (n.isArray(b)) n.each(b, function (b, e) { | |
c || xc.test(a) ? d(a, e) : Bc(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d) | |
}); else if (c || "object" !== n.type(b)) d(a, b); else for (e in b) Bc(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) Bc(c, a[c], b, e); | |
return d.join("&").replace(wc, "+") | |
}, 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") && Ac.test(this.nodeName) && !zc.test(a) && (this.checked || !T.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(yc, "\r\n")} | |
}) : {name: b.name, value: c.replace(yc, "\r\n")} | |
}).get() | |
} | |
}), n.ajaxSettings.xhr = function () { | |
try { | |
return new XMLHttpRequest | |
} catch (a) { | |
} | |
}; | |
var Cc = 0, Dc = {}, Ec = {0: 200, 1223: 204}, Fc = n.ajaxSettings.xhr(); | |
a.ActiveXObject && n(a).on("unload", function () { | |
for (var a in Dc) Dc[a]() | |
}), k.cors = !!Fc && "withCredentials" in Fc, k.ajax = Fc = !!Fc, n.ajaxTransport(function (a) { | |
var b; | |
return k.cors || Fc && !a.crossDomain ? { | |
send: function (c, d) { | |
var e, f = a.xhr(), g = ++Cc; | |
if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields) for (e in a.xhrFields) f[e] = a.xhrFields[e]; | |
a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest"); | |
for (e in c) f.setRequestHeader(e, c[e]); | |
b = function (a) { | |
return function () { | |
b && (delete Dc[g], b = f.onload = f.onerror = null, "abort" === a ? f.abort() : "error" === a ? d(f.status, f.statusText) : d(Ec[f.status] || f.status, f.statusText, "string" == typeof f.responseText ? {text: f.responseText} : void 0, f.getAllResponseHeaders())) | |
} | |
}, f.onload = b(), f.onerror = b("error"), b = Dc[g] = b("abort"); | |
try { | |
f.send(a.hasContent && a.data || null) | |
} catch (h) { | |
if (b) throw h | |
} | |
}, abort: function () { | |
b && b() | |
} | |
} : void 0 | |
}), n.ajaxSetup({ | |
accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"}, | |
contents: {script: /(?:java|ecma)script/}, | |
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 (d, e) { | |
b = n("<script>").prop({ | |
async: !0, | |
charset: a.scriptCharset, | |
src: a.url | |
}).on("load error", c = function (a) { | |
b.remove(), c = null, a && e("error" === a.type ? 404 : 200, a.type) | |
}), l.head.appendChild(b[0]) | |
}, abort: function () { | |
c && c() | |
} | |
} | |
} | |
}); | |
var Gc = [], Hc = /(=)\?(?=&|$)|\?\?/; | |
n.ajaxSetup({ | |
jsonp: "callback", jsonpCallback: function () { | |
var a = Gc.pop() || n.expando + "_" + cc++; | |
return this[a] = !0, a | |
} | |
}), n.ajaxPrefilter("json jsonp", function (b, c, d) { | |
var e, f, g, | |
h = b.jsonp !== !1 && (Hc.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Hc.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(Hc, "$1" + e) : b.jsonp !== !1 && (b.url += (dc.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 () { | |
a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Gc.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 || l; | |
var d = v.exec(a), e = !c && []; | |
return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes)) | |
}; | |
var Ic = n.fn.load; | |
n.fn.load = function (a, b, c) { | |
if ("string" != typeof a && Ic) return Ic.apply(this, arguments); | |
var d, e, f, g = this, h = a.indexOf(" "); | |
return h >= 0 && (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, | |
dataType: "html", | |
data: b | |
}).done(function (a) { | |
f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a) | |
}).complete(c && function (a, b) { | |
g.each(c, f || [a.responseText, b, a]) | |
}), this | |
}, n.expr.filters.animated = function (a) { | |
return n.grep(n.timers, function (b) { | |
return a === b.elem | |
}).length | |
}; | |
var Jc = a.document.documentElement; | |
function Kc(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, 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) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Kc(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 || Jc; | |
while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) a = a.offsetParent; | |
return a || Jc | |
}) | |
} | |
}), n.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (b, c) { | |
var d = "pageYOffset" === c; | |
n.fn[b] = function (e) { | |
return J(this, function (b, e, f) { | |
var g = Kc(b); | |
return void 0 === f ? g ? g[c] : b[e] : void(g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f) | |
}, b, e, arguments.length, null) | |
} | |
}), n.each(["top", "left"], function (a, b) { | |
n.cssHooks[b] = yb(k.pixelPosition, function (a, c) { | |
return c ? (c = xb(a, b), vb.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 J(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.size = function () { | |
return this.length | |
}, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () { | |
return n | |
}); | |
var Lc = a.jQuery, Mc = a.$; | |
return n.noConflict = function (b) { | |
return a.$ === n && (a.$ = Mc), b && a.jQuery === n && (a.jQuery = Lc), n | |
}, typeof b === U && (a.jQuery = a.$ = n), n | |
}); | |
} |
body{ | |
margin: 0; | |
padding: 0; | |
background: url(https://ws3.sinaimg.cn/large/721170b1jw1f87beusoipj21ao0v4qga.jpg); | |
background-size: cover; | |
background-position: center; | |
font-family: sans-serif; | |
} | |
.login-box{ | |
width: 320px; | |
height: 420px; | |
background: rgba(0, 0, 0, 0.5); | |
color: #fff; | |
top: 50%; | |
left: 50%; | |
position: absolute; | |
transform: translate(-50%,-50%); | |
box-sizing: border-box; | |
padding: 70px 30px; | |
} | |
.avatar{ | |
width: 100px; | |
height: 100px; | |
border-radius: 50%; | |
position: absolute; | |
top: -50px; | |
left: calc(50% - 50px); | |
} | |
h1{ | |
margin: 0; | |
padding: 0 0 20px; | |
text-align: center; | |
font-size: 22px; | |
} | |
.login-box p{ | |
margin: 0; | |
padding: 0; | |
font-weight: bold; | |
} | |
.login-box input{ | |
width: 100%; | |
margin-bottom: 20px; | |
} | |
.login-box input[type="text"], input[type="password"] | |
{ | |
border: none; | |
border-bottom: 1px solid #fff; | |
background: transparent; | |
outline: none; | |
height: 40px; | |
color: #fff; | |
font-size: 16px; | |
} | |
.login-box .submit | |
{ | |
border: none; | |
outline: none; | |
height: 40px; | |
background: #1c8adb; | |
color: #fff; | |
font-size: 18px; | |
border-radius: 20px; | |
text-align: center; | |
} | |
.login-box .submit:hover | |
{ | |
cursor: pointer; | |
background: #39dc79; | |
color: #000; | |
} | |
.login-box a{ | |
text-decoration: none; | |
font-size: 14px; | |
color: #fff; | |
} | |
.login-box a:hover | |
{ | |
color: #39dc79; | |
} | |
/*! | |
* Font Awesome 3.2.1 | |
* the iconic font designed for Bootstrap | |
* ------------------------------------------------------------------------------ | |
* The full suite of pictographic icons, examples, and documentation can be | |
* found at http://fontawesome.io. Stay up to date on Twitter at | |
* http://twitter.com/fontawesome. | |
* | |
* License | |
* ------------------------------------------------------------------------------ | |
* - The Font Awesome font is licensed under SIL OFL 1.1 - | |
* http://scripts.sil.org/OFL | |
* - Font Awesome CSS, LESS, and SASS files are licensed under MIT License - | |
* http://opensource.org/licenses/mit-license.html | |
* - Font Awesome documentation licensed under CC BY 3.0 - | |
* http://creativecommons.org/licenses/by/3.0/ | |
* - Attribution is no longer required in Font Awesome 3.0, but much appreciated: | |
* "Font Awesome by Dave Gandy - http://fontawesome.io" | |
* | |
* Author - Dave Gandy | |
* ------------------------------------------------------------------------------ | |
* Email: [email protected] | |
* Twitter: http://twitter.com/byscuits | |
* Work: Lead Product Designer @ Kyruus - http://kyruus.com | |
*/ | |
/* FONT PATH | |
* -------------------------- */ | |
@font-face { | |
font-family: 'FontAwesome'; | |
src: url('fontawesome-webfont.eot?v=3.2.1'); | |
src: url('fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('fontawesome-webfont.woff?v=3.2.1') format('woff'), url('fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
/* FONT AWESOME CORE | |
* -------------------------- */ | |
[class^="icon-"], | |
[class*=" icon-"] { | |
font-family: FontAwesome; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: inherit; | |
-webkit-font-smoothing: antialiased; | |
*margin-right: .3em; | |
} | |
[class^="icon-"]:before, | |
[class*=" icon-"]:before { | |
text-decoration: inherit; | |
display: inline-block; | |
speak: none; | |
} | |
/* makes the font 33% larger relative to the icon container */ | |
.icon-large:before { | |
vertical-align: -10%; | |
font-size: 1.3333333333333333em; | |
} | |
/* makes sure icons active on rollover in links */ | |
a [class^="icon-"], | |
a [class*=" icon-"] { | |
display: inline; | |
} | |
/* increased font size for icon-large */ | |
[class^="icon-"].icon-fixed-width, | |
[class*=" icon-"].icon-fixed-width { | |
display: inline-block; | |
width: 1.1428571428571428em; | |
text-align: right; | |
padding-right: 0.2857142857142857em; | |
} | |
[class^="icon-"].icon-fixed-width.icon-large, | |
[class*=" icon-"].icon-fixed-width.icon-large { | |
width: 1.4285714285714286em; | |
} | |
.icons-ul { | |
margin-left: 2.142857142857143em; | |
list-style-type: none; | |
} | |
.icons-ul > li { | |
position: relative; | |
} | |
.icons-ul .icon-li { | |
position: absolute; | |
left: -2.142857142857143em; | |
width: 2.142857142857143em; | |
text-align: center; | |
line-height: inherit; | |
} | |
[class^="icon-"].hide, | |
[class*=" icon-"].hide { | |
display: none; | |
} | |
.icon-muted { | |
color: #eeeeee; | |
} | |
.icon-light { | |
color: #ffffff; | |
} | |
.icon-dark { | |
color: #333333; | |
} | |
.icon-border { | |
border: solid 1px #eeeeee; | |
padding: .2em .25em .15em; | |
-webkit-border-radius: 3px; | |
-moz-border-radius: 3px; | |
border-radius: 3px; | |
} | |
.icon-2x { | |
font-size: 2em; | |
} | |
.icon-2x.icon-border { | |
border-width: 2px; | |
-webkit-border-radius: 4px; | |
-moz-border-radius: 4px; | |
border-radius: 4px; | |
} | |
.icon-3x { | |
font-size: 3em; | |
} | |
.icon-3x.icon-border { | |
border-width: 3px; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
} | |
.icon-4x { | |
font-size: 4em; | |
} | |
.icon-4x.icon-border { | |
border-width: 4px; | |
-webkit-border-radius: 6px; | |
-moz-border-radius: 6px; | |
border-radius: 6px; | |
} | |
.icon-5x { | |
font-size: 5em; | |
} | |
.icon-5x.icon-border { | |
border-width: 5px; | |
-webkit-border-radius: 7px; | |
-moz-border-radius: 7px; | |
border-radius: 7px; | |
} | |
.pull-right { | |
float: right; | |
} | |
.pull-left { | |
float: left; | |
} | |
[class^="icon-"].pull-left, | |
[class*=" icon-"].pull-left { | |
margin-right: .3em; | |
} | |
[class^="icon-"].pull-right, | |
[class*=" icon-"].pull-right { | |
margin-left: .3em; | |
} | |
/* BOOTSTRAP SPECIFIC CLASSES | |
* -------------------------- */ | |
/* Bootstrap 2.0 sprites.less reset */ | |
[class^="icon-"], | |
[class*=" icon-"] { | |
display: inline; | |
width: auto; | |
height: auto; | |
line-height: normal; | |
vertical-align: baseline; | |
background-image: none; | |
background-position: 0% 0%; | |
background-repeat: repeat; | |
margin-top: 0; | |
} | |
/* more sprites.less reset */ | |
.icon-white, | |
.nav-pills > .active > a > [class^="icon-"], | |
.nav-pills > .active > a > [class*=" icon-"], | |
.nav-list > .active > a > [class^="icon-"], | |
.nav-list > .active > a > [class*=" icon-"], | |
.navbar-inverse .nav > .active > a > [class^="icon-"], | |
.navbar-inverse .nav > .active > a > [class*=" icon-"], | |
.dropdown-menu > li > a:hover > [class^="icon-"], | |
.dropdown-menu > li > a:hover > [class*=" icon-"], | |
.dropdown-menu > .active > a > [class^="icon-"], | |
.dropdown-menu > .active > a > [class*=" icon-"], | |
.dropdown-submenu:hover > a > [class^="icon-"], | |
.dropdown-submenu:hover > a > [class*=" icon-"] { | |
background-image: none; | |
} | |
/* keeps Bootstrap styles with and without icons the same */ | |
.btn [class^="icon-"].icon-large, | |
.nav [class^="icon-"].icon-large, | |
.btn [class*=" icon-"].icon-large, | |
.nav [class*=" icon-"].icon-large { | |
line-height: .9em; | |
} | |
.btn [class^="icon-"].icon-spin, | |
.nav [class^="icon-"].icon-spin, | |
.btn [class*=" icon-"].icon-spin, | |
.nav [class*=" icon-"].icon-spin { | |
display: inline-block; | |
} | |
.nav-tabs [class^="icon-"], | |
.nav-pills [class^="icon-"], | |
.nav-tabs [class*=" icon-"], | |
.nav-pills [class*=" icon-"], | |
.nav-tabs [class^="icon-"].icon-large, | |
.nav-pills [class^="icon-"].icon-large, | |
.nav-tabs [class*=" icon-"].icon-large, | |
.nav-pills [class*=" icon-"].icon-large { | |
line-height: .9em; | |
} | |
.btn [class^="icon-"].pull-left.icon-2x, | |
.btn [class*=" icon-"].pull-left.icon-2x, | |
.btn [class^="icon-"].pull-right.icon-2x, | |
.btn [class*=" icon-"].pull-right.icon-2x { | |
margin-top: .18em; | |
} | |
.btn [class^="icon-"].icon-spin.icon-large, | |
.btn [class*=" icon-"].icon-spin.icon-large { | |
line-height: .8em; | |
} | |
.btn.btn-small [class^="icon-"].pull-left.icon-2x, | |
.btn.btn-small [class*=" icon-"].pull-left.icon-2x, | |
.btn.btn-small [class^="icon-"].pull-right.icon-2x, | |
.btn.btn-small [class*=" icon-"].pull-right.icon-2x { | |
margin-top: .25em; | |
} | |
.btn.btn-large [class^="icon-"], | |
.btn.btn-large [class*=" icon-"] { | |
margin-top: 0; | |
} | |
.btn.btn-large [class^="icon-"].pull-left.icon-2x, | |
.btn.btn-large [class*=" icon-"].pull-left.icon-2x, | |
.btn.btn-large [class^="icon-"].pull-right.icon-2x, | |
.btn.btn-large [class*=" icon-"].pull-right.icon-2x { | |
margin-top: .05em; | |
} | |
.btn.btn-large [class^="icon-"].pull-left.icon-2x, | |
.btn.btn-large [class*=" icon-"].pull-left.icon-2x { | |
margin-right: .2em; | |
} | |
.btn.btn-large [class^="icon-"].pull-right.icon-2x, | |
.btn.btn-large [class*=" icon-"].pull-right.icon-2x { | |
margin-left: .2em; | |
} | |
/* Fixes alignment in nav lists */ | |
.nav-list [class^="icon-"], | |
.nav-list [class*=" icon-"] { | |
line-height: inherit; | |
} | |
/* EXTRAS | |
* -------------------------- */ | |
/* Stacked and layered icon */ | |
.icon-stack { | |
position: relative; | |
display: inline-block; | |
width: 2em; | |
height: 2em; | |
line-height: 2em; | |
vertical-align: -35%; | |
} | |
.icon-stack [class^="icon-"], | |
.icon-stack [class*=" icon-"] { | |
display: block; | |
text-align: center; | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
font-size: 1em; | |
line-height: inherit; | |
*line-height: 2em; | |
} | |
.icon-stack .icon-stack-base { | |
font-size: 2em; | |
*line-height: 1em; | |
} | |
/* Animated rotating icon */ | |
.icon-spin { | |
display: inline-block; | |
-moz-animation: spin 2s infinite linear; | |
-o-animation: spin 2s infinite linear; | |
-webkit-animation: spin 2s infinite linear; | |
animation: spin 2s infinite linear; | |
} | |
/* Prevent stack and spinners from being taken inline when inside a link */ | |
a .icon-stack, | |
a .icon-spin { | |
display: inline-block; | |
text-decoration: none; | |
} | |
@-moz-keyframes spin { | |
0% { | |
-moz-transform: rotate(0deg); | |
} | |
100% { | |
-moz-transform: rotate(359deg); | |
} | |
} | |
@-webkit-keyframes spin { | |
0% { | |
-webkit-transform: rotate(0deg); | |
} | |
100% { | |
-webkit-transform: rotate(359deg); | |
} | |
} | |
@-o-keyframes spin { | |
0% { | |
-o-transform: rotate(0deg); | |
} | |
100% { | |
-o-transform: rotate(359deg); | |
} | |
} | |
@-ms-keyframes spin { | |
0% { | |
-ms-transform: rotate(0deg); | |
} | |
100% { | |
-ms-transform: rotate(359deg); | |
} | |
} | |
@keyframes spin { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(359deg); | |
} | |
} | |
/* Icon rotations and mirroring */ | |
.icon-rotate-90:before { | |
-webkit-transform: rotate(90deg); | |
-moz-transform: rotate(90deg); | |
-ms-transform: rotate(90deg); | |
-o-transform: rotate(90deg); | |
transform: rotate(90deg); | |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | |
} | |
.icon-rotate-180:before { | |
-webkit-transform: rotate(180deg); | |
-moz-transform: rotate(180deg); | |
-ms-transform: rotate(180deg); | |
-o-transform: rotate(180deg); | |
transform: rotate(180deg); | |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | |
} | |
.icon-rotate-270:before { | |
-webkit-transform: rotate(270deg); | |
-moz-transform: rotate(270deg); | |
-ms-transform: rotate(270deg); | |
-o-transform: rotate(270deg); | |
transform: rotate(270deg); | |
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); | |
} | |
.icon-flip-horizontal:before { | |
-webkit-transform: scale(-1, 1); | |
-moz-transform: scale(-1, 1); | |
-ms-transform: scale(-1, 1); | |
-o-transform: scale(-1, 1); | |
transform: scale(-1, 1); | |
} | |
.icon-flip-vertical:before { | |
-webkit-transform: scale(1, -1); | |
-moz-transform: scale(1, -1); | |
-ms-transform: scale(1, -1); | |
-o-transform: scale(1, -1); | |
transform: scale(1, -1); | |
} | |
/* ensure rotation occurs inside anchor tags */ | |
a .icon-rotate-90:before, | |
a .icon-rotate-180:before, | |
a .icon-rotate-270:before, | |
a .icon-flip-horizontal:before, | |
a .icon-flip-vertical:before { | |
display: inline-block; | |
} | |
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen | |
readers do not read off random characters that represent icons */ | |
.icon-glass:before { | |
content: "\f000"; | |
} | |
.icon-music:before { | |
content: "\f001"; | |
} | |
.icon-search:before { | |
content: "\f002"; | |
} | |
.icon-envelope-alt:before { | |
content: "\f003"; | |
} | |
.icon-heart:before { | |
content: "\f004"; | |
} | |
.icon-star:before { | |
content: "\f005"; | |
} | |
.icon-star-empty:before { | |
content: "\f006"; | |
} | |
.icon-user:before { | |
content: "\f007"; | |
} | |
.icon-film:before { | |
content: "\f008"; | |
} | |
.icon-th-large:before { | |
content: "\f009"; | |
} | |
.icon-th:before { | |
content: "\f00a"; | |
} | |
.icon-th-list:before { | |
content: "\f00b"; | |
} | |
.icon-ok:before { | |
content: "\f00c"; | |
} | |
.icon-remove:before { | |
content: "\f00d"; | |
} | |
.icon-zoom-in:before { | |
content: "\f00e"; | |
} | |
.icon-zoom-out:before { | |
content: "\f010"; | |
} | |
.icon-power-off:before, | |
.icon-off:before { | |
content: "\f011"; | |
} | |
.icon-signal:before { | |
content: "\f012"; | |
} | |
.icon-gear:before, | |
.icon-cog:before { | |
content: "\f013"; | |
} | |
.icon-trash:before { | |
content: "\f014"; | |
} | |
.icon-home:before { | |
content: "\f015"; | |
} | |
.icon-file-alt:before { | |
content: "\f016"; | |
} | |
.icon-time:before { | |
content: "\f017"; | |
} | |
.icon-road:before { | |
content: "\f018"; | |
} | |
.icon-download-alt:before { | |
content: "\f019"; | |
} | |
.icon-download:before { | |
content: "\f01a"; | |
} | |
.icon-upload:before { | |
content: "\f01b"; | |
} | |
.icon-inbox:before { | |
content: "\f01c"; | |
} | |
.icon-play-circle:before { | |
content: "\f01d"; | |
} | |
.icon-rotate-right:before, | |
.icon-repeat:before { | |
content: "\f01e"; | |
} | |
.icon-refresh:before { | |
content: "\f021"; | |
} | |
.icon-list-alt:before { | |
content: "\f022"; | |
} | |
.icon-lock:before { | |
content: "\f023"; | |
} | |
.icon-flag:before { | |
content: "\f024"; | |
} | |
.icon-headphones:before { | |
content: "\f025"; | |
} | |
.icon-volume-off:before { | |
content: "\f026"; | |
} | |
.icon-volume-down:before { | |
content: "\f027"; | |
} | |
.icon-volume-up:before { | |
content: "\f028"; | |
} | |
.icon-qrcode:before { | |
content: "\f029"; | |
} | |
.icon-barcode:before { | |
content: "\f02a"; | |
} | |
.icon-tag:before { | |
content: "\f02b"; | |
} | |
.icon-tags:before { | |
content: "\f02c"; | |
} | |
.icon-book:before { | |
content: "\f02d"; | |
} | |
.icon-bookmark:before { | |
content: "\f02e"; | |
} | |
.icon-print:before { | |
content: "\f02f"; | |
} | |
.icon-camera:before { | |
content: "\f030"; | |
} | |
.icon-font:before { | |
content: "\f031"; | |
} | |
.icon-bold:before { | |
content: "\f032"; | |
} | |
.icon-italic:before { | |
content: "\f033"; | |
} | |
.icon-text-height:before { | |
content: "\f034"; | |
} | |
.icon-text-width:before { | |
content: "\f035"; | |
} | |
.icon-align-left:before { | |
content: "\f036"; | |
} | |
.icon-align-center:before { | |
content: "\f037"; | |
} | |
.icon-align-right:before { | |
content: "\f038"; | |
} | |
.icon-align-justify:before { | |
content: "\f039"; | |
} | |
.icon-list:before { | |
content: "\f03a"; | |
} | |
.icon-indent-left:before { | |
content: "\f03b"; | |
} | |
.icon-indent-right:before { | |
content: "\f03c"; | |
} | |
.icon-facetime-video:before { | |
content: "\f03d"; | |
} | |
.icon-picture:before { | |
content: "\f03e"; | |
} | |
.icon-pencil:before { | |
content: "\f040"; | |
} | |
.icon-map-marker:before { | |
content: "\f041"; | |
} | |
.icon-adjust:before { | |
content: "\f042"; | |
} | |
.icon-tint:before { | |
content: "\f043"; | |
} | |
.icon-edit:before { | |
content: "\f044"; | |
} | |
.icon-share:before { | |
content: "\f045"; | |
} | |
.icon-check:before { | |
content: "\f046"; | |
} | |
.icon-move:before { | |
content: "\f047"; | |
} | |
.icon-step-backward:before { | |
content: "\f048"; | |
} | |
.icon-fast-backward:before { | |
content: "\f049"; | |
} | |
.icon-backward:before { | |
content: "\f04a"; | |
} | |
.icon-play:before { | |
content: "\f04b"; | |
} | |
.icon-pause:before { | |
content: "\f04c"; | |
} | |
.icon-stop:before { | |
content: "\f04d"; | |
} | |
.icon-forward:before { | |
content: "\f04e"; | |
} | |
.icon-fast-forward:before { | |
content: "\f050"; | |
} | |
.icon-step-forward:before { | |
content: "\f051"; | |
} | |
.icon-eject:before { | |
content: "\f052"; | |
} | |
.icon-chevron-left:before { | |
content: "\f053"; | |
} | |
.icon-chevron-right:before { | |
content: "\f054"; | |
} | |
.icon-plus-sign:before { | |
content: "\f055"; | |
} | |
.icon-minus-sign:before { | |
content: "\f056"; | |
} | |
.icon-remove-sign:before { | |
content: "\f057"; | |
} | |
.icon-ok-sign:before { | |
content: "\f058"; | |
} | |
.icon-question-sign:before { | |
content: "\f059"; | |
} | |
.icon-info-sign:before { | |
content: "\f05a"; | |
} | |
.icon-screenshot:before { | |
content: "\f05b"; | |
} | |
.icon-remove-circle:before { | |
content: "\f05c"; | |
} | |
.icon-ok-circle:before { | |
content: "\f05d"; | |
} | |
.icon-ban-circle:before { | |
content: "\f05e"; | |
} | |
.icon-arrow-left:before { | |
content: "\f060"; | |
} | |
.icon-arrow-right:before { | |
content: "\f061"; | |
} | |
.icon-arrow-up:before { | |
content: "\f062"; | |
} | |
.icon-arrow-down:before { | |
content: "\f063"; | |
} | |
.icon-mail-forward:before, | |
.icon-share-alt:before { | |
content: "\f064"; | |
} | |
.icon-resize-full:before { | |
content: "\f065"; | |
} | |
.icon-resize-small:before { | |
content: "\f066"; | |
} | |
.icon-plus:before { | |
content: "\f067"; | |
} | |
.icon-minus:before { | |
content: "\f068"; | |
} | |
.icon-asterisk:before { | |
content: "\f069"; | |
} | |
.icon-exclamation-sign:before { | |
content: "\f06a"; | |
} | |
.icon-gift:before { | |
content: "\f06b"; | |
} | |
.icon-leaf:before { | |
content: "\f06c"; | |
} | |
.icon-fire:before { | |
content: "\f06d"; | |
} | |
.icon-eye-open:before { | |
content: "\f06e"; | |
} | |
.icon-eye-close:before { | |
content: "\f070"; | |
} | |
.icon-warning-sign:before { | |
content: "\f071"; | |
} | |
.icon-plane:before { | |
content: "\f072"; | |
} | |
.icon-calendar:before { | |
content: "\f073"; | |
} | |
.icon-random:before { | |
content: "\f074"; | |
} | |
.icon-comment:before { | |
content: "\f075"; | |
} | |
.icon-magnet:before { | |
content: "\f076"; | |
} | |
.icon-chevron-up:before { | |
content: "\f077"; | |
} | |
.icon-chevron-down:before { | |
content: "\f078"; | |
} | |
.icon-retweet:before { | |
content: "\f079"; | |
} | |
.icon-shopping-cart:before { | |
content: "\f07a"; | |
} | |
.icon-folder-close:before { | |
content: "\f07b"; | |
} | |
.icon-folder-open:before { | |
content: "\f07c"; | |
} | |
.icon-resize-vertical:before { | |
content: "\f07d"; | |
} | |
.icon-resize-horizontal:before { | |
content: "\f07e"; | |
} | |
.icon-bar-chart:before { | |
content: "\f080"; | |
} | |
.icon-twitter-sign:before { | |
content: "\f081"; | |
} | |
.icon-facebook-sign:before { | |
content: "\f082"; | |
} | |
.icon-camera-retro:before { | |
content: "\f083"; | |
} | |
.icon-key:before { | |
content: "\f084"; | |
} | |
.icon-gears:before, | |
.icon-cogs:before { | |
content: "\f085"; | |
} | |
.icon-comments:before { | |
content: "\f086"; | |
} | |
.icon-thumbs-up-alt:before { | |
content: "\f087"; | |
} | |
.icon-thumbs-down-alt:before { | |
content: "\f088"; | |
} | |
.icon-star-half:before { | |
content: "\f089"; | |
} | |
.icon-heart-empty:before { | |
content: "\f08a"; | |
} | |
.icon-signout:before { | |
content: "\f08b"; | |
} | |
.icon-linkedin-sign:before { | |
content: "\f08c"; | |
} | |
.icon-pushpin:before { | |
content: "\f08d"; | |
} | |
.icon-external-link:before { | |
content: "\f08e"; | |
} | |
.icon-signin:before { | |
content: "\f090"; | |
} | |
.icon-trophy:before { | |
content: "\f091"; | |
} | |
.icon-github-sign:before { | |
content: "\f092"; | |
} | |
.icon-upload-alt:before { | |
content: "\f093"; | |
} | |
.icon-lemon:before { | |
content: "\f094"; | |
} | |
.icon-phone:before { | |
content: "\f095"; | |
} | |
.icon-unchecked:before, | |
.icon-check-empty:before { | |
content: "\f096"; | |
} | |
.icon-bookmark-empty:before { | |
content: "\f097"; | |
} | |
.icon-phone-sign:before { | |
content: "\f098"; | |
} | |
.icon-twitter:before { | |
content: "\f099"; | |
} | |
.icon-facebook:before { | |
content: "\f09a"; | |
} | |
.icon-github:before { | |
content: "\f09b"; | |
} | |
.icon-unlock:before { | |
content: "\f09c"; | |
} | |
.icon-credit-card:before { | |
content: "\f09d"; | |
} | |
.icon-rss:before { | |
content: "\f09e"; | |
} | |
.icon-hdd:before { | |
content: "\f0a0"; | |
} | |
.icon-bullhorn:before { | |
content: "\f0a1"; | |
} | |
.icon-bell:before { | |
content: "\f0a2"; | |
} | |
.icon-certificate:before { | |
content: "\f0a3"; | |
} | |
.icon-hand-right:before { | |
content: "\f0a4"; | |
} | |
.icon-hand-left:before { | |
content: "\f0a5"; | |
} | |
.icon-hand-up:before { | |
content: "\f0a6"; | |
} | |
.icon-hand-down:before { | |
content: "\f0a7"; | |
} | |
.icon-circle-arrow-left:before { | |
content: "\f0a8"; | |
} | |
.icon-circle-arrow-right:before { | |
content: "\f0a9"; | |
} | |
.icon-circle-arrow-up:before { | |
content: "\f0aa"; | |
} | |
.icon-circle-arrow-down:before { | |
content: "\f0ab"; | |
} | |
.icon-globe:before { | |
content: "\f0ac"; | |
} | |
.icon-wrench:before { | |
content: "\f0ad"; | |
} | |
.icon-tasks:before { | |
content: "\f0ae"; | |
} | |
.icon-filter:before { | |
content: "\f0b0"; | |
} | |
.icon-briefcase:before { | |
content: "\f0b1"; | |
} | |
.icon-fullscreen:before { | |
content: "\f0b2"; | |
} | |
.icon-group:before { | |
content: "\f0c0"; | |
} | |
.icon-link:before { | |
content: "\f0c1"; | |
} | |
.icon-cloud:before { | |
content: "\f0c2"; | |
} | |
.icon-beaker:before { | |
content: "\f0c3"; | |
} | |
.icon-cut:before { | |
content: "\f0c4"; | |
} | |
.icon-copy:before { | |
content: "\f0c5"; | |
} | |
.icon-paperclip:before, | |
.icon-paper-clip:before { | |
content: "\f0c6"; | |
} | |
.icon-save:before { | |
content: "\f0c7"; | |
} | |
.icon-sign-blank:before { | |
content: "\f0c8"; | |
} | |
.icon-reorder:before { | |
content: "\f0c9"; | |
} | |
.icon-list-ul:before { | |
content: "\f0ca"; | |
} | |
.icon-list-ol:before { | |
content: "\f0cb"; | |
} | |
.icon-strikethrough:before { | |
content: "\f0cc"; | |
} | |
.icon-underline:before { | |
content: "\f0cd"; | |
} | |
.icon-table:before { | |
content: "\f0ce"; | |
} | |
.icon-magic:before { | |
content: "\f0d0"; | |
} | |
.icon-truck:before { | |
content: "\f0d1"; | |
} | |
.icon-pinterest:before { | |
content: "\f0d2"; | |
} | |
.icon-pinterest-sign:before { | |
content: "\f0d3"; | |
} | |
.icon-google-plus-sign:before { | |
content: "\f0d4"; | |
} | |
.icon-google-plus:before { | |
content: "\f0d5"; | |
} | |
.icon-money:before { | |
content: "\f0d6"; | |
} | |
.icon-caret-down:before { | |
content: "\f0d7"; | |
} | |
.icon-caret-up:before { | |
content: "\f0d8"; | |
} | |
.icon-caret-left:before { | |
content: "\f0d9"; | |
} | |
.icon-caret-right:before { | |
content: "\f0da"; | |
} | |
.icon-columns:before { | |
content: "\f0db"; | |
} | |
.icon-sort:before { | |
content: "\f0dc"; | |
} | |
.icon-sort-down:before { | |
content: "\f0dd"; | |
} | |
.icon-sort-up:before { | |
content: "\f0de"; | |
} | |
.icon-envelope:before { | |
content: "\f0e0"; | |
} | |
.icon-linkedin:before { | |
content: "\f0e1"; | |
} | |
.icon-rotate-left:before, | |
.icon-undo:before { | |
content: "\f0e2"; | |
} | |
.icon-legal:before { | |
content: "\f0e3"; | |
} | |
.icon-dashboard:before { | |
content: "\f0e4"; | |
} | |
.icon-comment-alt:before { | |
content: "\f0e5"; | |
} | |
.icon-comments-alt:before { | |
content: "\f0e6"; | |
} | |
.icon-bolt:before { | |
content: "\f0e7"; | |
} | |
.icon-sitemap:before { | |
content: "\f0e8"; | |
} | |
.icon-umbrella:before { | |
content: "\f0e9"; | |
} | |
.icon-paste:before { | |
content: "\f0ea"; | |
} | |
.icon-lightbulb:before { | |
content: "\f0eb"; | |
} | |
.icon-exchange:before { | |
content: "\f0ec"; | |
} | |
.icon-cloud-download:before { | |
content: "\f0ed"; | |
} | |
.icon-cloud-upload:before { | |
content: "\f0ee"; | |
} | |
.icon-user-md:before { | |
content: "\f0f0"; | |
} | |
.icon-stethoscope:before { | |
content: "\f0f1"; | |
} | |
.icon-suitcase:before { | |
content: "\f0f2"; | |
} | |
.icon-bell-alt:before { | |
content: "\f0f3"; | |
} | |
.icon-coffee:before { | |
content: "\f0f4"; | |
} | |
.icon-food:before { | |
content: "\f0f5"; | |
} | |
.icon-file-text-alt:before { | |
content: "\f0f6"; | |
} | |
.icon-building:before { | |
content: "\f0f7"; | |
} | |
.icon-hospital:before { | |
content: "\f0f8"; | |
} | |
.icon-ambulance:before { | |
content: "\f0f9"; | |
} | |
.icon-medkit:before { | |
content: "\f0fa"; | |
} | |
.icon-fighter-jet:before { | |
content: "\f0fb"; | |
} | |
.icon-beer:before { | |
content: "\f0fc"; | |
} | |
.icon-h-sign:before { | |
content: "\f0fd"; | |
} | |
.icon-plus-sign-alt:before { | |
content: "\f0fe"; | |
} | |
.icon-double-angle-left:before { | |
content: "\f100"; | |
} | |
.icon-double-angle-right:before { | |
content: "\f101"; | |
} | |
.icon-double-angle-up:before { | |
content: "\f102"; | |
} | |
.icon-double-angle-down:before { | |
content: "\f103"; | |
} | |
.icon-angle-left:before { | |
content: "\f104"; | |
} | |
.icon-angle-right:before { | |
content: "\f105"; | |
} | |
.icon-angle-up:before { | |
content: "\f106"; | |
} | |
.icon-angle-down:before { | |
content: "\f107"; | |
} | |
.icon-desktop:before { | |
content: "\f108"; | |
} | |
.icon-laptop:before { | |
content: "\f109"; | |
} | |
.icon-tablet:before { | |
content: "\f10a"; | |
} | |
.icon-mobile-phone:before { | |
content: "\f10b"; | |
} | |
.icon-circle-blank:before { | |
content: "\f10c"; | |
} | |
.icon-quote-left:before { | |
content: "\f10d"; | |
} | |
.icon-quote-right:before { | |
content: "\f10e"; | |
} | |
.icon-spinner:before { | |
content: "\f110"; | |
} | |
.icon-circle:before { | |
content: "\f111"; | |
} | |
.icon-mail-reply:before, | |
.icon-reply:before { | |
content: "\f112"; | |
} | |
.icon-github-alt:before { | |
content: "\f113"; | |
} | |
.icon-folder-close-alt:before { | |
content: "\f114"; | |
} | |
.icon-folder-open-alt:before { | |
content: "\f115"; | |
} | |
.icon-expand-alt:before { | |
content: "\f116"; | |
} | |
.icon-collapse-alt:before { | |
content: "\f117"; | |
} | |
.icon-smile:before { | |
content: "\f118"; | |
} | |
.icon-frown:before { | |
content: "\f119"; | |
} | |
.icon-meh:before { | |
content: "\f11a"; | |
} | |
.icon-gamepad:before { | |
content: "\f11b"; | |
} | |
.icon-keyboard:before { | |
content: "\f11c"; | |
} | |
.icon-flag-alt:before { | |
content: "\f11d"; | |
} | |
.icon-flag-checkered:before { | |
content: "\f11e"; | |
} | |
.icon-terminal:before { | |
content: "\f120"; | |
} | |
.icon-code:before { | |
content: "\f121"; | |
} | |
.icon-reply-all:before { | |
content: "\f122"; | |
} | |
.icon-mail-reply-all:before { | |
content: "\f122"; | |
} | |
.icon-star-half-full:before, | |
.icon-star-half-empty:before { | |
content: "\f123"; | |
} | |
.icon-location-arrow:before { | |
content: "\f124"; | |
} | |
.icon-crop:before { | |
content: "\f125"; | |
} | |
.icon-code-fork:before { | |
content: "\f126"; | |
} | |
.icon-unlink:before { | |
content: "\f127"; | |
} | |
.icon-question:before { | |
content: "\f128"; | |
} | |
.icon-info:before { | |
content: "\f129"; | |
} | |
.icon-exclamation:before { | |
content: "\f12a"; | |
} | |
.icon-superscript:before { | |
content: "\f12b"; | |
} | |
.icon-subscript:before { | |
content: "\f12c"; | |
} | |
.icon-eraser:before { | |
content: "\f12d"; | |
} | |
.icon-puzzle-piece:before { | |
content: "\f12e"; | |
} | |
.icon-microphone:before { | |
content: "\f130"; | |
} | |
.icon-microphone-off:before { | |
content: "\f131"; | |
} | |
.icon-shield:before { | |
content: "\f132"; | |
} | |
.icon-calendar-empty:before { | |
content: "\f133"; | |
} | |
.icon-fire-extinguisher:before { | |
content: "\f134"; | |
} | |
.icon-rocket:before { | |
content: "\f135"; | |
} | |
.icon-maxcdn:before { | |
content: "\f136"; | |
} | |
.icon-chevron-sign-left:before { | |
content: "\f137"; | |
} | |
.icon-chevron-sign-right:before { | |
content: "\f138"; | |
} | |
.icon-chevron-sign-up:before { | |
content: "\f139"; | |
} | |
.icon-chevron-sign-down:before { | |
content: "\f13a"; | |
} | |
.icon-html5:before { | |
content: "\f13b"; | |
} | |
.icon-css3:before { | |
content: "\f13c"; | |
} | |
.icon-anchor:before { | |
content: "\f13d"; | |
} | |
.icon-unlock-alt:before { | |
content: "\f13e"; | |
} | |
.icon-bullseye:before { | |
content: "\f140"; | |
} | |
.icon-ellipsis-horizontal:before { | |
content: "\f141"; | |
} | |
.icon-ellipsis-vertical:before { | |
content: "\f142"; | |
} | |
.icon-rss-sign:before { | |
content: "\f143"; | |
} | |
.icon-play-sign:before { | |
content: "\f144"; | |
} | |
.icon-ticket:before { | |
content: "\f145"; | |
} | |
.icon-minus-sign-alt:before { | |
content: "\f146"; | |
} | |
.icon-check-minus:before { | |
content: "\f147"; | |
} | |
.icon-level-up:before { | |
content: "\f148"; | |
} | |
.icon-level-down:before { | |
content: "\f149"; | |
} | |
.icon-check-sign:before { | |
content: "\f14a"; | |
} | |
.icon-edit-sign:before { | |
content: "\f14b"; | |
} | |
.icon-external-link-sign:before { | |
content: "\f14c"; | |
} | |
.icon-share-sign:before { | |
content: "\f14d"; | |
} | |
.icon-compass:before { | |
content: "\f14e"; | |
} | |
.icon-collapse:before { | |
content: "\f150"; | |
} | |
.icon-collapse-top:before { | |
content: "\f151"; | |
} | |
.icon-expand:before { | |
content: "\f152"; | |
} | |
.icon-euro:before, | |
.icon-eur:before { | |
content: "\f153"; | |
} | |
.icon-gbp:before { | |
content: "\f154"; | |
} | |
.icon-dollar:before, | |
.icon-usd:before { | |
content: "\f155"; | |
} | |
.icon-rupee:before, | |
.icon-inr:before { | |
content: "\f156"; | |
} | |
.icon-yen:before, | |
.icon-jpy:before { | |
content: "\f157"; | |
} | |
.icon-renminbi:before, | |
.icon-cny:before { | |
content: "\f158"; | |
} | |
.icon-won:before, | |
.icon-krw:before { | |
content: "\f159"; | |
} | |
.icon-bitcoin:before, | |
.icon-btc:before { | |
content: "\f15a"; | |
} | |
.icon-file:before { | |
content: "\f15b"; | |
} | |
.icon-file-text:before { | |
content: "\f15c"; | |
} | |
.icon-sort-by-alphabet:before { | |
content: "\f15d"; | |
} | |
.icon-sort-by-alphabet-alt:before { | |
content: "\f15e"; | |
} | |
.icon-sort-by-attributes:before { | |
content: "\f160"; | |
} | |
.icon-sort-by-attributes-alt:before { | |
content: "\f161"; | |
} | |
.icon-sort-by-order:before { | |
content: "\f162"; | |
} | |
.icon-sort-by-order-alt:before { | |
content: "\f163"; | |
} | |
.icon-thumbs-up:before { | |
content: "\f164"; | |
} | |
.icon-thumbs-down:before { | |
content: "\f165"; | |
} | |
.icon-youtube-sign:before { | |
content: "\f166"; | |
} | |
.icon-youtube:before { | |
content: "\f167"; | |
} | |
.icon-xing:before { | |
content: "\f168"; | |
} | |
.icon-xing-sign:before { | |
content: "\f169"; | |
} | |
.icon-youtube-play:before { | |
content: "\f16a"; | |
} | |
.icon-dropbox:before { | |
content: "\f16b"; | |
} | |
.icon-stackexchange:before { | |
content: "\f16c"; | |
} | |
.icon-instagram:before { | |
content: "\f16d"; | |
} | |
.icon-flickr:before { | |
content: "\f16e"; | |
} | |
.icon-adn:before { | |
content: "\f170"; | |
} | |
.icon-bitbucket:before { | |
content: "\f171"; | |
} | |
.icon-bitbucket-sign:before { | |
content: "\f172"; | |
} | |
.icon-tumblr:before { | |
content: "\f173"; | |
} | |
.icon-tumblr-sign:before { | |
content: "\f174"; | |
} | |
.icon-long-arrow-down:before { | |
content: "\f175"; | |
} | |
.icon-long-arrow-up:before { | |
content: "\f176"; | |
} | |
.icon-long-arrow-left:before { | |
content: "\f177"; | |
} | |
.icon-long-arrow-right:before { | |
content: "\f178"; | |
} | |
.icon-apple:before { | |
content: "\f179"; | |
} | |
.icon-windows:before { | |
content: "\f17a"; | |
} | |
.icon-android:before { | |
content: "\f17b"; | |
} | |
.icon-linux:before { | |
content: "\f17c"; | |
} | |
.icon-dribbble:before { | |
content: "\f17d"; | |
} | |
.icon-skype:before { | |
content: "\f17e"; | |
} | |
.icon-foursquare:before { | |
content: "\f180"; | |
} | |
.icon-trello:before { | |
content: "\f181"; | |
} | |
.icon-female:before { | |
content: "\f182"; | |
} | |
.icon-male:before { | |
content: "\f183"; | |
} | |
.icon-gittip:before { | |
content: "\f184"; | |
} | |
.icon-sun:before { | |
content: "\f185"; | |
} | |
.icon-moon:before { | |
content: "\f186"; | |
} | |
.icon-archive:before { | |
content: "\f187"; | |
} | |
.icon-bug:before { | |
content: "\f188"; | |
} | |
.icon-vk:before { | |
content: "\f189"; | |
} | |
.icon-weibo:before { | |
content: "\f18a"; | |
} | |
.icon-renren:before { | |
content: "\f18b"; | |
} |
.iconfont { | |
font-family:"iconfont" !important; | |
font-size:16px; | |
font-style:normal; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.icon-all:before { content: "\e696"; } | |
.icon-back:before { content: "\e697"; } | |
.icon-cart:before { content: "\e698"; } | |
.icon-category:before { content: "\e699"; } | |
.icon-close:before { content: "\e69a"; } | |
.icon-comments:before { content: "\e69b"; } | |
.icon-cry:before { content: "\e69c"; } | |
.icon-delete:before { content: "\e69d"; } | |
.icon-edit:before { content: "\e69e"; } | |
.icon-email:before { content: "\e69f"; } | |
.icon-favorite:before { content: "\e6a0"; } | |
.icon-form:before { content: "\e6a2"; } | |
.icon-help:before { content: "\e6a3"; } | |
.icon-information:before { content: "\e6a4"; } | |
.icon-less:before { content: "\e6a5"; } | |
.icon-moreunfold:before { content: "\e6a6"; } | |
.icon-more:before { content: "\e6a7"; } | |
.icon-pic:before { content: "\e6a8"; } | |
.icon-qrcode:before { content: "\e6a9"; } | |
.icon-refresh:before { content: "\e6aa"; } | |
.icon-rfq:before { content: "\e6ab"; } | |
.icon-search:before { content: "\e6ac"; } | |
.icon-selected:before { content: "\e6ad"; } | |
.icon-set:before { content: "\e6ae"; } | |
.icon-smile:before { content: "\e6af"; } | |
.icon-success:before { content: "\e6b1"; } | |
.icon-survey:before { content: "\e6b2"; } | |
.icon-training:before { content: "\e6b3"; } | |
.icon-viewgallery:before { content: "\e6b4"; } | |
.icon-viewlist:before { content: "\e6b5"; } | |
.icon-warning:before { content: "\e6b6"; } | |
.icon-wrong:before { content: "\e6b7"; } | |
.icon-account:before { content: "\e6b8"; } | |
.icon-add:before { content: "\e6b9"; } | |
.icon-clock:before { content: "\e6bb"; } | |
.icon-remind:before { content: "\e6bc"; } | |
.icon-calendar:before { content: "\e6bf"; } | |
.icon-attachment:before { content: "\e6c0"; } | |
.icon-discount:before { content: "\e6c5"; } | |
.icon-service:before { content: "\e6c7"; } | |
.icon-print:before { content: "\e6c9"; } | |
.icon-box:before { content: "\e6cb"; } | |
.icon-process:before { content: "\e6ce"; } | |
.icon-lights:before { content: "\e6de"; } | |
.icon-jewelry:before { content: "\e6e4"; } | |
.icon-browse:before { content: "\e6e6"; } | |
.icon-scanning:before { content: "\e6ec"; } | |
.icon-pin:before { content: "\e6f2"; } | |
.icon-link:before { content: "\e6f7"; } | |
.icon-cut:before { content: "\e6f8"; } | |
.icon-text:before { content: "\e6fc"; } | |
.icon-move:before { content: "\e6fd"; } | |
.icon-icondownload:before { content: "\e714"; } | |
.icon-map:before { content: "\e715"; } | |
.icon-bad:before { content: "\e716"; } | |
.icon-good:before { content: "\e717"; } | |
.icon-iconfontplay2:before { content: "\e719"; } | |
.icon-iconfontstop:before { content: "\e71a"; } | |
.icon-compass:before { content: "\e71b"; } | |
.icon-security:before { content: "\e71c"; } | |
.icon-share:before { content: "\e71d"; } | |
.icon-hot:before { content: "\e756"; } | |
.icon-data:before { content: "\e757"; } | |
.icon-favorites:before { content: "\e7ce"; } |
/*! | |
* Stui v2.0 Copyright 2016-2018 | |
*/ | |
@charset "utf-8"; | |
/* all */ | |
html { | |
height: 100%; | |
} | |
body { | |
margin: 0; | |
font-family: 'Helvetica Neue', 'STHeiti', '微软雅黑', 'Microsoft YaHei', Helvetica, Arial, sans-serif; | |
font-size: 14px; | |
line-height: 140%; | |
} | |
ul, ol, li { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
dl { | |
margin-top: 0; | |
margin-bottom: 0 | |
} | |
p { | |
margin: 0 0 10px; | |
} | |
/* container */ | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
:after, :before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
.container { | |
position: relative; | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto; | |
} | |
.row { | |
position: relative; | |
margin-right: -15px; | |
margin-left: -15px; | |
} | |
.container:before, .container:after, .row:before, .row:after, .clearfix:before, .clearfix:after { | |
display: table; | |
content: " "; | |
clear: both; | |
} | |
/* col */ | |
.col-pd, .col-lg-1, .col-lg-10, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { | |
position: relative; | |
min-height: 1px; | |
padding: 10px | |
} | |
.col-xs-1, .col-xs-10, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-wide-1, .col-xs-wide-10, .col-xs-wide-15, .col-xs-wide-2, .col-xs-wide-25, .col-xs-wide-3, .col-xs-wide-35, .col-xs-wide-4, .col-xs-wide-45, .col-xs-wide-5, .col-xs-wide-55, .col-xs-wide-6, .col-xs-wide-65, .col-xs-wide-7, .col-xs-wide-75, .col-xs-wide-8, .col-xs-wide-85, .col-xs-wide-9, .col-xs-wide-95 { | |
float: left | |
} | |
.col-xs-10 { | |
width: 10% | |
} | |
.col-xs-9 { | |
width: 11.1111111% | |
} | |
.col-xs-8 { | |
width: 12.5% | |
} | |
.col-xs-7 { | |
width: 14.2857143% | |
} | |
.col-xs-6 { | |
width: 16.6666667% | |
} | |
.col-xs-5 { | |
width: 20% | |
} | |
.col-xs-4 { | |
width: 25% | |
} | |
.col-xs-3 { | |
width: 33.3333333% | |
} | |
.col-xs-2 { | |
width: 50% | |
} | |
.col-xs-1 { | |
width: 100% | |
} | |
.col-xs-wide-10 { | |
width: 10% | |
} | |
.col-xs-wide-9 { | |
width: 90% | |
} | |
.col-xs-wide-8 { | |
width: 80% | |
} | |
.col-xs-wide-7 { | |
width: 70% | |
} | |
.col-xs-wide-6 { | |
width: 60% | |
} | |
.col-xs-wide-5 { | |
width: 50% | |
} | |
.col-xs-wide-4 { | |
width: 40% | |
} | |
.col-xs-wide-3 { | |
width: 30% | |
} | |
.col-xs-wide-2 { | |
width: 20% | |
} | |
.col-xs-wide-15 { | |
width: 15% | |
} | |
.col-xs-wide-95 { | |
width: 95% | |
} | |
.col-xs-wide-85 { | |
width: 85% | |
} | |
.col-xs-wide-75 { | |
width: 75% | |
} | |
.col-xs-wide-65 { | |
width: 65% | |
} | |
.col-xs-wide-55 { | |
width: 55% | |
} | |
.col-xs-wide-45 { | |
width: 45% | |
} | |
.col-xs-wide-35 { | |
width: 35% | |
} | |
.col-xs-wide-25 { | |
width: 25% | |
} | |
@media (min-width: 768px) { | |
.col-sm-1, .col-sm-10, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-wide-1, .col-sm-wide-10, .col-sm-wide-15, .col-sm-wide-2, .col-sm-wide-25, .col-sm-wide-3, .col-sm-wide-35, .col-sm-wide-4, .col-sm-wide-45, .col-sm-wide-5, .col-sm-wide-55, .col-sm-wide-6, .col-sm-wide-65, .col-sm-wide-7, .col-sm-wide-75, .col-sm-wide-8, .col-sm-wide-85, .col-sm-wide-9, .col-sm-wide-95 { | |
float: left | |
} | |
.col-sm-10 { | |
width: 10% | |
} | |
.col-sm-9 { | |
width: 11.1111111% | |
} | |
.col-sm-8 { | |
width: 12.5% | |
} | |
.col-sm-7 { | |
width: 14.2857143% | |
} | |
.col-sm-6 { | |
width: 16.6666667% | |
} | |
.col-sm-5 { | |
width: 20% | |
} | |
.col-sm-4 { | |
width: 20% | |
} | |
.col-sm-3 { | |
width: 33.3333333% | |
} | |
.col-sm-2 { | |
width: 50% | |
} | |
.col-sm-1 { | |
width: 100% | |
} | |
.col-sm-wide-10 { | |
width: 10% | |
} | |
.col-sm-wide-9 { | |
width: 90% | |
} | |
.col-sm-wide-8 { | |
width: 80% | |
} | |
.col-sm-wide-7 { | |
width: 70% | |
} | |
.col-sm-wide-6 { | |
width: 60% | |
} | |
.col-sm-wide-5 { | |
width: 50% | |
} | |
.col-sm-wide-4 { | |
width: 40% | |
} | |
.col-sm-wide-3 { | |
width: 30% | |
} | |
.col-sm-wide-2 { | |
width: 20% | |
} | |
.col-sm-wide-15 { | |
width: 15% | |
} | |
.col-sm-wide-95 { | |
width: 95% | |
} | |
.col-sm-wide-85 { | |
width: 85% | |
} | |
.col-sm-wide-75 { | |
width: 75% | |
} | |
.col-sm-wide-65 { | |
width: 65% | |
} | |
.col-sm-wide-55 { | |
width: 55% | |
} | |
.col-sm-wide-45 { | |
width: 45% | |
} | |
.col-sm-wide-35 { | |
width: 35% | |
} | |
.col-sm-wide-25 { | |
width: 25% | |
} | |
} | |
@media (min-width: 992px) { | |
.col-md-1, .col-md-10, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-wide-1, .col-md-wide-10, .col-md-wide-15, .col-md-wide-2, .col-md-wide-25, .col-md-wide-3, .col-md-wide-35, .col-md-wide-4, .col-md-wide-45, .col-md-wide-5, .col-md-wide-55, .col-md-wide-6, .col-md-wide-65, .col-md-wide-7, .col-md-wide-75, .col-md-wide-8, .col-md-wide-85, .col-md-wide-9, .col-md-wide-95 { | |
float: left | |
} | |
.col-md-10 { | |
width: 10% | |
} | |
.col-md-9 { | |
width: 11.1111111% | |
} | |
.col-md-8 { | |
width: 12.5% | |
} | |
.col-md-7 { | |
width: 14.2857143% | |
} | |
.col-md-6 { | |
width: 16.6666667% | |
} | |
.col-md-5 { | |
width: 20% | |
} | |
.col-md-4 { | |
width: 25% | |
} | |
.col-md-3 { | |
width: 33.3333333% | |
} | |
.col-md-2 { | |
width: 50% | |
} | |
.col-md-1 { | |
width: 100% | |
} | |
.col-md-wide-10 { | |
width: 10% | |
} | |
.col-md-wide-9 { | |
width: 90% | |
} | |
.col-md-wide-8 { | |
width: 80% | |
} | |
.col-md-wide-7 { | |
width: 70% | |
} | |
.col-md-wide-6 { | |
width: 60% | |
} | |
.col-md-wide-5 { | |
width: 50% | |
} | |
.col-md-wide-4 { | |
width: 40% | |
} | |
.col-md-wide-3 { | |
width: 30% | |
} | |
.col-md-wide-2 { | |
width: 20% | |
} | |
.col-md-wide-15 { | |
width: 15% | |
} | |
.col-md-wide-95 { | |
width: 95% | |
} | |
.col-md-wide-85 { | |
width: 85% | |
} | |
.col-md-wide-75 { | |
width: 75% | |
} | |
.col-md-wide-65 { | |
width: 65% | |
} | |
.col-md-wide-55 { | |
width: 55% | |
} | |
.col-md-wide-45 { | |
width: 45% | |
} | |
.col-md-wide-35 { | |
width: 35% | |
} | |
.col-md-wide-25 { | |
width: 25% | |
} | |
} | |
@media (min-width: 1200px) { | |
.col-lg-1, .col-lg-10, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-wide-1, .col-lg-wide-10, .col-lg-wide-15, .col-lg-wide-2, .col-lg-wide-25, .col-lg-wide-3, .col-lg-wide-35, .col-lg-wide-4, .col-lg-wide-45, .col-lg-wide-5, .col-lg-wide-55, .col-lg-wide-6, .col-lg-wide-65, .col-lg-wide-7, .col-lg-wide-75, .col-lg-wide-8, .col-lg-wide-85, .col-lg-wide-9, .col-lg-wide-95 { | |
float: left | |
} | |
.col-lg-10 { | |
width: 10% | |
} | |
.col-lg-9 { | |
width: 11.1111111% | |
} | |
.col-lg-8 { | |
width: 12.5% | |
} | |
.col-lg-7 { | |
width: 14.2857143% | |
} | |
.col-lg-6 { | |
width: 16.6666667% | |
} | |
.col-lg-5 { | |
width: 20% | |
} | |
.col-lg-4 { | |
width: 25% | |
} | |
.col-lg-3 { | |
width: 33.3333333% | |
} | |
.col-lg-2 { | |
width: 50% | |
} | |
.col-lg-1 { | |
width: 100% | |
} | |
.col-lg-wide-10 { | |
width: 10% | |
} | |
.col-lg-wide-9 { | |
width: 90% | |
} | |
.col-lg-wide-8 { | |
width: 80% | |
} | |
.col-lg-wide-7 { | |
width: 70% | |
} | |
.col-lg-wide-6 { | |
width: 60% | |
} | |
.col-lg-wide-5 { | |
width: 50% | |
} | |
.col-lg-wide-4 { | |
width: 40% | |
} | |
.col-lg-wide-3 { | |
width: 30% | |
} | |
.col-lg-wide-2 { | |
width: 20% | |
} | |
.col-lg-wide-15 { | |
width: 15% | |
} | |
.col-lg-wide-95 { | |
width: 95% | |
} | |
.col-lg-wide-85 { | |
width: 85% | |
} | |
.col-lg-wide-75 { | |
width: 75% | |
} | |
.col-lg-wide-65 { | |
width: 65% | |
} | |
.col-lg-wide-55 { | |
width: 55% | |
} | |
.col-lg-wide-45 { | |
width: 45% | |
} | |
.col-lg-wide-35 { | |
width: 35% | |
} | |
.col-lg-wide-25 { | |
width: 25% | |
} | |
} | |
@media (max-width: 767px) { | |
[class*=col-] { | |
padding: 5px | |
} | |
} | |
/* text */ | |
h1 { | |
font-size: 22px; | |
line-height: 28px; | |
} | |
h2 { | |
font-size: 20px; | |
line-height: 26px; | |
} | |
h3 { | |
font-size: 18px; | |
line-height: 24px; | |
} | |
h4 { | |
font-size: 16px; | |
line-height: 22px; | |
} | |
h5 { | |
font-size: 14px; | |
line-height: 20px; | |
} | |
h6 { | |
font-size: 12px; | |
line-height: 18px; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-weight: 400; | |
margin-top: 10px; | |
margin-bottom: 10px | |
} | |
a, button { | |
text-decoration: none; | |
outline: none; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) | |
} | |
a:focus, a:hover, a:active { | |
text-decoration: none; | |
} | |
.icon { | |
font-size: 16px; | |
} | |
.font-14 { | |
font-size: 14px; | |
} | |
.font-12 { | |
font-size: 12px; | |
} | |
.text-center { | |
text-align: center; | |
} | |
.text-left { | |
text-align: left; | |
} | |
.text-right { | |
text-align: right; | |
} | |
.text-overflow { | |
width: 100%; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
/* img */ | |
img { | |
border: 0; | |
vertical-align: middle | |
} | |
.img-circle { | |
border-radius: 50%; | |
} | |
.img-rounded { | |
border-radius: 5px; | |
} | |
.img-thumbnail { | |
padding: 5px; | |
border-radius: 5px; | |
} | |
.img-responsive { | |
display: block; | |
max-width: 100%; | |
height: auto; | |
} | |
/* form */ | |
input { | |
outline: medium none; | |
outline: none; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | |
} | |
.form-control { | |
display: block; | |
width: 100%; | |
height: 30px; | |
padding: 6px 10px; | |
font-size: 12px; | |
line-height: 28px; | |
border-radius: 4px; | |
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | |
} | |
textarea.form-control { | |
height: auto; | |
} | |
/* line */ | |
.split-line { | |
display: inline-block; | |
margin-left: 12px; | |
margin-right: 12px; | |
width: 1px; | |
height: 14px; | |
vertical-align: -2px; | |
} | |
.top-line, .top-line-dot, .bottom-line, .bottom-line-dot { | |
position: relative; | |
} | |
.top-line:before, .top-line-dot:before { | |
content: " "; | |
position: absolute; | |
left: 0; | |
top: 0; | |
right: 0; | |
width: 100%; | |
height: 1px; | |
} | |
.bottom-line:after, .bottom-line-dot:before { | |
content: " "; | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
right: 0; | |
width: 100%; | |
height: 1px; | |
} | |
/* badge */ | |
.badge { | |
display: inline-block; | |
margin-right: 10px; | |
width: 18px; | |
height: 18px; | |
text-align: center; | |
line-height: 18px; | |
border-radius: 2px; | |
font-size: 12px; | |
} | |
.badge-radius { | |
border-radius: 50%; | |
} | |
/* btn */ | |
.btn { | |
display: inline-block; | |
padding: 5px 25px; | |
font-size: 12px; | |
border-radius: 4px; | |
} | |
.btn .icon { | |
font-size: 12px; | |
} | |
.btn-lg { | |
padding: 8px 30px; | |
} | |
.btn-block { | |
display: block; | |
} | |
.btn.disabled { | |
cursor: not-allowed; | |
} | |
/* tag */ | |
.tag { | |
padding-left: 10px; | |
} | |
.tag li { | |
float: left; | |
} | |
.tag-btn, .tag-type { | |
padding-top: 10px; | |
padding-left: 10px; | |
} | |
.tag-btn li, .tag-type li { | |
padding: 0 10px 10px 0; | |
} | |
.tag-btn li a, .tag-type li a { | |
display: block; | |
padding: 0 10px; | |
height: 28px; | |
line-height: 28px; | |
text-align: center; | |
font-size: 12px; | |
border-radius: 2px; | |
} | |
.tag-btn.active li a, .tag-type.active li a { | |
border-radius: 14px; | |
} | |
.tag-text li { | |
padding-right: 10px; | |
padding-bottom: 10px; | |
} | |
/* nav */ | |
.nav { | |
height: 30px; | |
} | |
.nav > li { | |
float: left; | |
} | |
.nav-head > li { | |
margin-top: 5px; | |
margin-right: 30px; | |
} | |
.nav-head > li > a { | |
padding-bottom: 12px; | |
font-size: 16px; | |
} | |
.nav-tabs > li { | |
margin-left: 30px; | |
} | |
.nav-tabs > li > a { | |
display: inline-block; | |
padding: 8px 0 10px; | |
} | |
.nav-tag > li { | |
margin-left: 10px; | |
} | |
.nav-tag > li > a { | |
display: inline-block; | |
padding: 0 10px; | |
height: 25px; | |
line-height: 23px; | |
font-size: 12px; | |
border-radius: 20px; | |
} | |
.nav-text > li { | |
line-height: 30px; | |
} | |
.nav-text > li.active > a { | |
color: #f80; | |
} | |
.nav-page { | |
margin-left: 10px; | |
} | |
.nav-page > li { | |
margin-left: 5px; | |
} | |
.nav-page > li > a { | |
display: inline-block; | |
font-size: 12px; | |
padding: 0 6px; | |
height: 25px; | |
line-height: 23px; | |
} | |
.nav-page > li > a > .icon { | |
font-size: 12px; | |
} | |
.nav-page > li:first-child { | |
margin-left: 0; | |
} | |
.nav-page > li:first-child > a { | |
border-radius: 4px 0 0 4px; | |
} | |
.nav-page > li:last-child > a { | |
border-radius: 0 4px 4px 0; | |
} | |
/* pic-tag */ | |
.pic-tag { | |
position: absolute; | |
z-index: 99; | |
padding: 2px 5px; | |
font-size: 12px; | |
border-radius: 2px; | |
} | |
.pic-tag-t { | |
top: 5px; | |
left: 5px; | |
} | |
.pic-tag-l { | |
bottom: 5px; | |
left: 5px; | |
} | |
.pic-tag-b { | |
bottom: 5px; | |
right: 5px; | |
} | |
.pic-tag-r { | |
top: 5px; | |
right: 5px; | |
} | |
.pic-tag-h { | |
left: 0; | |
top: 0; | |
padding: 2px 8px; | |
border-radius: 0 0 8px 0; | |
} | |
.pic-tag-lg { | |
padding: 4px 10px; | |
} | |
.pic-text { | |
display: block; | |
width: 100%; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
padding: 5px 10px; | |
font-size: 12px; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
.pic-text-silde { | |
padding-bottom: 20px; | |
font-size: 14px; | |
} | |
.pic-text-lg { | |
padding: 8px 20px; | |
font-size: 14px; | |
} | |
.pic-title-t { | |
display: block; | |
width: 100%; | |
position: absolute; | |
top: 0; | |
left: 0; | |
padding: 5px 10px 10px; | |
font-size: 12px; | |
word-break: break-all; | |
display: -webkit-box; | |
-webkit-line-clamp: 2; | |
-webkit-box-orient: vertical; | |
overflow: hidden; | |
} | |
.pic-title-b { | |
display: block; | |
width: 100%; | |
position: absolute; | |
bottom: 0; | |
left: 0; | |
padding: 5px 10px; | |
font-size: 12px; | |
word-break: break-all; | |
display: -webkit-box; | |
-webkit-line-clamp: 2; | |
-webkit-box-orient: vertical; | |
overflow: hidden; | |
} | |
/* pannel */ | |
.stui-pannel { | |
position: relative; | |
margin-bottom: 20px; | |
} | |
.stui-pannel.stui-pannel-x { | |
margin: -10px -10px 10px; | |
} | |
.stui-pannel-bg { | |
border-radius: 2px; | |
} | |
.stui-pannel-side { | |
padding: 0 0 0 20px; | |
} | |
.stui-pannel-box { | |
padding: 10px; | |
} | |
.stui-pannel-box.active { | |
padding: 0; | |
margin: -10px; | |
} | |
.stui-pannel_hd { | |
padding: 10px; | |
} | |
/* pannel-head */ | |
.stui-pannel__head { | |
position: relative; | |
height: 30px; | |
} | |
.stui-pannel__head.active { | |
height: 40px; | |
} | |
.stui-pannel__head .title { | |
float: left; | |
margin: 0; | |
padding-right: 10px; | |
line-height: 24px; | |
} | |
.stui-pannel__head .title img { | |
display: inline-block; | |
width: 24px; | |
height: 24px; | |
margin-right: 10px; | |
vertical-align: -5px; | |
} | |
.stui-pannel__head .more { | |
line-height: 30px; | |
} | |
/* tabbar */ | |
.stui_nav__taddar .item { | |
display: block; | |
text-align: center; | |
} | |
.stui_nav__taddar .item .icon { | |
display: block; | |
text-align: center; | |
font-size: 20px; | |
line-height: 20px; | |
} | |
.stui_nav__taddar .item .icon-img { | |
display: inline-block; | |
width: 24px; | |
height: 24px; | |
} | |
.stui_nav__taddar .item .title { | |
display: block; | |
margin-top: 3px; | |
font-size: 12px;; | |
} | |
.stui_nav__taddar.fixed { | |
position: fixed; | |
bottom: 0; | |
width: 100%; | |
padding: 5px 0 0; | |
} | |
/* vod-list */ | |
.stui-vodlist__thumb { | |
display: block; | |
position: relative; | |
padding-top: 150%; | |
background-position: 50% 50%; | |
background-size: cover; | |
} | |
.stui-vodlist__thumb.square { | |
padding-top: 100%; | |
background-position: 50% 50%; | |
background-size: cover; | |
} | |
.stui-vodlist__thumb.active { | |
padding-top: 60%; | |
background: url(../img/load_w.gif) no-repeat; | |
background-position: 50% 50%; | |
background-size: cover; | |
} | |
.stui-vodlist__thumb.picture { | |
background: none; | |
overflow: hidden; | |
} | |
.stui-vodlist__thumb.picture img { | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
.stui-vodlist__thumb .play { | |
display: none; | |
position: absolute; | |
top: 0; | |
z-index: 1; | |
width: 100%; | |
height: 100%; | |
background: rgba(0, 0, 0, 0.1) url(../img/play.png) center no-repeat; | |
} | |
.stui-vodlist__thumb .play.active { | |
display: block; | |
} | |
.stui-vodlist__thumb:hover .play { | |
display: block; | |
} | |
.stui-vodlist__detail.active { | |
padding: 0 10px 10px; | |
} | |
.stui-vodlist__detail .title { | |
font-size: 14px; | |
margin-bottom: 0; | |
} | |
.stui-vodlist__detail .title.active { | |
font-size: 16px; | |
margin-bottom: 10px; | |
} | |
.stui-vodlist__detail .text { | |
min-height: 19px; | |
font-size: 12px; | |
margin-bottom: 0; | |
margin-top: 5px; | |
} | |
.stui-vodlist__detail .text-title { | |
font-size: 14px; | |
line-height: 18px; | |
margin: 11px 0 0; | |
height: 36px; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
display: -webkit-box; | |
-webkit-box-orient: vertical; | |
-webkit-line-clamp: 2; | |
} | |
/* text-list */ | |
.stui-vodlist__text li a { | |
display: block; | |
padding: 10px 15px 10px 0; | |
} | |
.stui-vodlist__text.active li a { | |
padding: 10px 0 10px; | |
} | |
.stui-vodlist__text.active li:first-child a { | |
padding-top: 0; | |
} | |
.stui-vodlist__text.striped li { | |
padding: 10px 0 10px; | |
} | |
.stui-vodlist__text.striped li a { | |
display: inline-block; | |
padding: 0; | |
} | |
.stui-vodlist__text.striped .striped-head { | |
padding: 10px; | |
border-radius: 5px; | |
} | |
.stui-vodlist__text.to-color li { | |
padding: 10px; | |
} | |
.stui-vodlist__text.to-color li a { | |
padding: 0; | |
} | |
.stui-vodlist__text.downlist { | |
padding-top: 0; | |
} | |
.stui-vodlist__text.downlist li { | |
padding: 10px 0; | |
} | |
.stui-vodlist__text.downlist li .text { | |
line-height: 30px; | |
} | |
.stui-vodlist__text.downlist li a { | |
display: inline-block; | |
padding: 0; | |
} | |
.stui-vodlist__text.downlist li a.btn { | |
padding: 4px 12px; | |
margin-left: 10px; | |
} | |
/* media-list */ | |
.stui-vodlist__media li { | |
padding: 10px 0 10px; | |
} | |
.stui-vodlist__media.active li:first-child { | |
padding-top: 0; | |
} | |
.stui-vodlist__media.active li:last-child { | |
padding-bottom: 0; | |
} | |
.stui-vodlist__media li .thumb, .stui-vodlist__media .detail { | |
display: table-cell; | |
vertical-align: top; | |
} | |
.stui-vodlist__media li .thumb .w-thumb { | |
width: 190px; | |
} | |
.stui-vodlist__media li .thumb .v-thumb { | |
width: 120px; | |
} | |
.stui-vodlist__media li .thumb .f-thumb { | |
width: 120px; | |
} | |
.stui-vodlist__media li .thumb .m-thumb { | |
width: 65px; | |
} | |
.stui-vodlist__media li .detail { | |
width: 100%; | |
padding: 0 20px 0; | |
} | |
.stui-vodlist__media li .detail-side { | |
padding: 0 10px 0; | |
} | |
.stui-vodlist__media li .detail-left { | |
padding: 0 20px 0 0; | |
} | |
.stui-vodlist__media li .detail .title { | |
margin: 10px 0 10px; | |
} | |
/* screen-list */ | |
.stui-vodlist__screen { | |
padding: 10px 0 5px; | |
} | |
.stui-vodlist__screen:first-child { | |
padding-top: 0; | |
} | |
.stui-vodlist__screen:last-child { | |
padding-bottom: 0; | |
} | |
.stui-vodlist__screen li { | |
float: left; | |
width: 25%; | |
margin-bottom: 5px; | |
} | |
/* rank-list */ | |
.stui-vodlist__rank li { | |
margin-bottom: 10px; | |
} | |
.stui-vodlist__rank li:last-child { | |
margin-bottom: 0; | |
} | |
/* link-list */ | |
.stui-link__text li { | |
float: left; | |
margin-right: 15px; | |
margin-bottom: 10px; | |
} | |
.stui-link__pic li a { | |
display: block; | |
padding: 10px 20px; | |
border-radius: 4px; | |
} | |
.stui-link__pic li a img { | |
max-width: 100%; | |
} | |
/* play-list */ | |
.stui-content__playlist { | |
position: relative; | |
} | |
.stui-content__playlist.overflow { | |
max-height: 300px; | |
overflow-y: scroll; | |
} | |
.stui-content__playlist li { | |
float: left; | |
margin-bottom: 10px; | |
margin-right: 10px | |
} | |
.stui-content__playlist li a { | |
display: inline-block; | |
padding: 5px 20px; | |
border-radius: 5px | |
} | |
.stui-content__playlist.full li { | |
float: none; | |
width: 100%; | |
margin-right: 0; | |
} | |
.stui-content__playlist.column3 li { | |
width: 33.3333333%; | |
padding: 0 5px; | |
margin-right: 0; | |
} | |
.stui-content__playlist.column6 li { | |
width: 16.6666667%; | |
padding: 0 5px; | |
margin-right: 0; | |
} | |
.stui-content__playlist.column10 li { | |
width: 10%; | |
padding: 0 5px; | |
margin-right: 0; | |
} | |
.stui-content__playlist.full li, .stui-content__playlist.column3 li, .stui-content__playlist.column6 li, .stui-content__playlist.column10 li { | |
} | |
.stui-content__playlist.full li a, .stui-content__playlist.column3 li a, .stui-content__playlist.column6 li a, .stui-content__playlist.column10 li a { | |
display: block; | |
text-align: center; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; | |
white-space: nowrap; | |
} | |
/* flickity */ | |
.flickity-enabled { | |
position: relative; | |
} | |
.flickity-enabled:focus { | |
outline: 0 | |
} | |
.flickity-viewport { | |
overflow: hidden; | |
position: relative; | |
cursor: -webkit-grab; | |
cursor: grab | |
} | |
.flickity-viewport.is-pointer-down { | |
cursor: -webkit-grabbing; | |
cursor: grabbing | |
} | |
.flickity-prev-next-button { | |
position: absolute; | |
top: 50%; | |
width: 30px; | |
height: 60px; | |
border: none; | |
background-color: rgba(0, 0, 0, .6); | |
cursor: pointer; | |
-webkit-transform: translateY(-50%); | |
-ms-transform: translateY(-50%); | |
transform: translateY(-50%) | |
} | |
.flickity-prev-next-button.previous { | |
left: 10px; | |
border-radius: 0 10px 10px 0 | |
} | |
.flickity-prev-next-button.next { | |
right: 10px; | |
border-radius: 10px 0 0 10px | |
} | |
.flickity-prev-next-button:disabled { | |
opacity: 0; | |
cursor: auto | |
} | |
.flickity-prev-next-button svg { | |
position: absolute; | |
left: 20%; | |
top: 20%; | |
width: 60%; | |
height: 60% | |
} | |
.flickity-prev-next-button .arrow { | |
fill: #fff | |
} | |
.flickity-prev-next-button.no-svg { | |
color: #fff; | |
font-size: 18px | |
} | |
.flickity-page-dots { | |
position: absolute; | |
width: 100%; | |
bottom: 20px; | |
left: 0; | |
padding: 0; | |
margin: 0; | |
list-style: none; | |
text-align: center; | |
line-height: 1 | |
} | |
.flickity-page-dots .dot { | |
display: inline-block; | |
width: 15px; | |
height: 3px; | |
margin: 0 5px; | |
background: #f80; | |
opacity: .25; | |
cursor: pointer | |
} | |
.flickity-page-dots .dot.is-selected { | |
opacity: 1 | |
} | |
.flickity-page { | |
padding-bottom: 15px; | |
overflow: hidden; | |
} | |
.flickity-page .flickity-page-dots { | |
bottom: 5px; | |
} | |
/* carousel */ | |
.carousel { | |
position: relative; | |
} | |
.carousel .list { | |
padding: 0; | |
margin-right: 20px; | |
} | |
.carousel .wide { | |
width: 100%; | |
} | |
.carousel_center { | |
padding-bottom: 20px; | |
} | |
.carousel_center .list a { | |
position: relative; | |
} | |
.carousel_center .list a:before { | |
content: ""; | |
position: absolute; | |
z-index: 1; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background-color: rgba(0, 0, 0, .6); | |
} | |
.carousel_center .list.is-selected a:before { | |
display: none; | |
} | |
/* popup */ | |
.popup { | |
position: fixed; | |
right: -100%; | |
top: 0; | |
z-index: 1001; | |
width: 100%; | |
height: 100%; | |
overflow-y: scroll; | |
-webkit-overflow-scrolling: touch; | |
-webkit-transition: .5s; | |
-o-transition: .5s; | |
-moz-transition: .5s; | |
-ms-transition: .5s; | |
transition: .5s; | |
} | |
.popup-visible { | |
right: 0; | |
} | |
.popup-head { | |
padding: 15px 10px; | |
margin-bottom: 10px; | |
} | |
.popup-head .title { | |
display: inline-block; | |
margin: 0; | |
} | |
.popup-head .icon { | |
font-size: 20px; | |
} | |
/* embed */ | |
.embed-responsive { | |
position: relative; | |
display: block; | |
overflow: hidden; | |
padding: 0; | |
height: 0 | |
} | |
.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
border: 0 | |
} | |
.embed-responsive-16by9 { | |
padding-bottom: 56.25% | |
} | |
.embed-responsive-4by3 { | |
padding-bottom: 75% | |
} | |
/* autocomplete */ | |
.autocomplete-suggestions { | |
padding: 0 10px; | |
margin-top: 5px; | |
border-radius: 4px; | |
} | |
.autocomplete-suggestions.active { | |
position: absolute; | |
z-index: 9999; | |
top: 100%; | |
width: 100%; | |
} | |
.autocomplete-suggestion { | |
padding: 10px 0; | |
cursor: pointer | |
} | |
.autocomplete-suggestion:first-child { | |
border-top: 0 | |
} | |
/* bootstrap.js */ | |
.fade { | |
opacity: 0; | |
-webkit-transition: opacity .15s linear; | |
-o-transition: opacity .15s linear; | |
transition: opacity .15s linear; | |
} | |
.fade.in { | |
opacity: 1; | |
} | |
.tab-content > .tab-pane, .carousel-inner > .item { | |
display: none; | |
} | |
.tab-content > .tab-pane.active, .carousel-inner > .item.active { | |
display: block; | |
} | |
.dropdown { | |
position: relative; | |
} | |
.dropdown-menu { | |
display: none; | |
position: absolute; | |
top: 100%; | |
left: -80%; | |
z-index: 1000; | |
padding: 10px 0; | |
border-radius: 2px; | |
} | |
.dropdown-menu:before { | |
content: " "; | |
width: 10px; | |
height: 10px; | |
-webkit-transform: rotate(-45deg); | |
-ms-transform: rotate(-45deg); | |
transform: rotate(-45deg); | |
border-width: 1px 1px 0 0; | |
position: absolute; | |
top: -6px; | |
right: 20px; | |
border-style: solid; | |
} | |
.dropdown-menu > li > a { | |
display: block; | |
padding: 6px 20px; | |
text-align: center; | |
} | |
.open > .dropdown-menu { | |
display: block; | |
} | |
/* mobile-share */ | |
.mobile-share { | |
position: fixed; | |
z-index: 999; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
animation: fade-in; | |
animation-duration: .5s; | |
-webkit-animation: fade-in .5s; | |
} | |
.share-weixin { | |
background: url(../img/share_weixin.png) rgba(0, 0, 0, .8) no-repeat; | |
background-position: right top 10px; | |
background-size: 80%; | |
} | |
.share-other { | |
background: url(../img/share_other.png) rgba(0, 0, 0, .8) no-repeat; | |
background-position: center bottom 10px; | |
background-size: 80%; | |
} | |
/* more */ | |
.relative { | |
position: relative; | |
} | |
.top-fixed-up { | |
margin-top: 0 !important; | |
} | |
.bottom-fixed-up { | |
margin-bottom: 0 !important; | |
} | |
.top-fixed, .bottom-fixed { | |
-webkit-transition: .5s; | |
-o-transition: .5s; | |
-moz-transition: .5s; | |
-ms-transition: .5s; | |
transition: .5s; | |
} | |
.pull-left { | |
float: left !important; | |
} | |
.pull-right { | |
float: right !important; | |
} | |
.margin-0 { | |
margin: 0 !important; | |
} | |
.padding-0 { | |
padding: 0 !important; | |
} | |
.margin-t0 { | |
margin: 0 !important; | |
} | |
.padding-t0 { | |
padding: 0 !important; | |
} | |
.margin-b0 { | |
margin: 0 !important; | |
} | |
.padding-b0 { | |
padding: 0 !important; | |
} | |
.block { | |
display: block !important; | |
} | |
.inline-block { | |
display: inline-block !important; | |
} | |
.hide, .visible-lg, .visible-md, .visible-sm, .visible-xs, .visible-mi { | |
display: none !important; | |
} | |
.mask { | |
position: fixed; | |
top: 0; | |
left: 0; | |
bottom: 0; | |
z-index: 999; | |
width: 100%; | |
height: 100%; | |
background: rgba(0, 0, 0, 0.2); | |
animation: fade-in; | |
animation-duration: .5s; | |
-webkit-animation: fade-in .5s; | |
} | |
@keyframes fade-in { | |
0% { | |
opacity: 0; | |
} | |
40% { | |
opacity: 0; | |
} | |
100% { | |
opacity: 1; | |
} | |
} | |
@-webkit-keyframes fade-in { | |
0% { | |
opacity: 0; | |
} | |
40% { | |
opacity: 0; | |
} | |
100% { | |
opacity: 1; | |
} | |
} | |
@media (min-width: 1200px) { | |
.visible-lg { | |
display: block !important; | |
} | |
.hidden-lg { | |
display: none !important; | |
} | |
} | |
@media (max-width: 1199px) and (min-width: 992px) { | |
.visible-md { | |
display: block !important; | |
} | |
.hidden-md { | |
display: none !important; | |
} | |
} | |
@media (max-width: 991px) and (min-width: 768px) { | |
.visible-sm { | |
display: block !important; | |
} | |
.hidden-sm { | |
display: none !important; | |
} | |
} | |
@media (max-width: 991px) { | |
.stui-pannel-side { | |
padding: 0; | |
} | |
/* vod-list */ | |
.stui-vodlist__detail .title.active { | |
font-size: 14px; | |
margin-bottom: 0; | |
} | |
/* media-list */ | |
.stui-vodlist__media li .thumb .v-thumb { | |
width: 90px; | |
} | |
.stui-vodlist__media li .thumb .w-thumb { | |
width: 130px; | |
} | |
.stui-vodlist__media li .thumb .f-thumb { | |
width: 70px; | |
} | |
/* play-list */ | |
.stui-content__playlist.column3 li { | |
width: 50%; | |
} | |
.stui-content__playlist.column6 li { | |
width: 25%; | |
} | |
.stui-content__playlist.column10 li { | |
width: 20%; | |
} | |
} | |
@media (max-width: 767px) { | |
.visible-xs { | |
display: block !important; | |
} | |
.hidden-xs { | |
display: none !important; | |
} | |
/* all */ | |
body { | |
font-size: 12px; | |
} | |
/* text */ | |
h1 { | |
font-size: 20px; | |
line-height: 24px; | |
} | |
h2 { | |
font-size: 18px; | |
line-height: 22px; | |
} | |
h3 { | |
font-size: 16px; | |
line-height: 20px; | |
} | |
h4 { | |
font-size: 14px; | |
line-height: 18px; | |
} | |
h5 { | |
font-size: 12px; | |
line-height: 16px; | |
} | |
h6 { | |
font-size: 10px; | |
line-height: 14px; | |
} | |
/* btn */ | |
.btn { | |
padding: 5px 15px; | |
} | |
/*nav*/ | |
.nav { | |
height: 20px; | |
} | |
.nav-head > li { | |
margin-top: 2px; | |
margin-right: 20px; | |
} | |
.nav-head > li > a { | |
padding-bottom: 10px; | |
font-size: 14px; | |
} | |
.nav-tabs > li { | |
margin-left: 20px; | |
} | |
.nav-tabs > li > a { | |
padding: 6px 0 6px; | |
} | |
.nav-page > li > a { | |
padding: 0 3px; | |
height: 20px; | |
line-height: 18px; | |
} | |
/* line */ | |
.top-line:before, .top-line-dot:before { | |
-webkit-transform-origin: 0 0; | |
transform-origin: 0 0; | |
-webkit-transform: scaleY(0.5); | |
transform: scaleY(0.5); | |
} | |
.bottom-line:after, .bottom-line-dot:before { | |
-webkit-transform-origin: 0 100%; | |
transform-origin: 0 100%; | |
-webkit-transform: scaleY(0.5); | |
transform: scaleY(0.5); | |
} | |
.m-top-line, .m-top-line-dot, .m-bottom-line, .m-bottom-line-dot { | |
position: relative; | |
} | |
.m-top-line:before, .m-top-line-dot:before { | |
content: " "; | |
position: absolute; | |
left: 0; | |
top: 0; | |
right: 0; | |
width: 100%; | |
height: 1px; | |
-webkit-transform-origin: 0 0; | |
transform-origin: 0 0; | |
-webkit-transform: scaleY(0.5); | |
transform: scaleY(0.5); | |
} | |
.m-bottom-line:after, .m-bottom-line-dot:before { | |
content: " "; | |
position: absolute; | |
left: 0; | |
bottom: 0; | |
right: 0; | |
width: 100%; | |
height: 1px; | |
-webkit-transform-origin: 0 100%; | |
transform-origin: 0 100%; | |
-webkit-transform: scaleY(0.5); | |
transform: scaleY(0.5); | |
} | |
/* pannel */ | |
.stui-pannel { | |
margin-bottom: 10px; | |
} | |
.stui-pannel.stui-pannel-x { | |
margin: 0 0 5px; | |
} | |
.stui-pannel-bg { | |
border-radius: 0; | |
} | |
.stui-pannel-box { | |
padding: 10px 5px; | |
} | |
.stui-pannel-box.active { | |
margin: 5px; | |
} | |
.stui-pannel_hd { | |
padding: 5px; | |
} | |
/* pannel-head */ | |
.stui-pannel__head { | |
height: 20px; | |
} | |
.stui-pannel__head.active { | |
height: 30px; | |
} | |
.stui-pannel__head .title, .stui-pannel__head .title a { | |
font-size: 18px; | |
} | |
.stui-pannel__head .title img { | |
width: 18px; | |
height: 18px; | |
margin-right: 5px; | |
vertical-align: -2px; | |
} | |
.stui-pannel__head .more { | |
line-height: 20px; | |
} | |
/* vod-list */ | |
.stui-vodlist__thumb .tag { | |
padding: 0 5px; | |
} | |
.stui-vodlist__thumb .silde-title { | |
font-size: 12px; | |
} | |
.stui-vodlist__detail .title, .stui-vodlist__detail .title.active { | |
margin-bottom: 0; | |
font-size: 12px; | |
} | |
/* media-list */ | |
.stui-vodlist__media li .thumb .v-thumb { | |
width: 80px; | |
} | |
.stui-vodlist__media li .thumb .w-thumb { | |
width: 130px; | |
} | |
.stui-vodlist__media li .thumb .f-thumb { | |
width: 70px; | |
} | |
.stui-vodlist__media li .detail { | |
padding-left: 10px; | |
} | |
.stui-vodlist__media li .detail.active { | |
padding-left: 0; | |
padding-right: 10px; | |
} | |
/* text-list */ | |
.stui-vodlist__text li a { | |
padding: 10px 0; | |
} | |
.stui-vodlist__text.downlist li { | |
padding: 5px 0 0; | |
} | |
/* play-list */ | |
.stui-content__playlist.column3 li { | |
float: none; | |
width: 100%; | |
} | |
.stui-content__playlist.column6 li, .stui-content__playlist.column10 li { | |
width: 33.3333333%; | |
} | |
/* carousel */ | |
.carousel .list { | |
margin-right: 10px; | |
} | |
/* flickity */ | |
.flickity-prev-next-button { | |
display: none; | |
} | |
.flickity-prev-next-button.previous { | |
left: 5px; | |
border-radius: 0 5px 5px 0 | |
} | |
.flickity-prev-next-button.next { | |
right: 5px; | |
border-radius: 5px 0 0 5px | |
} | |
} | |
@media (max-width: 374px) { | |
.visible-mi { | |
display: block !important; | |
} | |
.hidden-mi { | |
display: none !important; | |
} | |
/* media-list */ | |
.stui-vodlist__media li .thumb .v-thumb { | |
width: 60px; | |
} | |
.stui-vodlist__media li .thumb .w-thumb { | |
width: 100px; | |
} | |
.stui-vodlist__media li .thumb .f-thumb { | |
width: 50px; | |
} | |
.stui-vodlist__media li .detail { | |
padding-left: 10px; | |
} | |
} | |
/*ZLOE添加*/ | |
.containers { | |
padding: 1.25rem 0; | |
width: 100%; | |
background-color: black; | |
} |
/*! | |
* Edition v2.0 Copyright 2016-2018 | |
*/ | |
@charset "utf-8"; | |
/* all */ | |
body { | |
background: #F8F8F8; | |
color: #666; | |
} | |
/* text */ | |
a, h1, h2, h3, h4, h5, h6 { | |
color: #333333; | |
} | |
a:hover { | |
color: #FF9900; | |
} | |
.text-red { | |
color: red; | |
} | |
.text-muted { | |
color: black; | |
} | |
/* form */ | |
.form-control { | |
background-color: #F5F5F5; | |
color: #999999; | |
border: 1px solid #EEEEEE; | |
} | |
.form-control.colorfff { | |
background-color: #FFFFFF; | |
} | |
.form-control:focus { | |
border-color: #FF9900; | |
-webkit-box-shadow: inset 0 1px 1px rgba(255, 136, 0, .075), 0 0 8px rgba(255, 136, 0, .6); | |
} | |
/* btn */ | |
.btn, .btn:hover, .btn .icon { | |
color: #333333; | |
} | |
.btn { | |
border: 1px solid #EEEEEE; | |
} | |
.btn-default { | |
background-color: #f5f5f5; | |
color: #333333; | |
} | |
.btn-default:hover { | |
background-color: #f0eeee; | |
} | |
.btn-primary { | |
background-color: #FF9900; | |
border: 1px solid #FF9900; | |
color: #FFFFFF; | |
} | |
.btn-primary .icon { | |
color: #FFFFFF; | |
} | |
.btn-primary:hover { | |
background-color: #FF6600; | |
border: 1px solid #FF6600; | |
color: #FFFFFF; | |
} | |
.btn-primary:hover .icon { | |
color: #FFFFFF; | |
} | |
/* dropdown */ | |
.dropdown-menu { | |
background-color: #FFFFFF; | |
border: 1px solid #EEEEEE; | |
} | |
.dropdown-menu:before { | |
background-color: #FFFFFF; | |
border-color: #EEEEEE; | |
} | |
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
/* line */ | |
.split-line { | |
background-color: #EEEEEE; | |
} | |
.top-line:before { | |
border-top: 1px solid #EEEEEE; | |
} | |
.bottom-line:after { | |
border-bottom: 1px solid #EEEEEE; | |
} | |
.top-line-dot:before { | |
border-top: 1px dotted #EEEEEE; | |
} | |
.bottom-line-dot:before { | |
border-bottom: 1px dotted #EEEEEE; | |
} | |
/* badge */ | |
.badge { | |
background-color: #EEEEEE; | |
} | |
.badge-first { | |
background-color: #FF4A4A; | |
color: #FFFFFF; | |
} | |
.badge-second { | |
background-color: #FF7701; | |
color: #FFFFFF; | |
} | |
.badge-third { | |
background-color: #FFB400; | |
color: #FFFFFF; | |
} | |
/* nav */ | |
.nav-head > li.active > a, .nav-tabs > li.active > a { | |
border-bottom: 2px solid #FF9900; | |
color: #FF9900; | |
} | |
.nav-tag > li > a, .nav-page > li > a { | |
background-color: #FFFFFF; | |
border: 1px solid #EEEEEE; | |
color: #333333; | |
} | |
.nav-tag > li > a:hover, .nav-tag > li.active a, .nav-page > li > a:hover, .nav-page > li.active > a { | |
background-color: #FF9900; | |
border: 1px solid #FF9900; | |
color: #FFFFFF; | |
} | |
.nav-page > li > a:hover > .icon { | |
color: #fff; | |
} | |
/* tag */ | |
.tag-btn li a { | |
background-color: #F8F8F8; | |
color: #999999; | |
} | |
.tag-btn li a:hover, .tag li.active a { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
.tag-type li a { | |
background-color: #FFFFFF; | |
border: 1px solid #EEEEEE; | |
color: #999999; | |
} | |
.tag-type li a:hover, .tag-type li.active a { | |
background-color: #FF9900; | |
border: 1px solid #FF9900; | |
color: #FFFFFF; | |
} | |
.tag-btn li a.active, .tag-text li a.active, .tag-type li a.active { | |
color: #FF9900; | |
} | |
/* pic-tag */ | |
.pic-tag { | |
background-color: rgba(0, 0, 0, 0.6); | |
color: #FFFFFF; | |
} | |
.pic-tag.active, .pic-tag-h { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
.pic-text { | |
background-repeat: no-repeat; | |
background-image: linear-gradient(transparent, rgba(0, 0, 0, .5)); | |
color: #FFFFFF; | |
} | |
.pic-text.active { | |
background: rgba(0, 0, 0, 0.6); | |
color: #FFFFFF; | |
} | |
/* pannel */ | |
.stui-pannel-bg { | |
background-color: #FFFFFF; | |
box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | |
} | |
/* vodlist */ | |
.stui-vodlist__bg { | |
background-color: #FFFFFF; | |
box-shadow: 0 1px 2px rgba(0, 0, 0, .05); | |
} | |
.stui-vodlist__bg:hover { | |
box-shadow: 0 3px 5px rgba(0, 0, 0, .08); | |
} | |
/* link */ | |
.stui-link__pic li a { | |
background-color: #FFFFFF; | |
border: 1px solid #F5F5F5; | |
} | |
.stui-link__pic li a:hover { | |
border: 1px solid #FF9900; | |
} | |
/* popup */ | |
.popup { | |
background-color: #F8F8F8; | |
} | |
.popup-head { | |
background-color: #FFFFFF; | |
} | |
/* autocomplete */ | |
.autocomplete-suggestions { | |
background-color: #FFFFFF; | |
border: 1px solid #EEEEEE; | |
box-shadow: 0 2px 10px rgba(0, 0, 0, .05); | |
} | |
.autocomplete-suggestion { | |
border-top: 1px solid #EEEEEE; | |
} | |
@media (max-width: 767px) { | |
/* form */ | |
.form-control { | |
background-color: #F8F8F8; | |
color: #999999; | |
border: 0; | |
} | |
/*pannel*/ | |
.stui-pannel-bg, .stui-vodlist__bg, .stui-vodlist__bg:hover { | |
box-shadow: none; | |
} | |
/* line */ | |
.m-top-line:before { | |
border-top: 1px solid #EEEEEE; | |
} | |
.m-bottom-line:after { | |
border-bottom: 1px solid #EEEEEE; | |
} | |
.m-top-line-dot:before { | |
border-top: 1px dotted #EEEEEE; | |
} | |
.m-bottom-line-dot:before { | |
border-bottom: 1px dotted #EEEEEE; | |
} | |
} | |
/* ----------------------------↑ stui http://www.baidu.com ↑----------------------------- */ | |
/* header */ | |
.stui-header__top { | |
background-color: black; | |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); | |
} | |
/* header-menu */ | |
.stui-header__menu li a { | |
color: white; | |
} | |
.stui-header__menu li.active a { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
/* header-search */ | |
.stui-header__search .submit .icon { | |
color: #999999; | |
} | |
/* header-user */ | |
.stui-header__user li a, .stui-header__user li a .icon { | |
color: #333333; | |
} | |
/* screen */ | |
.stui-screen__list li a { | |
color: #333333; | |
} | |
.stui-screen__list li.active a { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
/* playlist */ | |
.stui-content__playlist li a { | |
border: 1px solid #EEEEEE; | |
} | |
.stui-content__playlist li a:hover, .stui-content__playlist li.active a { | |
border: 1px solid #FF9900; | |
background-color: #FF9900; | |
color: #FFFFFF; | |
} | |
/* player */ | |
.stui-player__video { | |
background-color: #000000; | |
} | |
/* page */ | |
.stui-page li a, .stui-page li .num { | |
background-color: #FFFFFF; | |
border: 1px solid #EEEEEE; | |
} | |
.stui-page li a:hover, .stui-page li.active a, .stui-page li.active .num, .stui-page li.disabled a { | |
background-color: #FF9900; | |
color: #FFFFFF; | |
border: 1px solid #FF9900; | |
} | |
/* extra */ | |
.stui-extra li a, .stui-extra li span { | |
background-color: #FFFFFF; | |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); | |
} | |
.stui-extra li a.backtop { | |
background-color: rgba(0, 0, 0, 0.6); | |
color: #FFFFFF; | |
} | |
.stui-extra li .sideslip { | |
background-color: #FFFFFF; | |
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); | |
} | |
.stui-extra li .sideslip:before { | |
background-color: #FFFFFF; | |
border-color: rgba(0, 0, 0, 0.1); | |
} | |
@media (max-width: 1024px) { | |
/* header-menu */ | |
.stui-header__menu:before { | |
border-top: 1px solid #EEEEEE; | |
} | |
.stui-header__menu li.active a { | |
background: none; | |
color: #333333; | |
} | |
.stui-header__menu li.active a:before { | |
background-color: #FF9900; | |
} | |
} | |
@media (max-width: 767px) { | |
/* screen */ | |
.stui-screen__list li.active a { | |
background: none; | |
color: #FF9900; | |
} | |
} | |
/* ----------------------------↓ 你可以在下面覆盖或新增css样式 ↓----------------------------- */ | |
.container{ | |
/*background-color: black;*/ | |
color: white; | |
} |
/*! | |
* Edition v2.0 Copyright 2016-2018 | |
*/ | |
@charset "utf-8"; | |
/* all */ | |
body { | |
padding-top: 100px | |
} | |
/* header */ | |
.stui-header__top { | |
position: fixed; | |
top: 0; | |
z-index: 999; | |
width: 100%; | |
min-height: 80px | |
} | |
.top-fixed-down { | |
margin-top: -80px | |
} | |
.stui-header__side { | |
float: right | |
} | |
/* header-logo */ | |
.stui-header__logo, .stui-header__menu { | |
float: left | |
} | |
.stui-header__logo { | |
margin-top: 15px | |
} | |
/*.stui-header__logo .logo{display:block;width:150px;height:50px;background:url(https://wx1.sinaimg.cn/large/006gFOhdly1fr0hdrzlolj30b40b4dg7.jpg) no-repeat;background-position:50% 50%;background-size:cover}*/ | |
/* header-menu */ | |
.stui-header__menu { | |
position: relative; | |
margin-left: 10px | |
} | |
.stui-header__menu li { | |
float: left; | |
margin-top: 30px; | |
margin-right: 20px | |
} | |
.stui-header__menu li a { | |
display: inline-block; | |
padding: 3px 8px 4px; | |
font-size: 15px; | |
border-radius: 2px | |
} | |
/* header-seacrh */ | |
.stui-header__search { | |
float: left; | |
position: relative; | |
margin-top: 25px; | |
width: 200px | |
} | |
.stui-header__search .submit { | |
display: block; | |
position: absolute; | |
top: 0; | |
right: 0; | |
width: 30px; | |
height: 30px; | |
line-height: 30px; | |
text-align: center; | |
background: none; | |
border: 0; | |
cursor: pointer; | |
} | |
.stui-header__search .submit .icon { | |
font-size: 14px; | |
color: #999 | |
} | |
/* header-user */ | |
.stui-header__user { | |
float: right | |
} | |
.stui-header__user li { | |
float: left; | |
margin-top: 30px; | |
margin-left: 20px | |
} | |
.stui-header__user li a { | |
display: inline-block; | |
line-height: 20px | |
} | |
.stui-header__user li a .icon { | |
font-size: 18px | |
} | |
/* content */ | |
.stui-content__detail, .stui-content__thumb { | |
display: table-cell; | |
vertical-align: top | |
} | |
.stui-content__thumb .v-thumb { | |
width: 190px | |
} | |
.stui-content__thumb .w-thumb { | |
width: 300px | |
} | |
.stui-content__detail { | |
width: 100%; | |
padding: 10px 20px; | |
} | |
.stui-content__detail .title { | |
margin: 10px 0 10px; | |
line-height: 30px | |
} | |
.stui-content__detail .data { | |
margin-bottom: 10px | |
} | |
.stui-content__detail .data li { | |
float: left; | |
margin-right: 20px | |
} | |
.stui-content__detail .desc { | |
padding-left: 42px | |
} | |
.stui-content__detail .desc .left { | |
margin-left: -42px | |
} | |
.stui-content__detail .play-btn { | |
padding-left: 42px; | |
margin-top: 20px | |
} | |
.stui-content__detail .play-btn .shere { | |
margin-top: 5px | |
} | |
/* player */ | |
.stui-player__detail { | |
margin-top: 20px; | |
} | |
.stui-player__detail .title { | |
margin: 0 0 10px | |
} | |
.stui-player__detail .detail-content { | |
padding-top: 10px | |
} | |
.stui-player__detail .desc { | |
padding-left: 42px | |
} | |
.stui-player__detail .desc .left { | |
margin-left: -42px | |
} | |
/* screen */ | |
.stui-screen__list { | |
position: relative; | |
padding: 10px 0 5px | |
} | |
.stui-screen__list li { | |
float: left; | |
margin-right: 10px; | |
margin-bottom: 10px | |
} | |
.stui-screen__list li span { | |
display: inline-block; | |
padding: 3px 0 3px | |
} | |
.stui-screen__list li a { | |
display: inline-block; | |
padding: 3px 10px; | |
border-radius: 2px | |
} | |
.stui-screen__list.letter-list li a { | |
padding: 3px 5px | |
} | |
.stui-screen__list.letter-list li.active a { | |
padding: 3px 10px | |
} | |
/* page */ | |
.stui-page { | |
margin-bottom: 30px | |
} | |
.stui-page li { | |
display: inline-block; | |
margin-left: 10px | |
} | |
.stui-page li .num, .stui-page li a { | |
display: inline-block; | |
padding: 5px 15px; | |
border-radius: 5px | |
} | |
/* extra */ | |
.stui-extra { | |
position: fixed; | |
right: 50px; | |
bottom: 50px | |
} | |
.stui-extra li { | |
position: relative; | |
padding: 15px 10px 0 | |
} | |
.stui-extra li a, .stui-extra li span { | |
display: block; | |
width: 50px; | |
height: 50px; | |
line-height: 50px; | |
text-align: center; | |
border-radius: 4px; | |
font-size: 18px; | |
cursor: pointer | |
} | |
.stui-extra li a .icon, .stui-extra li span .icon { | |
font-size: 18px | |
} | |
.stui-extra li a img { | |
margin-top: 15px; | |
width: 20px; | |
height: 20px | |
} | |
.stui-extra li .sideslip { | |
display: none; | |
position: absolute; | |
bottom: 0; | |
right: 100% | |
} | |
.stui-extra li .sideslip:before { | |
content: " "; | |
width: 10px; | |
height: 10px; | |
-webkit-transform: rotate(-45deg); | |
-ms-transform: rotate(-45deg); | |
transform: rotate(-45deg); | |
border-width: 0 1px 1px 0; | |
position: absolute; | |
bottom: 20px; | |
right: -6px; | |
border-style: solid | |
} | |
.stui-extra li:hover .sideslip { | |
display: block | |
} | |
@media (min-width: 768px) { | |
.container { | |
width: 90% | |
} | |
} | |
@media (min-width: 992px) { | |
.container { | |
width: 920px | |
} | |
} | |
@media (min-width: 1200px) { | |
.container { | |
width: 1170px | |
} | |
} | |
@media (max-width: 1024px) { | |
/* all */ | |
body { | |
padding-top: 110px | |
} | |
/* header */ | |
.top-fixed-down { | |
margin-top: -100px | |
} | |
.stui-header__side { | |
float: none; | |
position: absolute; | |
top: 0; | |
left: 150px; | |
right: 0; | |
width: auto | |
} | |
.stui-header__logo, .stui-header__menu { | |
float: none | |
} | |
.stui-header__logo { | |
margin: 10px 0 10px | |
} | |
.stui-header__logo .logo { | |
width: 127px; | |
height: 30px; | |
background: url(../img/logo_min.png) no-repeat; | |
background-position: 50% 50%; | |
background-size: cover | |
} | |
.stui-header__search { | |
float: right; | |
margin-top: 10px | |
} | |
.stui-header__menu { | |
margin: 0; | |
padding: 0; | |
height: 40px; | |
line-height: 40px | |
} | |
.stui-header__menu:before { | |
content: " "; | |
position: absolute; | |
left: 0; | |
top: 0; | |
right: 0; | |
width: 100%; | |
height: 1px; | |
-webkit-transform-origin: 0 0; | |
transform-origin: 0 0; | |
-webkit-transform: scaleY(.5); | |
transform: scaleY(.5) | |
} | |
.stui-header__menu li { | |
margin-top: 0; | |
margin-right: 20px | |
} | |
.stui-header__menu li a { | |
padding: 0; | |
font-size: 14px; | |
white-space: nowrap | |
} | |
.stui-header__menu li.active a { | |
position: relative | |
} | |
.stui-header__menu li.active a:before { | |
content: " "; | |
position: absolute; | |
left: 50%; | |
bottom: 0; | |
width: 20px; | |
margin-left: -10px; | |
height: 2px; | |
border-radius: 2px | |
} | |
.stui-header__user li { | |
margin-top: 15px | |
} | |
.stui-header__user li a { | |
width: 20px; | |
height: 20px | |
} | |
} | |
@media (max-width: 767px) { | |
/* all */ | |
/* header */ | |
.stui-header__logo { | |
margin-left: 10px | |
} | |
.stui-header__search { | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 50px; | |
width: auto | |
} | |
.stui-header__menu { | |
padding-left: 10px | |
} | |
.stui-header__user { | |
padding-right: 10px | |
} | |
/* content */ | |
.stui-content__thumb .v-thumb { | |
width: 115px | |
} | |
.stui-content__thumb .w-thumb { | |
width: 160px | |
} | |
.stui-content__detail { | |
padding: 0 10px | |
} | |
.stui-content__detail .title { | |
margin: 10px 0 10px; | |
font-size: 16px; | |
line-height: 18px | |
} | |
.stui-content__detail .data { | |
margin: 0 0 10px; | |
font-size: 12px | |
} | |
.stui-content__detail .play-btn { | |
margin: 0; | |
padding: 0 | |
} | |
.stui-content__playlist li a { | |
padding: 5px 10px; | |
font-size: 12px | |
} | |
/* player */ | |
.stui-player__detail .data .title { | |
font-size: 16px | |
} | |
/* screen */ | |
.stui-screen__list { | |
padding: 5px 0 5px; | |
overflow: hidden | |
} | |
.stui-screen__list li { | |
margin-right: 15px; | |
margin-bottom: 0 | |
} | |
.stui-screen__list li span { | |
padding: 2px 0 2px | |
} | |
.stui-screen__list li a { | |
padding: 2px 0 2px; | |
background: 0 0; | |
white-space: nowrap | |
} | |
.stui-screen__list.letter-list li a, .stui-screen__list.letter-list li.active a { | |
padding: 2px 0 2px | |
} | |
/* type */ | |
.stui-mobile__type li { | |
padding: 0 20px | |
} | |
.stui-mobile__type li a { | |
display: block; | |
padding: 10px 0; | |
text-align: center | |
} | |
/* page */ | |
.stui-page li { | |
float: left; | |
width: 20%; | |
margin: 0; | |
padding: 0 5px 0 5px | |
} | |
.stui-page li a, .stui-page__box li .num { | |
display: block; | |
padding: 5px 0; | |
text-align: center | |
} | |
/* extra */ | |
.stui-extra { | |
right: 15px; | |
bottom: 15px | |
} | |
.stui-extra li { | |
padding: 8px 0 0 | |
} | |
.stui-extra li a, .stui-extra li span { | |
width: 35px; | |
height: 35px; | |
line-height: 35px; | |
font-size: 16px | |
} | |
.stui-extra li a .icon, .stui-extra li span .icon { | |
font-size: 16px | |
} | |
.stui-extra li a img { | |
margin-top: 8px; | |
width: 18px; | |
height: 18px | |
} | |
/* foot */ | |
.stui-foot { | |
padding: 20px 0 | |
} | |
} | |
/* share */ | |
.bdsharebuttonbox { | |
line-height: 30px; | |
height: 30px; | |
overflow: hidden; | |
vertical-align: top | |
} | |
.bdsharebuttonbox a, .bdsharebuttonbox span { | |
width: 24px; | |
height: 24px; | |
display: inline-block; | |
margin-right: 5px; | |
background: url(../img/share.png) no-repeat; | |
cursor: pointer; | |
margin-bottom: 0; | |
opacity: .8 | |
} | |
.bdsharebuttonbox a:hover { | |
opacity: 1 | |
} | |
.bdsharebuttonbox a.bds_tsina { | |
background-position: 0 0 | |
} | |
.bdsharebuttonbox a.bds_weixin { | |
background-position: 0 -33px | |
} | |
.bdsharebuttonbox a.bds_qzone { | |
background-position: 0 -65px | |
} | |
.bdsharebuttonbox a.bds_sqq { | |
background-position: 0 -98px | |
} | |
.bdsharebuttonbox a.bds_renren { | |
background-position: 0 -131px | |
} | |
.bdsharebuttonbox a.bds_tqq { | |
background-position: 0 -163px | |
} | |
.bdsharebuttonbox a.bds_diandian { | |
background-position: 0 -356px | |
} | |
.bdsharebuttonbox a.bds_youdao { | |
background-position: 0 -388px | |
} | |
.bdsharebuttonbox a.bds_ty { | |
background-position: 0 -420px | |
} | |
.bdsharebuttonbox a.bds_fbook { | |
background-position: 0 -452px | |
} | |
.bdsharebuttonbox a.bds_twi { | |
background-position: 0 -484px | |
} | |
.bdsharebuttonbox a.bds_kaixin001 { | |
background-position: 0 -228px | |
} | |
.bdsharebuttonbox a.bds_taobao { | |
background-position: 0 -196px | |
} | |
.bdsharebuttonbox a.bds_douban { | |
background-position: 0 -324px | |
} | |
.bdsharebuttonbox a.bds_mail { | |
background-position: 0 -548px | |
} | |
.bdsharebuttonbox a.bds_copy { | |
background-position: 0 -516px | |
} | |
.bdsharebuttonbox a.bds_bdhome { | |
background-position: 0 -292px | |
} | |
.bdsharebuttonbox a.bds_tqf { | |
background-position: 0 -260px | |
} | |
.bdsharebuttonbox a.bds_more { | |
background-position: 0 -577px | |
} | |
.bdsharebuttonbox span.bds_shere { | |
background-position: 0 -606px | |
} | |
.bdsharebuttonbox a.bds_count { | |
background: 0 0; | |
width: auto; | |
height: auto; | |
position: relative; | |
top: -6px | |
} | |
.bdsharebuttonbox a.bds_count { | |
margin: 0 2px | |
} |
html { | |
font-family: sans-serif; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100% | |
} | |
body { | |
margin: 0 | |
} | |
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { | |
display: block | |
} | |
audio, canvas, progress, video { | |
display: inline-block; | |
vertical-align: baseline | |
} | |
audio:not([controls]) { | |
display: none; | |
height: 0 | |
} | |
[hidden], template { | |
display: none | |
} | |
a { | |
background-color: transparent | |
} | |
a:active, a:hover { | |
outline: 0 | |
} | |
abbr[title] { | |
border-bottom: 1px dotted | |
} | |
b, strong { | |
font-weight: 700 | |
} | |
dfn { | |
font-style: italic | |
} | |
h1 { | |
margin: .67em 0; | |
font-size: 2em | |
} | |
mark { | |
color: #000; | |
background: #ff0 | |
} | |
small { | |
font-size: 80% | |
} | |
sub, sup { | |
position: relative; | |
font-size: 75%; | |
line-height: 0; | |
vertical-align: baseline | |
} | |
sup { | |
top: -.5em | |
} | |
sub { | |
bottom: -.25em | |
} | |
img { | |
border: 0 | |
} | |
svg:not(:root) { | |
overflow: hidden | |
} | |
figure { | |
margin: 1em 40px | |
} | |
hr { | |
height: 0; | |
-webkit-box-sizing: content-box; | |
-moz-box-sizing: content-box; | |
box-sizing: content-box | |
} | |
pre { | |
overflow: auto | |
} | |
code, kbd, pre, samp { | |
font-family: monospace, monospace; | |
font-size: 1em | |
} | |
button, input, optgroup, select, textarea { | |
margin: 0; | |
font: inherit; | |
color: inherit | |
} | |
button { | |
overflow: visible | |
} | |
button, select { | |
text-transform: none | |
} | |
button, html input[type=button], input[type=reset], input[type=submit] { | |
-webkit-appearance: button; | |
cursor: pointer | |
} | |
button[disabled], html input[disabled] { | |
cursor: default | |
} | |
button::-moz-focus-inner, input::-moz-focus-inner { | |
padding: 0; | |
border: 0 | |
} | |
input { | |
line-height: normal | |
} | |
input[type=checkbox], input[type=radio] { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
padding: 0 | |
} | |
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { | |
height: auto | |
} | |
input[type=search] { | |
-webkit-box-sizing: content-box; | |
-moz-box-sizing: content-box; | |
box-sizing: content-box; | |
-webkit-appearance: textfield | |
} | |
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { | |
-webkit-appearance: none | |
} | |
fieldset { | |
padding: .35em .625em .75em; | |
margin: 0 2px; | |
border: 1px solid silver | |
} | |
legend { | |
padding: 0; | |
border: 0 | |
} | |
textarea { | |
overflow: auto | |
} | |
optgroup { | |
font-weight: 700 | |
} | |
table { | |
border-spacing: 0; | |
border-collapse: collapse | |
} | |
td, th { | |
padding: 0 | |
} | |
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ | |
@media print { | |
*, :after, :before { | |
color: #000 !important; | |
text-shadow: none !important; | |
background: 0 0 !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important | |
} | |
a, a:visited { | |
text-decoration: underline | |
} | |
a[href]:after { | |
content: " (" attr(href) ")" | |
} | |
abbr[title]:after { | |
content: " (" attr(title) ")" | |
} | |
a[href^="javascript:"]:after, a[href^="#"]:after { | |
content: "" | |
} | |
blockquote, pre { | |
border: 1px solid #999; | |
page-break-inside: avoid | |
} | |
thead { | |
display: table-header-group | |
} | |
img, tr { | |
page-break-inside: avoid | |
} | |
img { | |
max-width: 100% !important | |
} | |
h2, h3, p { | |
orphans: 3; | |
widows: 3 | |
} | |
h2, h3 { | |
page-break-after: avoid | |
} | |
.navbar { | |
display: none | |
} | |
.btn > .caret, .dropup > .btn > .caret { | |
border-top-color: #000 !important | |
} | |
.label { | |
border: 1px solid #000 | |
} | |
.table { | |
border-collapse: collapse !important | |
} | |
.table td, .table th { | |
background-color: #fff !important | |
} | |
.table-bordered td, .table-bordered th { | |
border: 1px solid #ddd !important | |
} | |
} | |
@font-face { | |
font-family: 'Glyphicons Halflings'; | |
src: url(../fonts/glyphicons-halflings-regular.eot); | |
src: url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'), url(../fonts/glyphicons-halflings-regular.woff) format('woff'), url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg') | |
} | |
.glyphicon { | |
position: relative; | |
top: 1px; | |
display: inline-block; | |
font-family: 'Glyphicons Halflings'; | |
font-style: normal; | |
font-weight: 400; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale | |
} | |
.glyphicon-asterisk:before { | |
content: "\002a" | |
} | |
.glyphicon-plus:before { | |
content: "\002b" | |
} | |
.glyphicon-eur:before, .glyphicon-euro:before { | |
content: "\20ac" | |
} | |
.glyphicon-minus:before { | |
content: "\2212" | |
} | |
.glyphicon-cloud:before { | |
content: "\2601" | |
} | |
.glyphicon-envelope:before { | |
content: "\2709" | |
} | |
.glyphicon-pencil:before { | |
content: "\270f" | |
} | |
.glyphicon-glass:before { | |
content: "\e001" | |
} | |
.glyphicon-music:before { | |
content: "\e002" | |
} | |
.glyphicon-search:before { | |
content: "\e003" | |
} | |
.glyphicon-heart:before { | |
content: "\e005" | |
} | |
.glyphicon-star:before { | |
content: "\e006" | |
} | |
.glyphicon-star-empty:before { | |
content: "\e007" | |
} | |
.glyphicon-user:before { | |
content: "\e008" | |
} | |
.glyphicon-film:before { | |
content: "\e009" | |
} | |
.glyphicon-th-large:before { | |
content: "\e010" | |
} | |
.glyphicon-th:before { | |
content: "\e011" | |
} | |
.glyphicon-th-list:before { | |
content: "\e012" | |
} | |
.glyphicon-ok:before { | |
content: "\e013" | |
} | |
.glyphicon-remove:before { | |
content: "\e014" | |
} | |
.glyphicon-zoom-in:before { | |
content: "\e015" | |
} | |
.glyphicon-zoom-out:before { | |
content: "\e016" | |
} | |
.glyphicon-off:before { | |
content: "\e017" | |
} | |
.glyphicon-signal:before { | |
content: "\e018" | |
} | |
.glyphicon-cog:before { | |
content: "\e019" | |
} | |
.glyphicon-trash:before { | |
content: "\e020" | |
} | |
.glyphicon-home:before { | |
content: "\e021" | |
} | |
.glyphicon-file:before { | |
content: "\e022" | |
} | |
.glyphicon-time:before { | |
content: "\e023" | |
} | |
.glyphicon-road:before { | |
content: "\e024" | |
} | |
.glyphicon-download-alt:before { | |
content: "\e025" | |
} | |
.glyphicon-download:before { | |
content: "\e026" | |
} | |
.glyphicon-upload:before { | |
content: "\e027" | |
} | |
.glyphicon-inbox:before { | |
content: "\e028" | |
} | |
.glyphicon-play-circle:before { | |
content: "\e029" | |
} | |
.glyphicon-repeat:before { | |
content: "\e030" | |
} | |
.glyphicon-refresh:before { | |
content: "\e031" | |
} | |
.glyphicon-list-alt:before { | |
content: "\e032" | |
} | |
.glyphicon-lock:before { | |
content: "\e033" | |
} | |
.glyphicon-flag:before { | |
content: "\e034" | |
} | |
.glyphicon-headphones:before { | |
content: "\e035" | |
} | |
.glyphicon-volume-off:before { | |
content: "\e036" | |
} | |
.glyphicon-volume-down:before { | |
content: "\e037" | |
} | |
.glyphicon-volume-up:before { | |
content: "\e038" | |
} | |
.glyphicon-qrcode:before { | |
content: "\e039" | |
} | |
.glyphicon-barcode:before { | |
content: "\e040" | |
} | |
.glyphicon-tag:before { | |
content: "\e041" | |
} | |
.glyphicon-tags:before { | |
content: "\e042" | |
} | |
.glyphicon-book:before { | |
content: "\e043" | |
} | |
.glyphicon-bookmark:before { | |
content: "\e044" | |
} | |
.glyphicon-print:before { | |
content: "\e045" | |
} | |
.glyphicon-camera:before { | |
content: "\e046" | |
} | |
.glyphicon-font:before { | |
content: "\e047" | |
} | |
.glyphicon-bold:before { | |
content: "\e048" | |
} | |
.glyphicon-italic:before { | |
content: "\e049" | |
} | |
.glyphicon-text-height:before { | |
content: "\e050" | |
} | |
.glyphicon-text-width:before { | |
content: "\e051" | |
} | |
.glyphicon-align-left:before { | |
content: "\e052" | |
} | |
.glyphicon-align-center:before { | |
content: "\e053" | |
} | |
.glyphicon-align-right:before { | |
content: "\e054" | |
} | |
.glyphicon-align-justify:before { | |
content: "\e055" | |
} | |
.glyphicon-list:before { | |
content: "\e056" | |
} | |
.glyphicon-indent-left:before { | |
content: "\e057" | |
} | |
.glyphicon-indent-right:before { | |
content: "\e058" | |
} | |
.glyphicon-facetime-video:before { | |
content: "\e059" | |
} | |
.glyphicon-picture:before { | |
content: "\e060" | |
} | |
.glyphicon-map-marker:before { | |
content: "\e062" | |
} | |
.glyphicon-adjust:before { | |
content: "\e063" | |
} | |
.glyphicon-tint:before { | |
content: "\e064" | |
} | |
.glyphicon-edit:before { | |
content: "\e065" | |
} | |
.glyphicon-share:before { | |
content: "\e066" | |
} | |
.glyphicon-check:before { | |
content: "\e067" | |
} | |
.glyphicon-move:before { | |
content: "\e068" | |
} | |
.glyphicon-step-backward:before { | |
content: "\e069" | |
} | |
.glyphicon-fast-backward:before { | |
content: "\e070" | |
} | |
.glyphicon-backward:before { | |
content: "\e071" | |
} | |
.glyphicon-play:before { | |
content: "\e072" | |
} | |
.glyphicon-pause:before { | |
content: "\e073" | |
} | |
.glyphicon-stop:before { | |
content: "\e074" | |
} | |
.glyphicon-forward:before { | |
content: "\e075" | |
} | |
.glyphicon-fast-forward:before { | |
content: "\e076" | |
} | |
.glyphicon-step-forward:before { | |
content: "\e077" | |
} | |
.glyphicon-eject:before { | |
content: "\e078" | |
} | |
.glyphicon-chevron-left:before { | |
content: "\e079" | |
} | |
.glyphicon-chevron-right:before { | |
content: "\e080" | |
} | |
.glyphicon-plus-sign:before { | |
content: "\e081" | |
} | |
.glyphicon-minus-sign:before { | |
content: "\e082" | |
} | |
.glyphicon-remove-sign:before { | |
content: "\e083" | |
} | |
.glyphicon-ok-sign:before { | |
content: "\e084" | |
} | |
.glyphicon-question-sign:before { | |
content: "\e085" | |
} | |
.glyphicon-info-sign:before { | |
content: "\e086" | |
} | |
.glyphicon-screenshot:before { | |
content: "\e087" | |
} | |
.glyphicon-remove-circle:before { | |
content: "\e088" | |
} | |
.glyphicon-ok-circle:before { | |
content: "\e089" | |
} | |
.glyphicon-ban-circle:before { | |
content: "\e090" | |
} | |
.glyphicon-arrow-left:before { | |
content: "\e091" | |
} | |
.glyphicon-arrow-right:before { | |
content: "\e092" | |
} | |
.glyphicon-arrow-up:before { | |
content: "\e093" | |
} | |
.glyphicon-arrow-down:before { | |
content: "\e094" | |
} | |
.glyphicon-share-alt:before { | |
content: "\e095" | |
} | |
.glyphicon-resize-full:before { | |
content: "\e096" | |
} | |
.glyphicon-resize-small:before { | |
content: "\e097" | |
} | |
.glyphicon-exclamation-sign:before { | |
content: "\e101" | |
} | |
.glyphicon-gift:before { | |
content: "\e102" | |
} | |
.glyphicon-leaf:before { | |
content: "\e103" | |
} | |
.glyphicon-fire:before { | |
content: "\e104" | |
} | |
.glyphicon-eye-open:before { | |
content: "\e105" | |
} | |
.glyphicon-eye-close:before { | |
content: "\e106" | |
} | |
.glyphicon-warning-sign:before { | |
content: "\e107" | |
} | |
.glyphicon-plane:before { | |
content: "\e108" | |
} | |
.glyphicon-calendar:before { | |
content: "\e109" | |
} | |
.glyphicon-random:before { | |
content: "\e110" | |
} | |
.glyphicon-comment:before { | |
content: "\e111" | |
} | |
.glyphicon-magnet:before { | |
content: "\e112" | |
} | |
.glyphicon-chevron-up:before { | |
content: "\e113" | |
} | |
.glyphicon-chevron-down:before { | |
content: "\e114" | |
} | |
.glyphicon-retweet:before { | |
content: "\e115" | |
} | |
.glyphicon-shopping-cart:before { | |
content: "\e116" | |
} | |
.glyphicon-folder-close:before { | |
content: "\e117" | |
} | |
.glyphicon-folder-open:before { | |
content: "\e118" | |
} | |
.glyphicon-resize-vertical:before { | |
content: "\e119" | |
} | |
.glyphicon-resize-horizontal:before { | |
content: "\e120" | |
} | |
.glyphicon-hdd:before { | |
content: "\e121" | |
} | |
.glyphicon-bullhorn:before { | |
content: "\e122" | |
} | |
.glyphicon-bell:before { | |
content: "\e123" | |
} | |
.glyphicon-certificate:before { | |
content: "\e124" | |
} | |
.glyphicon-thumbs-up:before { | |
content: "\e125" | |
} | |
.glyphicon-thumbs-down:before { | |
content: "\e126" | |
} | |
.glyphicon-hand-right:before { | |
content: "\e127" | |
} | |
.glyphicon-hand-left:before { | |
content: "\e128" | |
} | |
.glyphicon-hand-up:before { | |
content: "\e129" | |
} | |
.glyphicon-hand-down:before { | |
content: "\e130" | |
} | |
.glyphicon-circle-arrow-right:before { | |
content: "\e131" | |
} | |
.glyphicon-circle-arrow-left:before { | |
content: "\e132" | |
} | |
.glyphicon-circle-arrow-up:before { | |
content: "\e133" | |
} | |
.glyphicon-circle-arrow-down:before { | |
content: "\e134" | |
} | |
.glyphicon-globe:before { | |
content: "\e135" | |
} | |
.glyphicon-wrench:before { | |
content: "\e136" | |
} | |
.glyphicon-tasks:before { | |
content: "\e137" | |
} | |
.glyphicon-filter:before { | |
content: "\e138" | |
} | |
.glyphicon-briefcase:before { | |
content: "\e139" | |
} | |
.glyphicon-fullscreen:before { | |
content: "\e140" | |
} | |
.glyphicon-dashboard:before { | |
content: "\e141" | |
} | |
.glyphicon-paperclip:before { | |
content: "\e142" | |
} | |
.glyphicon-heart-empty:before { | |
content: "\e143" | |
} | |
.glyphicon-link:before { | |
content: "\e144" | |
} | |
.glyphicon-phone:before { | |
content: "\e145" | |
} | |
.glyphicon-pushpin:before { | |
content: "\e146" | |
} | |
.glyphicon-usd:before { | |
content: "\e148" | |
} | |
.glyphicon-gbp:before { | |
content: "\e149" | |
} | |
.glyphicon-sort:before { | |
content: "\e150" | |
} | |
.glyphicon-sort-by-alphabet:before { | |
content: "\e151" | |
} | |
.glyphicon-sort-by-alphabet-alt:before { | |
content: "\e152" | |
} | |
.glyphicon-sort-by-order:before { | |
content: "\e153" | |
} | |
.glyphicon-sort-by-order-alt:before { | |
content: "\e154" | |
} | |
.glyphicon-sort-by-attributes:before { | |
content: "\e155" | |
} | |
.glyphicon-sort-by-attributes-alt:before { | |
content: "\e156" | |
} | |
.glyphicon-unchecked:before { | |
content: "\e157" | |
} | |
.glyphicon-expand:before { | |
content: "\e158" | |
} | |
.glyphicon-collapse-down:before { | |
content: "\e159" | |
} | |
.glyphicon-collapse-up:before { | |
content: "\e160" | |
} | |
.glyphicon-log-in:before { | |
content: "\e161" | |
} | |
.glyphicon-flash:before { | |
content: "\e162" | |
} | |
.glyphicon-log-out:before { | |
content: "\e163" | |
} | |
.glyphicon-new-window:before { | |
content: "\e164" | |
} | |
.glyphicon-record:before { | |
content: "\e165" | |
} | |
.glyphicon-save:before { | |
content: "\e166" | |
} | |
.glyphicon-open:before { | |
content: "\e167" | |
} | |
.glyphicon-saved:before { | |
content: "\e168" | |
} | |
.glyphicon-import:before { | |
content: "\e169" | |
} | |
.glyphicon-export:before { | |
content: "\e170" | |
} | |
.glyphicon-send:before { | |
content: "\e171" | |
} | |
.glyphicon-floppy-disk:before { | |
content: "\e172" | |
} | |
.glyphicon-floppy-saved:before { | |
content: "\e173" | |
} | |
.glyphicon-floppy-remove:before { | |
content: "\e174" | |
} | |
.glyphicon-floppy-save:before { | |
content: "\e175" | |
} | |
.glyphicon-floppy-open:before { | |
content: "\e176" | |
} | |
.glyphicon-credit-card:before { | |
content: "\e177" | |
} | |
.glyphicon-transfer:before { | |
content: "\e178" | |
} | |
.glyphicon-cutlery:before { | |
content: "\e179" | |
} | |
.glyphicon-header:before { | |
content: "\e180" | |
} | |
.glyphicon-compressed:before { | |
content: "\e181" | |
} | |
.glyphicon-earphone:before { | |
content: "\e182" | |
} | |
.glyphicon-phone-alt:before { | |
content: "\e183" | |
} | |
.glyphicon-tower:before { | |
content: "\e184" | |
} | |
.glyphicon-stats:before { | |
content: "\e185" | |
} | |
.glyphicon-sd-video:before { | |
content: "\e186" | |
} | |
.glyphicon-hd-video:before { | |
content: "\e187" | |
} | |
.glyphicon-subtitles:before { | |
content: "\e188" | |
} | |
.glyphicon-sound-stereo:before { | |
content: "\e189" | |
} | |
.glyphicon-sound-dolby:before { | |
content: "\e190" | |
} | |
.glyphicon-sound-5-1:before { | |
content: "\e191" | |
} | |
.glyphicon-sound-6-1:before { | |
content: "\e192" | |
} | |
.glyphicon-sound-7-1:before { | |
content: "\e193" | |
} | |
.glyphicon-copyright-mark:before { | |
content: "\e194" | |
} | |
.glyphicon-registration-mark:before { | |
content: "\e195" | |
} | |
.glyphicon-cloud-download:before { | |
content: "\e197" | |
} | |
.glyphicon-cloud-upload:before { | |
content: "\e198" | |
} | |
.glyphicon-tree-conifer:before { | |
content: "\e199" | |
} | |
.glyphicon-tree-deciduous:before { | |
content: "\e200" | |
} | |
.glyphicon-cd:before { | |
content: "\e201" | |
} | |
.glyphicon-save-file:before { | |
content: "\e202" | |
} | |
.glyphicon-open-file:before { | |
content: "\e203" | |
} | |
.glyphicon-level-up:before { | |
content: "\e204" | |
} | |
.glyphicon-copy:before { | |
content: "\e205" | |
} | |
.glyphicon-paste:before { | |
content: "\e206" | |
} | |
.glyphicon-alert:before { | |
content: "\e209" | |
} | |
.glyphicon-equalizer:before { | |
content: "\e210" | |
} | |
.glyphicon-king:before { | |
content: "\e211" | |
} | |
.glyphicon-queen:before { | |
content: "\e212" | |
} | |
.glyphicon-pawn:before { | |
content: "\e213" | |
} | |
.glyphicon-bishop:before { | |
content: "\e214" | |
} | |
.glyphicon-knight:before { | |
content: "\e215" | |
} | |
.glyphicon-baby-formula:before { | |
content: "\e216" | |
} | |
.glyphicon-tent:before { | |
content: "\26fa" | |
} | |
.glyphicon-blackboard:before { | |
content: "\e218" | |
} | |
.glyphicon-bed:before { | |
content: "\e219" | |
} | |
.glyphicon-apple:before { | |
content: "\f8ff" | |
} | |
.glyphicon-erase:before { | |
content: "\e221" | |
} | |
.glyphicon-hourglass:before { | |
content: "\231b" | |
} | |
.glyphicon-lamp:before { | |
content: "\e223" | |
} | |
.glyphicon-duplicate:before { | |
content: "\e224" | |
} | |
.glyphicon-piggy-bank:before { | |
content: "\e225" | |
} | |
.glyphicon-scissors:before { | |
content: "\e226" | |
} | |
.glyphicon-bitcoin:before { | |
content: "\e227" | |
} | |
.glyphicon-btc:before { | |
content: "\e227" | |
} | |
.glyphicon-xbt:before { | |
content: "\e227" | |
} | |
.glyphicon-yen:before { | |
content: "\00a5" | |
} | |
.glyphicon-jpy:before { | |
content: "\00a5" | |
} | |
.glyphicon-ruble:before { | |
content: "\20bd" | |
} | |
.glyphicon-rub:before { | |
content: "\20bd" | |
} | |
.glyphicon-scale:before { | |
content: "\e230" | |
} | |
.glyphicon-ice-lolly:before { | |
content: "\e231" | |
} | |
.glyphicon-ice-lolly-tasted:before { | |
content: "\e232" | |
} | |
.glyphicon-education:before { | |
content: "\e233" | |
} | |
.glyphicon-option-horizontal:before { | |
content: "\e234" | |
} | |
.glyphicon-option-vertical:before { | |
content: "\e235" | |
} | |
.glyphicon-menu-hamburger:before { | |
content: "\e236" | |
} | |
.glyphicon-modal-window:before { | |
content: "\e237" | |
} | |
.glyphicon-oil:before { | |
content: "\e238" | |
} | |
.glyphicon-grain:before { | |
content: "\e239" | |
} | |
.glyphicon-sunglasses:before { | |
content: "\e240" | |
} | |
.glyphicon-text-size:before { | |
content: "\e241" | |
} | |
.glyphicon-text-color:before { | |
content: "\e242" | |
} | |
.glyphicon-text-background:before { | |
content: "\e243" | |
} | |
.glyphicon-object-align-top:before { | |
content: "\e244" | |
} | |
.glyphicon-object-align-bottom:before { | |
content: "\e245" | |
} | |
.glyphicon-object-align-horizontal:before { | |
content: "\e246" | |
} | |
.glyphicon-object-align-left:before { | |
content: "\e247" | |
} | |
.glyphicon-object-align-vertical:before { | |
content: "\e248" | |
} | |
.glyphicon-object-align-right:before { | |
content: "\e249" | |
} | |
.glyphicon-triangle-right:before { | |
content: "\e250" | |
} | |
.glyphicon-triangle-left:before { | |
content: "\e251" | |
} | |
.glyphicon-triangle-bottom:before { | |
content: "\e252" | |
} | |
.glyphicon-triangle-top:before { | |
content: "\e253" | |
} | |
.glyphicon-console:before { | |
content: "\e254" | |
} | |
.glyphicon-superscript:before { | |
content: "\e255" | |
} | |
.glyphicon-subscript:before { | |
content: "\e256" | |
} | |
.glyphicon-menu-left:before { | |
content: "\e257" | |
} | |
.glyphicon-menu-right:before { | |
content: "\e258" | |
} | |
.glyphicon-menu-down:before { | |
content: "\e259" | |
} | |
.glyphicon-menu-up:before { | |
content: "\e260" | |
} | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
:after, :before { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
html { | |
font-size: 10px; | |
-webkit-tap-highlight-color: rgba(0, 0, 0, 0) | |
} | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.42857143; | |
color: #333; | |
background-color: #fff | |
} | |
button, input, select, textarea { | |
font-family: inherit; | |
font-size: inherit; | |
line-height: inherit | |
} | |
a { | |
color: #337ab7; | |
text-decoration: none | |
} | |
a:focus, a:hover { | |
color: #23527c; | |
text-decoration: underline | |
} | |
a:focus { | |
outline: 5px auto -webkit-focus-ring-color; | |
outline-offset: -2px | |
} | |
figure { | |
margin: 0 | |
} | |
img { | |
vertical-align: middle | |
} | |
.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img { | |
display: block; | |
max-width: 100%; | |
height: auto | |
} | |
.img-rounded { | |
border-radius: 6px | |
} | |
.img-thumbnail { | |
display: inline-block; | |
max-width: 100%; | |
height: auto; | |
padding: 4px; | |
line-height: 1.42857143; | |
background-color: #fff; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
-webkit-transition: all .2s ease-in-out; | |
-o-transition: all .2s ease-in-out; | |
transition: all .2s ease-in-out | |
} | |
.img-circle { | |
border-radius: 50% | |
} | |
hr { | |
margin-top: 20px; | |
margin-bottom: 20px; | |
border: 0; | |
border-top: 1px solid #eee | |
} | |
.sr-only { | |
position: absolute; | |
width: 1px; | |
height: 1px; | |
padding: 0; | |
margin: -1px; | |
overflow: hidden; | |
clip: rect(0, 0, 0, 0); | |
border: 0 | |
} | |
.sr-only-focusable:active, .sr-only-focusable:focus { | |
position: static; | |
width: auto; | |
height: auto; | |
margin: 0; | |
overflow: visible; | |
clip: auto | |
} | |
[role=button] { | |
cursor: pointer | |
} | |
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { | |
font-family: inherit; | |
font-weight: 500; | |
line-height: 1.1; | |
color: inherit | |
} | |
.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, .h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small { | |
font-weight: 400; | |
line-height: 1; | |
color: #777 | |
} | |
.h1, .h2, .h3, h1, h2, h3 { | |
margin-top: 20px; | |
margin-bottom: 10px | |
} | |
.h1 .small, .h1 small, .h2 .small, .h2 small, .h3 .small, .h3 small, h1 .small, h1 small, h2 .small, h2 small, h3 .small, h3 small { | |
font-size: 65% | |
} | |
.h4, .h5, .h6, h4, h5, h6 { | |
margin-top: 10px; | |
margin-bottom: 10px | |
} | |
.h4 .small, .h4 small, .h5 .small, .h5 small, .h6 .small, .h6 small, h4 .small, h4 small, h5 .small, h5 small, h6 .small, h6 small { | |
font-size: 75% | |
} | |
.h1, h1 { | |
font-size: 36px | |
} | |
.h2, h2 { | |
font-size: 30px | |
} | |
.h3, h3 { | |
font-size: 24px | |
} | |
.h4, h4 { | |
font-size: 18px | |
} | |
.h5, h5 { | |
font-size: 14px | |
} | |
.h6, h6 { | |
font-size: 12px | |
} | |
p { | |
margin: 0 0 10px | |
} | |
.lead { | |
margin-bottom: 20px; | |
font-size: 16px; | |
font-weight: 300; | |
line-height: 1.4 | |
} | |
@media (min-width: 768px) { | |
.lead { | |
font-size: 21px | |
} | |
} | |
.small, small { | |
font-size: 85% | |
} | |
.mark, mark { | |
padding: .2em; | |
background-color: #fcf8e3 | |
} | |
.text-left { | |
text-align: left | |
} | |
.text-right { | |
text-align: right | |
} | |
.text-center { | |
text-align: center | |
} | |
.text-justify { | |
text-align: justify | |
} | |
.text-nowrap { | |
white-space: nowrap | |
} | |
.text-lowercase { | |
text-transform: lowercase | |
} | |
.text-uppercase { | |
text-transform: uppercase | |
} | |
.text-capitalize { | |
text-transform: capitalize | |
} | |
.text-muted { | |
color: #777 | |
} | |
.text-primary { | |
color: #337ab7 | |
} | |
a.text-primary:focus, a.text-primary:hover { | |
color: #286090 | |
} | |
.text-success { | |
color: #3c763d | |
} | |
a.text-success:focus, a.text-success:hover { | |
color: #2b542c | |
} | |
.text-info { | |
color: #31708f | |
} | |
a.text-info:focus, a.text-info:hover { | |
color: #245269 | |
} | |
.text-warning { | |
color: #8a6d3b | |
} | |
a.text-warning:focus, a.text-warning:hover { | |
color: #66512c | |
} | |
.text-danger { | |
color: #a94442 | |
} | |
a.text-danger:focus, a.text-danger:hover { | |
color: #843534 | |
} | |
.bg-primary { | |
color: #fff; | |
background-color: #337ab7 | |
} | |
a.bg-primary:focus, a.bg-primary:hover { | |
background-color: #286090 | |
} | |
.bg-success { | |
background-color: #dff0d8 | |
} | |
a.bg-success:focus, a.bg-success:hover { | |
background-color: #c1e2b3 | |
} | |
.bg-info { | |
background-color: #d9edf7 | |
} | |
a.bg-info:focus, a.bg-info:hover { | |
background-color: #afd9ee | |
} | |
.bg-warning { | |
background-color: #fcf8e3 | |
} | |
a.bg-warning:focus, a.bg-warning:hover { | |
background-color: #f7ecb5 | |
} | |
.bg-danger { | |
background-color: #f2dede | |
} | |
a.bg-danger:focus, a.bg-danger:hover { | |
background-color: #e4b9b9 | |
} | |
.page-header { | |
padding-bottom: 9px; | |
margin: 40px 0 20px; | |
border-bottom: 1px solid #eee | |
} | |
ol, ul { | |
margin-top: 0; | |
margin-bottom: 10px | |
} | |
ol ol, ol ul, ul ol, ul ul { | |
margin-bottom: 0 | |
} | |
.list-unstyled { | |
padding-left: 0; | |
list-style: none | |
} | |
.list-inline { | |
padding-left: 0; | |
margin-left: -5px; | |
list-style: none | |
} | |
.list-inline > li { | |
display: inline-block; | |
padding-right: 5px; | |
padding-left: 5px | |
} | |
dl { | |
margin-top: 0; | |
margin-bottom: 20px | |
} | |
dd, dt { | |
line-height: 1.42857143 | |
} | |
dt { | |
font-weight: 700 | |
} | |
dd { | |
margin-left: 0 | |
} | |
@media (min-width: 768px) { | |
.dl-horizontal dt { | |
float: left; | |
width: 160px; | |
overflow: hidden; | |
clear: left; | |
text-align: right; | |
text-overflow: ellipsis; | |
white-space: nowrap | |
} | |
.dl-horizontal dd { | |
margin-left: 180px | |
} | |
} | |
abbr[data-original-title], abbr[title] { | |
cursor: help; | |
border-bottom: 1px dotted #777 | |
} | |
.initialism { | |
font-size: 90%; | |
text-transform: uppercase | |
} | |
blockquote { | |
padding: 10px 20px; | |
margin: 0 0 20px; | |
font-size: 17.5px; | |
border-left: 5px solid #eee | |
} | |
blockquote ol:last-child, blockquote p:last-child, blockquote ul:last-child { | |
margin-bottom: 0 | |
} | |
blockquote .small, blockquote footer, blockquote small { | |
display: block; | |
font-size: 80%; | |
line-height: 1.42857143; | |
color: #777 | |
} | |
blockquote .small:before, blockquote footer:before, blockquote small:before { | |
content: '\2014 \00A0' | |
} | |
.blockquote-reverse, blockquote.pull-right { | |
padding-right: 15px; | |
padding-left: 0; | |
text-align: right; | |
border-right: 5px solid #eee; | |
border-left: 0 | |
} | |
.blockquote-reverse .small:before, .blockquote-reverse footer:before, .blockquote-reverse small:before, blockquote.pull-right .small:before, blockquote.pull-right footer:before, blockquote.pull-right small:before { | |
content: '' | |
} | |
.blockquote-reverse .small:after, .blockquote-reverse footer:after, .blockquote-reverse small:after, blockquote.pull-right .small:after, blockquote.pull-right footer:after, blockquote.pull-right small:after { | |
content: '\00A0 \2014' | |
} | |
address { | |
margin-bottom: 20px; | |
font-style: normal; | |
line-height: 1.42857143 | |
} | |
code, kbd, pre, samp { | |
font-family: Menlo, Monaco, Consolas, "Courier New", monospace | |
} | |
code { | |
padding: 2px 4px; | |
font-size: 90%; | |
color: #c7254e; | |
background-color: #f9f2f4; | |
border-radius: 4px | |
} | |
kbd { | |
padding: 2px 4px; | |
font-size: 90%; | |
color: #fff; | |
background-color: #333; | |
border-radius: 3px; | |
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); | |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25) | |
} | |
kbd kbd { | |
padding: 0; | |
font-size: 100%; | |
font-weight: 700; | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
pre { | |
display: block; | |
padding: 9.5px; | |
margin: 0 0 10px; | |
font-size: 13px; | |
line-height: 1.42857143; | |
color: #333; | |
word-break: break-all; | |
word-wrap: break-word; | |
background-color: #f5f5f5; | |
border: 1px solid #ccc; | |
border-radius: 4px | |
} | |
pre code { | |
padding: 0; | |
font-size: inherit; | |
color: inherit; | |
white-space: pre-wrap; | |
background-color: transparent; | |
border-radius: 0 | |
} | |
.pre-scrollable { | |
max-height: 340px; | |
overflow-y: scroll | |
} | |
.container { | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto | |
} | |
@media (min-width: 768px) { | |
.container { | |
width: 750px | |
} | |
} | |
@media (min-width: 992px) { | |
.container { | |
width: 970px | |
} | |
} | |
@media (min-width: 1200px) { | |
.container { | |
width: 1170px | |
} | |
} | |
.container-fluid { | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto | |
} | |
.row { | |
margin-right: -15px; | |
margin-left: -15px | |
} | |
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { | |
position: relative; | |
min-height: 1px; | |
padding-right: 15px; | |
padding-left: 15px | |
} | |
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 { | |
float: left | |
} | |
.col-xs-12 { | |
width: 100% | |
} | |
.col-xs-11 { | |
width: 91.66666667% | |
} | |
.col-xs-10 { | |
width: 83.33333333% | |
} | |
.col-xs-9 { | |
width: 75% | |
} | |
.col-xs-8 { | |
width: 66.66666667% | |
} | |
.col-xs-7 { | |
width: 58.33333333% | |
} | |
.col-xs-6 { | |
width: 50% | |
} | |
.col-xs-5 { | |
width: 41.66666667% | |
} | |
.col-xs-4 { | |
width: 33.33333333% | |
} | |
.col-xs-3 { | |
width: 25% | |
} | |
.col-xs-2 { | |
width: 16.66666667% | |
} | |
.col-xs-1 { | |
width: 8.33333333% | |
} | |
.col-xs-pull-12 { | |
right: 100% | |
} | |
.col-xs-pull-11 { | |
right: 91.66666667% | |
} | |
.col-xs-pull-10 { | |
right: 83.33333333% | |
} | |
.col-xs-pull-9 { | |
right: 75% | |
} | |
.col-xs-pull-8 { | |
right: 66.66666667% | |
} | |
.col-xs-pull-7 { | |
right: 58.33333333% | |
} | |
.col-xs-pull-6 { | |
right: 50% | |
} | |
.col-xs-pull-5 { | |
right: 41.66666667% | |
} | |
.col-xs-pull-4 { | |
right: 33.33333333% | |
} | |
.col-xs-pull-3 { | |
right: 25% | |
} | |
.col-xs-pull-2 { | |
right: 16.66666667% | |
} | |
.col-xs-pull-1 { | |
right: 8.33333333% | |
} | |
.col-xs-pull-0 { | |
right: auto | |
} | |
.col-xs-push-12 { | |
left: 100% | |
} | |
.col-xs-push-11 { | |
left: 91.66666667% | |
} | |
.col-xs-push-10 { | |
left: 83.33333333% | |
} | |
.col-xs-push-9 { | |
left: 75% | |
} | |
.col-xs-push-8 { | |
left: 66.66666667% | |
} | |
.col-xs-push-7 { | |
left: 58.33333333% | |
} | |
.col-xs-push-6 { | |
left: 50% | |
} | |
.col-xs-push-5 { | |
left: 41.66666667% | |
} | |
.col-xs-push-4 { | |
left: 33.33333333% | |
} | |
.col-xs-push-3 { | |
left: 25% | |
} | |
.col-xs-push-2 { | |
left: 16.66666667% | |
} | |
.col-xs-push-1 { | |
left: 8.33333333% | |
} | |
.col-xs-push-0 { | |
left: auto | |
} | |
.col-xs-offset-12 { | |
margin-left: 100% | |
} | |
.col-xs-offset-11 { | |
margin-left: 91.66666667% | |
} | |
.col-xs-offset-10 { | |
margin-left: 83.33333333% | |
} | |
.col-xs-offset-9 { | |
margin-left: 75% | |
} | |
.col-xs-offset-8 { | |
margin-left: 66.66666667% | |
} | |
.col-xs-offset-7 { | |
margin-left: 58.33333333% | |
} | |
.col-xs-offset-6 { | |
margin-left: 50% | |
} | |
.col-xs-offset-5 { | |
margin-left: 41.66666667% | |
} | |
.col-xs-offset-4 { | |
margin-left: 33.33333333% | |
} | |
.col-xs-offset-3 { | |
margin-left: 25% | |
} | |
.col-xs-offset-2 { | |
margin-left: 16.66666667% | |
} | |
.col-xs-offset-1 { | |
margin-left: 8.33333333% | |
} | |
.col-xs-offset-0 { | |
margin-left: 0 | |
} | |
@media (min-width: 768px) { | |
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9 { | |
float: left | |
} | |
.col-sm-12 { | |
width: 100% | |
} | |
.col-sm-11 { | |
width: 91.66666667% | |
} | |
.col-sm-10 { | |
width: 83.33333333% | |
} | |
.col-sm-9 { | |
width: 75% | |
} | |
.col-sm-8 { | |
width: 66.66666667% | |
} | |
.col-sm-7 { | |
width: 58.33333333% | |
} | |
.col-sm-6 { | |
width: 50% | |
} | |
.col-sm-5 { | |
width: 41.66666667% | |
} | |
.col-sm-4 { | |
width: 33.33333333% | |
} | |
.col-sm-3 { | |
width: 25% | |
} | |
.col-sm-2 { | |
width: 16.66666667% | |
} | |
.col-sm-1 { | |
width: 8.33333333% | |
} | |
.col-sm-pull-12 { | |
right: 100% | |
} | |
.col-sm-pull-11 { | |
right: 91.66666667% | |
} | |
.col-sm-pull-10 { | |
right: 83.33333333% | |
} | |
.col-sm-pull-9 { | |
right: 75% | |
} | |
.col-sm-pull-8 { | |
right: 66.66666667% | |
} | |
.col-sm-pull-7 { | |
right: 58.33333333% | |
} | |
.col-sm-pull-6 { | |
right: 50% | |
} | |
.col-sm-pull-5 { | |
right: 41.66666667% | |
} | |
.col-sm-pull-4 { | |
right: 33.33333333% | |
} | |
.col-sm-pull-3 { | |
right: 25% | |
} | |
.col-sm-pull-2 { | |
right: 16.66666667% | |
} | |
.col-sm-pull-1 { | |
right: 8.33333333% | |
} | |
.col-sm-pull-0 { | |
right: auto | |
} | |
.col-sm-push-12 { | |
left: 100% | |
} | |
.col-sm-push-11 { | |
left: 91.66666667% | |
} | |
.col-sm-push-10 { | |
left: 83.33333333% | |
} | |
.col-sm-push-9 { | |
left: 75% | |
} | |
.col-sm-push-8 { | |
left: 66.66666667% | |
} | |
.col-sm-push-7 { | |
left: 58.33333333% | |
} | |
.col-sm-push-6 { | |
left: 50% | |
} | |
.col-sm-push-5 { | |
left: 41.66666667% | |
} | |
.col-sm-push-4 { | |
left: 33.33333333% | |
} | |
.col-sm-push-3 { | |
left: 25% | |
} | |
.col-sm-push-2 { | |
left: 16.66666667% | |
} | |
.col-sm-push-1 { | |
left: 8.33333333% | |
} | |
.col-sm-push-0 { | |
left: auto | |
} | |
.col-sm-offset-12 { | |
margin-left: 100% | |
} | |
.col-sm-offset-11 { | |
margin-left: 91.66666667% | |
} | |
.col-sm-offset-10 { | |
margin-left: 83.33333333% | |
} | |
.col-sm-offset-9 { | |
margin-left: 75% | |
} | |
.col-sm-offset-8 { | |
margin-left: 66.66666667% | |
} | |
.col-sm-offset-7 { | |
margin-left: 58.33333333% | |
} | |
.col-sm-offset-6 { | |
margin-left: 50% | |
} | |
.col-sm-offset-5 { | |
margin-left: 41.66666667% | |
} | |
.col-sm-offset-4 { | |
margin-left: 33.33333333% | |
} | |
.col-sm-offset-3 { | |
margin-left: 25% | |
} | |
.col-sm-offset-2 { | |
margin-left: 16.66666667% | |
} | |
.col-sm-offset-1 { | |
margin-left: 8.33333333% | |
} | |
.col-sm-offset-0 { | |
margin-left: 0 | |
} | |
} | |
@media (min-width: 992px) { | |
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9 { | |
float: left | |
} | |
.col-md-12 { | |
width: 100% | |
} | |
.col-md-11 { | |
width: 91.66666667% | |
} | |
.col-md-10 { | |
width: 83.33333333% | |
} | |
.col-md-9 { | |
width: 75% | |
} | |
.col-md-8 { | |
width: 66.66666667% | |
} | |
.col-md-7 { | |
width: 58.33333333% | |
} | |
.col-md-6 { | |
width: 50% | |
} | |
.col-md-5 { | |
width: 41.66666667% | |
} | |
.col-md-4 { | |
width: 33.33333333% | |
} | |
.col-md-3 { | |
width: 25% | |
} | |
.col-md-2 { | |
width: 16.66666667% | |
} | |
.col-md-1 { | |
width: 8.33333333% | |
} | |
.col-md-pull-12 { | |
right: 100% | |
} | |
.col-md-pull-11 { | |
right: 91.66666667% | |
} | |
.col-md-pull-10 { | |
right: 83.33333333% | |
} | |
.col-md-pull-9 { | |
right: 75% | |
} | |
.col-md-pull-8 { | |
right: 66.66666667% | |
} | |
.col-md-pull-7 { | |
right: 58.33333333% | |
} | |
.col-md-pull-6 { | |
right: 50% | |
} | |
.col-md-pull-5 { | |
right: 41.66666667% | |
} | |
.col-md-pull-4 { | |
right: 33.33333333% | |
} | |
.col-md-pull-3 { | |
right: 25% | |
} | |
.col-md-pull-2 { | |
right: 16.66666667% | |
} | |
.col-md-pull-1 { | |
right: 8.33333333% | |
} | |
.col-md-pull-0 { | |
right: auto | |
} | |
.col-md-push-12 { | |
left: 100% | |
} | |
.col-md-push-11 { | |
left: 91.66666667% | |
} | |
.col-md-push-10 { | |
left: 83.33333333% | |
} | |
.col-md-push-9 { | |
left: 75% | |
} | |
.col-md-push-8 { | |
left: 66.66666667% | |
} | |
.col-md-push-7 { | |
left: 58.33333333% | |
} | |
.col-md-push-6 { | |
left: 50% | |
} | |
.col-md-push-5 { | |
left: 41.66666667% | |
} | |
.col-md-push-4 { | |
left: 33.33333333% | |
} | |
.col-md-push-3 { | |
left: 25% | |
} | |
.col-md-push-2 { | |
left: 16.66666667% | |
} | |
.col-md-push-1 { | |
left: 8.33333333% | |
} | |
.col-md-push-0 { | |
left: auto | |
} | |
.col-md-offset-12 { | |
margin-left: 100% | |
} | |
.col-md-offset-11 { | |
margin-left: 91.66666667% | |
} | |
.col-md-offset-10 { | |
margin-left: 83.33333333% | |
} | |
.col-md-offset-9 { | |
margin-left: 75% | |
} | |
.col-md-offset-8 { | |
margin-left: 66.66666667% | |
} | |
.col-md-offset-7 { | |
margin-left: 58.33333333% | |
} | |
.col-md-offset-6 { | |
margin-left: 50% | |
} | |
.col-md-offset-5 { | |
margin-left: 41.66666667% | |
} | |
.col-md-offset-4 { | |
margin-left: 33.33333333% | |
} | |
.col-md-offset-3 { | |
margin-left: 25% | |
} | |
.col-md-offset-2 { | |
margin-left: 16.66666667% | |
} | |
.col-md-offset-1 { | |
margin-left: 8.33333333% | |
} | |
.col-md-offset-0 { | |
margin-left: 0 | |
} | |
} | |
@media (min-width: 1200px) { | |
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9 { | |
float: left | |
} | |
.col-lg-12 { | |
width: 100% | |
} | |
.col-lg-11 { | |
width: 91.66666667% | |
} | |
.col-lg-10 { | |
width: 83.33333333% | |
} | |
.col-lg-9 { | |
width: 75% | |
} | |
.col-lg-8 { | |
width: 66.66666667% | |
} | |
.col-lg-7 { | |
width: 58.33333333% | |
} | |
.col-lg-6 { | |
width: 50% | |
} | |
.col-lg-5 { | |
width: 41.66666667% | |
} | |
.col-lg-4 { | |
width: 33.33333333% | |
} | |
.col-lg-3 { | |
width: 25% | |
} | |
.col-lg-2 { | |
width: 16.66666667% | |
} | |
.col-lg-1 { | |
width: 8.33333333% | |
} | |
.col-lg-pull-12 { | |
right: 100% | |
} | |
.col-lg-pull-11 { | |
right: 91.66666667% | |
} | |
.col-lg-pull-10 { | |
right: 83.33333333% | |
} | |
.col-lg-pull-9 { | |
right: 75% | |
} | |
.col-lg-pull-8 { | |
right: 66.66666667% | |
} | |
.col-lg-pull-7 { | |
right: 58.33333333% | |
} | |
.col-lg-pull-6 { | |
right: 50% | |
} | |
.col-lg-pull-5 { | |
right: 41.66666667% | |
} | |
.col-lg-pull-4 { | |
right: 33.33333333% | |
} | |
.col-lg-pull-3 { | |
right: 25% | |
} | |
.col-lg-pull-2 { | |
right: 16.66666667% | |
} | |
.col-lg-pull-1 { | |
right: 8.33333333% | |
} | |
.col-lg-pull-0 { | |
right: auto | |
} | |
.col-lg-push-12 { | |
left: 100% | |
} | |
.col-lg-push-11 { | |
left: 91.66666667% | |
} | |
.col-lg-push-10 { | |
left: 83.33333333% | |
} | |
.col-lg-push-9 { | |
left: 75% | |
} | |
.col-lg-push-8 { | |
left: 66.66666667% | |
} | |
.col-lg-push-7 { | |
left: 58.33333333% | |
} | |
.col-lg-push-6 { | |
left: 50% | |
} | |
.col-lg-push-5 { | |
left: 41.66666667% | |
} | |
.col-lg-push-4 { | |
left: 33.33333333% | |
} | |
.col-lg-push-3 { | |
left: 25% | |
} | |
.col-lg-push-2 { | |
left: 16.66666667% | |
} | |
.col-lg-push-1 { | |
left: 8.33333333% | |
} | |
.col-lg-push-0 { | |
left: auto | |
} | |
.col-lg-offset-12 { | |
margin-left: 100% | |
} | |
.col-lg-offset-11 { | |
margin-left: 91.66666667% | |
} | |
.col-lg-offset-10 { | |
margin-left: 83.33333333% | |
} | |
.col-lg-offset-9 { | |
margin-left: 75% | |
} | |
.col-lg-offset-8 { | |
margin-left: 66.66666667% | |
} | |
.col-lg-offset-7 { | |
margin-left: 58.33333333% | |
} | |
.col-lg-offset-6 { | |
margin-left: 50% | |
} | |
.col-lg-offset-5 { | |
margin-left: 41.66666667% | |
} | |
.col-lg-offset-4 { | |
margin-left: 33.33333333% | |
} | |
.col-lg-offset-3 { | |
margin-left: 25% | |
} | |
.col-lg-offset-2 { | |
margin-left: 16.66666667% | |
} | |
.col-lg-offset-1 { | |
margin-left: 8.33333333% | |
} | |
.col-lg-offset-0 { | |
margin-left: 0 | |
} | |
} | |
table { | |
background-color: transparent | |
} | |
caption { | |
padding-top: 8px; | |
padding-bottom: 8px; | |
color: #777; | |
text-align: left | |
} | |
th { | |
text-align: left | |
} | |
.table { | |
width: 100%; | |
max-width: 100%; | |
margin-bottom: 20px | |
} | |
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th { | |
padding: 8px; | |
line-height: 1.42857143; | |
vertical-align: top; | |
border-top: 1px solid #ddd | |
} | |
.table > thead > tr > th { | |
vertical-align: bottom; | |
border-bottom: 2px solid #ddd | |
} | |
.table > caption + thead > tr:first-child > td, .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > td, .table > thead:first-child > tr:first-child > th { | |
border-top: 0 | |
} | |
.table > tbody + tbody { | |
border-top: 2px solid #ddd | |
} | |
.table .table { | |
background-color: #fff | |
} | |
.table-condensed > tbody > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > thead > tr > th { | |
padding: 5px | |
} | |
.table-bordered { | |
border: 1px solid #ddd | |
} | |
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th { | |
border: 1px solid #ddd | |
} | |
.table-bordered > thead > tr > td, .table-bordered > thead > tr > th { | |
border-bottom-width: 2px | |
} | |
.table-striped > tbody > tr:nth-of-type(odd) { | |
background-color: #f9f9f9 | |
} | |
.table-hover > tbody > tr:hover { | |
background-color: #f5f5f5 | |
} | |
table col[class*=col-] { | |
position: static; | |
display: table-column; | |
float: none | |
} | |
table td[class*=col-], table th[class*=col-] { | |
position: static; | |
display: table-cell; | |
float: none | |
} | |
.table > tbody > tr.active > td, .table > tbody > tr.active > th, .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tfoot > tr.active > td, .table > tfoot > tr.active > th, .table > tfoot > tr > td.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > thead > tr.active > th, .table > thead > tr > td.active, .table > thead > tr > th.active { | |
background-color: #f5f5f5 | |
} | |
.table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr.active:hover > th, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover { | |
background-color: #e8e8e8 | |
} | |
.table > tbody > tr.success > td, .table > tbody > tr.success > th, .table > tbody > tr > td.success, .table > tbody > tr > th.success, .table > tfoot > tr.success > td, .table > tfoot > tr.success > th, .table > tfoot > tr > td.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > thead > tr.success > th, .table > thead > tr > td.success, .table > thead > tr > th.success { | |
background-color: #dff0d8 | |
} | |
.table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr.success:hover > th, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover { | |
background-color: #d0e9c6 | |
} | |
.table > tbody > tr.info > td, .table > tbody > tr.info > th, .table > tbody > tr > td.info, .table > tbody > tr > th.info, .table > tfoot > tr.info > td, .table > tfoot > tr.info > th, .table > tfoot > tr > td.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > thead > tr.info > th, .table > thead > tr > td.info, .table > thead > tr > th.info { | |
background-color: #d9edf7 | |
} | |
.table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr.info:hover > th, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover { | |
background-color: #c4e3f3 | |
} | |
.table > tbody > tr.warning > td, .table > tbody > tr.warning > th, .table > tbody > tr > td.warning, .table > tbody > tr > th.warning, .table > tfoot > tr.warning > td, .table > tfoot > tr.warning > th, .table > tfoot > tr > td.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > thead > tr.warning > th, .table > thead > tr > td.warning, .table > thead > tr > th.warning { | |
background-color: #fcf8e3 | |
} | |
.table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr.warning:hover > th, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover { | |
background-color: #faf2cc | |
} | |
.table > tbody > tr.danger > td, .table > tbody > tr.danger > th, .table > tbody > tr > td.danger, .table > tbody > tr > th.danger, .table > tfoot > tr.danger > td, .table > tfoot > tr.danger > th, .table > tfoot > tr > td.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > thead > tr.danger > th, .table > thead > tr > td.danger, .table > thead > tr > th.danger { | |
background-color: #f2dede | |
} | |
.table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover { | |
background-color: #ebcccc | |
} | |
.table-responsive { | |
min-height: .01%; | |
overflow-x: auto | |
} | |
@media screen and (max-width: 767px) { | |
.table-responsive { | |
width: 100%; | |
margin-bottom: 15px; | |
overflow-y: hidden; | |
-ms-overflow-style: -ms-autohiding-scrollbar; | |
border: 1px solid #ddd | |
} | |
.table-responsive > .table { | |
margin-bottom: 0 | |
} | |
.table-responsive > .table > tbody > tr > td, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > td, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > thead > tr > th { | |
white-space: nowrap | |
} | |
.table-responsive > .table-bordered { | |
border: 0 | |
} | |
.table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > thead > tr > th:first-child { | |
border-left: 0 | |
} | |
.table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > thead > tr > th:last-child { | |
border-right: 0 | |
} | |
.table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > th { | |
border-bottom: 0 | |
} | |
} | |
fieldset { | |
min-width: 0; | |
padding: 0; | |
margin: 0; | |
border: 0 | |
} | |
legend { | |
display: block; | |
width: 100%; | |
padding: 0; | |
margin-bottom: 20px; | |
font-size: 21px; | |
line-height: inherit; | |
color: #333; | |
border: 0; | |
border-bottom: 1px solid #e5e5e5 | |
} | |
label { | |
display: inline-block; | |
max-width: 100%; | |
margin-bottom: 5px; | |
font-weight: 700 | |
} | |
input[type=search] { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box | |
} | |
input[type=checkbox], input[type=radio] { | |
margin: 4px 0 0; | |
margin-top: 1px \9; | |
line-height: normal | |
} | |
input[type=file] { | |
display: block | |
} | |
input[type=range] { | |
display: block; | |
width: 100% | |
} | |
select[multiple], select[size] { | |
height: auto | |
} | |
input[type=file]:focus, input[type=checkbox]:focus, input[type=radio]:focus { | |
outline: 5px auto -webkit-focus-ring-color; | |
outline-offset: -2px | |
} | |
output { | |
display: block; | |
padding-top: 7px; | |
font-size: 14px; | |
line-height: 1.42857143; | |
color: #555 | |
} | |
.form-control { | |
display: block; | |
width: 100%; | |
height: 34px; | |
padding: 6px 12px; | |
font-size: 14px; | |
line-height: 1.42857143; | |
color: #555; | |
background-color: #fff; | |
background-image: none; | |
border: 1px solid #ccc; | |
border-radius: 4px; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); | |
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; | |
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; | |
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s | |
} | |
.form-control:focus { | |
border-color: #66afe9; | |
outline: 0; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) | |
} | |
.form-control::-moz-placeholder { | |
color: #999; | |
opacity: 1 | |
} | |
.form-control:-ms-input-placeholder { | |
color: #999 | |
} | |
.form-control::-webkit-input-placeholder { | |
color: #999 | |
} | |
.form-control::-ms-expand { | |
background-color: transparent; | |
border: 0 | |
} | |
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { | |
background-color: #eee; | |
opacity: 1 | |
} | |
.form-control[disabled], fieldset[disabled] .form-control { | |
cursor: not-allowed | |
} | |
textarea.form-control { | |
height: auto | |
} | |
input[type=search] { | |
-webkit-appearance: none | |
} | |
@media screen and (-webkit-min-device-pixel-ratio: 0) { | |
input[type=date].form-control, input[type=time].form-control, input[type=datetime-local].form-control, input[type=month].form-control { | |
line-height: 34px | |
} | |
.input-group-sm input[type=date], .input-group-sm input[type=time], .input-group-sm input[type=datetime-local], .input-group-sm input[type=month], input[type=date].input-sm, input[type=time].input-sm, input[type=datetime-local].input-sm, input[type=month].input-sm { | |
line-height: 30px | |
} | |
.input-group-lg input[type=date], .input-group-lg input[type=time], .input-group-lg input[type=datetime-local], .input-group-lg input[type=month], input[type=date].input-lg, input[type=time].input-lg, input[type=datetime-local].input-lg, input[type=month].input-lg { | |
line-height: 46px | |
} | |
} | |
.form-group { | |
margin-bottom: 15px | |
} | |
.checkbox, .radio { | |
position: relative; | |
display: block; | |
margin-top: 10px; | |
margin-bottom: 10px | |
} | |
.checkbox label, .radio label { | |
min-height: 20px; | |
padding-left: 20px; | |
margin-bottom: 0; | |
font-weight: 400; | |
cursor: pointer | |
} | |
.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] { | |
position: absolute; | |
margin-top: 4px \9; | |
margin-left: -20px | |
} | |
.checkbox + .checkbox, .radio + .radio { | |
margin-top: -5px | |
} | |
.checkbox-inline, .radio-inline { | |
position: relative; | |
display: inline-block; | |
padding-left: 20px; | |
margin-bottom: 0; | |
font-weight: 400; | |
vertical-align: middle; | |
cursor: pointer | |
} | |
.checkbox-inline + .checkbox-inline, .radio-inline + .radio-inline { | |
margin-top: 0; | |
margin-left: 10px | |
} | |
fieldset[disabled] input[type=checkbox], fieldset[disabled] input[type=radio], input[type=checkbox].disabled, input[type=checkbox][disabled], input[type=radio].disabled, input[type=radio][disabled] { | |
cursor: not-allowed | |
} | |
.checkbox-inline.disabled, .radio-inline.disabled, fieldset[disabled] .checkbox-inline, fieldset[disabled] .radio-inline { | |
cursor: not-allowed | |
} | |
.checkbox.disabled label, .radio.disabled label, fieldset[disabled] .checkbox label, fieldset[disabled] .radio label { | |
cursor: not-allowed | |
} | |
.form-control-static { | |
min-height: 34px; | |
padding-top: 7px; | |
padding-bottom: 7px; | |
margin-bottom: 0 | |
} | |
.form-control-static.input-lg, .form-control-static.input-sm { | |
padding-right: 0; | |
padding-left: 0 | |
} | |
.input-sm { | |
height: 30px; | |
padding: 5px 10px; | |
font-size: 12px; | |
line-height: 1.5; | |
border-radius: 3px | |
} | |
select.input-sm { | |
height: 30px; | |
line-height: 30px | |
} | |
select[multiple].input-sm, textarea.input-sm { | |
height: auto | |
} | |
.form-group-sm .form-control { | |
height: 30px; | |
padding: 5px 10px; | |
font-size: 12px; | |
line-height: 1.5; | |
border-radius: 3px | |
} | |
.form-group-sm select.form-control { | |
height: 30px; | |
line-height: 30px | |
} | |
.form-group-sm select[multiple].form-control, .form-group-sm textarea.form-control { | |
height: auto | |
} | |
.form-group-sm .form-control-static { | |
height: 30px; | |
min-height: 32px; | |
padding: 6px 10px; | |
font-size: 12px; | |
line-height: 1.5 | |
} | |
.input-lg { | |
height: 46px; | |
padding: 10px 16px; | |
font-size: 18px; | |
line-height: 1.3333333; | |
border-radius: 6px | |
} | |
select.input-lg { | |
height: 46px; | |
line-height: 46px | |
} | |
select[multiple].input-lg, textarea.input-lg { | |
height: auto | |
} | |
.form-group-lg .form-control { | |
height: 46px; | |
padding: 10px 16px; | |
font-size: 18px; | |
line-height: 1.3333333; | |
border-radius: 6px | |
} | |
.form-group-lg select.form-control { | |
height: 46px; | |
line-height: 46px | |
} | |
.form-group-lg select[multiple].form-control, .form-group-lg textarea.form-control { | |
height: auto | |
} | |
.form-group-lg .form-control-static { | |
height: 46px; | |
min-height: 38px; | |
padding: 11px 16px; | |
font-size: 18px; | |
line-height: 1.3333333 | |
} | |
.has-feedback { | |
position: relative | |
} | |
.has-feedback .form-control { | |
padding-right: 42.5px | |
} | |
.form-control-feedback { | |
position: absolute; | |
top: 0; | |
right: 0; | |
z-index: 2; | |
display: block; | |
width: 34px; | |
height: 34px; | |
line-height: 34px; | |
text-align: center; | |
pointer-events: none | |
} | |
.form-group-lg .form-control + .form-control-feedback, .input-group-lg + .form-control-feedback, .input-lg + .form-control-feedback { | |
width: 46px; | |
height: 46px; | |
line-height: 46px | |
} | |
.form-group-sm .form-control + .form-control-feedback, .input-group-sm + .form-control-feedback, .input-sm + .form-control-feedback { | |
width: 30px; | |
height: 30px; | |
line-height: 30px | |
} | |
.has-success .checkbox, .has-success .checkbox-inline, .has-success .control-label, .has-success .help-block, .has-success .radio, .has-success .radio-inline, .has-success.checkbox label, .has-success.checkbox-inline label, .has-success.radio label, .has-success.radio-inline label { | |
color: #3c763d | |
} | |
.has-success .form-control { | |
border-color: #3c763d; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) | |
} | |
.has-success .form-control:focus { | |
border-color: #2b542c; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168 | |
} | |
.has-success .input-group-addon { | |
color: #3c763d; | |
background-color: #dff0d8; | |
border-color: #3c763d | |
} | |
.has-success .form-control-feedback { | |
color: #3c763d | |
} | |
.has-warning .checkbox, .has-warning .checkbox-inline, .has-warning .control-label, .has-warning .help-block, .has-warning .radio, .has-warning .radio-inline, .has-warning.checkbox label, .has-warning.checkbox-inline label, .has-warning.radio label, .has-warning.radio-inline label { | |
color: #8a6d3b | |
} | |
.has-warning .form-control { | |
border-color: #8a6d3b; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) | |
} | |
.has-warning .form-control:focus { | |
border-color: #66512c; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b | |
} | |
.has-warning .input-group-addon { | |
color: #8a6d3b; | |
background-color: #fcf8e3; | |
border-color: #8a6d3b | |
} | |
.has-warning .form-control-feedback { | |
color: #8a6d3b | |
} | |
.has-error .checkbox, .has-error .checkbox-inline, .has-error .control-label, .has-error .help-block, .has-error .radio, .has-error .radio-inline, .has-error.checkbox label, .has-error.checkbox-inline label, .has-error.radio label, .has-error.radio-inline label { | |
color: #a94442 | |
} | |
.has-error .form-control { | |
border-color: #a94442; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075) | |
} | |
.has-error .form-control:focus { | |
border-color: #843534; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483 | |
} | |
.has-error .input-group-addon { | |
color: #a94442; | |
background-color: #f2dede; | |
border-color: #a94442 | |
} | |
.has-error .form-control-feedback { | |
color: #a94442 | |
} | |
.has-feedback label ~ .form-control-feedback { | |
top: 25px | |
} | |
.has-feedback label.sr-only ~ .form-control-feedback { | |
top: 0 | |
} | |
.help-block { | |
display: block; | |
margin-top: 5px; | |
margin-bottom: 10px; | |
color: #737373 | |
} | |
@media (min-width: 768px) { | |
.form-inline .form-group { | |
display: inline-block; | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.form-inline .form-control { | |
display: inline-block; | |
width: auto; | |
vertical-align: middle | |
} | |
.form-inline .form-control-static { | |
display: inline-block | |
} | |
.form-inline .input-group { | |
display: inline-table; | |
vertical-align: middle | |
} | |
.form-inline .input-group .form-control, .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn { | |
width: auto | |
} | |
.form-inline .input-group > .form-control { | |
width: 100% | |
} | |
.form-inline .control-label { | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.form-inline .checkbox, .form-inline .radio { | |
display: inline-block; | |
margin-top: 0; | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.form-inline .checkbox label, .form-inline .radio label { | |
padding-left: 0 | |
} | |
.form-inline .checkbox input[type=checkbox], .form-inline .radio input[type=radio] { | |
position: relative; | |
margin-left: 0 | |
} | |
.form-inline .has-feedback .form-control-feedback { | |
top: 0 | |
} | |
} | |
.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline { | |
padding-top: 7px; | |
margin-top: 0; | |
margin-bottom: 0 | |
} | |
.form-horizontal .checkbox, .form-horizontal .radio { | |
min-height: 27px | |
} | |
.form-horizontal .form-group { | |
margin-right: -15px; | |
margin-left: -15px | |
} | |
@media (min-width: 768px) { | |
.form-horizontal .control-label { | |
padding-top: 7px; | |
margin-bottom: 0; | |
text-align: right | |
} | |
} | |
.form-horizontal .has-feedback .form-control-feedback { | |
right: 15px | |
} | |
@media (min-width: 768px) { | |
.form-horizontal .form-group-lg .control-label { | |
padding-top: 11px; | |
font-size: 18px | |
} | |
} | |
@media (min-width: 768px) { | |
.form-horizontal .form-group-sm .control-label { | |
padding-top: 6px; | |
font-size: 12px | |
} | |
} | |
.btn { | |
display: inline-block; | |
padding: 6px 12px; | |
margin-bottom: 0; | |
font-size: 14px; | |
font-weight: 400; | |
line-height: 1.42857143; | |
text-align: center; | |
white-space: nowrap; | |
vertical-align: middle; | |
-ms-touch-action: manipulation; | |
touch-action: manipulation; | |
cursor: pointer; | |
-webkit-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
background-image: none; | |
border: 1px solid transparent; | |
border-radius: 4px | |
} | |
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus { | |
outline: 5px auto -webkit-focus-ring-color; | |
outline-offset: -2px | |
} | |
.btn.focus, .btn:focus, .btn:hover { | |
color: #333; | |
text-decoration: none | |
} | |
.btn.active, .btn:active { | |
background-image: none; | |
outline: 0; | |
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); | |
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) | |
} | |
.btn.disabled, .btn[disabled], fieldset[disabled] .btn { | |
cursor: not-allowed; | |
filter: alpha(opacity=65); | |
-webkit-box-shadow: none; | |
box-shadow: none; | |
opacity: .65 | |
} | |
a.btn.disabled, fieldset[disabled] a.btn { | |
pointer-events: none | |
} | |
.btn-default { | |
color: #333; | |
background-color: #fff; | |
border-color: #ccc | |
} | |
.btn-default.focus, .btn-default:focus { | |
color: #333; | |
background-color: #e6e6e6; | |
border-color: #8c8c8c | |
} | |
.btn-default:hover { | |
color: #333; | |
background-color: #e6e6e6; | |
border-color: #adadad | |
} | |
.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default { | |
color: #333; | |
background-color: #e6e6e6; | |
border-color: #adadad | |
} | |
.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover { | |
color: #333; | |
background-color: #d4d4d4; | |
border-color: #8c8c8c | |
} | |
.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default { | |
background-image: none | |
} | |
.btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled].focus, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover { | |
background-color: #fff; | |
border-color: #ccc | |
} | |
.btn-default .badge { | |
color: #fff; | |
background-color: #333 | |
} | |
.btn-primary { | |
color: #fff; | |
background-color: #337ab7; | |
border-color: #2e6da4 | |
} | |
.btn-primary.focus, .btn-primary:focus { | |
color: #fff; | |
background-color: #286090; | |
border-color: #122b40 | |
} | |
.btn-primary:hover { | |
color: #fff; | |
background-color: #286090; | |
border-color: #204d74 | |
} | |
.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary { | |
color: #fff; | |
background-color: #286090; | |
border-color: #204d74 | |
} | |
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover { | |
color: #fff; | |
background-color: #204d74; | |
border-color: #122b40 | |
} | |
.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary { | |
background-image: none | |
} | |
.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover { | |
background-color: #337ab7; | |
border-color: #2e6da4 | |
} | |
.btn-primary .badge { | |
color: #337ab7; | |
background-color: #fff | |
} | |
.btn-success { | |
color: #fff; | |
background-color: #5cb85c; | |
border-color: #4cae4c | |
} | |
.btn-success.focus, .btn-success:focus { | |
color: #fff; | |
background-color: #449d44; | |
border-color: #255625 | |
} | |
.btn-success:hover { | |
color: #fff; | |
background-color: #449d44; | |
border-color: #398439 | |
} | |
.btn-success.active, .btn-success:active, .open > .dropdown-toggle.btn-success { | |
color: #fff; | |
background-color: #449d44; | |
border-color: #398439 | |
} | |
.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open > .dropdown-toggle.btn-success.focus, .open > .dropdown-toggle.btn-success:focus, .open > .dropdown-toggle.btn-success:hover { | |
color: #fff; | |
background-color: #398439; | |
border-color: #255625 | |
} | |
.btn-success.active, .btn-success:active, .open > .dropdown-toggle.btn-success { | |
background-image: none | |
} | |
.btn-success.disabled.focus, .btn-success.disabled:focus, .btn-success.disabled:hover, .btn-success[disabled].focus, .btn-success[disabled]:focus, .btn-success[disabled]:hover, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success:hover { | |
background-color: #5cb85c; | |
border-color: #4cae4c | |
} | |
.btn-success .badge { | |
color: #5cb85c; | |
background-color: #fff | |
} | |
.btn-info { | |
color: #fff; | |
background-color: #5bc0de; | |
border-color: #46b8da | |
} | |
.btn-info.focus, .btn-info:focus { | |
color: #fff; | |
background-color: #31b0d5; | |
border-color: #1b6d85 | |
} | |
.btn-info:hover { | |
color: #fff; | |
background-color: #31b0d5; | |
border-color: #269abc | |
} | |
.btn-info.active, .btn-info:active, .open > .dropdown-toggle.btn-info { | |
color: #fff; | |
background-color: #31b0d5; | |
border-color: #269abc | |
} | |
.btn-info.active.focus, .btn-info.active:focus, .btn-info.active:hover, .btn-info:active.focus, .btn-info:active:focus, .btn-info:active:hover, .open > .dropdown-toggle.btn-info.focus, .open > .dropdown-toggle.btn-info:focus, .open > .dropdown-toggle.btn-info:hover { | |
color: #fff; | |
background-color: #269abc; | |
border-color: #1b6d85 | |
} | |
.btn-info.active, .btn-info:active, .open > .dropdown-toggle.btn-info { | |
background-image: none | |
} | |
.btn-info.disabled.focus, .btn-info.disabled:focus, .btn-info.disabled:hover, .btn-info[disabled].focus, .btn-info[disabled]:focus, .btn-info[disabled]:hover, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info:hover { | |
background-color: #5bc0de; | |
border-color: #46b8da | |
} | |
.btn-info .badge { | |
color: #5bc0de; | |
background-color: #fff | |
} | |
.btn-warning { | |
color: #fff; | |
background-color: #f0ad4e; | |
border-color: #eea236 | |
} | |
.btn-warning.focus, .btn-warning:focus { | |
color: #fff; | |
background-color: #ec971f; | |
border-color: #985f0d | |
} | |
.btn-warning:hover { | |
color: #fff; | |
background-color: #ec971f; | |
border-color: #d58512 | |
} | |
.btn-warning.active, .btn-warning:active, .open > .dropdown-toggle.btn-warning { | |
color: #fff; | |
background-color: #ec971f; | |
border-color: #d58512 | |
} | |
.btn-warning.active.focus, .btn-warning.active:focus, .btn-warning.active:hover, .btn-warning:active.focus, .btn-warning:active:focus, .btn-warning:active:hover, .open > .dropdown-toggle.btn-warning.focus, .open > .dropdown-toggle.btn-warning:focus, .open > .dropdown-toggle.btn-warning:hover { | |
color: #fff; | |
background-color: #d58512; | |
border-color: #985f0d | |
} | |
.btn-warning.active, .btn-warning:active, .open > .dropdown-toggle.btn-warning { | |
background-image: none | |
} | |
.btn-warning.disabled.focus, .btn-warning.disabled:focus, .btn-warning.disabled:hover, .btn-warning[disabled].focus, .btn-warning[disabled]:focus, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning:hover { | |
background-color: #f0ad4e; | |
border-color: #eea236 | |
} | |
.btn-warning .badge { | |
color: #f0ad4e; | |
background-color: #fff | |
} | |
.btn-danger { | |
color: #fff; | |
background-color: #d9534f; | |
border-color: #d43f3a | |
} | |
.btn-danger.focus, .btn-danger:focus { | |
color: #fff; | |
background-color: #c9302c; | |
border-color: #761c19 | |
} | |
.btn-danger:hover { | |
color: #fff; | |
background-color: #c9302c; | |
border-color: #ac2925 | |
} | |
.btn-danger.active, .btn-danger:active, .open > .dropdown-toggle.btn-danger { | |
color: #fff; | |
background-color: #c9302c; | |
border-color: #ac2925 | |
} | |
.btn-danger.active.focus, .btn-danger.active:focus, .btn-danger.active:hover, .btn-danger:active.focus, .btn-danger:active:focus, .btn-danger:active:hover, .open > .dropdown-toggle.btn-danger.focus, .open > .dropdown-toggle.btn-danger:focus, .open > .dropdown-toggle.btn-danger:hover { | |
color: #fff; | |
background-color: #ac2925; | |
border-color: #761c19 | |
} | |
.btn-danger.active, .btn-danger:active, .open > .dropdown-toggle.btn-danger { | |
background-image: none | |
} | |
.btn-danger.disabled.focus, .btn-danger.disabled:focus, .btn-danger.disabled:hover, .btn-danger[disabled].focus, .btn-danger[disabled]:focus, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger:hover { | |
background-color: #d9534f; | |
border-color: #d43f3a | |
} | |
.btn-danger .badge { | |
color: #d9534f; | |
background-color: #fff | |
} | |
.btn-link { | |
font-weight: 400; | |
color: #337ab7; | |
border-radius: 0 | |
} | |
.btn-link, .btn-link.active, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link { | |
background-color: transparent; | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
.btn-link, .btn-link:active, .btn-link:focus, .btn-link:hover { | |
border-color: transparent | |
} | |
.btn-link:focus, .btn-link:hover { | |
color: #23527c; | |
text-decoration: underline; | |
background-color: transparent | |
} | |
.btn-link[disabled]:focus, .btn-link[disabled]:hover, fieldset[disabled] .btn-link:focus, fieldset[disabled] .btn-link:hover { | |
color: #777; | |
text-decoration: none | |
} | |
.btn-group-lg > .btn, .btn-lg { | |
padding: 10px 16px; | |
font-size: 18px; | |
line-height: 1.3333333; | |
border-radius: 6px | |
} | |
.btn-group-sm > .btn, .btn-sm { | |
padding: 5px 10px; | |
font-size: 12px; | |
line-height: 1.5; | |
border-radius: 3px | |
} | |
.btn-group-xs > .btn, .btn-xs { | |
padding: 1px 5px; | |
font-size: 12px; | |
line-height: 1.5; | |
border-radius: 3px | |
} | |
.btn-block { | |
display: block; | |
width: 100% | |
} | |
.btn-block + .btn-block { | |
margin-top: 5px | |
} | |
input[type=button].btn-block, input[type=reset].btn-block, input[type=submit].btn-block { | |
width: 100% | |
} | |
.fade { | |
opacity: 0; | |
-webkit-transition: opacity .15s linear; | |
-o-transition: opacity .15s linear; | |
transition: opacity .15s linear | |
} | |
.fade.in { | |
opacity: 1 | |
} | |
.collapse { | |
display: none | |
} | |
.collapse.in { | |
display: block | |
} | |
tr.collapse.in { | |
display: table-row | |
} | |
tbody.collapse.in { | |
display: table-row-group | |
} | |
.collapsing { | |
position: relative; | |
height: 0; | |
overflow: hidden; | |
-webkit-transition-timing-function: ease; | |
-o-transition-timing-function: ease; | |
transition-timing-function: ease; | |
-webkit-transition-duration: .35s; | |
-o-transition-duration: .35s; | |
transition-duration: .35s; | |
-webkit-transition-property: height, visibility; | |
-o-transition-property: height, visibility; | |
transition-property: height, visibility | |
} | |
.caret { | |
display: inline-block; | |
width: 0; | |
height: 0; | |
margin-left: 2px; | |
vertical-align: middle; | |
border-top: 4px dashed; | |
border-top: 4px solid \9; | |
border-right: 4px solid transparent; | |
border-left: 4px solid transparent | |
} | |
.dropdown, .dropup { | |
position: relative | |
} | |
.dropdown-toggle:focus { | |
outline: 0 | |
} | |
.dropdown-menu { | |
position: absolute; | |
top: 100%; | |
left: 0; | |
z-index: 1000; | |
display: none; | |
float: left; | |
min-width: 160px; | |
padding: 5px 0; | |
margin: 2px 0 0; | |
font-size: 14px; | |
text-align: left; | |
list-style: none; | |
background-color: #fff; | |
-webkit-background-clip: padding-box; | |
background-clip: padding-box; | |
border: 1px solid #ccc; | |
border: 1px solid rgba(0, 0, 0, .15); | |
border-radius: 4px; | |
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); | |
box-shadow: 0 6px 12px rgba(0, 0, 0, .175) | |
} | |
.dropdown-menu.pull-right { | |
right: 0; | |
left: auto | |
} | |
.dropdown-menu .divider { | |
height: 1px; | |
margin: 9px 0; | |
overflow: hidden; | |
background-color: #e5e5e5 | |
} | |
.dropdown-menu > li > a { | |
display: block; | |
padding: 3px 20px; | |
clear: both; | |
font-weight: 400; | |
line-height: 1.42857143; | |
color: #333; | |
white-space: nowrap | |
} | |
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover { | |
color: #262626; | |
text-decoration: none; | |
background-color: #f5f5f5 | |
} | |
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover { | |
color: #fff; | |
text-decoration: none; | |
background-color: #337ab7; | |
outline: 0 | |
} | |
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:focus, .dropdown-menu > .disabled > a:hover { | |
color: #777 | |
} | |
.dropdown-menu > .disabled > a:focus, .dropdown-menu > .disabled > a:hover { | |
text-decoration: none; | |
cursor: not-allowed; | |
background-color: transparent; | |
background-image: none; | |
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false) | |
} | |
.open > .dropdown-menu { | |
display: block | |
} | |
.open > a { | |
outline: 0 | |
} | |
.dropdown-menu-right { | |
right: 0; | |
left: auto | |
} | |
.dropdown-menu-left { | |
right: auto; | |
left: 0 | |
} | |
.dropdown-header { | |
display: block; | |
padding: 3px 20px; | |
font-size: 12px; | |
line-height: 1.42857143; | |
color: #777; | |
white-space: nowrap | |
} | |
.dropdown-backdrop { | |
position: fixed; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 990 | |
} | |
.pull-right > .dropdown-menu { | |
right: 0; | |
left: auto | |
} | |
.dropup .caret, .navbar-fixed-bottom .dropdown .caret { | |
content: ""; | |
border-top: 0; | |
border-bottom: 4px dashed; | |
border-bottom: 4px solid \9 | |
} | |
.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { | |
top: auto; | |
bottom: 100%; | |
margin-bottom: 2px | |
} | |
@media (min-width: 768px) { | |
.navbar-right .dropdown-menu { | |
right: 0; | |
left: auto | |
} | |
.navbar-right .dropdown-menu-left { | |
right: auto; | |
left: 0 | |
} | |
} | |
.btn-group, .btn-group-vertical { | |
position: relative; | |
display: inline-block; | |
vertical-align: middle | |
} | |
.btn-group-vertical > .btn, .btn-group > .btn { | |
position: relative; | |
float: left | |
} | |
.btn-group-vertical > .btn.active, .btn-group-vertical > .btn:active, .btn-group-vertical > .btn:focus, .btn-group-vertical > .btn:hover, .btn-group > .btn.active, .btn-group > .btn:active, .btn-group > .btn:focus, .btn-group > .btn:hover { | |
z-index: 2 | |
} | |
.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { | |
margin-left: -1px | |
} | |
.btn-toolbar { | |
margin-left: -5px | |
} | |
.btn-toolbar .btn, .btn-toolbar .btn-group, .btn-toolbar .input-group { | |
float: left | |
} | |
.btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group { | |
margin-left: 5px | |
} | |
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { | |
border-radius: 0 | |
} | |
.btn-group > .btn:first-child { | |
margin-left: 0 | |
} | |
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { | |
border-top-right-radius: 0; | |
border-bottom-right-radius: 0 | |
} | |
.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { | |
border-top-left-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.btn-group > .btn-group { | |
float: left | |
} | |
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { | |
border-radius: 0 | |
} | |
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { | |
border-top-right-radius: 0; | |
border-bottom-right-radius: 0 | |
} | |
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { | |
border-top-left-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { | |
outline: 0 | |
} | |
.btn-group > .btn + .dropdown-toggle { | |
padding-right: 8px; | |
padding-left: 8px | |
} | |
.btn-group > .btn-lg + .dropdown-toggle { | |
padding-right: 12px; | |
padding-left: 12px | |
} | |
.btn-group.open .dropdown-toggle { | |
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); | |
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125) | |
} | |
.btn-group.open .dropdown-toggle.btn-link { | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
.btn .caret { | |
margin-left: 0 | |
} | |
.btn-lg .caret { | |
border-width: 5px 5px 0; | |
border-bottom-width: 0 | |
} | |
.dropup .btn-lg .caret { | |
border-width: 0 5px 5px | |
} | |
.btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn { | |
display: block; | |
float: none; | |
width: 100%; | |
max-width: 100% | |
} | |
.btn-group-vertical > .btn-group > .btn { | |
float: none | |
} | |
.btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { | |
margin-top: -1px; | |
margin-left: 0 | |
} | |
.btn-group-vertical > .btn:not(:first-child):not(:last-child) { | |
border-radius: 0 | |
} | |
.btn-group-vertical > .btn:first-child:not(:last-child) { | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
border-bottom-right-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.btn-group-vertical > .btn:last-child:not(:first-child) { | |
border-top-left-radius: 0; | |
border-top-right-radius: 0; | |
border-bottom-right-radius: 4px; | |
border-bottom-left-radius: 4px | |
} | |
.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { | |
border-radius: 0 | |
} | |
.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { | |
border-bottom-right-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { | |
border-top-left-radius: 0; | |
border-top-right-radius: 0 | |
} | |
.btn-group-justified { | |
display: table; | |
width: 100%; | |
table-layout: fixed; | |
border-collapse: separate | |
} | |
.btn-group-justified > .btn, .btn-group-justified > .btn-group { | |
display: table-cell; | |
float: none; | |
width: 1% | |
} | |
.btn-group-justified > .btn-group .btn { | |
width: 100% | |
} | |
.btn-group-justified > .btn-group .dropdown-menu { | |
left: auto | |
} | |
[data-toggle=buttons] > .btn input[type=checkbox], [data-toggle=buttons] > .btn input[type=radio], [data-toggle=buttons] > .btn-group > .btn input[type=checkbox], [data-toggle=buttons] > .btn-group > .btn input[type=radio] { | |
position: absolute; | |
clip: rect(0, 0, 0, 0); | |
pointer-events: none | |
} | |
.input-group { | |
position: relative; | |
display: table; | |
border-collapse: separate | |
} | |
.input-group[class*=col-] { | |
float: none; | |
padding-right: 0; | |
padding-left: 0 | |
} | |
.input-group .form-control { | |
position: relative; | |
z-index: 2; | |
float: left; | |
width: 100%; | |
margin-bottom: 0 | |
} | |
.input-group .form-control:focus { | |
z-index: 3 | |
} | |
.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn { | |
height: 46px; | |
padding: 10px 16px; | |
font-size: 18px; | |
line-height: 1.3333333; | |
border-radius: 6px | |
} | |
select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn { | |
height: 46px; | |
line-height: 46px | |
} | |
select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn, textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn { | |
height: auto | |
} | |
.input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn { | |
height: 30px; | |
padding: 5px 10px; | |
font-size: 12px; | |
line-height: 1.5; | |
border-radius: 3px | |
} | |
select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn { | |
height: 30px; | |
line-height: 30px | |
} | |
select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn, textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn { | |
height: auto | |
} | |
.input-group .form-control, .input-group-addon, .input-group-btn { | |
display: table-cell | |
} | |
.input-group .form-control:not(:first-child):not(:last-child), .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child) { | |
border-radius: 0 | |
} | |
.input-group-addon, .input-group-btn { | |
width: 1%; | |
white-space: nowrap; | |
vertical-align: middle | |
} | |
.input-group-addon { | |
padding: 6px 12px; | |
font-size: 14px; | |
font-weight: 400; | |
line-height: 1; | |
color: #555; | |
text-align: center; | |
background-color: #eee; | |
border: 1px solid #ccc; | |
border-radius: 4px | |
} | |
.input-group-addon.input-sm { | |
padding: 5px 10px; | |
font-size: 12px; | |
border-radius: 3px | |
} | |
.input-group-addon.input-lg { | |
padding: 10px 16px; | |
font-size: 18px; | |
border-radius: 6px | |
} | |
.input-group-addon input[type=checkbox], .input-group-addon input[type=radio] { | |
margin-top: 0 | |
} | |
.input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn-group:not(:last-child) > .btn, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) { | |
border-top-right-radius: 0; | |
border-bottom-right-radius: 0 | |
} | |
.input-group-addon:first-child { | |
border-right: 0 | |
} | |
.input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:first-child > .btn-group:not(:first-child) > .btn, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle { | |
border-top-left-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.input-group-addon:last-child { | |
border-left: 0 | |
} | |
.input-group-btn { | |
position: relative; | |
font-size: 0; | |
white-space: nowrap | |
} | |
.input-group-btn > .btn { | |
position: relative | |
} | |
.input-group-btn > .btn + .btn { | |
margin-left: -1px | |
} | |
.input-group-btn > .btn:active, .input-group-btn > .btn:focus, .input-group-btn > .btn:hover { | |
z-index: 2 | |
} | |
.input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { | |
margin-right: -1px | |
} | |
.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group { | |
z-index: 2; | |
margin-left: -1px | |
} | |
.nav { | |
padding-left: 0; | |
margin-bottom: 0; | |
list-style: none | |
} | |
.nav > li { | |
position: relative; | |
display: block | |
} | |
.nav > li > a { | |
position: relative; | |
display: block; | |
padding: 10px 15px | |
} | |
.nav > li > a:focus, .nav > li > a:hover { | |
text-decoration: none; | |
background-color: #eee | |
} | |
.nav > li.disabled > a { | |
color: #777 | |
} | |
.nav > li.disabled > a:focus, .nav > li.disabled > a:hover { | |
color: #777; | |
text-decoration: none; | |
cursor: not-allowed; | |
background-color: transparent | |
} | |
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover { | |
background-color: #eee; | |
border-color: #337ab7 | |
} | |
.nav .nav-divider { | |
height: 1px; | |
margin: 9px 0; | |
overflow: hidden; | |
background-color: #e5e5e5 | |
} | |
.nav > li > a > img { | |
max-width: none | |
} | |
.nav-tabs { | |
border-bottom: 1px solid #ddd | |
} | |
.nav-tabs > li { | |
float: left; | |
margin-bottom: -1px | |
} | |
.nav-tabs > li > a { | |
margin-right: 2px; | |
line-height: 1.42857143; | |
border: 1px solid transparent; | |
border-radius: 4px 4px 0 0 | |
} | |
.nav-tabs > li > a:hover { | |
border-color: #eee #eee #ddd | |
} | |
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover { | |
color: #555; | |
cursor: default; | |
background-color: #fff; | |
border: 1px solid #ddd; | |
border-bottom-color: transparent | |
} | |
.nav-tabs.nav-justified { | |
width: 100%; | |
border-bottom: 0 | |
} | |
.nav-tabs.nav-justified > li { | |
float: none | |
} | |
.nav-tabs.nav-justified > li > a { | |
margin-bottom: 5px; | |
text-align: center | |
} | |
.nav-tabs.nav-justified > .dropdown .dropdown-menu { | |
top: auto; | |
left: auto | |
} | |
@media (min-width: 768px) { | |
.nav-tabs.nav-justified > li { | |
display: table-cell; | |
width: 1% | |
} | |
.nav-tabs.nav-justified > li > a { | |
margin-bottom: 0 | |
} | |
} | |
.nav-tabs.nav-justified > li > a { | |
margin-right: 0; | |
border-radius: 4px | |
} | |
.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:hover { | |
border: 1px solid #ddd | |
} | |
@media (min-width: 768px) { | |
.nav-tabs.nav-justified > li > a { | |
border-bottom: 1px solid #ddd; | |
border-radius: 4px 4px 0 0 | |
} | |
.nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:focus, .nav-tabs.nav-justified > .active > a:hover { | |
border-bottom-color: #fff | |
} | |
} | |
.nav-pills > li { | |
float: left | |
} | |
.nav-pills > li > a { | |
border-radius: 4px | |
} | |
.nav-pills > li + li { | |
margin-left: 2px | |
} | |
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover { | |
color: #fff; | |
background-color: #337ab7 | |
} | |
.nav-stacked > li { | |
float: none | |
} | |
.nav-stacked > li + li { | |
margin-top: 2px; | |
margin-left: 0 | |
} | |
.nav-justified { | |
width: 100% | |
} | |
.nav-justified > li { | |
float: none | |
} | |
.nav-justified > li > a { | |
margin-bottom: 5px; | |
text-align: center | |
} | |
.nav-justified > .dropdown .dropdown-menu { | |
top: auto; | |
left: auto | |
} | |
@media (min-width: 768px) { | |
.nav-justified > li { | |
display: table-cell; | |
width: 1% | |
} | |
.nav-justified > li > a { | |
margin-bottom: 0 | |
} | |
} | |
.nav-tabs-justified { | |
border-bottom: 0 | |
} | |
.nav-tabs-justified > li > a { | |
margin-right: 0; | |
border-radius: 4px | |
} | |
.nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:focus, .nav-tabs-justified > .active > a:hover { | |
border: 1px solid #ddd | |
} | |
@media (min-width: 768px) { | |
.nav-tabs-justified > li > a { | |
border-bottom: 1px solid #ddd; | |
border-radius: 4px 4px 0 0 | |
} | |
.nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:focus, .nav-tabs-justified > .active > a:hover { | |
border-bottom-color: #fff | |
} | |
} | |
.tab-content > .tab-pane { | |
display: none | |
} | |
.tab-content > .active { | |
display: block | |
} | |
.nav-tabs .dropdown-menu { | |
margin-top: -1px; | |
border-top-left-radius: 0; | |
border-top-right-radius: 0 | |
} | |
.navbar { | |
position: relative; | |
min-height: 50px; | |
margin-bottom: 20px; | |
border: 1px solid transparent | |
} | |
@media (min-width: 768px) { | |
.navbar { | |
border-radius: 4px | |
} | |
} | |
@media (min-width: 768px) { | |
.navbar-header { | |
float: left | |
} | |
} | |
.navbar-collapse { | |
padding-right: 15px; | |
padding-left: 15px; | |
overflow-x: visible; | |
-webkit-overflow-scrolling: touch; | |
border-top: 1px solid transparent; | |
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); | |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1) | |
} | |
.navbar-collapse.in { | |
overflow-y: auto | |
} | |
@media (min-width: 768px) { | |
.navbar-collapse { | |
width: auto; | |
border-top: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
.navbar-collapse.collapse { | |
display: block !important; | |
height: auto !important; | |
padding-bottom: 0; | |
overflow: visible !important | |
} | |
.navbar-collapse.in { | |
overflow-y: visible | |
} | |
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse { | |
padding-right: 0; | |
padding-left: 0 | |
} | |
} | |
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse { | |
max-height: 340px | |
} | |
@media (max-device-width: 480px) and (orientation: landscape) { | |
.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse { | |
max-height: 200px | |
} | |
} | |
.container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header { | |
margin-right: -15px; | |
margin-left: -15px | |
} | |
@media (min-width: 768px) { | |
.container-fluid > .navbar-collapse, .container-fluid > .navbar-header, .container > .navbar-collapse, .container > .navbar-header { | |
margin-right: 0; | |
margin-left: 0 | |
} | |
} | |
.navbar-static-top { | |
z-index: 1000; | |
border-width: 0 0 1px | |
} | |
@media (min-width: 768px) { | |
.navbar-static-top { | |
border-radius: 0 | |
} | |
} | |
.navbar-fixed-bottom, .navbar-fixed-top { | |
position: fixed; | |
right: 0; | |
left: 0; | |
z-index: 1030 | |
} | |
@media (min-width: 768px) { | |
.navbar-fixed-bottom, .navbar-fixed-top { | |
border-radius: 0 | |
} | |
} | |
.navbar-fixed-top { | |
top: 0; | |
border-width: 0 0 1px | |
} | |
.navbar-fixed-bottom { | |
bottom: 0; | |
margin-bottom: 0; | |
border-width: 1px 0 0 | |
} | |
.navbar-brand { | |
float: left; | |
height: 50px; | |
padding: 15px 15px; | |
font-size: 18px; | |
line-height: 20px | |
} | |
.navbar-brand:focus, .navbar-brand:hover { | |
text-decoration: none | |
} | |
.navbar-brand > img { | |
display: block | |
} | |
@media (min-width: 768px) { | |
.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { | |
margin-left: -15px | |
} | |
} | |
.navbar-toggle { | |
position: relative; | |
float: right; | |
padding: 9px 10px; | |
margin-top: 8px; | |
margin-right: 15px; | |
margin-bottom: 8px; | |
background-color: transparent; | |
background-image: none; | |
border: 1px solid transparent; | |
border-radius: 4px | |
} | |
.navbar-toggle:focus { | |
outline: 0 | |
} | |
.navbar-toggle .icon-bar { | |
display: block; | |
width: 22px; | |
height: 2px; | |
border-radius: 1px | |
} | |
.navbar-toggle .icon-bar + .icon-bar { | |
margin-top: 4px | |
} | |
@media (min-width: 768px) { | |
.navbar-toggle { | |
display: none | |
} | |
} | |
.navbar-nav { | |
margin: 7.5px -15px | |
} | |
.navbar-nav > li > a { | |
padding-top: 10px; | |
padding-bottom: 10px; | |
line-height: 20px | |
} | |
@media (max-width: 767px) { | |
.navbar-nav .open .dropdown-menu { | |
position: static; | |
float: none; | |
width: auto; | |
margin-top: 0; | |
background-color: transparent; | |
border: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
.navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu > li > a { | |
padding: 5px 15px 5px 25px | |
} | |
.navbar-nav .open .dropdown-menu > li > a { | |
line-height: 20px | |
} | |
.navbar-nav .open .dropdown-menu > li > a:focus, .navbar-nav .open .dropdown-menu > li > a:hover { | |
background-image: none | |
} | |
} | |
@media (min-width: 768px) { | |
.navbar-nav { | |
float: left; | |
margin: 0 | |
} | |
.navbar-nav > li { | |
float: left | |
} | |
.navbar-nav > li > a { | |
padding-top: 15px; | |
padding-bottom: 15px | |
} | |
} | |
.navbar-form { | |
padding: 10px 15px; | |
margin-top: 8px; | |
margin-right: -15px; | |
margin-bottom: 8px; | |
margin-left: -15px; | |
border-top: 1px solid transparent; | |
border-bottom: 1px solid transparent; | |
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); | |
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1) | |
} | |
@media (min-width: 768px) { | |
.navbar-form .form-group { | |
display: inline-block; | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.navbar-form .form-control { | |
display: inline-block; | |
width: auto; | |
vertical-align: middle | |
} | |
.navbar-form .form-control-static { | |
display: inline-block | |
} | |
.navbar-form .input-group { | |
display: inline-table; | |
vertical-align: middle | |
} | |
.navbar-form .input-group .form-control, .navbar-form .input-group .input-group-addon, .navbar-form .input-group .input-group-btn { | |
width: auto | |
} | |
.navbar-form .input-group > .form-control { | |
width: 100% | |
} | |
.navbar-form .control-label { | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.navbar-form .checkbox, .navbar-form .radio { | |
display: inline-block; | |
margin-top: 0; | |
margin-bottom: 0; | |
vertical-align: middle | |
} | |
.navbar-form .checkbox label, .navbar-form .radio label { | |
padding-left: 0 | |
} | |
.navbar-form .checkbox input[type=checkbox], .navbar-form .radio input[type=radio] { | |
position: relative; | |
margin-left: 0 | |
} | |
.navbar-form .has-feedback .form-control-feedback { | |
top: 0 | |
} | |
} | |
@media (max-width: 767px) { | |
.navbar-form .form-group { | |
margin-bottom: 5px | |
} | |
.navbar-form .form-group:last-child { | |
margin-bottom: 0 | |
} | |
} | |
@media (min-width: 768px) { | |
.navbar-form { | |
width: auto; | |
padding-top: 0; | |
padding-bottom: 0; | |
margin-right: 0; | |
margin-left: 0; | |
border: 0; | |
-webkit-box-shadow: none; | |
box-shadow: none | |
} | |
} | |
.navbar-nav > li > .dropdown-menu { | |
margin-top: 0; | |
border-top-left-radius: 0; | |
border-top-right-radius: 0 | |
} | |
.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { | |
margin-bottom: 0; | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px; | |
border-bottom-right-radius: 0; | |
border-bottom-left-radius: 0 | |
} | |
.navbar-btn { | |
margin-top: 8px; | |
margin-bottom: 8px | |
} | |
.navbar-btn.btn-sm { | |
margin-top: 10px; | |
margin-bottom: 10px | |
} | |
.navbar-btn.btn-xs { | |
margin-top: 14px; | |
margin-bottom: 14px | |
} | |
.navbar-text { | |
margin-top: 15px; | |
margin-bottom: 15px | |
} | |
@media (min-width: 768px) { | |
.navbar-text { | |
float: left; | |
margin-right: 15px; | |
margin-left: 15px | |
} | |
} | |
@media (min-width: 768px) { | |
.navbar-left { | |
float: left !important | |
} | |
.navbar-right { | |
float: right !important; | |
margin-right: -15px | |
} | |
.navbar-right ~ .navbar-right { | |
margin-right: 0 | |
} | |
} | |
.navbar-default { | |
background-color: #f8f8f8; | |
border-color: #e7e7e7 | |
} | |
.navbar-default .navbar-brand { | |
color: #777 | |
} | |
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover { | |
color: #5e5e5e; | |
background-color: transparent | |
} | |
.navbar-default .navbar-text { | |
color: #777 | |
} | |
.navbar-default .navbar-nav > li > a { | |
color: #777 | |
} | |
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover { | |
color: #333; | |
background-color: transparent | |
} | |
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover { | |
color: #555; | |
background-color: #e7e7e7 | |
} | |
.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:focus, .navbar-default .navbar-nav > .disabled > a:hover { | |
color: #ccc; | |
background-color: transparent | |
} | |
.navbar-default .navbar-toggle { | |
border-color: #ddd | |
} | |
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover { | |
background-color: #ddd | |
} | |
.navbar-default .navbar-toggle .icon-bar { | |
background-color: #888 | |
} | |
.navbar-default .navbar-collapse, .navbar-default .navbar-form { | |
border-color: #e7e7e7 | |
} | |
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover { | |
color: #555; | |
background-color: #e7e7e7 | |
} | |
@media (max-width: 767px) { | |
.navbar-default .navbar-nav .open .dropdown-menu > li > a { | |
color: #777 | |
} | |
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover { | |
color: #333; | |
background-color: transparent | |
} | |
.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover { | |
color: #555; | |
background-color: #e7e7e7 | |
} | |
.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover { | |
color: #ccc; | |
background-color: transparent | |
} | |
} | |
.navbar-default .navbar-link { | |
color: #777 | |
} | |
.navbar-default .navbar-link:hover { | |
color: #333 | |
} | |
.navbar-default .btn-link { | |
color: #777 | |
} | |
.navbar-default .btn-link:focus, .navbar-default .btn-link:hover { | |
color: #333 | |
} | |
.navbar-default .btn-link[disabled]:focus, .navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:focus, fieldset[disabled] .navbar-default .btn-link:hover { | |
color: #ccc | |
} | |
.navbar-inverse { | |
background-color: #222; | |
border-color: #080808 | |
} | |
.navbar-inverse .navbar-brand { | |
color: #9d9d9d | |
} | |
.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover { | |
color: #fff; | |
background-color: transparent | |
} | |
.navbar-inverse .navbar-text { | |
color: #9d9d9d | |
} | |
.navbar-inverse .navbar-nav > li > a { | |
color: #9d9d9d | |
} | |
.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover { | |
color: #fff; | |
background-color: transparent | |
} | |
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover { | |
color: #fff; | |
background-color: #080808 | |
} | |
.navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:focus, .navbar-inverse .navbar-nav > .disabled > a:hover { | |
color: #444; | |
background-color: transparent | |
} | |
.navbar-inverse .navbar-toggle { | |
border-color: #333 | |
} | |
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover { | |
background-color: #333 | |
} | |
.navbar-inverse .navbar-toggle .icon-bar { | |
background-color: #fff | |
} | |
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { | |
border-color: #101010 | |
} | |
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover { | |
color: #fff; | |
background-color: #080808 | |
} | |
@media (max-width: 767px) { | |
.navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { | |
border-color: #080808 | |
} | |
.navbar-inverse .navbar-nav .open .dropdown-menu .divider { | |
background-color: #080808 | |
} | |
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a { | |
color: #9d9d9d | |
} | |
.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover { | |
color: #fff; | |
background-color: transparent | |
} | |
.navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover { | |
color: #fff; | |
background-color: #080808 | |
} | |
.navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover { | |
color: #444; | |
background-color: transparent | |
} | |
} | |
.navbar-inverse .navbar-link { | |
color: #9d9d9d | |
} | |
.navbar-inverse .navbar-link:hover { | |
color: #fff | |
} | |
.navbar-inverse .btn-link { | |
color: #9d9d9d | |
} | |
.navbar-inverse .btn-link:focus, .navbar-inverse .btn-link:hover { | |
color: #fff | |
} | |
.navbar-inverse .btn-link[disabled]:focus, .navbar-inverse .btn-link[disabled]:hover, fieldset[disabled] .navbar-inverse .btn-link:focus, fieldset[disabled] .navbar-inverse .btn-link:hover { | |
color: #444 | |
} | |
.breadcrumb { | |
padding: 8px 15px; | |
margin-bottom: 20px; | |
list-style: none; | |
background-color: #f5f5f5; | |
border-radius: 4px | |
} | |
.breadcrumb > li { | |
display: inline-block | |
} | |
.breadcrumb > li + li:before { | |
padding: 0 5px; | |
color: #ccc; | |
content: "/\00a0" | |
} | |
.breadcrumb > .active { | |
color: #777 | |
} | |
.pagination { | |
display: inline-block; | |
padding-left: 0; | |
margin: 20px 0; | |
border-radius: 4px | |
} | |
.pagination > li { | |
display: inline | |
} | |
.pagination > li > a, .pagination > li > span { | |
position: relative; | |
float: left; | |
padding: 6px 12px; | |
margin-left: -1px; | |
line-height: 1.42857143; | |
color: #337ab7; | |
text-decoration: none; | |
background-color: #fff; | |
border: 1px solid #ddd | |
} | |
.pagination > li:first-child > a, .pagination > li:first-child > span { | |
margin-left: 0; | |
border-top-left-radius: 4px; | |
border-bottom-left-radius: 4px | |
} | |
.pagination > li:last-child > a, .pagination > li:last-child > span { | |
border-top-right-radius: 4px; | |
border-bottom-right-radius: 4px | |
} | |
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover { | |
z-index: 2; | |
color: #23527c; | |
background-color: #eee; | |
border-color: #ddd | |
} | |
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover { | |
z-index: 3; | |
color: #fff; | |
cursor: default; | |
background-color: #337ab7; | |
border-color: #337ab7 | |
} | |
.pagination > .disabled > a, .pagination > .disabled > a:focus, .pagination > .disabled > a:hover, .pagination > .disabled > span, .pagination > .disabled > span:focus, .pagination > .disabled > span:hover { | |
color: #777; | |
cursor: not-allowed; | |
background-color: #fff; | |
border-color: #ddd | |
} | |
.pagination-lg > li > a, .pagination-lg > li > span { | |
padding: 10px 16px; | |
font-size: 18px; | |
line-height: 1.3333333 | |
} | |
.pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { | |
border-top-left-radius: 6px; | |
border-bottom-left-radius: 6px | |
} | |
.pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { | |
border-top-right-radius: 6px; | |
border-bottom-right-radius: 6px | |
} | |
.pagination-sm > li > a, .pagination-sm > li > span { | |
padding: 5px 10px; | |
font-size: 12px; | |
line-height: 1.5 | |
} | |
.pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span { | |
border-top-left-radius: 3px; | |
border-bottom-left-radius: 3px | |
} | |
.pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span { | |
border-top-right-radius: 3px; | |
border-bottom-right-radius: 3px | |
} | |
.pager { | |
padding-left: 0; | |
margin: 20px 0; | |
text-align: center; | |
list-style: none | |
} | |
.pager li { | |
display: inline | |
} | |
.pager li > a, .pager li > span { | |
display: inline-block; | |
padding: 5px 14px; | |
background-color: #fff; | |
border: 1px solid #ddd; | |
border-radius: 15px | |
} | |
.pager li > a:focus, .pager li > a:hover { | |
text-decoration: none; | |
background-color: #eee | |
} | |
.pager .next > a, .pager .next > span { | |
float: right | |
} | |
.pager .previous > a, .pager .previous > span { | |
float: left | |
} | |
.pager .disabled > a, .pager .disabled > a:focus, .pager .disabled > a:hover, .pager .disabled > span { | |
color: #777; | |
cursor: not-allowed; | |
background-color: #fff | |
} | |
.label { | |
display: inline; | |
padding: .2em .6em .3em; | |
font-size: 75%; | |
font-weight: 700; | |
line-height: 1; | |
color: #fff; | |
text-align: center; | |
white-space: nowrap; | |
vertical-align: baseline; | |
border-radius: .25em | |
} | |
a.label:focus, a.label:hover { | |
color: #fff; | |
text-decoration: none; | |
cursor: pointer | |
} | |
.label:empty { | |
display: none | |
} | |
.btn .label { | |
position: relative; | |
top: -1px | |
} | |
.label-default { | |
background-color: #777 | |
} | |
.label-default[href]:focus, .label-default[href]:hover { | |
background-color: #5e5e5e | |
} | |
.label-primary { | |
background-color: #337ab7 | |
} | |
.label-primary[href]:focus, .label-primary[href]:hover { | |
background-color: #286090 | |
} | |
.label-success { | |
background-color: #5cb85c | |
} | |
.label-success[href]:focus, .label-success[href]:hover { | |
background-color: #449d44 | |
} | |
.label-info { | |
background-color: #5bc0de | |
} | |
.label-info[href]:focus, .label-info[href]:hover { | |
background-color: #31b0d5 | |
} | |
.label-warning { | |
background-color: #f0ad4e | |
} | |
.label-warning[href]:focus, .label-warning[href]:hover { | |
background-color: #ec971f | |
} | |
.label-danger { | |
background-color: #d9534f | |
} | |
.label-danger[href]:focus, .label-danger[href]:hover { | |
background-color: #c9302c | |
} | |
.badge { | |
display: inline-block; | |
min-width: 10px; | |
padding: 3px 7px; | |
font-size: 12px; | |
font-weight: 700; | |
line-height: 1; | |
color: #fff; | |
text-align: center; | |
white-space: nowrap; | |
vertical-align: middle; | |
background-color: #777; | |
border-radius: 10px | |
} | |
.badge:empty { | |
display: none | |
} | |
.btn .badge { | |
position: relative; | |
top: -1px | |
} | |
.btn-group-xs > .btn .badge, .btn-xs .badge { | |
top: 0; | |
padding: 1px 5px | |
} | |
a.badge:focus, a.badge:hover { | |
color: #fff; | |
text-decoration: none; | |
cursor: pointer | |
} | |
.list-group-item.active > .badge, .nav-pills > .active > a > .badge { | |
color: #337ab7; | |
background-color: #fff | |
} | |
.list-group-item > .badge { | |
float: right | |
} | |
.list-group-item > .badge + .badge { | |
margin-right: 5px | |
} | |
.nav-pills > li > a > .badge { | |
margin-left: 3px | |
} | |
.jumbotron { | |
padding-top: 30px; | |
padding-bottom: 30px; | |
margin-bottom: 30px; | |
color: inherit; | |
background-color: #eee | |
} | |
.jumbotron .h1, .jumbotron h1 { | |
color: inherit | |
} | |
.jumbotron p { | |
margin-bottom: 15px; | |
font-size: 21px; | |
font-weight: 200 | |
} | |
.jumbotron > hr { | |
border-top-color: #d5d5d5 | |
} | |
.container .jumbotron, .container-fluid .jumbotron { | |
padding-right: 15px; | |
padding-left: 15px; | |
border-radius: 6px | |
} | |
.jumbotron .container { | |
max-width: 100% | |
} | |
@media screen and (min-width: 768px) { | |
.jumbotron { | |
padding-top: 48px; | |
padding-bottom: 48px | |
} | |
.container .jumbotron, .container-fluid .jumbotron { | |
padding-right: 60px; | |
padding-left: 60px | |
} | |
.jumbotron .h1, .jumbotron h1 { | |
font-size: 63px | |
} | |
} | |
.thumbnail { | |
display: block; | |
padding: 4px; | |
margin-bottom: 20px; | |
line-height: 1.42857143; | |
background-color: #fff; | |
border: 1px solid #ddd; | |
border-radius: 4px; | |
-webkit-transition: border .2s ease-in-out; | |
-o-transition: border .2s ease-in-out; | |
transition: border .2s ease-in-out | |
} | |
.thumbnail a > img, .thumbnail > img { | |
margin-right: auto; | |
margin-left: auto | |
} | |
a.thumbnail.active, a.thumbnail:focus, a.thumbnail:hover { | |
border-color: #337ab7 | |
} | |
.thumbnail .caption { | |
padding: 9px; | |
color: #333 | |
} | |
.alert { | |
padding: 15px; | |
margin-bottom: 20px; | |
border: 1px solid transparent; | |
border-radius: 4px | |
} | |
.alert h4 { | |
margin-top: 0; | |
color: inherit | |
} | |
.alert .alert-link { | |
font-weight: 700 | |
} | |
.alert > p, .alert > ul { | |
margin-bottom: 0 | |
} | |
.alert > p + p { | |
margin-top: 5px | |
} | |
.alert-dismissable, .alert-dismissible { | |
padding-right: 35px | |
} | |
.alert-dismissable .close, .alert-dismissible .close { | |
position: relative; | |
top: -2px; | |
right: -21px; | |
color: inherit | |
} | |
.alert-success { | |
color: #3c763d; | |
background-color: #dff0d8; | |
border-color: #d6e9c6 | |
} | |
.alert-success hr { | |
border-top-color: #c9e2b3 | |
} | |
.alert-success .alert-link { | |
color: #2b542c | |
} | |
.alert-info { | |
color: #31708f; | |
background-color: #d9edf7; | |
border-color: #bce8f1 | |
} | |
.alert-info hr { | |
border-top-color: #a6e1ec | |
} | |
.alert-info .alert-link { | |
color: #245269 | |
} | |
.alert-warning { | |
color: #8a6d3b; | |
background-color: #fcf8e3; | |
border-color: #faebcc | |
} | |
.alert-warning hr { | |
border-top-color: #f7e1b5 | |
} | |
.alert-warning .alert-link { | |
color: #66512c | |
} | |
.alert-danger { | |
color: #a94442; | |
background-color: #f2dede; | |
border-color: #ebccd1 | |
} | |
.alert-danger hr { | |
border-top-color: #e4b9c0 | |
} | |
.alert-danger .alert-link { | |
color: #843534 | |
} | |
@-webkit-keyframes progress-bar-stripes { | |
from { | |
background-position: 40px 0 | |
} | |
to { | |
background-position: 0 0 | |
} | |
} | |
@-o-keyframes progress-bar-stripes { | |
from { | |
background-position: 40px 0 | |
} | |
to { | |
background-position: 0 0 | |
} | |
} | |
@keyframes progress-bar-stripes { | |
from { | |
background-position: 40px 0 | |
} | |
to { | |
background-position: 0 0 | |
} | |
} | |
.progress { | |
height: 20px; | |
margin-bottom: 20px; | |
overflow: hidden; | |
background-color: #f5f5f5; | |
border-radius: 4px; | |
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); | |
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1) | |
} | |
.progress-bar { | |
float: left; | |
width: 0; | |
height: 100%; | |
font-size: 12px; | |
line-height: 20px; | |
color: #fff; | |
text-align: center; | |
background-color: #337ab7; | |
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); | |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); | |
-webkit-transition: width .6s ease; | |
-o-transition: width .6s ease; | |
transition: width .6s ease | |
} | |
.progress-bar-striped, .progress-striped .progress-bar { | |
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
-webkit-background-size: 40px 40px; | |
background-size: 40px 40px | |
} | |
.progress-bar.active, .progress.active .progress-bar { | |
-webkit-animation: progress-bar-stripes 2s linear infinite; | |
-o-animation: progress-bar-stripes 2s linear infinite; | |
animation: progress-bar-stripes 2s linear infinite | |
} | |
.progress-bar-success { | |
background-color: #5cb85c | |
} | |
.progress-striped .progress-bar-success { | |
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent) | |
} | |
.progress-bar-info { | |
background-color: #5bc0de | |
} | |
.progress-striped .progress-bar-info { | |
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent) | |
} | |
.progress-bar-warning { | |
background-color: #f0ad4e | |
} | |
.progress-striped .progress-bar-warning { | |
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent) | |
} | |
.progress-bar-danger { | |
background-color: #d9534f | |
} | |
.progress-striped .progress-bar-danger { | |
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); | |
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent) | |
} | |
.media { | |
margin-top: 15px | |
} | |
.media:first-child { | |
margin-top: 0 | |
} | |
.media, .media-body { | |
overflow: hidden; | |
zoom: 1 | |
} | |
.media-body { | |
width: 10000px | |
} | |
.media-object { | |
display: block | |
} | |
.media-object.img-thumbnail { | |
max-width: none | |
} | |
.media-right, .media > .pull-right { | |
padding-left: 10px | |
} | |
.media-left, .media > .pull-left { | |
padding-right: 10px | |
} | |
.media-body, .media-left, .media-right { | |
display: table-cell; | |
vertical-align: top | |
} | |
.media-middle { | |
vertical-align: middle | |
} | |
.media-bottom { | |
vertical-align: bottom | |
} | |
.media-heading { | |
margin-top: 0; | |
margin-bottom: 5px | |
} | |
.media-list { | |
padding-left: 0; | |
list-style: none | |
} | |
.list-group { | |
padding-left: 0; | |
margin-bottom: 20px | |
} | |
.list-group-item { | |
position: relative; | |
display: block; | |
padding: 10px 15px; | |
margin-bottom: -1px; | |
background-color: #fff; | |
border: 1px solid #ddd | |
} | |
.list-group-item:first-child { | |
border-top-left-radius: 4px; | |
border-top-right-radius: 4px | |
} | |
.list-group-item:last-child { | |
margin-bottom: 0; | |
border-bottom-right-radius: 4px; | |
border-bottom-left-radius: 4px | |
} | |
a.list-group-item, button.list-group-item { | |
color: #555 | |
} | |
a.list-group-item .list-group-item-heading, button.list-group-item .list-group-item-heading { | |
color: #333 | |
} | |
a.list-group-item:focus, a.list-group-item:hover, button.list-group-item:focus, button.list-group-item:hover { | |
color: #555; | |
text-decoration: none; | |
background-color: #f5f5f5 | |
} | |
button.list-group-item { | |
width: 100%; | |
text-align: left | |
} | |
.list-group-item.disabled, .list-group-item.disabled:focus, .list-group-item.disabled:hover { | |
color: #777; | |
cursor: not-allowed; | |
background-color: #eee | |
} | |
.list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading { | |
color: inherit | |
} | |
.list-group-item.disabled .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text { | |
color: #777 | |
} | |
.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover { | |
z-index: 2; | |
color: #fff; | |
background-color: #337ab7; | |
border-color: #337ab7 | |
} | |
.list-group-item.active .list-group-item-heading, .list-group-item.active .list-group-item-heading > .small, .list-group-item.active .list-group-item-heading > small, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading > small, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading > small { | |
color: inherit | |
} | |
.list-group-item.active .list-group-item-text, .list-group-item.active:focus .list-group-item-text, .list-group-item.active:hover .list-group-item-text { | |
color: #c7ddef | |
} | |
.list-group-item-success { | |
color: #3c763d; | |
background-color: #dff0d8 | |
} | |
a.list-group-item-success, button.list-group-item-success { | |
color: #3c763d | |
} | |
a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading { | |
color: inherit | |
} | |
a.list-group-item-success:focus, a.list-group-item-success:hover, button.list-group-item-success:focus, button.list-group-item-success:hover { | |
color: #3c763d; | |
background-color: #d0e9c6 | |
} | |
a.list-group-item-success.active, a.list-group-item-success.active:focus, a.list-group-item-success.active:hover, button.list-group-item-success.active, button.list-group-item-success.active:focus, button.list-group-item-success.active:hover { | |
color: #fff; | |
background-color: #3c763d; | |
border-color: #3c763d | |
} | |
.list-group-item-info { | |
color: #31708f; | |
background-color: #d9edf7 | |
} | |
a.list-group-item-info, button.list-group-item-info { | |
color: #31708f | |
} | |
a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading { | |
color: inherit | |
} | |
a.list-group-item-info:focus, a.list-group-item-info:hover, button.list-group-item-info:focus, button.list-group-item-info:hover { | |
color: #31708f; | |
background-color: #c4e3f3 | |
} | |
a.list-group-item-info.active, a.list-group-item-info.active:focus, a.list-group-item-info.active:hover, button.list-group-item-info.active, button.list-group-item-info.active:focus, button.list-group-item-info.active:hover { | |
color: #fff; | |
background-color: #31708f; | |
border-color: #31708f | |
} | |
.list-group-item-warning { | |
color: #8a6d3b; | |
background-color: #fcf8e3 | |
} | |
a.list-group-item-warning, button.list-group-item-warning { | |
color: #8a6d3b | |
} | |
a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading { | |
color: inherit | |
} | |
a.list-group-item-warning:focus, a.list-group-item-warning:hover, button.list-group-item-warning:focus, button.list-group-item-warning:hover { | |
color: #8a6d3b; | |
background-color: #faf2cc | |
} | |
a.list-group-item-warning.active, a.list-group-item-warning.active:focus, a.list-group-item-warning.active:hover, button.list-group-item-warning.active, button.list-group-item-warning.active:focus, button.list-group-item-warning.active:hover { | |
color: #fff; | |
background-color: #8a6d3b; | |
border-color: #8a6d3b | |
} | |
.list-group-item-danger { | |
color: #a94442; | |
background-color: #f2dede | |
} | |
a.list-group-item-danger, button.list-group-item-danger { | |
color: #a94442 | |
} | |
a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading { | |
color: inherit | |
} | |
a.list-group-item-danger:focus, a.list-group-item-danger:hover, button.list-group-item-danger:focus, button.list-group-item-danger:hover { | |
color: #a94442; | |
background-color: #ebcccc | |
} | |
a.list-group-item-danger.active, a.list-group-item-danger.active:focus, a.list-group-item-danger.active:hover, button.list-group-item-danger.active, button.list-group-item-danger.active:focus, button.list-group-item-danger.active:hover { | |
color: #fff; | |
background-color: #a94442; | |
border-color: #a94442 | |
} | |
.list-group-item-heading { | |
margin-top: 0; | |
margin-bottom: 5px | |
} | |
.list-group-item-text { | |
margin-bottom: 0; | |
line-height: 1.3 | |
} | |
.panel { | |
margin-bottom: 20px; | |
background-color: #fff; | |
border: 1px solid transparent; | |
border-radius: 4px; | |
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); | |
box-shadow: 0 1px 1px rgba(0, 0, 0, .05) | |
} | |
.panel-body { | |
padding: 15px | |
} | |
.panel-heading { | |
padding: 10px 15px; | |
border-bottom: 1px solid transparent; | |
border-top-left-radius: 3px; | |
border-top-right-radius: 3px | |
} | |
.panel-heading > .dropdown .dropdown-toggle { | |
color: inherit | |
} | |
.panel-title { | |
margin-top: 0; | |
margin-bottom: 0; | |
font-size: 16px; | |
color: inherit | |
} | |
.panel-title > .small, .panel-title > .small > a, .panel-title > a, .panel-title > small, .panel-title > small > a { | |
color: inherit | |
} | |
.panel-footer { | |
padding: 10px 15px; | |
background-color: #f5f5f5; | |
border-top: 1px solid #ddd; | |
border-bottom-right-radius: 3px; | |
border-bottom-left-radius: 3px | |
} | |
.panel > .list-group, .panel > .panel-collapse > .list-group { | |
margin-bottom: 0 | |
} | |
.panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item { | |
border-width: 1px 0; | |
border-radius: 0 | |
} | |
.panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { | |
border-top: 0; | |
border-top-left-radius: 3px; | |
border-top-right-radius: 3px | |
} | |
.panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { | |
border-bottom: 0; | |
border-bottom-right-radius: 3px; | |
border-bottom-left-radius: 3px | |
} | |
.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { | |
border-top-left-radius: 0; | |
border-top-right-radius: 0 | |
} | |
.panel-heading + .list-group .list-group-item:first-child { | |
border-top-width: 0 | |
} | |
.list-group + .panel-footer { | |
border-top-width: 0 | |
} | |
.panel > .panel-collapse > .table, .panel > .table, .panel > .table-responsive > .table { | |
margin-bottom: 0 | |
} | |
.panel > .panel-collapse > .table caption, .panel > .table caption, .panel > .table-responsive > .table caption { | |
padding-right: 15px; | |
padding-left: 15px | |
} | |
.panel > .table-responsive:first-child > .table:first-child, .panel > .table:first-child { | |
border-top-left-radius: 3px; | |
border-top-right-radius: 3px | |
} | |
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table:first-child > thead:first-child > tr:first-child { | |
border-top-left-radius: 3px; | |
border-top-right-radius: 3px | |
} | |
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child { | |
border-top-left-radius: 3px | |
} | |
.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child { | |
border-top-right-radius: 3px | |
} | |
.panel > .table-responsive:last-child > .table:last-child, .panel > .table:last-child { | |
border-bottom-right-radius: 3px; | |
border-bottom-left-radius: 3px | |
} | |
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child { | |
border-bottom-right-radius: 3px; | |
border-bottom-left-radius: 3px | |
} | |
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child { | |
border-bottom-left-radius: 3px | |
} | |
.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child { | |
border-bottom-right-radius: 3px | |
} | |
.panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body { | |
border-top: 1px solid #ddd | |
} | |
.panel > .table > tbody:first-child > tr:first-child td, .panel > .table > tbody:first-child > tr:first-child th { | |
border-top: 0 | |
} | |
.panel > .table-bordered, .panel > .table-responsive > .table-bordered { | |
border: 0 | |
} | |
.panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child { | |
border-left: 0 | |
} | |
.panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child { | |
border-right: 0 | |
} | |
.panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th { | |
border-bottom: 0 | |
} | |
.panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { | |
border-bottom: 0 | |
} | |
.panel > .table-responsive { | |
margin-bottom: 0; | |
border: 0 | |
} | |
.panel-group { | |
margin-bottom: 20px | |
} | |
.panel-group .panel { | |
margin-bottom: 0; | |
border-radius: 4px | |
} | |
.panel-group .panel + .panel { | |
margin-top: 5px | |
} | |
.panel-group .panel-heading { | |
border-bottom: 0 | |
} | |
.panel-group .panel-heading + .panel-collapse > .list-group, .panel-group .panel-heading + .panel-collapse > .panel-body { | |
border-top: 1px solid #ddd | |
} | |
.panel-group .panel-footer { | |
border-top: 0 | |
} | |
.panel-group .panel-footer + .panel-collapse .panel-body { | |
border-bottom: 1px solid #ddd | |
} | |
.panel-default { | |
border-color: #ddd | |
} | |
.panel-default > .panel-heading { | |
color: #333; | |
background-color: #f5f5f5; | |
border-color: #ddd | |
} | |
.panel-default > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #ddd | |
} | |
.panel-default > .panel-heading .badge { | |
color: #f5f5f5; | |
background-color: #333 | |
} | |
.panel-default > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #ddd | |
} | |
.panel-primary { | |
border-color: #337ab7 | |
} | |
.panel-primary > .panel-heading { | |
color: #fff; | |
background-color: #337ab7; | |
border-color: #337ab7 | |
} | |
.panel-primary > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #337ab7 | |
} | |
.panel-primary > .panel-heading .badge { | |
color: #337ab7; | |
background-color: #fff | |
} | |
.panel-primary > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #337ab7 | |
} | |
.panel-success { | |
border-color: #d6e9c6 | |
} | |
.panel-success > .panel-heading { | |
color: #3c763d; | |
background-color: #dff0d8; | |
border-color: #d6e9c6 | |
} | |
.panel-success > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #d6e9c6 | |
} | |
.panel-success > .panel-heading .badge { | |
color: #dff0d8; | |
background-color: #3c763d | |
} | |
.panel-success > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #d6e9c6 | |
} | |
.panel-info { | |
border-color: #bce8f1 | |
} | |
.panel-info > .panel-heading { | |
color: #31708f; | |
background-color: #d9edf7; | |
border-color: #bce8f1 | |
} | |
.panel-info > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #bce8f1 | |
} | |
.panel-info > .panel-heading .badge { | |
color: #d9edf7; | |
background-color: #31708f | |
} | |
.panel-info > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #bce8f1 | |
} | |
.panel-warning { | |
border-color: #faebcc | |
} | |
.panel-warning > .panel-heading { | |
color: #8a6d3b; | |
background-color: #fcf8e3; | |
border-color: #faebcc | |
} | |
.panel-warning > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #faebcc | |
} | |
.panel-warning > .panel-heading .badge { | |
color: #fcf8e3; | |
background-color: #8a6d3b | |
} | |
.panel-warning > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #faebcc | |
} | |
.panel-danger { | |
border-color: #ebccd1 | |
} | |
.panel-danger > .panel-heading { | |
color: #a94442; | |
background-color: #f2dede; | |
border-color: #ebccd1 | |
} | |
.panel-danger > .panel-heading + .panel-collapse > .panel-body { | |
border-top-color: #ebccd1 | |
} | |
.panel-danger > .panel-heading .badge { | |
color: #f2dede; | |
background-color: #a94442 | |
} | |
.panel-danger > .panel-footer + .panel-collapse > .panel-body { | |
border-bottom-color: #ebccd1 | |
} | |
.embed-responsive { | |
position: relative; | |
display: block; | |
height: 0; | |
padding: 0; | |
overflow: hidden | |
} | |
.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
border: 0 | |
} | |
.embed-responsive-16by9 { | |
padding-bottom: 56.25% | |
} | |
.embed-responsive-4by3 { | |
padding-bottom: 75% | |
} | |
.well { | |
min-height: 20px; | |
padding: 19px; | |
margin-bottom: 20px; | |
background-color: #f5f5f5; | |
border: 1px solid #e3e3e3; | |
border-radius: 4px; | |
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); | |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05) | |
} | |
.well blockquote { | |
border-color: #ddd; | |
border-color: rgba(0, 0, 0, .15) | |
} | |
.well-lg { | |
padding: 24px; | |
border-radius: 6px | |
} | |
.well-sm { | |
padding: 9px; | |
border-radius: 3px | |
} | |
.close { | |
float: right; | |
font-size: 21px; | |
font-weight: 700; | |
line-height: 1; | |
color: #000; | |
text-shadow: 0 1px 0 #fff; | |
filter: alpha(opacity=20); | |
opacity: .2 | |
} | |
.close:focus, .close:hover { | |
color: #000; | |
text-decoration: none; | |
cursor: pointer; | |
filter: alpha(opacity=50); | |
opacity: .5 | |
} | |
button.close { | |
-webkit-appearance: none; | |
padding: 0; | |
cursor: pointer; | |
background: 0 0; | |
border: 0 | |
} | |
.modal-open { | |
overflow: hidden | |
} | |
.modal { | |
position: fixed; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 1050; | |
display: none; | |
overflow: hidden; | |
-webkit-overflow-scrolling: touch; | |
outline: 0 | |
} | |
.modal.fade .modal-dialog { | |
-webkit-transition: -webkit-transform .3s ease-out; | |
-o-transition: -o-transform .3s ease-out; | |
transition: transform .3s ease-out; | |
-webkit-transform: translate(0, -25%); | |
-ms-transform: translate(0, -25%); | |
-o-transform: translate(0, -25%); | |
transform: translate(0, -25%) | |
} | |
.modal.in .modal-dialog { | |
-webkit-transform: translate(0, 0); | |
-ms-transform: translate(0, 0); | |
-o-transform: translate(0, 0); | |
transform: translate(0, 0) | |
} | |
.modal-open .modal { | |
overflow-x: hidden; | |
overflow-y: auto | |
} | |
.modal-dialog { | |
position: relative; | |
width: auto; | |
margin: 10px | |
} | |
.modal-content { | |
position: relative; | |
background-color: #fff; | |
-webkit-background-clip: padding-box; | |
background-clip: padding-box; | |
border: 1px solid #999; | |
border: 1px solid rgba(0, 0, 0, .2); | |
border-radius: 6px; | |
outline: 0; | |
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); | |
box-shadow: 0 3px 9px rgba(0, 0, 0, .5) | |
} | |
.modal-backdrop { | |
position: fixed; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 1040; | |
background-color: #000 | |
} | |
.modal-backdrop.fade { | |
filter: alpha(opacity=0); | |
opacity: 0 | |
} | |
.modal-backdrop.in { | |
filter: alpha(opacity=50); | |
opacity: .5 | |
} | |
.modal-header { | |
padding: 15px; | |
border-bottom: 1px solid #e5e5e5 | |
} | |
.modal-header .close { | |
margin-top: -2px | |
} | |
.modal-title { | |
margin: 0; | |
line-height: 1.42857143 | |
} | |
.modal-body { | |
position: relative; | |
padding: 15px | |
} | |
.modal-footer { | |
padding: 15px; | |
text-align: right; | |
border-top: 1px solid #e5e5e5 | |
} | |
.modal-footer .btn + .btn { | |
margin-bottom: 0; | |
margin-left: 5px | |
} | |
.modal-footer .btn-group .btn + .btn { | |
margin-left: -1px | |
} | |
.modal-footer .btn-block + .btn-block { | |
margin-left: 0 | |
} | |
.modal-scrollbar-measure { | |
position: absolute; | |
top: -9999px; | |
width: 50px; | |
height: 50px; | |
overflow: scroll | |
} | |
@media (min-width: 768px) { | |
.modal-dialog { | |
width: 600px; | |
margin: 30px auto | |
} | |
.modal-content { | |
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); | |
box-shadow: 0 5px 15px rgba(0, 0, 0, .5) | |
} | |
.modal-sm { | |
width: 300px | |
} | |
} | |
@media (min-width: 992px) { | |
.modal-lg { | |
width: 900px | |
} | |
} | |
.tooltip { | |
position: absolute; | |
z-index: 1070; | |
display: block; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 12px; | |
font-style: normal; | |
font-weight: 400; | |
line-height: 1.42857143; | |
text-align: left; | |
text-align: start; | |
text-decoration: none; | |
text-shadow: none; | |
text-transform: none; | |
letter-spacing: normal; | |
word-break: normal; | |
word-spacing: normal; | |
word-wrap: normal; | |
white-space: normal; | |
filter: alpha(opacity=0); | |
opacity: 0; | |
line-break: auto | |
} | |
.tooltip.in { | |
filter: alpha(opacity=90); | |
opacity: .9 | |
} | |
.tooltip.top { | |
padding: 5px 0; | |
margin-top: -3px | |
} | |
.tooltip.right { | |
padding: 0 5px; | |
margin-left: 3px | |
} | |
.tooltip.bottom { | |
padding: 5px 0; | |
margin-top: 3px | |
} | |
.tooltip.left { | |
padding: 0 5px; | |
margin-left: -3px | |
} | |
.tooltip-inner { | |
max-width: 200px; | |
padding: 3px 8px; | |
color: #fff; | |
text-align: center; | |
background-color: #000; | |
border-radius: 4px | |
} | |
.tooltip-arrow { | |
position: absolute; | |
width: 0; | |
height: 0; | |
border-color: transparent; | |
border-style: solid | |
} | |
.tooltip.top .tooltip-arrow { | |
bottom: 0; | |
left: 50%; | |
margin-left: -5px; | |
border-width: 5px 5px 0; | |
border-top-color: #000 | |
} | |
.tooltip.top-left .tooltip-arrow { | |
right: 5px; | |
bottom: 0; | |
margin-bottom: -5px; | |
border-width: 5px 5px 0; | |
border-top-color: #000 | |
} | |
.tooltip.top-right .tooltip-arrow { | |
bottom: 0; | |
left: 5px; | |
margin-bottom: -5px; | |
border-width: 5px 5px 0; | |
border-top-color: #000 | |
} | |
.tooltip.right .tooltip-arrow { | |
top: 50%; | |
left: 0; | |
margin-top: -5px; | |
border-width: 5px 5px 5px 0; | |
border-right-color: #000 | |
} | |
.tooltip.left .tooltip-arrow { | |
top: 50%; | |
right: 0; | |
margin-top: -5px; | |
border-width: 5px 0 5px 5px; | |
border-left-color: #000 | |
} | |
.tooltip.bottom .tooltip-arrow { | |
top: 0; | |
left: 50%; | |
margin-left: -5px; | |
border-width: 0 5px 5px; | |
border-bottom-color: #000 | |
} | |
.tooltip.bottom-left .tooltip-arrow { | |
top: 0; | |
right: 5px; | |
margin-top: -5px; | |
border-width: 0 5px 5px; | |
border-bottom-color: #000 | |
} | |
.tooltip.bottom-right .tooltip-arrow { | |
top: 0; | |
left: 5px; | |
margin-top: -5px; | |
border-width: 0 5px 5px; | |
border-bottom-color: #000 | |
} | |
.popover { | |
position: absolute; | |
top: 0; | |
left: 0; | |
z-index: 1060; | |
display: none; | |
max-width: 276px; | |
padding: 1px; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: 14px; | |
font-style: normal; | |
font-weight: 400; | |
line-height: 1.42857143; | |
text-align: left; | |
text-align: start; | |
text-decoration: none; | |
text-shadow: none; | |
text-transform: none; | |
letter-spacing: normal; | |
word-break: normal; | |
word-spacing: normal; | |
word-wrap: normal; | |
white-space: normal; | |
background-color: #fff; | |
-webkit-background-clip: padding-box; | |
background-clip: padding-box; | |
border: 1px solid #ccc; | |
border: 1px solid rgba(0, 0, 0, .2); | |
border-radius: 6px; | |
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); | |
box-shadow: 0 5px 10px rgba(0, 0, 0, .2); | |
line-break: auto | |
} | |
.popover.top { | |
margin-top: -10px | |
} | |
.popover.right { | |
margin-left: 10px | |
} | |
.popover.bottom { | |
margin-top: 10px | |
} | |
.popover.left { | |
margin-left: -10px | |
} | |
.popover-title { | |
padding: 8px 14px; | |
margin: 0; | |
font-size: 14px; | |
background-color: #f7f7f7; | |
border-bottom: 1px solid #ebebeb; | |
border-radius: 5px 5px 0 0 | |
} | |
.popover-content { | |
padding: 9px 14px | |
} | |
.popover > .arrow, .popover > .arrow:after { | |
position: absolute; | |
display: block; | |
width: 0; | |
height: 0; | |
border-color: transparent; | |
border-style: solid | |
} | |
.popover > .arrow { | |
border-width: 11px | |
} | |
.popover > .arrow:after { | |
content: ""; | |
border-width: 10px | |
} | |
.popover.top > .arrow { | |
bottom: -11px; | |
left: 50%; | |
margin-left: -11px; | |
border-top-color: #999; | |
border-top-color: rgba(0, 0, 0, .25); | |
border-bottom-width: 0 | |
} | |
.popover.top > .arrow:after { | |
bottom: 1px; | |
margin-left: -10px; | |
content: " "; | |
border-top-color: #fff; | |
border-bottom-width: 0 | |
} | |
.popover.right > .arrow { | |
top: 50%; | |
left: -11px; | |
margin-top: -11px; | |
border-right-color: #999; | |
border-right-color: rgba(0, 0, 0, .25); | |
border-left-width: 0 | |
} | |
.popover.right > .arrow:after { | |
bottom: -10px; | |
left: 1px; | |
content: " "; | |
border-right-color: #fff; | |
border-left-width: 0 | |
} | |
.popover.bottom > .arrow { | |
top: -11px; | |
left: 50%; | |
margin-left: -11px; | |
border-top-width: 0; | |
border-bottom-color: #999; | |
border-bottom-color: rgba(0, 0, 0, .25) | |
} | |
.popover.bottom > .arrow:after { | |
top: 1px; | |
margin-left: -10px; | |
content: " "; | |
border-top-width: 0; | |
border-bottom-color: #fff | |
} | |
.popover.left > .arrow { | |
top: 50%; | |
right: -11px; | |
margin-top: -11px; | |
border-right-width: 0; | |
border-left-color: #999; | |
border-left-color: rgba(0, 0, 0, .25) | |
} | |
.popover.left > .arrow:after { | |
right: 1px; | |
bottom: -10px; | |
content: " "; | |
border-right-width: 0; | |
border-left-color: #fff | |
} | |
.carousel { | |
position: relative | |
} | |
.carousel-inner { | |
position: relative; | |
width: 100%; | |
overflow: hidden | |
} | |
.carousel-inner > .item { | |
position: relative; | |
display: none; | |
-webkit-transition: .6s ease-in-out left; | |
-o-transition: .6s ease-in-out left; | |
transition: .6s ease-in-out left | |
} | |
.carousel-inner > .item > a > img, .carousel-inner > .item > img { | |
line-height: 1 | |
} | |
@media all and (transform-3d),(-webkit-transform-3d) { | |
.carousel-inner > .item { | |
-webkit-transition: -webkit-transform .6s ease-in-out; | |
-o-transition: -o-transform .6s ease-in-out; | |
transition: transform .6s ease-in-out; | |
-webkit-backface-visibility: hidden; | |
backface-visibility: hidden; | |
-webkit-perspective: 1000px; | |
perspective: 1000px | |
} | |
.carousel-inner > .item.active.right, .carousel-inner > .item.next { | |
left: 0; | |
-webkit-transform: translate3d(100%, 0, 0); | |
transform: translate3d(100%, 0, 0) | |
} | |
.carousel-inner > .item.active.left, .carousel-inner > .item.prev { | |
left: 0; | |
-webkit-transform: translate3d(-100%, 0, 0); | |
transform: translate3d(-100%, 0, 0) | |
} | |
.carousel-inner > .item.active, .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right { | |
left: 0; | |
-webkit-transform: translate3d(0, 0, 0); | |
transform: translate3d(0, 0, 0) | |
} | |
} | |
.carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev { | |
display: block | |
} | |
.carousel-inner > .active { | |
left: 0 | |
} | |
.carousel-inner > .next, .carousel-inner > .prev { | |
position: absolute; | |
top: 0; | |
width: 100% | |
} | |
.carousel-inner > .next { | |
left: 100% | |
} | |
.carousel-inner > .prev { | |
left: -100% | |
} | |
.carousel-inner > .next.left, .carousel-inner > .prev.right { | |
left: 0 | |
} | |
.carousel-inner > .active.left { | |
left: -100% | |
} | |
.carousel-inner > .active.right { | |
left: 100% | |
} | |
.carousel-control { | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
width: 15%; | |
font-size: 20px; | |
color: #fff; | |
text-align: center; | |
text-shadow: 0 1px 2px rgba(0, 0, 0, .6); | |
background-color: rgba(0, 0, 0, 0); | |
filter: alpha(opacity=50); | |
opacity: .5 | |
} | |
.carousel-control.left { | |
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%); | |
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%); | |
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); | |
background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); | |
background-repeat: repeat-x | |
} | |
.carousel-control.right { | |
right: 0; | |
left: auto; | |
background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%); | |
background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%); | |
background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); | |
background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); | |
background-repeat: repeat-x | |
} | |
.carousel-control:focus, .carousel-control:hover { | |
color: #fff; | |
text-decoration: none; | |
filter: alpha(opacity=90); | |
outline: 0; | |
opacity: .9 | |
} | |
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev { | |
position: absolute; | |
top: 50%; | |
z-index: 5; | |
display: inline-block; | |
margin-top: -10px | |
} | |
.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { | |
left: 50%; | |
margin-left: -10px | |
} | |
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { | |
right: 50%; | |
margin-right: -10px | |
} | |
.carousel-control .icon-next, .carousel-control .icon-prev { | |
width: 20px; | |
height: 20px; | |
font-family: serif; | |
line-height: 1 | |
} | |
.carousel-control .icon-prev:before { | |
content: '\2039' | |
} | |
.carousel-control .icon-next:before { | |
content: '\203a' | |
} | |
.carousel-indicators { | |
position: absolute; | |
bottom: 10px; | |
left: 50%; | |
z-index: 15; | |
width: 60%; | |
padding-left: 0; | |
margin-left: -30%; | |
text-align: center; | |
list-style: none | |
} | |
.carousel-indicators li { | |
display: inline-block; | |
width: 10px; | |
height: 10px; | |
margin: 1px; | |
text-indent: -999px; | |
cursor: pointer; | |
background-color: #000 \9; | |
background-color: rgba(0, 0, 0, 0); | |
border: 1px solid #fff; | |
border-radius: 10px | |
} | |
.carousel-indicators .active { | |
width: 12px; | |
height: 12px; | |
margin: 0; | |
background-color: #fff | |
} | |
.carousel-caption { | |
position: absolute; | |
right: 15%; | |
bottom: 20px; | |
left: 15%; | |
z-index: 10; | |
padding-top: 20px; | |
padding-bottom: 20px; | |
color: #fff; | |
text-align: center; | |
text-shadow: 0 1px 2px rgba(0, 0, 0, .6) | |
} | |
.carousel-caption .btn { | |
text-shadow: none | |
} | |
@media screen and (min-width: 768px) { | |
.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev { | |
width: 30px; | |
height: 30px; | |
margin-top: -10px; | |
font-size: 30px | |
} | |
.carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { | |
margin-left: -10px | |
} | |
.carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { | |
margin-right: -10px | |
} | |
.carousel-caption { | |
right: 20%; | |
left: 20%; | |
padding-bottom: 30px | |
} | |
.carousel-indicators { | |
bottom: 20px | |
} | |
} | |
.btn-group-vertical > .btn-group:after, .btn-group-vertical > .btn-group:before, .btn-toolbar:after, .btn-toolbar:before, .clearfix:after, .clearfix:before, .container-fluid:after, .container-fluid:before, .container:after, .container:before, .dl-horizontal dd:after, .dl-horizontal dd:before, .form-horizontal .form-group:after, .form-horizontal .form-group:before, .modal-footer:after, .modal-footer:before, .modal-header:after, .modal-header:before, .nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before { | |
display: table; | |
content: " " | |
} | |
.btn-group-vertical > .btn-group:after, .btn-toolbar:after, .clearfix:after, .container-fluid:after, .container:after, .dl-horizontal dd:after, .form-horizontal .form-group:after, .modal-footer:after, .modal-header:after, .nav:after, .navbar-collapse:after, .navbar-header:after, .navbar:after, .pager:after, .panel-body:after, .row:after { | |
clear: both | |
} | |
.center-block { | |
display: block; | |
margin-right: auto; | |
margin-left: auto | |
} | |
.pull-right { | |
float: right !important | |
} | |
.pull-left { | |
float: left !important | |
} | |
.hide { | |
display: none !important | |
} | |
.show { | |
display: block !important | |
} | |
.invisible { | |
visibility: hidden | |
} | |
.text-hide { | |
font: 0/0 a; | |
color: transparent; | |
text-shadow: none; | |
background-color: transparent; | |
border: 0 | |
} | |
.hidden { | |
display: none !important | |
} | |
.affix { | |
position: fixed | |
} | |
@-ms-viewport { | |
width: device-width | |
} | |
.visible-lg, .visible-md, .visible-sm, .visible-xs { | |
display: none !important | |
} | |
.visible-lg-block, .visible-lg-inline, .visible-lg-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block { | |
display: none !important | |
} | |
@media (max-width: 767px) { | |
.visible-xs { | |
display: block !important | |
} | |
table.visible-xs { | |
display: table !important | |
} | |
tr.visible-xs { | |
display: table-row !important | |
} | |
td.visible-xs, th.visible-xs { | |
display: table-cell !important | |
} | |
} | |
@media (max-width: 767px) { | |
.visible-xs-block { | |
display: block !important | |
} | |
} | |
@media (max-width: 767px) { | |
.visible-xs-inline { | |
display: inline !important | |
} | |
} | |
@media (max-width: 767px) { | |
.visible-xs-inline-block { | |
display: inline-block !important | |
} | |
} | |
@media (min-width: 768px) and (max-width: 991px) { | |
.visible-sm { | |
display: block !important | |
} | |
table.visible-sm { | |
display: table !important | |
} | |
tr.visible-sm { | |
display: table-row !important | |
} | |
td.visible-sm, th.visible-sm { | |
display: table-cell !important | |
} | |
} | |
@media (min-width: 768px) and (max-width: 991px) { | |
.visible-sm-block { | |
display: block !important | |
} | |
} | |
@media (min-width: 768px) and (max-width: 991px) { | |
.visible-sm-inline { | |
display: inline !important | |
} | |
} | |
@media (min-width: 768px) and (max-width: 991px) { | |
.visible-sm-inline-block { | |
display: inline-block !important | |
} | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.visible-md { | |
display: block !important | |
} | |
table.visible-md { | |
display: table !important | |
} | |
tr.visible-md { | |
display: table-row !important | |
} | |
td.visible-md, th.visible-md { | |
display: table-cell !important | |
} | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.visible-md-block { | |
display: block !important | |
} | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.visible-md-inline { | |
display: inline !important | |
} | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.visible-md-inline-block { | |
display: inline-block !important | |
} | |
} | |
@media (min-width: 1200px) { | |
.visible-lg { | |
display: block !important | |
} | |
table.visible-lg { | |
display: table !important | |
} | |
tr.visible-lg { | |
display: table-row !important | |
} | |
td.visible-lg, th.visible-lg { | |
display: table-cell !important | |
} | |
} | |
@media (min-width: 1200px) { | |
.visible-lg-block { | |
display: block !important | |
} | |
} | |
@media (min-width: 1200px) { | |
.visible-lg-inline { | |
display: inline !important | |
} | |
} | |
@media (min-width: 1200px) { | |
.visible-lg-inline-block { | |
display: inline-block !important | |
} | |
} | |
@media (max-width: 767px) { | |
.hidden-xs { | |
display: none !important | |
} | |
} | |
@media (min-width: 768px) and (max-width: 991px) { | |
.hidden-sm { | |
display: none !important | |
} | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.hidden-md { | |
display: none !important | |
} | |
} | |
@media (min-width: 1200px) { | |
.hidden-lg { | |
display: none !important | |
} | |
} | |
.visible-print { | |
display: none !important | |
} | |
@media print { | |
.visible-print { | |
display: block !important | |
} | |
table.visible-print { | |
display: table !important | |
} | |
tr.visible-print { | |
display: table-row !important | |
} | |
td.visible-print, th.visible-print { | |
display: table-cell !important | |
} | |
} | |
.visible-print-block { | |
display: none !important | |
} | |
@media print { | |
.visible-print-block { | |
display: block !important | |
} | |
} | |
.visible-print-inline { | |
display: none !important | |
} | |
@media print { | |
.visible-print-inline { | |
display: inline !important | |
} | |
} | |
.visible-print-inline-block { | |
display: none !important | |
} | |
@media print { | |
.visible-print-inline-block { | |
display: inline-block !important | |
} | |
} | |
@media print { | |
.hidden-print { | |
display: none !important | |
} | |
} |
/*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ | |
!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=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.3",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.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(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.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||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[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,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=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=ha(),z=ha(),A=ha(),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=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),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")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,aa=/[+~]/,ba=/'|\\/g,ca=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),da=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)},ea=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fa){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 ga(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(ba,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+ra(o[l]);w=aa.test(a)&&pa(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function la(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 ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return ia(function(b){return b=+b,ia(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 pa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",ea,!1):e.attachEvent&&e.attachEvent("onunload",ea)),p=!f(g),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.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.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ca,da);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ca,da);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 p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\f]' 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(".#.+[+~]")}),ja(function(a){var b=g.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=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.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===g||a.ownerDocument===v&&t(v,a)?-1:b===g||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,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?la(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||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 ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.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},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.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=ga.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=ga.selectors={cacheLength:50,createPseudo:ia,match:X,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(ca,da),a[3]=(a[3]||a[4]||a[5]||"").replace(ca,da),"~="===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]||ga.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]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.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(ca,da).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=ga.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(Q," ")+" ").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;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(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:ia(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ia(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:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(ca,da),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return W.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(ca,da).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 Z.test(a.nodeName)},input:function(a){return Y.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:oa(function(){return[0]}),last:oa(function(a,b){return[b-1]}),eq:oa(function(a,b,c){return[0>c?c+b:c]}),even:oa(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:oa(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:oa(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:oa(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]=ma(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=na(b);function qa(){}qa.prototype=d.filters=d.pseudos,d.setFilters=new qa,g=ga.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=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[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?ga.error(a):z(a,i).slice(0)};function ra(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function sa(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=[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(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function ta(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 ua(a,b,c){for(var d=0,e=b.length;e>d;d++)ga(a,b[d],c);return c}function va(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 wa(a,b,c,d,e,f){return d&&!d[u]&&(d=wa(d)),e&&!e[u]&&(e=wa(e,f)),ia(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ua(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:va(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=va(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=va(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sa(function(a){return a===b},h,!0),l=sa(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=[sa(ta(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 wa(i>1&&ta(m),i>1&&ra(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xa(a.slice(i,e)),f>e&&xa(a=a.slice(e)),f>e&&ra(a))}m.push(c)}return ta(m)}function ya(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=va(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&ga.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,ya(e,d)),f.selector=a}return f},i=ga.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(ca,da),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.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(ca,da),aa.test(j[0].type)&&pa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&ra(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,aa.test(a)&&pa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ja(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(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}),ga}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(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&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.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=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1; | |
return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h;if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.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=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.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 m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?m.queue(this[0],a):void 0===b?this:this.each(function(){var c=m.queue(this,a,b);m._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&m.dequeue(this,a)})},dequeue:function(a){return this.each(function(){m.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=m.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=m._data(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=["Top","Right","Bottom","Left"],U=function(a,b){return a=b||a,"none"===m.css(a,"display")||!m.contains(a.ownerDocument,a)},V=m.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===m.type(c)){e=!0;for(h in c)m.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,m.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(m(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},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav></:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="<input type='radio' checked='checked' name='t'/>",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function aa(){return!0}function ba(){return!1}function ca(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!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&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},fix:function(a){if(a[m.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=Z.test(e)?this.mouseHooks:Y.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new m.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=f.srcElement||y),3===a.target.nodeType&&(a.target=a.target.parentNode),a.metaKey=!!a.metaKey,g.filter?g.filter(a,f):a},props:"altKey bubbles cancelable ctrlKey currentTarget 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 fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button,g=b.fromElement;return null==a.pageX&&null!=b.clientX&&(d=a.target.ownerDocument||y,e=d.documentElement,c=d.body,a.pageX=b.clientX+(e&&e.scrollLeft||c&&c.scrollLeft||0)-(e&&e.clientLeft||c&&c.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||c&&c.scrollTop||0)-(e&&e.clientTop||c&&c.clientTop||0)),!a.relatedTarget&&g&&(a.relatedTarget=g===a.target?b.toElement:g),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ca()&&this.focus)try{return this.focus(),!1}catch(a){}},delegateType:"focusin"},blur:{trigger:function(){return this===ca()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return m.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(a){return m.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=m.extend(new m.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?m.event.trigger(e,null,b):m.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},m.removeEvent=y.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){var d="on"+b;a.detachEvent&&(typeof a[d]===K&&(a[d]=null),a.detachEvent(d,c))},m.Event=function(a,b){return this instanceof m.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?aa:ba):this.type=a,b&&m.extend(this,b),this.timeStamp=a&&a.timeStamp||m.now(),void(this[m.expando]=!0)):new m.Event(a,b)},m.Event.prototype={isDefaultPrevented:ba,isPropagationStopped:ba,isImmediatePropagationStopped:ba,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=aa,a&&(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=aa,a&&(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=aa,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},m.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){m.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!m.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.submitBubbles||(m.event.special.submit={setup:function(){return m.nodeName(this,"form")?!1:void m.event.add(this,"click._submit keypress._submit",function(a){var b=a.target,c=m.nodeName(b,"input")||m.nodeName(b,"button")?b.form:void 0;c&&!m._data(c,"submitBubbles")&&(m.event.add(c,"submit._submit",function(a){a._submit_bubble=!0}),m._data(c,"submitBubbles",!0))})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&m.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){return m.nodeName(this,"form")?!1:void m.event.remove(this,"._submit")}}),k.changeBubbles||(m.event.special.change={setup:function(){return X.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(m.event.add(this,"propertychange._change",function(a){"checked"===a.originalEvent.propertyName&&(this._just_changed=!0)}),m.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1),m.event.simulate("change",this,a,!0)})),!1):void m.event.add(this,"beforeactivate._change",function(a){var b=a.target;X.test(b.nodeName)&&!m._data(b,"changeBubbles")&&(m.event.add(b,"change._change",function(a){!this.parentNode||a.isSimulated||a.isTrigger||m.event.simulate("change",this.parentNode,a,!0)}),m._data(b,"changeBubbles",!0))})},handle:function(a){var b=a.target;return this!==b||a.isSimulated||a.isTrigger||"radio"!==b.type&&"checkbox"!==b.type?a.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return m.event.remove(this,"._change"),!X.test(this.nodeName)}}),k.focusinBubbles||m.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){m.event.simulate(b,a.target,m.event.fix(a),!0)};m.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=m._data(d,b);e||d.addEventListener(a,c,!0),m._data(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=m._data(d,b)-1;e?m._data(d,b,e):(d.removeEventListener(a,c,!0),m._removeData(d,b))}}}),m.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(f in a)this.on(f,b,c,a[f],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=ba;else if(!d)return this;return 1===e&&(g=d,d=function(a){return m().off(a),g.apply(this,arguments)},d.guid=g.guid||(g.guid=m.guid++)),this.each(function(){m.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,m(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=ba),this.each(function(){m.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){m.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?m.event.trigger(a,b,c,!0):void 0}});function da(a){var b=ea.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}var ea="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",fa=/ jQuery\d+="(?:null|\d+)"/g,ga=new RegExp("<(?:"+ea+")[\\s/>]","i"),ha=/^\s+/,ia=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ja=/<([\w:]+)/,ka=/<tbody/i,la=/<|&#?\w+;/,ma=/<(?:script|style|link)/i,na=/checked\s*(?:[^=]|=\s*.checked.)/i,oa=/^$|\/(?:java|ecma)script/i,pa=/^true\/(.*)/,qa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ra={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:k.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},sa=da(y),ta=sa.appendChild(y.createElement("div"));ra.optgroup=ra.option,ra.tbody=ra.tfoot=ra.colgroup=ra.caption=ra.thead,ra.th=ra.td;function ua(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ua(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function va(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wa(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xa(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function ya(a){var b=pa.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function za(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Aa(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Ba(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xa(b).text=a.text,ya(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!ga.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(ta.innerHTML=a.outerHTML,ta.removeChild(f=ta.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ua(f),h=ua(a),g=0;null!=(e=h[g]);++g)d[g]&&Ba(e,d[g]);if(b)if(c)for(h=h||ua(a),d=d||ua(f),g=0;null!=(e=h[g]);g++)Aa(e,d[g]);else Aa(a,f);return d=ua(f,"script"),d.length>0&&za(d,!i&&ua(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=da(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(la.test(f)){h=h||o.appendChild(b.createElement("div")),i=(ja.exec(f)||["",""])[1].toLowerCase(),l=ra[i]||ra._default,h.innerHTML=l[1]+f.replace(ia,"<$1></$2>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&ha.test(f)&&p.push(b.createTextNode(ha.exec(f)[0])),!k.tbody){f="table"!==i||ka.test(f)?"<table>"!==l[1]||ka.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ua(p,"input"),va),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ua(o.appendChild(f),"script"),g&&za(h),c)){e=0;while(f=h[e++])oa.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ua(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&za(ua(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ua(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fa,""):void 0;if(!("string"!=typeof a||ma.test(a)||!k.htmlSerialize&&ga.test(a)||!k.leadingWhitespace&&ha.test(a)||ra[(ja.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ia,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ua(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ua(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&na.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ua(i,"script"),xa),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ua(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,ya),j=0;f>j;j++)d=g[j],oa.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qa,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Ca,Da={};function Ea(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fa(a){var b=y,c=Da[a];return c||(c=Ea(a,b),"none"!==c&&c||(Ca=(Ca||m("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=(Ca[0].contentWindow||Ca[0].contentDocument).document,b.write(),b.close(),c=Ea(a,b),Ca.detach()),Da[a]=c),c}!function(){var a;k.shrinkWrapBlocks=function(){if(null!=a)return a;a=!1;var b,c,d;return c=y.getElementsByTagName("body")[0],c&&c.style?(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",b.appendChild(y.createElement("div")).style.width="5px",a=3!==b.offsetWidth),c.removeChild(d),a):void 0}}();var Ga=/^margin/,Ha=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ia,Ja,Ka=/^(top|right|bottom|left)$/;a.getComputedStyle?(Ia=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)},Ja=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ia(a),g=c?c.getPropertyValue(b)||c[b]:void 0,c&&(""!==g||m.contains(a.ownerDocument,a)||(g=m.style(a,b)),Ha.test(g)&&Ga.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+""}):y.documentElement.currentStyle&&(Ia=function(a){return a.currentStyle},Ja=function(a,b,c){var d,e,f,g,h=a.style;return c=c||Ia(a),g=c?c[b]:void 0,null==g&&h&&h[b]&&(g=h[b]),Ha.test(g)&&!Ka.test(b)&&(d=h.left,e=a.runtimeStyle,f=e&&e.left,f&&(e.left=a.currentStyle.left),h.left="fontSize"===b?"1em":g,g=h.pixelLeft+"px",h.left=d,f&&(e.left=f)),void 0===g?g:g+""||"auto"});function La(a,b){return{get:function(){var c=a();if(null!=c)return c?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d,e,f,g,h;if(b=y.createElement("div"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=d&&d.style){c.cssText="float:left;opacity:.5",k.opacity="0.5"===c.opacity,k.cssFloat=!!c.cssFloat,b.style.backgroundClip="content-box",b.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===b.style.backgroundClip,k.boxSizing=""===c.boxSizing||""===c.MozBoxSizing||""===c.WebkitBoxSizing,m.extend(k,{reliableHiddenOffsets:function(){return null==g&&i(),g},boxSizingReliable:function(){return null==f&&i(),f},pixelPosition:function(){return null==e&&i(),e},reliableMarginRight:function(){return null==h&&i(),h}});function i(){var b,c,d,i;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),b.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",e=f=!1,h=!0,a.getComputedStyle&&(e="1%"!==(a.getComputedStyle(b,null)||{}).top,f="4px"===(a.getComputedStyle(b,null)||{width:"4px"}).width,i=b.appendChild(y.createElement("div")),i.style.cssText=b.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",b.style.width="1px",h=!parseFloat((a.getComputedStyle(i,null)||{}).marginRight),b.removeChild(i)),b.innerHTML="<table><tr><td></td><td>t</td></tr></table>",i=b.getElementsByTagName("td"),i[0].style.cssText="margin:0;border:0;padding:0;display:none",g=0===i[0].offsetHeight,g&&(i[0].style.display="",i[1].style.display="none",g=0===i[0].offsetHeight),c.removeChild(d))}}}(),m.swap=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};var Ma=/alpha\([^)]*\)/i,Na=/opacity\s*=\s*([^)]*)/,Oa=/^(none|table(?!-c[ea]).+)/,Pa=new RegExp("^("+S+")(.*)$","i"),Qa=new RegExp("^([+-])=("+S+")","i"),Ra={position:"absolute",visibility:"hidden",display:"block"},Sa={letterSpacing:"0",fontWeight:"400"},Ta=["Webkit","O","Moz","ms"];function Ua(a,b){if(b in a)return b;var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=Ta.length;while(e--)if(b=Ta[e]+c,b in a)return b;return d}function Va(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=m._data(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&U(d)&&(f[g]=m._data(d,"olddisplay",Fa(d.nodeName)))):(e=U(d),(c&&"none"!==c||!e)&&m._data(d,"olddisplay",e?c:m.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}function Wa(a,b,c){var d=Pa.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Xa(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+=m.css(a,c+T[f],!0,e)),d?("content"===c&&(g-=m.css(a,"padding"+T[f],!0,e)),"margin"!==c&&(g-=m.css(a,"border"+T[f]+"Width",!0,e))):(g+=m.css(a,"padding"+T[f],!0,e),"padding"!==c&&(g+=m.css(a,"border"+T[f]+"Width",!0,e)));return g}function Ya(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ia(a),g=k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Ja(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ha.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Xa(a,b,c||(g?"border":"content"),d,f)+"px"}m.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Ja(a,"opacity");return""===c?"1":c}}}},cssNumber:{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":k.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=m.camelCase(b),i=a.style;if(b=m.cssProps[h]||(m.cssProps[h]=Ua(i,h)),g=m.cssHooks[b]||m.cssHooks[h],void 0===c)return g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b];if(f=typeof c,"string"===f&&(e=Qa.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(m.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||m.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),!(g&&"set"in g&&void 0===(c=g.set(a,c,d)))))try{i[b]=c}catch(j){}}},css:function(a,b,c,d){var e,f,g,h=m.camelCase(b);return b=m.cssProps[h]||(m.cssProps[h]=Ua(a.style,h)),g=m.cssHooks[b]||m.cssHooks[h],g&&"get"in g&&(f=g.get(a,!0,c)),void 0===f&&(f=Ja(a,b,d)),"normal"===f&&b in Sa&&(f=Sa[b]),""===c||c?(e=parseFloat(f),c===!0||m.isNumeric(e)?e||0:f):f}}),m.each(["height","width"],function(a,b){m.cssHooks[b]={get:function(a,c,d){return c?Oa.test(m.css(a,"display"))&&0===a.offsetWidth?m.swap(a,Ra,function(){return Ya(a,b,d)}):Ya(a,b,d):void 0},set:function(a,c,d){var e=d&&Ia(a);return Wa(a,c,d?Xa(a,b,d,k.boxSizing&&"border-box"===m.css(a,"boxSizing",!1,e),e):0)}}}),k.opacity||(m.cssHooks.opacity={get:function(a,b){return Na.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=m.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===m.trim(f.replace(Ma,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=Ma.test(f)?f.replace(Ma,e):f+" "+e)}}),m.cssHooks.marginRight=La(k.reliableMarginRight,function(a,b){return b?m.swap(a,{display:"inline-block"},Ja,[a,"marginRight"]):void 0}),m.each({margin:"",padding:"",border:"Width"},function(a,b){m.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+T[d]+b]=f[d]||f[d-2]||f[0];return e}},Ga.test(a)||(m.cssHooks[a+b].set=Wa)}),m.fn.extend({css:function(a,b){return V(this,function(a,b,c){var d,e,f={},g=0;if(m.isArray(b)){for(d=Ia(a),e=b.length;e>g;g++)f[b[g]]=m.css(a,b[g],!1,d);return f}return void 0!==c?m.style(a,b,c):m.css(a,b)},a,b,arguments.length>1)},show:function(){return Va(this,!0)},hide:function(){return Va(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){U(this)?m(this).show():m(this).hide()})}});function Za(a,b,c,d,e){ | |
return new Za.prototype.init(a,b,c,d,e)}m.Tween=Za,Za.prototype={constructor:Za,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(m.cssNumber[c]?"":"px")},cur:function(){var a=Za.propHooks[this.prop];return a&&a.get?a.get(this):Za.propHooks._default.get(this)},run:function(a){var b,c=Za.propHooks[this.prop];return this.options.duration?this.pos=b=m.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):Za.propHooks._default.set(this),this}},Za.prototype.init.prototype=Za.prototype,Za.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=m.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){m.fx.step[a.prop]?m.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[m.cssProps[a.prop]]||m.cssHooks[a.prop])?m.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Za.propHooks.scrollTop=Za.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},m.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},m.fx=Za.prototype.init,m.fx.step={};var $a,_a,ab=/^(?:toggle|show|hide)$/,bb=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),cb=/queueHooks$/,db=[ib],eb={"*":[function(a,b){var c=this.createTween(a,b),d=c.cur(),e=bb.exec(b),f=e&&e[3]||(m.cssNumber[a]?"":"px"),g=(m.cssNumber[a]||"px"!==f&&+d)&&bb.exec(m.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,m.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function fb(){return setTimeout(function(){$a=void 0}),$a=m.now()}function gb(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=T[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function hb(a,b,c){for(var d,e=(eb[b]||[]).concat(eb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function ib(a,b,c){var d,e,f,g,h,i,j,l,n=this,o={},p=a.style,q=a.nodeType&&U(a),r=m._data(a,"fxshow");c.queue||(h=m._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,n.always(function(){n.always(function(){h.unqueued--,m.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[p.overflow,p.overflowX,p.overflowY],j=m.css(a,"display"),l="none"===j?m._data(a,"olddisplay")||Fa(a.nodeName):j,"inline"===l&&"none"===m.css(a,"float")&&(k.inlineBlockNeedsLayout&&"inline"!==Fa(a.nodeName)?p.zoom=1:p.display="inline-block")),c.overflow&&(p.overflow="hidden",k.shrinkWrapBlocks()||n.always(function(){p.overflow=c.overflow[0],p.overflowX=c.overflow[1],p.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],ab.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(q?"hide":"show")){if("show"!==e||!r||void 0===r[d])continue;q=!0}o[d]=r&&r[d]||m.style(a,d)}else j=void 0;if(m.isEmptyObject(o))"inline"===("none"===j?Fa(a.nodeName):j)&&(p.display=j);else{r?"hidden"in r&&(q=r.hidden):r=m._data(a,"fxshow",{}),f&&(r.hidden=!q),q?m(a).show():n.done(function(){m(a).hide()}),n.done(function(){var b;m._removeData(a,"fxshow");for(b in o)m.style(a,b,o[b])});for(d in o)g=hb(q?r[d]:0,d,n),d in r||(r[d]=g.start,q&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function jb(a,b){var c,d,e,f,g;for(c in a)if(d=m.camelCase(c),e=b[d],f=a[c],m.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=m.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 kb(a,b,c){var d,e,f=0,g=db.length,h=m.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=$a||fb(),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:m.extend({},b),opts:m.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:$a||fb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=m.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.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(jb(k,j.opts.specialEasing);g>f;f++)if(d=db[f].call(j,a,k,j.opts))return d;return m.map(k,hb,j),m.isFunction(j.opts.start)&&j.opts.start.call(a,j),m.fx.timer(m.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)}m.Animation=m.extend(kb,{tweener:function(a,b){m.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],eb[c]=eb[c]||[],eb[c].unshift(b)},prefilter:function(a,b){b?db.unshift(a):db.push(a)}}),m.speed=function(a,b,c){var d=a&&"object"==typeof a?m.extend({},a):{complete:c||!c&&b||m.isFunction(a)&&a,duration:a,easing:c&&b||b&&!m.isFunction(b)&&b};return d.duration=m.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in m.fx.speeds?m.fx.speeds[d.duration]:m.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){m.isFunction(d.old)&&d.old.call(this),d.queue&&m.dequeue(this,d.queue)},d},m.fn.extend({fadeTo:function(a,b,c,d){return this.filter(U).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=m.isEmptyObject(a),f=m.speed(b,c,d),g=function(){var b=kb(this,m.extend({},a),f);(e||m._data(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=m.timers,g=m._data(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&cb.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)&&m.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=m._data(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=m.timers,g=d?d.length:0;for(c.finish=!0,m.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})}}),m.each(["toggle","show","hide"],function(a,b){var c=m.fn[b];m.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(gb(b,!0),a,d,e)}}),m.each({slideDown:gb("show"),slideUp:gb("hide"),slideToggle:gb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){m.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),m.timers=[],m.fx.tick=function(){var a,b=m.timers,c=0;for($a=m.now();c<b.length;c++)a=b[c],a()||b[c]!==a||b.splice(c--,1);b.length||m.fx.stop(),$a=void 0},m.fx.timer=function(a){m.timers.push(a),a()?m.fx.start():m.timers.pop()},m.fx.interval=13,m.fx.start=function(){_a||(_a=setInterval(m.fx.tick,m.fx.interval))},m.fx.stop=function(){clearInterval(_a),_a=null},m.fx.speeds={slow:600,fast:200,_default:400},m.fn.delay=function(a,b){return a=m.fx?m.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a,b,c,d,e;b=y.createElement("div"),b.setAttribute("className","t"),b.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",d=b.getElementsByTagName("a")[0],c=y.createElement("select"),e=c.appendChild(y.createElement("option")),a=b.getElementsByTagName("input")[0],d.style.cssText="top:1px",k.getSetAttribute="t"!==b.className,k.style=/top/.test(d.getAttribute("style")),k.hrefNormalized="/a"===d.getAttribute("href"),k.checkOn=!!a.value,k.optSelected=e.selected,k.enctype=!!y.createElement("form").enctype,c.disabled=!0,k.optDisabled=!e.disabled,a=y.createElement("input"),a.setAttribute("value",""),k.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),k.radioValue="t"===a.value}();var lb=/\r/g;m.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=m.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,m(this).val()):a,null==e?e="":"number"==typeof e?e+="":m.isArray(e)&&(e=m.map(e,function(a){return null==a?"":a+""})),b=m.valHooks[this.type]||m.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=m.valHooks[e.type]||m.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(lb,""):null==c?"":c)}}}),m.extend({valHooks:{option:{get:function(a){var b=m.find.attr(a,"value");return null!=b?b:m.trim(m.text(a))}},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||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&m.nodeName(c.parentNode,"optgroup"))){if(b=m(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=m.makeArray(b),g=e.length;while(g--)if(d=e[g],m.inArray(m.valHooks.option.get(d),f)>=0)try{d.selected=c=!0}catch(h){d.scrollHeight}else d.selected=!1;return c||(a.selectedIndex=-1),e}}}}),m.each(["radio","checkbox"],function(){m.valHooks[this]={set:function(a,b){return m.isArray(b)?a.checked=m.inArray(m(a).val(),b)>=0:void 0}},k.checkOn||(m.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var mb,nb,ob=m.expr.attrHandle,pb=/^(?:checked|selected)$/i,qb=k.getSetAttribute,rb=k.input;m.fn.extend({attr:function(a,b){return V(this,m.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){m.removeAttr(this,a)})}}),m.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===K?m.prop(a,b,c):(1===f&&m.isXMLDoc(a)||(b=b.toLowerCase(),d=m.attrHooks[b]||(m.expr.match.bool.test(b)?nb:mb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=m.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void m.removeAttr(a,b))},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=m.propFix[c]||c,m.expr.match.bool.test(c)?rb&&qb||!pb.test(c)?a[d]=!1:a[m.camelCase("default-"+c)]=a[d]=!1:m.attr(a,c,""),a.removeAttribute(qb?c:d)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&m.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),nb={set:function(a,b,c){return b===!1?m.removeAttr(a,c):rb&&qb||!pb.test(c)?a.setAttribute(!qb&&m.propFix[c]||c,c):a[m.camelCase("default-"+c)]=a[c]=!0,c}},m.each(m.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ob[b]||m.find.attr;ob[b]=rb&&qb||!pb.test(b)?function(a,b,d){var e,f;return d||(f=ob[b],ob[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,ob[b]=f),e}:function(a,b,c){return c?void 0:a[m.camelCase("default-"+b)]?b.toLowerCase():null}}),rb&&qb||(m.attrHooks.value={set:function(a,b,c){return m.nodeName(a,"input")?void(a.defaultValue=b):mb&&mb.set(a,b,c)}}),qb||(mb={set:function(a,b,c){var d=a.getAttributeNode(c);return d||a.setAttributeNode(d=a.ownerDocument.createAttribute(c)),d.value=b+="","value"===c||b===a.getAttribute(c)?b:void 0}},ob.id=ob.name=ob.coords=function(a,b,c){var d;return c?void 0:(d=a.getAttributeNode(b))&&""!==d.value?d.value:null},m.valHooks.button={get:function(a,b){var c=a.getAttributeNode(b);return c&&c.specified?c.value:void 0},set:mb.set},m.attrHooks.contenteditable={set:function(a,b,c){mb.set(a,""===b?!1:b,c)}},m.each(["width","height"],function(a,b){m.attrHooks[b]={set:function(a,c){return""===c?(a.setAttribute(b,"auto"),c):void 0}}})),k.style||(m.attrHooks.style={get:function(a){return a.style.cssText||void 0},set:function(a,b){return a.style.cssText=b+""}});var sb=/^(?:input|select|textarea|button|object)$/i,tb=/^(?:a|area)$/i;m.fn.extend({prop:function(a,b){return V(this,m.prop,a,b,arguments.length>1)},removeProp:function(a){return a=m.propFix[a]||a,this.each(function(){try{this[a]=void 0,delete this[a]}catch(b){}})}}),m.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!m.isXMLDoc(a),f&&(b=m.propFix[b]||b,e=m.propHooks[b]),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=m.find.attr(a,"tabindex");return b?parseInt(b,10):sb.test(a.nodeName)||tb.test(a.nodeName)&&a.href?0:-1}}}}),k.hrefNormalized||m.each(["href","src"],function(a,b){m.propHooks[b]={get:function(a){return a.getAttribute(b,4)}}}),k.optSelected||(m.propHooks.selected={get:function(a){var b=a.parentNode;return b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex),null}}),m.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){m.propFix[this.toLowerCase()]=this}),k.enctype||(m.propFix.enctype="encoding");var ub=/[\t\r\n\f]/g;m.fn.extend({addClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j="string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).addClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ub," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=m.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0,i=this.length,j=0===arguments.length||"string"==typeof a&&a;if(m.isFunction(a))return this.each(function(b){m(this).removeClass(a.call(this,b,this.className))});if(j)for(b=(a||"").match(E)||[];i>h;h++)if(c=this[h],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ub," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?m.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(m.isFunction(a)?function(c){m(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=m(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===K||"boolean"===c)&&(this.className&&m._data(this,"__className__",this.className),this.className=this.className||a===!1?"":m._data(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ub," ").indexOf(b)>=0)return!0;return!1}}),m.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){m.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),m.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},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)}});var vb=m.now(),wb=/\?/,xb=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;m.parseJSON=function(b){if(a.JSON&&a.JSON.parse)return a.JSON.parse(b+"");var c,d=null,e=m.trim(b+"");return e&&!m.trim(e.replace(xb,function(a,b,e,f){return c&&b&&(d=0),0===d?a:(c=e||b,d+=!f-!e,"")}))?Function("return "+e)():m.error("Invalid JSON: "+b)},m.parseXML=function(b){var c,d;if(!b||"string"!=typeof b)return null;try{a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b))}catch(e){c=void 0}return c&&c.documentElement&&!c.getElementsByTagName("parsererror").length||m.error("Invalid XML: "+b),c};var yb,zb,Ab=/#.*$/,Bb=/([?&])_=[^&]*/,Cb=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Db=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Eb=/^(?:GET|HEAD)$/,Fb=/^\/\//,Gb=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Hb={},Ib={},Jb="*/".concat("*");try{zb=location.href}catch(Kb){zb=y.createElement("a"),zb.href="",zb=zb.href}yb=Gb.exec(zb.toLowerCase())||[];function Lb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(m.isFunction(c))while(d=f[e++])"+"===d.charAt(0)?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function Mb(a,b,c,d){var e={},f=a===Ib;function g(h){var i;return e[h]=!0,m.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 Nb(a,b){var c,d,e=m.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((e[d]?a:c||(c={}))[d]=b[d]);return c&&m.extend(!0,a,c),a}function Ob(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===e&&(e=a.mimeType||b.getResponseHeader("Content-Type"));if(e)for(g in h)if(h[g]&&h[g].test(e)){i.unshift(g);break}if(i[0]in c)f=i[0];else{for(g in c){if(!i[0]||a.converters[g+" "+i[0]]){f=g;break}d||(d=g)}f=f||d}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Pb(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}}m.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:zb,type:"GET",isLocal:Db.test(yb[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":m.parseJSON,"text xml":m.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Nb(Nb(a,m.ajaxSettings),b):Nb(m.ajaxSettings,a)},ajaxPrefilter:Lb(Hb),ajaxTransport:Lb(Ib),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=m.ajaxSetup({},b),l=k.context||k,n=k.context&&(l.nodeType||l.jquery)?m(l):m.event,o=m.Deferred(),p=m.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!j){j={};while(b=Cb.exec(f))j[b[1].toLowerCase()]=b[2]}b=j[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?f:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return i&&i.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||zb)+"").replace(Ab,"").replace(Fb,yb[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=m.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(c=Gb.exec(k.url.toLowerCase()),k.crossDomain=!(!c||c[1]===yb[1]&&c[2]===yb[2]&&(c[3]||("http:"===c[1]?"80":"443"))===(yb[3]||("http:"===yb[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=m.param(k.data,k.traditional)),Mb(Hb,k,b,v),2===t)return v;h=m.event&&k.global,h&&0===m.active++&&m.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!Eb.test(k.type),e=k.url,k.hasContent||(k.data&&(e=k.url+=(wb.test(e)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=Bb.test(e)?e.replace(Bb,"$1_="+vb++):e+(wb.test(e)?"&":"?")+"_="+vb++)),k.ifModified&&(m.lastModified[e]&&v.setRequestHeader("If-Modified-Since",m.lastModified[e]),m.etag[e]&&v.setRequestHeader("If-None-Match",m.etag[e])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+Jb+"; q=0.01":""):k.accepts["*"]);for(d in k.headers)v.setRequestHeader(d,k.headers[d]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(d in{success:1,error:1,complete:1})v[d](k[d]);if(i=Mb(Ib,k,b,v)){v.readyState=1,h&&n.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,i.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,c,d){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),i=void 0,f=d||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,c&&(u=Ob(k,v,c)),u=Pb(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(m.lastModified[e]=w),w=v.getResponseHeader("etag"),w&&(m.etag[e]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,h&&n.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),h&&(n.trigger("ajaxComplete",[v,k]),--m.active||m.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return m.get(a,b,c,"json")},getScript:function(a,b){return m.get(a,void 0,b,"script")}}),m.each(["get","post"],function(a,b){m[b]=function(a,c,d,e){return m.isFunction(c)&&(e=e||d,d=c,c=void 0),m.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),m._evalUrl=function(a){return m.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},m.fn.extend({wrapAll:function(a){if(m.isFunction(a))return this.each(function(b){m(this).wrapAll(a.call(this,b))});if(this[0]){var b=m(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&1===a.firstChild.nodeType)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return this.each(m.isFunction(a)?function(b){m(this).wrapInner(a.call(this,b))}:function(){var b=m(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=m.isFunction(a);return this.each(function(c){m(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){m.nodeName(this,"body")||m(this).replaceWith(this.childNodes)}).end()}}),m.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!k.reliableHiddenOffsets()&&"none"===(a.style&&a.style.display||m.css(a,"display"))},m.expr.filters.visible=function(a){return!m.expr.filters.hidden(a)};var Qb=/%20/g,Rb=/\[\]$/,Sb=/\r?\n/g,Tb=/^(?:submit|button|image|reset|file)$/i,Ub=/^(?:input|select|textarea|keygen)/i;function Vb(a,b,c,d){var e;if(m.isArray(b))m.each(b,function(b,e){c||Rb.test(a)?d(a,e):Vb(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==m.type(b))d(a,b);else for(e in b)Vb(a+"["+e+"]",b[e],c,d)}m.param=function(a,b){var c,d=[],e=function(a,b){b=m.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=m.ajaxSettings&&m.ajaxSettings.traditional),m.isArray(a)||a.jquery&&!m.isPlainObject(a))m.each(a,function(){e(this.name,this.value)});else for(c in a)Vb(c,a[c],b,e);return d.join("&").replace(Qb,"+")},m.fn.extend({serialize:function(){return m.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=m.prop(this,"elements");return a?m.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!m(this).is(":disabled")&&Ub.test(this.nodeName)&&!Tb.test(a)&&(this.checked||!W.test(a))}).map(function(a,b){var c=m(this).val();return null==c?null:m.isArray(c)?m.map(c,function(a){return{name:b.name,value:a.replace(Sb,"\r\n")}}):{name:b.name,value:c.replace(Sb,"\r\n")}}).get()}}),m.ajaxSettings.xhr=void 0!==a.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Zb()||$b()}:Zb;var Wb=0,Xb={},Yb=m.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Xb)Xb[a](void 0,!0)}),k.cors=!!Yb&&"withCredentials"in Yb,Yb=k.ajax=!!Yb,Yb&&m.ajaxTransport(function(a){if(!a.crossDomain||k.cors){var b;return{send:function(c,d){var e,f=a.xhr(),g=++Wb;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)void 0!==c[e]&&f.setRequestHeader(e,c[e]+"");f.send(a.hasContent&&a.data||null),b=function(c,e){var h,i,j;if(b&&(e||4===f.readyState))if(delete Xb[g],b=void 0,f.onreadystatechange=m.noop,e)4!==f.readyState&&f.abort();else{j={},h=f.status,"string"==typeof f.responseText&&(j.text=f.responseText);try{i=f.statusText}catch(k){i=""}h||!a.isLocal||a.crossDomain?1223===h&&(h=204):h=j.text?200:404}j&&d(h,i,j,f.getAllResponseHeaders())},a.async?4===f.readyState?setTimeout(b):f.onreadystatechange=Xb[g]=b:b()},abort:function(){b&&b(void 0,!0)}}}});function Zb(){try{return new a.XMLHttpRequest}catch(b){}}function $b(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}m.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return m.globalEval(a),a}}}),m.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),m.ajaxTransport("script",function(a){if(a.crossDomain){var b,c=y.head||m("head")[0]||y.documentElement;return{send:function(d,e){b=y.createElement("script"),b.async=!0,a.scriptCharset&&(b.charset=a.scriptCharset),b.src=a.url,b.onload=b.onreadystatechange=function(a,c){(c||!b.readyState||/loaded|complete/.test(b.readyState))&&(b.onload=b.onreadystatechange=null,b.parentNode&&b.parentNode.removeChild(b),b=null,c||e(200,"success"))},c.insertBefore(b,c.firstChild)},abort:function(){b&&b.onload(void 0,!0)}}}});var _b=[],ac=/(=)\?(?=&|$)|\?\?/;m.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=_b.pop()||m.expando+"_"+vb++;return this[a]=!0,a}}),m.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(ac.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&ac.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=m.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(ac,"$1"+e):b.jsonp!==!1&&(b.url+=(wb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||m.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,_b.push(e)),g&&m.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),m.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||y;var d=u.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=m.buildFragment([a],b,e),e&&e.length&&m(e).remove(),m.merge([],d.childNodes))};var bc=m.fn.load;m.fn.load=function(a,b,c){if("string"!=typeof a&&bc)return bc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=m.trim(a.slice(h,a.length)),a=a.slice(0,h)),m.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(f="POST"),g.length>0&&m.ajax({url:a,type:f,dataType:"html",data:b}).done(function(a){e=arguments,g.html(d?m("<div>").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){m.fn[b]=function(a){return this.on(b,a)}}),m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cc=a.document.documentElement;function dc(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dc(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cc;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cc})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dc(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=La(k.pixelPosition,function(a,c){return c?(c=Ja(a,b),Ha.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.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?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ec=a.jQuery,fc=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fc),b&&a.jQuery===m&&(a.jQuery=ec),m},typeof b===K&&(a.jQuery=a.$=m),m}); | |
//# sourceMappingURL=jquery.min.map |
/*! | |
* Stui v1.1.0 Copyright 2016-2018 | |
*/ | |
var stui = { | |
browser: { | |
url: document.URL, | |
domain: document.domain, | |
title: document.title, | |
language: (navigator.browserLanguage || navigator.language).toLowerCase(), | |
canvas: function() { | |
return !!document.createElement("canvas").getContext | |
}(), | |
useragent: function() { | |
var a = navigator.userAgent; | |
return { | |
mobile: !! a.match(/AppleWebKit.*Mobile.*/), | |
ios: !! a.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), | |
android: -1 < a.indexOf("Android") || -1 < a.indexOf("Linux"), | |
iPhone: -1 < a.indexOf("iPhone") || -1 < a.indexOf("Mac"), | |
iPad: -1 < a.indexOf("iPad"), | |
trident: -1 < a.indexOf("Trident"), | |
presto: -1 < a.indexOf("Presto"), | |
webKit: -1 < a.indexOf("AppleWebKit"), | |
gecko: -1 < a.indexOf("Gecko") && -1 == a.indexOf("KHTML"), | |
weixin: -1 < a.indexOf("MicroMessenger") | |
} | |
}() | |
}, | |
mobile: { | |
popup: function() { | |
$popblock = $(".popup"); | |
$(".open-popup").click(function() { | |
$popblock.addClass("popup-visible"); | |
$("body").append('<div class="mask"></div>'); | |
$(".close-popup").click(function() { | |
$popblock.removeClass("popup-visible"); | |
$(".mask").remove(); | |
$("body").removeClass("modal-open") | |
}); | |
$(".mask").click(function() { | |
$popblock.removeClass("popup-visible"); | |
$(this).remove(); | |
$("body").removeClass("modal-open") | |
}) | |
}) | |
}, | |
slide: function() { | |
$.getScript("/Statics/js/flickity.pkgd.min.js", function() { | |
$(".type-slide").each(function(a) { | |
$index = $(this).find('.active').index()*1; | |
if($index > 3){ | |
$index = $index-3; | |
}else{ | |
$index = 0; | |
} | |
$(this).flickity({ | |
cellAlign: 'left', | |
freeScroll: true, | |
contain: true, | |
prevNextButtons: false, | |
pageDots: false, | |
initialIndex: $index | |
}); | |
}) | |
}) | |
}, | |
share: function() { | |
$(".open-share").click(function() { | |
stui.browser.useragent.weixin ? $("body").append('<div class="mobile-share share-weixin"></div>') : $("body").append('<div class="mobile-share share-other"></div>'); | |
$(".mobile-share").click(function() { | |
$(".mobile-share").remove(); | |
$("body").removeClass("modal-open") | |
}) | |
}) | |
} | |
}, | |
flickity: { | |
carousel: function() { | |
$.getScript("/Statics/js/flickity.pkgd.min.js", function() { | |
$('.carousel_default').flickity({ | |
cellAlign: 'left', | |
contain: true, | |
wrapAround: true, | |
autoPlay: true, | |
prevNextButtons: false | |
}); | |
$('.carousel_wide').flickity({ | |
cellAlign: 'center', | |
contain: true, | |
wrapAround: true, | |
autoPlay: true, | |
}); | |
$('.carousel_center').flickity({ | |
cellAlign: 'center', | |
contain: true, | |
wrapAround: true, | |
autoPlay: true, | |
prevNextButtons: false | |
}); | |
$('.carousel_right').flickity({ | |
cellAlign: 'left', | |
wrapAround: true, | |
contain: true, | |
pageDots: false | |
}); | |
}) | |
} | |
}, | |
images: { | |
lazyload: function() { | |
$.getScript("/Statics/js/jquery.lazyload.js", function() { | |
$(".lazyload").lazyload({ | |
effect: "fadeIn", | |
threshold: 200, | |
failurelimit: 15, | |
skip_invisible: !1 | |
}) | |
}) | |
}, | |
qrcode: function() { | |
$("img.qrcode").attr("src", "http://pan.baidu.com/share/qrcode?w=300&h=300&url=" + encodeURIComponent(stui.browser.url) + "") | |
} | |
}, | |
common: { | |
bootstrap: function() { | |
$.getScript("/Statics/js/bootstrap.min.js", function() { | |
$('a[data-toggle="tab"]').on("shown.bs.tab", function(a) { | |
var b = $(a.target).text(); | |
$(a.relatedTarget).text(); | |
$("span.active-tab").html(b) | |
}) | |
}) | |
}, | |
headroom: function() { | |
$.getScript("/Statics/js/headroom.min.js", function() { | |
$("#header-top", function() { | |
(new Headroom(document.querySelector("#header-top"), { | |
tolerance: 5, | |
offset: 205, | |
classes: { | |
initial: "top-fixed", | |
pinned: "top-fixed-up", | |
unpinned: "top-fixed-down" | |
} | |
})).init() | |
}); | |
$("#header-bottom", function() { | |
(new Headroom(document.querySelector("#header-bottom"), { | |
tolerance: 5, | |
offset: 205, | |
classes: { | |
initial: "bottom-fixed", | |
pinned: "bottom-fixed-up", | |
unpinned: "bottom-fixed-down" | |
} | |
})).init() | |
}) | |
}) | |
}, | |
'autocomplete': function(){ | |
//当键盘键被松开时发送Ajax获取数据 | |
$('#wd').keyup(function(){ | |
var keywords = $(this).val(); | |
if (keywords == '') { | |
$('#word').hide(); | |
return | |
} | |
$.ajax({ | |
url: 'http://'+siteUrl+'/'+sitepath+'ass.php?wd=' + keywords, | |
dataType: 'jsonp', | |
jsonp: 'cb', //回调函数的参数名(键值)key | |
// jsonpCallback: 'fun', //回调函数名(值) value | |
beforeSend:function(){ | |
$('#word').append('<div class="autocomplete-suggestion">正在加载。。。</div>'); | |
}, | |
success:function(data){ | |
$('#word').empty().show(); | |
if (data.s=='') | |
{ | |
$('#word').append('<div class="autocomplete-suggestion">未找到与 "' + keywords + '"相关的结果</div>'); | |
} | |
$.each(data.s, function(){ | |
$('#word').append('<div class="autocomplete-suggestion">'+ this +'</div>'); | |
}) | |
}, | |
error:function(){ | |
$('#word').empty().show(); | |
$('#word').append('<div class="autocomplete-suggestion">查找"' + keywords + '"失败</div>'); | |
} | |
}) | |
}); | |
//点击搜索数据复制给搜索框 | |
$(document).on('click','.autocomplete-suggestion',function(){ | |
var word = $(this).text(); | |
$('#wd').val(word); | |
$('#word').hide(); | |
$('#submit').trigger('click');触发搜索事件 | |
}); | |
//失去焦点时隐藏 | |
var clear = function(){ $('#word').hide();}; | |
$("input").blur(function(){ | |
setTimeout(clear,500); | |
}) | |
}, | |
collapse: function() { | |
$(".detail").on("click", ".detail-more", function() { | |
$detailContent = $(".detail-content"); | |
$detailSketch = $(".detail-sketch"); | |
"none" == $detailContent.css("display") ? ($(this).html('\u6536\u8d77 <i class="icon iconfont icon-less"></i>'), $detailContent.show(), $detailSketch.hide()) : ($(this).html('\u8be6\u60c5 <i class="icon iconfont icon-moreunfold"></i>'), $detailContent.hide(), $detailSketch.show()) | |
}) | |
}, | |
scrolltop: function() { | |
var a = $(window); | |
$scrollTopLink = $("a.backtop"); | |
a.scroll(function() { | |
500 < $(this).scrollTop() ? $scrollTopLink.css("display", "block") : $scrollTopLink.css("display", "none") | |
}); | |
$scrollTopLink.on("click", function() { | |
$("html, body").animate({ | |
scrollTop: 0 | |
}, 400); | |
return !1 | |
}) | |
} | |
} | |
}; | |
$(document).ready(function() { | |
if(stui.browser.useragent.mobile){ | |
stui.mobile.slide(); | |
stui.mobile.popup(); | |
stui.mobile.share(); | |
} | |
stui.flickity.carousel(); | |
stui.images.lazyload(); | |
stui.images.qrcode(); | |
stui.common.bootstrap(); | |
stui.common.headroom(); | |
stui.common.autocomplete(); | |
stui.common.collapse(); | |
stui.common.scrolltop() | |
}); |
/* Version 3.6 | |
** QQ:271513820 | |
** Up:2018.02.08*/ | |
var feifei = { | |
//start | |
'browser':{//浏览器信息 | |
'url': document.URL, | |
'domain': document.domain, | |
'title': document.title, | |
'language': (navigator.browserLanguage || navigator.language).toLowerCase(),//zh-tw|zh-hk|zh-cn | |
'canvas' : function(){ | |
return !!document.createElement('canvas').getContext; | |
}(), | |
'useragent' : function(){ | |
var ua = navigator.userAgent;//navigator.appVersion | |
return { | |
'mobile': !!ua.match(/AppleWebKit.*Mobile.*/), //是否为移动终端 | |
'ios': !!ua.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 | |
'android': ua.indexOf('Android') > -1 || ua.indexOf('Linux') > -1, //android终端或者uc浏览器 | |
'iPhone': ua.indexOf('iPhone') > -1 || ua.indexOf('Mac') > -1, //是否为iPhone或者QQHD浏览器 | |
'iPad': ua.indexOf('iPad') > -1, //是否iPad | |
'trident': ua.indexOf('Trident') > -1, //IE内核 | |
'presto': ua.indexOf('Presto') > -1, //opera内核 | |
'webKit': ua.indexOf('AppleWebKit') > -1, //苹果、谷歌内核 | |
'gecko': ua.indexOf('Gecko') > -1 && ua.indexOf('KHTML') == -1, //火狐内核 | |
'weixin': ua.indexOf('MicroMessenger') > -1 //是否微信 ua.match(/MicroMessenger/i) == "micromessenger", | |
}; | |
}() | |
}, | |
'cms':{//系统 | |
'nav': function($id){//主导航高亮 | |
$id = $('nav[data-dir]').attr('data-dir'); | |
$($id).addClass("active"); | |
}, | |
'pre':function(){//代码高亮 | |
//https://highlightjs.org/static/demo/ | |
if($("pre code").length){ | |
$.ajaxSetup({ | |
cache: true | |
}); | |
$("<link>").attr({ rel: "stylesheet",type: "text/css",href: "//cdn.bootcss.com/highlight.js/9.12.0/styles/googlecode.min.css"}).appendTo("head"); | |
$.getScript("//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js", function(){ | |
$('pre code').each(function(i, block) { | |
hljs.highlightBlock(block); | |
}); | |
}); | |
} | |
}, | |
'collapse':function(){//内容详情折叠 | |
$('.vod-detail .vod-content img').addClass("img-responsive"); | |
$('.news-detail .news-content img').addClass("img-responsive"); | |
$('body').on("click", "[data-toggle=ff-collapse]", function(){ | |
$this = $(this); | |
$($this.attr('data-target')).toggle(); | |
$($this.attr('data-default')).toggle(); | |
if($this.attr('data-html')){ | |
$data_html = $this.html(); | |
$this.html($this.attr('data-html')); | |
$this.attr('data-html',$data_html); | |
} | |
if($this.attr('data-val')){ | |
$data_val = $this.val(); | |
$this.val($this.attr('data-val')); | |
$this.attr('data-val',$data_val); | |
} | |
}); | |
} | |
}, | |
'mobile':{//移动端专用 | |
'jump': function(){ | |
if( cms.domain_m && (feifei.browser.domain != cms.domain_m) ){ | |
self.location.href = feifei.browser.url.replace(feifei.browser.domain,cms.domain_m); | |
} | |
}, | |
'nav': function(){ | |
$("#ff-nav-btn").bind('click', function(){ | |
$('#ff-nav-btn-item').toggleClass("hidden"); | |
}); | |
}, | |
'goback': function(){ | |
if(history.length > 0 && document.referrer){ | |
$(".ff-goback").show(); | |
$('.ff-goback').attr('href','javascript:history.go(-1);'); | |
}else{ | |
$(".ff-goback").hide(); | |
} | |
}, | |
'flickity':function(){//手机滑动 | |
if($(".ff-gallery").length){ | |
$.ajaxSetup({ | |
cache: true | |
}); | |
$("<link>").attr({ rel: "stylesheet",type: "text/css",href: "//cdn.bootcss.com/flickity/2.0.9/flickity.min.css"}).appendTo("head"); | |
$.getScript("//cdn.bootcss.com/flickity/2.0.9/flickity.pkgd.min.js", function(){ | |
$(".ff-gallery").each(function(i){ | |
$index = $(this).find('.btn-success').index()*1; | |
if($index > 3){ | |
$index = $index-3; | |
}else{ | |
$index = 0; | |
} | |
$(this).flickity({ | |
cellAlign: 'left', | |
freeScroll: true, | |
prevNextButtons: false, | |
resize: true, | |
initialIndex: $index, | |
pageDots: false | |
}); | |
}); | |
}); | |
} | |
} | |
}, | |
'scroll':{//滚动条 | |
'fixed' : function($id, $top, $width){// 悬浮区域 | |
var offset = $('#'+$id).offset(); | |
if(offset){ | |
if(!$top){ | |
$top = 5; | |
} | |
if(!$width){ | |
$width = $('#'+$id).width(); | |
} | |
$(window).bind('scroll', function(){ | |
if($(this).scrollTop() > offset.top){ | |
$('#'+$id).css({"position":"fixed","top":$top+"px","width":$width+"px"}); | |
}else{ | |
$(('#'+$id)).css({"position":"relative"}); | |
} | |
}); | |
} | |
}, | |
'totop':function($id, $top){ //返回顶部 | |
// $id:dc-totop $top:偏移值 | |
$('body').append('<a href="#" class="'+$id+'" id="'+$id+'"><i class="glyphicon glyphicon-chevron-up"></i></a>'); | |
$(window).bind('scroll', function(){ | |
if($(this).scrollTop() > $top){ | |
$('#'+$id).fadeIn("slow"); | |
}else{ | |
$('#'+$id).fadeOut("slow"); | |
} | |
}); | |
} | |
}, | |
'language':{//简繁转换 | |
's2t':function(){ | |
if(feifei.browser.language=='zh-hk' || feifei.browser.language=='zh-tw'){ | |
$.getScript("//cdn.feifeicms.co/jquery/s2t/0.1.0/s2t.min.js", function(data, status, jqxhr) { | |
$(document.body).s2t();//$.s2t(data); | |
}); | |
} | |
}, | |
't2s':function(){ | |
if(feifei.browser.language=='zh-cn'){ | |
$.getScript("//cdn.feifeicms.co/jquery/s2t/0.1.0/s2t.min.js", function(data, status, jqxhr) { | |
$(document.body).t2s();//$.s2t(data); | |
}); | |
} | |
} | |
}, | |
'page': {//分页 | |
'more': function(){ | |
$('body').on('click', '.ff-page-more', function(){ | |
$this = $(this); | |
$page = $(this).attr('data-page')*1+1; | |
$id = $this.attr('data-target'); | |
$.get($(this).attr('data-url')+$page, function(data){ | |
if(data){ | |
$($id).append(data); | |
$this.attr("data-page",$page); | |
$($id+" .ff-img").lazyload(); | |
}else{ | |
$this.hide(); | |
$this.unbind("click"); | |
} | |
},'html'); | |
}); | |
}, | |
'keydown': function(){ | |
var prev = $('#ff-prev').attr("href"); | |
var next = $('#ff-next').attr("href"); | |
$("body").keydown(function(event){ | |
if(event.keyCode==37 && prev!=undefined) location=prev; | |
if(event.keyCode==39 && next!=undefined) location=next; | |
}); | |
} | |
}, | |
'alert':{//提示 | |
'success':function($id, $tips){ | |
$($id).html('<div class="alert alert-success fade in"><a href="#" class="close" data-dismiss="alert">×</a><strong>成功!</strong>'+$tips+'</label>'); | |
}, | |
'warning':function($id, $tips){ | |
$($id).html('<div class="alert alert-warning fade in"><a href="#" class="close" data-dismiss="alert">×</a><strong>警告!</strong>'+$tips+'</label>'); | |
} | |
}, | |
'image': {//图片 | |
'lazyload': function(){//延迟加载 | |
$.ajaxSetup({ | |
cache: true | |
}); | |
$.getScript("http://www.1993s.top/Statics/js/jquery.lazyload.min.js", function(response, status) { | |
$("img.ff-img").lazyload({ | |
placeholder : cms.root+"Public/images/no.jpg", | |
effect : "fadeIn", | |
failurelimit: 15 | |
//threshold : 400 | |
//skip_invisible : false | |
//container: $(".carousel-inner"), | |
}); | |
}); | |
}, | |
'qrcode': function(){//生成二维码 | |
//$("[data-toggle='popover']").popover({html: true}); | |
$(".glyphicon-phone").popover({ | |
html: true | |
}); | |
$(".glyphicon-phone").on('show.bs.popover', function () { | |
$(".glyphicon-phone").attr('data-content','<img class="ff-qrcode" src="//cdn.feifeicms.co/qrcode/1.0/?w=150&h=150&url='+encodeURIComponent(feifei.browser.url)+'"/>'); | |
}) | |
}, | |
'vcode':function(){//安全码 | |
return '<label><img class="ff-vcode-img" src="'+cms.root+'index.php?s=Vcode-Index"></label>'; | |
}, | |
'slide':function(){//轮播幻灯 | |
$('.ff-slide').carousel({interval: $('.ff-slide').attr('data-interval')}); | |
} | |
}, | |
'vcode': {//验证码 | |
'load': function(){ | |
feifei.vcode.focus(); | |
feifei.vcode.click(); | |
}, | |
'focus': function(){//验证码框焦点 | |
$('body').on("focus", ".ff-vcode", function(){ | |
$(this).removeClass('ff-vcode').parent().after(feifei.image.vcode()); | |
$(this).unbind(); | |
}); | |
}, | |
'click': function(){//点击刷新 | |
$('body').on('click', 'img.ff-vcode-img', function(){ | |
$(this).attr('src', cms.root+'index.php?s=Vcode-Index'); | |
}); | |
} | |
}, | |
'search': {//搜索 | |
'dropdown': function(){//下拉菜单 | |
$(".ff-search .dropdown-menu li a").on("click", function(){ | |
$form = $(this).parents('form'); | |
$action = $form.find('button[data-action]'); | |
if($action.attr('data-action') && $(this).attr('data-action')){ | |
$action.attr('data-action', $(this).attr('data-action')); | |
$form.find('.dropdown-toggle .title').html($(this).html()); | |
} | |
}); | |
}, | |
'keydown': function(){//回车 | |
$(".ff-search input").keyup(function(event){ | |
if(event.keyCode == 13){ | |
$form = $(this).parents('form'); | |
$action = $form.find('button[data-action]').attr('data-action'); | |
if(!$action){ | |
$action = cms.root+'index.php?s=vod-search-name-FFWD'; | |
} | |
$wd = $form.find('.ff-wd').val(); | |
if($wd){ | |
location.href = $action.replace('FFWD',encodeURIComponent($wd)); | |
}else{ | |
$(this).find('.ff-wd').focus(); | |
$(this).find('.ff-wd').attr('data-toggle','tooltip').attr('data-placement','bottom').attr('title','请输入关键字').tooltip('show'); | |
} | |
return false; | |
} | |
}); | |
}, | |
'submit': function(){//提交表单 | |
$(".ff-search button").on("click", function(){ | |
$action = $(this).attr('data-action'); | |
if($action){ | |
$(".ff-search").attr('action', $action); | |
} | |
}); | |
$(".ff-search").on("submit", function(){ | |
$action = $(this).attr('action'); | |
$wd = $(this).find('.ff-wd').val(); | |
if(!$action){ | |
$action = cms.root+'index.php?s=vod-search-name-FFWD'; | |
} | |
if($wd){ | |
location.href = $action.replace('FFWD',encodeURIComponent($wd)); | |
}else{ | |
$(this).find('.ff-wd').focus(); | |
$(this).find('.ff-wd').attr('data-toggle','tooltip').attr('data-placement','bottom').attr('title','请输入关键字').tooltip('show'); | |
} | |
return false; | |
}); | |
}, | |
'autocomplete': function(){//3.5增加搜索结果控制 | |
var $limit = $('.ff-search').eq(0).attr('data-limit'); | |
if( $limit > 0){ | |
$.ajaxSetup({ | |
cache: true | |
}); | |
$.getScript("//cdn.bootcss.com/jquery.devbridge-autocomplete/1.2.26/jquery.autocomplete.min.js", function(response, status) { | |
if($('.ff-search').eq(0).attr('data-sid') == 2){ | |
$ajax_url = cms.root+'index.php?g=home&m=search&a=news'; | |
}else{ | |
$ajax_url = cms.root+'index.php?g=home&m=search&a=vod'; | |
} | |
$('.ff-wd').autocomplete({ | |
serviceUrl : $ajax_url, | |
params: {'limit': $limit}, | |
paramName: 'wd', | |
maxHeight: 400, | |
transformResult: function(response) { | |
var obj = $.parseJSON(response); | |
return { | |
suggestions: $.map(obj.data, function(dataItem) { | |
return { value: dataItem.name, data: dataItem.link }; | |
}) | |
}; | |
}, | |
onSelect: function (suggestion) { | |
location.href = suggestion.data; | |
//alert('You selected: ' + suggestion.value + ', ' + suggestion.data); | |
} | |
}); | |
}); | |
} | |
}, | |
'hot':function(){ | |
$(".ff-search [data-toggle='tooltip']").tooltip(); | |
$("#ff-site-hot").load(cms.root+"index.php?s=ajax-site_hot"); | |
} | |
}, | |
'record': {//云记录 | |
'load': function(){ | |
feifei.record.get(); | |
feifei.record.set(); | |
}, | |
'get':function(){ | |
//后端获取记录 | |
if($(".ff-record-get").eq(0).length){ | |
$.get(cms.root+'index.php?g=home&m=record&a=vod&sid=1', function(data){ | |
if(data == ''){ | |
data = '<strong>暂无观看记录</strong>'; | |
} | |
$(".ff-record-get").attr('data-content',data); | |
}); | |
} | |
//弹出事件 | |
$(".ff-record-get").popover().on("mouseenter", function () { | |
var _this = this; | |
$(this).popover("show"); | |
$(".popover").on("mouseleave", function () { | |
$(_this).popover('hide'); | |
}); | |
}).on("mouseleave", function () { | |
var _this = this; | |
setTimeout(function () { | |
if (!$(".popover:hover").length) { | |
$(_this).popover("hide"); | |
} | |
}, 300); | |
}); | |
}, | |
'set':function(){//用户互动记录 | |
//自动写入观看或浏览记录 | |
if($(".ff-record-set[data-type=1]").eq(0).attr('data-sid')){ | |
$this = $(".ff-record-set[data-type=1]").eq(0); | |
$.get(cms.root+'index.php?g=home&m=record&a=post&sid='+$this.attr("data-sid")+'&did='+$this.attr("data-id")+'&type=1&did_sid='+$this.attr("data-id-sid")+'&did_pid='+$this.attr("data-id-pid")); | |
} | |
//喜欢 想看 在看 看过 写入记录 | |
$('body').on('click', 'a.ff-record-set', function(e){ | |
//是否需要验证登录 | |
if(cms.userforum == 1 && cms.userid < 1){ | |
feifei.user.login(); | |
return false; | |
} | |
var $this = $(this); | |
if($(this).attr("data-id")){ | |
$.ajax({ | |
url: cms.root+'index.php?g=home&m=record&a=post&sid='+$(this).attr("data-sid")+'&did='+$(this).attr("data-id")+'&type='+$(this).attr("data-type"), | |
cache: false, | |
dataType: 'json', | |
success: function(json){ | |
if(json.status == 200){ | |
$this.addClass('disabled'); | |
}else{ | |
$this.attr('title', json.info); | |
$this.tooltip('show'); | |
} | |
} | |
}); | |
} | |
}); | |
} | |
}, | |
'score': {//评分 | |
'raty': function(){ | |
if( $('.ff-score').length ){ | |
$.ajaxSetup({ | |
cache: true | |
}); | |
$("<link>").attr({ rel: "stylesheet",type: "text/css",href: "//cdn.bootcss.com/raty/2.7.1/jquery.raty.min.css"}).appendTo("head"); | |
// | |
$.getScript("//cdn.bootcss.com/raty/2.7.1/jquery.raty.min.js", function(response, status) { | |
$(".ff-score").each(function(i){ | |
$(".ff-score").eq(i).find('.ff-score-raty').raty({ | |
starType: 'i', | |
number: 5, | |
numberMax : 5, | |
half: true, | |
score : function(){ | |
return $(this).attr('data-score'); | |
}, | |
click: function(score, evt) { | |
$this = $(this); | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=gold-'+$(this).attr('data-module')+'-id-'+$(this).attr('data-id')+'-score-'+(score*2), | |
timeout: 5000, | |
dataType:'json', | |
error: function(){ | |
$this.attr('title', '网络异常!').tooltip('show'); | |
}, | |
success: function(json){ | |
if(json.status == 1){ | |
$this.parent().find('.ff-score-val').html(json.data.gold); | |
}else{ | |
$this.attr('title', json.info).tooltip('show'); | |
} | |
} | |
}); | |
} | |
}); | |
}); | |
}); | |
} | |
} | |
}, | |
'updown':{//顶踩 | |
'click': function(){ | |
$('body').on('click', 'a.ff-updown-set', function(e){ | |
var $this = $(this); | |
if($(this).attr("data-id")){ | |
$.ajax({ | |
url: cms.root+'index.php?s=updown-'+$(this).attr("data-module")+'-id-'+$(this).attr("data-id")+'-type-'+$(this).attr("data-type"), | |
cache: false, | |
dataType: 'json', | |
success: function(json){ | |
$this.addClass('disabled'); | |
if(json.status == 1){ | |
if($this.attr("data-type")=='up'){ | |
$this.find('.ff-updown-val').html(json.data.up); | |
}else{ | |
$this.find('.ff-updown-val').html(json.data.down); | |
} | |
}else{ | |
$this.attr('title', json.info); | |
$this.tooltip('show'); | |
} | |
} | |
}); | |
} | |
}); | |
} | |
}, | |
'hits':{//人气 | |
'load': function(){ | |
$(".ff-hits").each(function(i){ | |
var $this = $(".ff-hits").eq(i); | |
$.ajax({ | |
url: cms.root+'index.php?s=hits-show-id-'+$this.attr("data-id")+'-sid-'+$this.attr("data-sid")+'-type-'+$this.attr("data-type"), | |
cache: true, | |
dataType: 'json', | |
success: function(json){ | |
$type = $this.attr('data-type'); | |
if($type != 'insert'){ | |
$this.html(eval('(json.' + $type + ')')); | |
} | |
} | |
}); | |
}); | |
} | |
}, | |
'share':{//分享 | |
'baidu': function(){ | |
if($(".ff-share").length ){ | |
$size = $(".ff-share").attr('data-size'); | |
if(!$size){$size = 16;} | |
if( $(".ff-share dd").length ){ | |
$id = $(".ff-share dd"); | |
}else{ | |
$id = $(".ff-share"); | |
} | |
$($id).html('<div class="bdsharebuttonbox"><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_bdysc" data-cmd="bdysc" title="分享到百度云收藏"></a><a href="#" class="bds_copy" data-cmd="copy" title="分享到复制网址"></a></div>'); | |
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":""+$size+""},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)]; | |
} | |
} | |
}, | |
'forum': {//讨论模块功能 | |
'load':function(){ | |
if($('.ff-forum[data-type=feifei]').length){ | |
this.system(); | |
} | |
if($('.ff-forum[data-type=uyan]').length){ | |
this.uyan(); | |
} | |
if($('.ff-forum[data-type=changyan]').length){ | |
this.changyan(); | |
} | |
}, | |
'system': function(){ | |
//初始加载 | |
if($('.ff-forum[data-type=feifei]').attr('data-sid')){ | |
feifei.forum.ajax('.ff-forum', $('.ff-forum[data-type=feifei]').attr('data-sid'), $('.ff-forum[data-type=feifei]').attr('data-id'), 0, 1); | |
} | |
//登录验证 | |
$(".ff-forum").on("focus", 'textarea[name=forum_content]', function(){ //表单提交 | |
if(cms.userforum == 1 && cms.userid < 1){ | |
feifei.user.login(); | |
} | |
}); | |
//回复评论 | |
$('body').on('click', 'a.forum-reply-set', function(){ | |
var $pid = $(this).attr("data-id"); | |
var $reply = $(this).parents('.media-body').find('.forum-reply'); | |
var $form = $($(".ff-forum-post").eq(0).prop("outerHTML")); | |
if($pid){ | |
$form.find('.ff-alert').html(''); | |
$form.find("button[type='submit']").removeClass('disabled'); | |
$form.find("input[name='forum_pid']").val($pid); | |
$form.show(); | |
$($reply).html($form); | |
$($reply).collapse('toggle'); | |
} | |
}); | |
//举报评论 | |
$('body').on('mouseenter', '.ff-forum-item .media-body', function(){ | |
$(this).find('.forum-report').fadeIn(); | |
}); | |
$('body').on('mouseleave', '.ff-forum-item .media-body', function(){ | |
$(this).find('.forum-report').fadeOut(); | |
}); | |
$('body').on('click', 'a.forum-report', function(){ | |
$(this).remove();//移除按钮 | |
var $id = $(this).attr("data-id"); | |
if($id){ | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=forum-report-id-'+$id, | |
timeout: 3000, | |
dataType:'json', | |
success:function(json){ | |
feifei.alert.success($('.form-forum').eq(0).find('.ff-alert'), json.info); | |
} | |
}); | |
} | |
}); | |
//发表评论 | |
$("body").on("submit", '.ff-forum-post', function(){ | |
var $this = $(this); | |
var $sid = $(this).find('input[name=forum_sid]').val(); | |
$.post($this.attr('action'), $this.serialize(), function(json){ | |
if(json.status == 200){//不需要审核留言 | |
feifei.alert.success($this.find('.ff-alert'), json.info);//发布成功提示 | |
$this.find("button[type='submit']").addClass('disabled');//禁止再次提交 | |
//主题、回复贴处理 | |
if(json.data.forum_pid){//回复贴 | |
feifei.forum.reply(json.data.forum_pid);//更新回复数及显示回复链接按钮 | |
setTimeout(function(){$('.forum-reply[data-id='+json.data.forum_pid+']').fadeOut('slow')}, 2000);//移除回复表单容器 | |
}else{//主题贴 | |
setTimeout(function(){feifei.forum.ajax('.ff-forum-item', json.data.forum_sid, json.data.forum_cid, 1, 1)}, 2000); | |
setTimeout(function(){$this.hide()}, 3000); | |
} | |
//发表评论后是否需要刷新网页 | |
if($('.ff-forum-reload').length){ | |
location.reload(); | |
} | |
}else if(json.status > 200){//需要审核 | |
feifei.alert.success($this.find('.ff-alert'), json.info);//发布成功提示 | |
$this.find("button[type='submit']").addClass('disabled');//禁止再次提交 | |
}else{ | |
feifei.alert.warning($this.find('.ff-alert'), json.info); | |
} | |
},'json'); | |
return false; | |
}); | |
}, | |
'ajax': function($target, $sid, $cid, $ismore, $page){//AJAX加载系统评论 | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=forum-ajax-sid-'+$sid+'-cid-'+$cid+'-ismore-'+$ismore+'-p-'+$page, | |
timeout: 3000, | |
error: function(){ | |
$($target).html('评论加载失败,请刷新...'); | |
}, | |
success:function($html){ | |
$($target).html($html); | |
} | |
}); | |
}, | |
'reply': function($id){//更新回复数及显示回复链接 | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=forum-reply-id-'+$id, | |
timeout: 3000, | |
dataType:'json', | |
success:function(json){ | |
if(json.status==200){ | |
$('.forum-reply-set[data-id='+$id+']').find('.forum-reply-val').html(json.data); | |
$('.forum-reply-get[data-id='+$id+']').fadeIn(); | |
} | |
} | |
}); | |
}, | |
'uyan': function(){ | |
$(".ff-forum").html('<div id="uyan_frame"></div>'); | |
$.getScript("http://v2.uyan.cc/code/uyan.js?uid="+$('.ff-forum[data-type=uyan]').attr('data-uyan-uid')); | |
}, | |
'changyan': function(){ | |
$appid = $('.ff-forum[data-type=changyan]').attr('data-cy-id'); | |
$conf = $('.ff-forum[data-type=changyan]').attr('data-cy-conf'); | |
$sourceid = $('.ff-forum[data-type=changyan]').attr('data-sid')+'-'+$('.ff-forum[data-type=changyan]').attr('data-id'); | |
var width = window.innerWidth || document.documentElement.clientWidth; | |
if (width < 768) { | |
$(".ff-forum").html('<div id="SOHUCS" sid="'+$sourceid+'"></div><script charset="utf-8" id="changyan_mobile_js" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id='+$appid+'&conf=prod_'+$conf+'"><\/script>'); | |
}else{ | |
$(".ff-forum").html('<div id="SOHUCS" sid="'+$sourceid+'"></div>'); | |
$.getScript("https://changyan.sohu.com/upload/changyan.js",function(){ | |
window.changyan.api.config({ | |
appid: $appid, | |
conf: 'prod_'+$conf | |
}); | |
}); | |
} | |
} | |
}, | |
'scenario': {//分集剧情 | |
'load':function(){ | |
var $max = $(".ff-scenario-pill").attr('data-max')*1; | |
var $count = $(".ff-scenario-content dl").length; | |
var $li = 0; | |
var $list = ''; | |
if($count > 0 && $max>0){ | |
for($i=0; $i<$count; $i++){ | |
if(($i+$max) > $count){ | |
$max_ji = $count; | |
}else{ | |
$max_ji = $i+$max; | |
} | |
if($i % $max == 0){ | |
$li++; | |
$list+='<li><a href="javascript:;" data-target=".ff-scenario-'+$li+'" data-toggle="pill">第'+($i+1)+'-'+$max_ji+'集</a></li>'; | |
} | |
$(".ff-scenario-content dl").eq($i).addClass('ff-scenario-'+$li); | |
} | |
$('.ff-scenario-pill').html($list); | |
$('.ff-scenario-pill a:first').tab('show'); | |
} | |
} | |
}, | |
'playurl': {//播放地址 | |
'download': function(){ | |
if($(".ff-playurl-down").length){ | |
$.getScript("//cdn.feifeicms.co/download/xunlei.js",function(){ | |
//3.4增加鼠标点击去掉文件名标题 | |
$(".ff-playurl-down input[type=text]").focus(function(){ | |
$(this).val($(this).parent().find('input[type=checkbox]').val()); | |
}); | |
}); | |
} | |
}, | |
'tongji': function(){ | |
if($("#cms_player").length){ | |
$.getScript("//cdn.feifeicms.co/tongji/3.6/"); | |
} | |
}, | |
'active':function(){ | |
$('.ff-playurl li[data-id="'+$('.ff-playurl[data-active]').attr('data-active')+'"]').addClass("active"); | |
$('.ff-playurl-tab a[data-target="'+$('.ff-playurl-tab[data-active]').attr('data-active')+'"]').tab('show'); | |
$('.ff-playurl-dropdown a[data-target="'+$('.ff-playurl-dropdown[data-active]').attr('data-active')+'"]').tab('show'); | |
}, | |
'dropdown':function(){ | |
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { | |
$(this).parents('.btn-group').find('.dropdown-toggle span:eq(0)').html($(e.target).text()); | |
$(this).parents('.dropdown-menu').find('li').removeClass('active'); | |
$(this).parent().addClass('active'); | |
}); | |
}, | |
'more':function(){//...效果 | |
$('.ff-playurl').each(function(i){ | |
$this = $(this); | |
$config = $this.attr('data-more')*1; | |
$max = $this.find('li a').size(); | |
if(($config+2) < $max && $config>0){ | |
$max_html = $($this.find('li:last').prop("outerHTML")).find('a').attr('href','#all').html('全部...'); | |
$max_html = '<li class="'+$this.find('li').attr('class')+'">'+$max_html.prop("outerHTML")+'</li>'; | |
$this.find('li').each(function(n){ | |
if(n+1 > $config){ | |
$(this).hide(); | |
} | |
}); | |
$this.find('li').eq($config).after($max_html); | |
$this.find('li:last').show(); | |
} | |
}); | |
//more点击 | |
$('.ff-playurl').on('click', 'a', function(e){ | |
if($(this).attr('href') == '#all'){ | |
$(this).parent().parent().find('li').show(); | |
$(this).parent().remove(); | |
return false; | |
} | |
}); | |
}, | |
//vip播放器回调 | |
'vip_callback':function($vod_id, $vod_sid, $vod_pid, $status, $trysee, $tips){ | |
if($status != 200){ | |
if($trysee > 0){ | |
window.setTimeout(function(){ | |
$.get(cms.root+'index.php?s=vod-vip-action-trysee-id-'+$vod_id+'-sid-'+$vod_sid+'-pid-'+$vod_pid, function(html){ | |
$('#cms_player').html(html).removeClass("embed-responsive-4by3").css({"height":"auto"}); | |
},'html'); | |
},1000*60*$trysee); | |
}else{ | |
$('#cms-player-vip .cms-player-box').html($tips); | |
$('#cms-player-vip .cms-player-iframe').hide(); | |
$('#cms_player').removeClass("embed-responsive-4by3").css({"height":"auto"}); | |
} | |
//支付影币按钮 | |
$('#cms_player').on("click",".vod-price",function(){ | |
$(this).html('Loading...'); | |
$.get(cms.root+'index.php?s=vod-vip-action-ispay-id-'+$vod_id+'-sid-'+$vod_sid+'-pid-'+$vod_pid, function(json){ | |
if(json.status == 200){ | |
location.reload(); | |
}else if(json.status == 500 || json.status == 501){ | |
feifei.user.login(); | |
}else{ | |
$('#cms_player').html(json.info); | |
} | |
},'json'); | |
}); | |
}else{ | |
//拥有VIP观看权限 | |
} | |
} | |
}, | |
'user':{ | |
//基础功能 | |
'load':function(){ | |
//不同模式下处理用户基础信息 | |
feifei.user.islogin(); | |
//模态框登录事件 | |
$("body").on("click",".user-login-modal",function(){ | |
feifei.user.login(); | |
return false; | |
}); | |
//积分充值事件 | |
$("body").on("click",".user-score-payment",function(){ | |
feifei.user.ScorePayment(); | |
return false; | |
}); | |
//积分升级VIP事件 | |
$("body").on("click",".user-score-upvip",function(){ | |
feifei.user.ScoreUpvip(); | |
return false; | |
}); | |
//用户中心修改邮箱 | |
$("body").on("click",".user-change-email", function(){ | |
feifei.user.ChangeEmail(); | |
return false; | |
}); | |
//用户中心修改密码 | |
$("body").on("click",".user-change-pwd", function(){ | |
feifei.user.ChangePwd(); | |
return false; | |
}); | |
}, | |
//静态模式加载用户ID | |
'islogin':function(){ | |
if($('.ff-user').length && (cms.urlhtml == 1)){ | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=user-info', | |
timeout: 3000, | |
dataType:'json', | |
success:function(json){ | |
if(json.status==200){ | |
cms.userid = json.data.user_id; | |
cms.username = json.data.user_name; | |
$('.ff-user').removeClass("user-login-modal"); | |
$('.ff-user[data-href]').attr('href',$('.ff-user[data-href]').attr('data-href')); | |
$('.ff-user[data-name]').html('<a href="'+$('.ff-user').attr('data-href')+'">'+cms.username+'</a>'); | |
} | |
} | |
}); | |
} | |
}, | |
//AJAX模态框登录 | |
'login':function(){ | |
$('.ff-modal').remove(); | |
$.ajax({ | |
type: 'get', | |
cache: false, | |
url: cms.root+'index.php?s=user-ajax_login', | |
timeout: 3000, | |
success:function($html){ | |
$('body').append($html); | |
$('.ff-modal').modal('show'); | |
$(".form-user-login").on('submit',function(e){ | |
$.ajax({ | |
url: $(this).attr('action'), | |
type: 'POST', | |
dataType: 'json', | |
timeout: 3000, | |
data: $(this).serialize(), | |
beforeSend: function(xhr){ | |
$('.user-login-alert').html('正在登录...'); | |
}, | |
error : function(){ | |
$('.user-login-alert').html('请求失败,请刷新网页。'); | |
}, | |
success: function(json){ | |
if(json.status == 200){ | |
location.reload(); | |
}else{ | |
$('#user-submit').html('登录'); | |
feifei.alert.warning('.user-login-alert',json.info); | |
} | |
}, | |
complete: function(xhr){ | |
} | |
}); | |
return false; | |
}); | |
} | |
}); | |
}, | |
//积分充值 | |
'ScorePayment':function(){ | |
feifei.order.payment(); | |
}, | |
//升级VIP | |
'ScoreUpvip':function(){ | |
$('.ff-modal').remove(); | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=user-ajax_upvip', | |
timeout: 3000, | |
success:function($html){ | |
$('body').append($html); | |
$('.ff-modal').modal('show'); | |
$(".user-upvip-form").on('submit',function(e){ | |
$.ajax({ | |
url: $(this).attr('action'), | |
type: 'POST', | |
dataType: 'json', | |
timeout: 3000, | |
data: $(this).serialize(), | |
beforeSend: function(xhr){ | |
$('.user-upvip-alert').html('Loading...'); | |
}, | |
error : function(){ | |
$('.user-upvip-alert').html('请求失败,请刷新网页。'); | |
}, | |
success: function(json){ | |
if(json.status == 200){ | |
feifei.alert.success('.user-upvip-alert', '升级完成,谢谢支持。'); | |
setTimeout(function(){location.reload();}, 2000); | |
}else if(json.status == 404){ | |
feifei.alert.success('.user-upvip-alert', '请先登录。'); | |
setTimeout(function(){$(".ff-modal").modal('hide');$('.modal-backdrop').hide();feifei.user.login();}, 2000); | |
}else if(json.status == 501){ | |
feifei.alert.warning('.user-upvip-alert', '影币不足,共需要'+json.info+'个影币,请先冲值!'); | |
setTimeout(function(){$(".ff-modal").modal('hide');$('.modal-backdrop').hide();feifei.order.payment();}, 2000); | |
}else{ | |
feifei.alert.warning('.user-upvip-alert', json.info); | |
} | |
}, | |
complete: function(xhr){ | |
} | |
}); | |
return false; | |
}); | |
} | |
}); | |
}, | |
//修改邮箱 | |
'ChangeEmail':function(){ | |
$('.ff-modal').remove(); | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=user-ajax_email', | |
timeout: 3000, | |
success:function($html){ | |
$('body').append($html); | |
$('.ff-modal').modal('show'); | |
$(".user-email-form").on('submit',function(e){ | |
$.ajax({ | |
url: $(this).attr('action'), | |
type: 'POST', | |
dataType: 'json', | |
timeout: 3000, | |
data: $(this).serialize(), | |
beforeSend: function(xhr){ | |
$('.user-email-alert').html('Loading...'); | |
}, | |
error : function(){ | |
$('.user-email-alert').html('请求失败,请刷新网页。'); | |
}, | |
success: function(json){ | |
if(json.status == 200){ | |
feifei.alert.success('.user-email-alert', '邮箱修改完成。'); | |
setTimeout(function(){location.reload();}, 2000); | |
}else if(json.status == 404){ | |
feifei.alert.success('.user-email-alert', '请先登录。'); | |
setTimeout(function(){$(".ff-modal").modal('hide');$('.modal-backdrop').hide();feifei.user.login();}, 2000); | |
}else{ | |
feifei.alert.warning('.user-email-alert', json.info); | |
} | |
}, | |
complete: function(xhr){ | |
} | |
}); | |
return false; | |
}); | |
} | |
}); | |
}, | |
//修改密码 | |
'ChangePwd':function(){ | |
$('.ff-modal').remove(); | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=user-ajax_repwd', | |
timeout: 3000, | |
success:function($html){ | |
$('body').append($html); | |
$('.ff-modal').modal('show'); | |
$(".user-repwd-form").on('submit',function(e){ | |
$.ajax({ | |
url: $(this).attr('action'), | |
type: 'POST', | |
dataType: 'json', | |
timeout: 3000, | |
data: $(this).serialize(), | |
beforeSend: function(xhr){ | |
$('.user-repwd-alert').html('Loading...'); | |
}, | |
error : function(){ | |
$('.user-repwd-alert').html('请求失败,请刷新网页。'); | |
}, | |
success: function(json){ | |
if(json.status == 200){ | |
feifei.alert.success('.user-repwd-alert', '密码修改完成。'); | |
setTimeout(function(){location.reload();}, 2000); | |
}else if(json.status == 404){ | |
feifei.alert.success('.user-repwd-alert', '请先登录。'); | |
setTimeout(function(){$(".ff-modal").modal('hide');$('.modal-backdrop').hide();feifei.user.login();}, 2000); | |
}else{ | |
feifei.alert.warning('.user-repwd-alert', json.info); | |
} | |
}, | |
complete: function(xhr){ | |
} | |
}); | |
return false; | |
}); | |
} | |
}); | |
} | |
}, | |
'order':{//订单模块 | |
'payment':function(){//订单付款界面 | |
$('.ff-modal').remove(); | |
$.ajax({ | |
type: 'get', | |
url: cms.root+'index.php?s=payment-index', | |
timeout: 3000, | |
success:function($html){ | |
$('body').append($html); | |
$('.ff-modal').modal('show'); | |
$(".forum-payment").on('submit',function(e){ | |
if($(".forum-payment input[name=score_ext]").val() < $(".forum-payment").attr('data-small')){ | |
feifei.alert.warning('.user-pay-alert', '每次至少充值<strong>'+$(".forum-payment").attr('data-small')+'</strong>元'); | |
return false; | |
} | |
setTimeout(function(){$(".ff-modal").modal('hide');$('.modal-backdrop').hide();}, 5000); | |
}); | |
} | |
}); | |
} | |
} | |
//end | |
}; | |
/*.ff-search #wd #ff-goback .ff-gallery .ff-raty .ff-img .ff-share .ff-safecode .ff-reply*/ | |
$(document).ready(function(){ | |
if(feifei.browser.useragent.mobile){ | |
feifei.mobile.jump(); | |
feifei.mobile.nav(); | |
feifei.mobile.goback(); | |
feifei.mobile.flickity(); | |
} | |
feifei.user.load(); | |
feifei.cms.nav();// | |
feifei.cms.collapse(); | |
feifei.search.dropdown(); | |
feifei.search.autocomplete(); | |
feifei.search.hot();// | |
feifei.search.submit();// | |
feifei.search.keydown();// | |
feifei.image.lazyload(); | |
feifei.image.slide(); | |
feifei.image.qrcode();// | |
feifei.playurl.tongji(); | |
feifei.playurl.more(); | |
feifei.playurl.dropdown(); | |
feifei.playurl.download(); | |
feifei.playurl.active(); | |
feifei.page.more(); | |
feifei.page.keydown();// | |
feifei.updown.click(); | |
feifei.score.raty(); | |
feifei.scenario.load(); | |
feifei.forum.load(); | |
feifei.vcode.load(); | |
feifei.scroll.totop('ff-totop',10); | |
feifei.record.load();// | |
feifei.hits.load(); | |
feifei.share.baidu(); | |
}); |
/*! mobi.css v3.1.1 http://getmobicss.com */ | |
html { | |
-moz-text-size-adjust: 100%; | |
-webkit-text-size-adjust: 100%; | |
box-sizing: border-box; | |
text-size-adjust: 100% | |
} | |
*, :after, :before { | |
box-sizing: inherit | |
} | |
body { | |
background-color: #fff; | |
color: #333; | |
font-size: 1rem; | |
line-height: 1.5; | |
margin: 0 | |
} | |
body, button, input, select, textarea { | |
font-family: -apple-system, BlinkMacSystemFont, Hiragino Sans GB, Roboto, Segoe UI, Microsoft Yahei, 微软雅黑, Oxygen-Sans, Ubuntu, Cantarell, Helvetica, Arial, STHeiti, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol | |
} | |
h1, h2, h3, h4, h5, h6 { | |
margin: 1.875rem 0 0 | |
} | |
address, blockquote, dl, figure, hr, ol, p, pre, table, ul { | |
margin: .9375rem 0 0 | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-weight: 600 | |
} | |
h1 { | |
font-size: 2rem | |
} | |
h2 { | |
font-size: 1.625rem | |
} | |
h3 { | |
font-size: 1.375rem | |
} | |
h4 { | |
font-size: 1.25rem | |
} | |
h5 { | |
font-size: 1.125rem | |
} | |
h6 { | |
font-size: 1rem | |
} | |
a { | |
-webkit-text-decoration-skip: objects; | |
color: #267fd9; | |
text-decoration: none | |
} | |
a:active, a:hover { | |
text-decoration: underline | |
} | |
b, dt, strong { | |
font-weight: 600 | |
} | |
code, kbd, samp { | |
background-color: #f2f2f2; | |
font-size: 85%; | |
padding: .2em .3em | |
} | |
code, kbd, pre, samp { | |
font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace | |
} | |
pre { | |
-webkit-overflow-scrolling: touch; | |
background-color: #f2f2f2; | |
line-height: 1.2; | |
overflow: auto; | |
padding: .9375rem | |
} | |
pre, pre code { | |
font-size: .8125rem | |
} | |
pre code { | |
background-color: transparent; | |
padding: 0 | |
} | |
blockquote { | |
border-left: 5px solid #ddd; | |
color: #777; | |
padding-left: .9375rem | |
} | |
ol, ul { | |
padding-left: 1.875rem | |
} | |
dd, dt, ol ol, ol ul, ul ol, ul ul { | |
margin: 0 | |
} | |
hr { | |
border: 0; | |
border-top: 1px solid #ddd | |
} | |
small, sub, sup { | |
font-size: 85% | |
} | |
sub, sup { | |
line-height: 0; | |
position: relative; | |
vertical-align: baseline | |
} | |
sub { | |
bottom: -.2em | |
} | |
sup { | |
top: -.4em | |
} | |
address, time { | |
font-style: normal | |
} | |
mark { | |
background-color: #ff0; | |
color: #333; | |
padding: 0 .2em | |
} | |
rt { | |
font-size: 60% | |
} | |
abbr[title] { | |
-webkit-text-decoration: underline dotted; | |
border-bottom: 0; | |
text-decoration: underline; | |
text-decoration: underline dotted | |
} | |
audio:not([controls]) { | |
display: none; | |
height: 0 | |
} | |
img { | |
border-style: none; | |
vertical-align: middle | |
} | |
audio, img, video { | |
max-width: 100% | |
} | |
figcaption { | |
color: #777; | |
font-size: 85% | |
} | |
[role=button] { | |
cursor: pointer | |
} | |
[role=button], a, area, button, input, label, select, summary, textarea { | |
-ms-touch-action: manipulation; | |
touch-action: manipulation | |
} | |
::-webkit-file-upload-button, [type=reset], [type=submit], button, html [type=button] { | |
-webkit-appearance: button; | |
appearance: button | |
} | |
[type=search] { | |
-moz-appearance: none; | |
-webkit-appearance: none; | |
appearance: none | |
} | |
::-webkit-file-upload-button { | |
font: inherit | |
} | |
[hidden] { | |
display: none | |
} | |
fieldset { | |
border: 1px solid #ddd; | |
margin: .9375rem 0 0; | |
padding: 0 .9375rem .9375rem | |
} | |
legend { | |
padding: 0 .2em | |
} | |
optgroup { | |
color: #777; | |
font-style: normal; | |
font-weight: 400 | |
} | |
option { | |
color: #333 | |
} | |
progress { | |
max-width: 100% | |
} | |
.container, .container-fluid, .container-wider { | |
-ms-flex-positive: 1; | |
-webkit-box-flex: 1; | |
-webkit-flex-grow: 1; | |
flex-grow: 1; | |
overflow: hidden; | |
padding: 0 .9375rem .9375rem | |
} | |
.container { | |
max-width: 50rem | |
} | |
.container-wider { | |
max-width: 75rem | |
} | |
.flex-bottom, .flex-center, .flex-left, .flex-middle, .flex-right, .flex-top, .flex-vertical { | |
-ms-flex-flow: row nowrap; | |
-webkit-box-direction: normal; | |
-webkit-box-orient: horizontal; | |
-webkit-flex-flow: row nowrap; | |
display: -webkit-box; | |
display: -webkit-flex; | |
display: -ms-flexbox; | |
display: flex; | |
flex-flow: row nowrap | |
} | |
.flex-bottom, .flex-center, .flex-left, .flex-middle, .flex-right, .flex-top, .flex-vertical.flex-bottom, .flex-vertical.flex-center, .flex-vertical.flex-left, .flex-vertical.flex-middle, .flex-vertical.flex-right, .flex-vertical.flex-top { | |
-ms-flex-align: stretch; | |
-ms-flex-pack: start; | |
-webkit-align-items: stretch; | |
-webkit-box-align: stretch; | |
-webkit-box-pack: start; | |
-webkit-justify-content: flex-start; | |
align-items: stretch; | |
justify-content: flex-start | |
} | |
.flex-center, .flex-vertical.flex-middle { | |
-ms-flex-pack: center; | |
-webkit-box-pack: center; | |
-webkit-justify-content: center; | |
justify-content: center | |
} | |
.flex-right, .flex-vertical.flex-bottom { | |
-ms-flex-pack: end; | |
-webkit-box-pack: end; | |
-webkit-justify-content: flex-end; | |
justify-content: flex-end | |
} | |
.flex-top, .flex-vertical.flex-left { | |
-ms-flex-align: start; | |
-webkit-align-items: flex-start; | |
-webkit-box-align: start; | |
align-items: flex-start | |
} | |
.flex-middle, .flex-vertical.flex-center { | |
-ms-flex-align: center; | |
-webkit-align-items: center; | |
-webkit-box-align: center; | |
align-items: center | |
} | |
.flex-bottom, .flex-vertical.flex-right { | |
-ms-flex-align: end; | |
-webkit-align-items: flex-end; | |
-webkit-box-align: end; | |
align-items: flex-end | |
} | |
.units-gap { | |
margin-left: -.46875rem; | |
margin-right: -.46875rem | |
} | |
.units-gap > .unit, .units-gap > .unit-0, .units-gap > .unit-1, .units-gap > .unit-1-2, .units-gap > .unit-1-3, .units-gap > .unit-1-4, .units-gap > .unit-1-on-mobile, .units-gap > .unit-2-3, .units-gap > .unit-3-4 { | |
padding-left: .46875rem; | |
padding-right: .46875rem | |
} | |
.units-gap-big { | |
margin-left: -.9375rem; | |
margin-right: -.9375rem | |
} | |
.units-gap-big > .unit, .units-gap-big > .unit-0, .units-gap-big > .unit-1, .units-gap-big > .unit-1-2, .units-gap-big > .unit-1-3, .units-gap-big > .unit-1-4, .units-gap-big > .unit-1-on-mobile, .units-gap-big > .unit-2-3, .units-gap-big > .unit-3-4 { | |
padding-left: .9375rem; | |
padding-right: .9375rem | |
} | |
.unit { | |
-ms-flex-positive: 1; | |
-ms-flex-preferred-size: 0; | |
-webkit-box-flex: 1; | |
-webkit-flex-basis: 0; | |
-webkit-flex-grow: 1; | |
flex-basis: 0; | |
flex-grow: 1; | |
max-width: 100% | |
} | |
.unit-1, .unit-1-2, .unit-1-3, .unit-1-4, .unit-1-on-mobile, .unit-2-3, .unit-3-4 { | |
-ms-flex-negative: 0; | |
-webkit-flex-shrink: 0; | |
flex-shrink: 0 | |
} | |
.unit-1 { | |
-ms-flex-preferred-size: 100%; | |
-webkit-flex-basis: 100%; | |
flex-basis: 100%; | |
max-width: 100% | |
} | |
.unit-1-2 { | |
-ms-flex-preferred-size: 50%; | |
-webkit-flex-basis: 50%; | |
flex-basis: 50%; | |
max-width: 50% | |
} | |
.unit-1-3 { | |
-ms-flex-preferred-size: 33.33%; | |
-webkit-flex-basis: 33.33%; | |
flex-basis: 33.33%; | |
max-width: 33.33% | |
} | |
.unit-2-3 { | |
-ms-flex-preferred-size: 66.67%; | |
-webkit-flex-basis: 66.67%; | |
flex-basis: 66.67%; | |
max-width: 66.67% | |
} | |
.unit-1-4 { | |
-ms-flex-preferred-size: 25%; | |
-webkit-flex-basis: 25%; | |
flex-basis: 25%; | |
max-width: 25% | |
} | |
.unit-3-4 { | |
-ms-flex-preferred-size: 75%; | |
-webkit-flex-basis: 75%; | |
flex-basis: 75%; | |
max-width: 75% | |
} | |
.flex-vertical { | |
-ms-flex-direction: column; | |
-webkit-box-direction: normal; | |
-webkit-box-orient: vertical; | |
-webkit-flex-direction: column; | |
flex-direction: column | |
} | |
.flex-vertical > .unit, .flex-vertical > .unit-0, .flex-vertical > .unit-1, .flex-vertical > .unit-1-2, .flex-vertical > .unit-1-3, .flex-vertical > .unit-1-4, .flex-vertical > .unit-1-on-mobile, .flex-vertical > .unit-2-3, .flex-vertical > .unit-3-4 { | |
max-width: none | |
} | |
.flex-vertical > .unit-1 { | |
max-height: 100% | |
} | |
.flex-vertical > .unit-1-2 { | |
max-height: 50% | |
} | |
.flex-vertical > .unit-1-3 { | |
max-height: 33.33% | |
} | |
.flex-vertical > .unit-2-3 { | |
max-height: 66.67% | |
} | |
.flex-vertical > .unit-1-4 { | |
max-height: 25% | |
} | |
.flex-vertical > .unit-3-4 { | |
max-height: 75% | |
} | |
.flex-wrap { | |
-ms-flex-wrap: wrap; | |
-webkit-flex-wrap: wrap; | |
flex-wrap: wrap | |
} | |
@media (max-width: 767px) { | |
.unit-1-on-mobile { | |
-ms-flex-preferred-size: 100%; | |
-webkit-flex-basis: 100%; | |
flex-basis: 100%; | |
max-width: 100% | |
} | |
.flex-vertical > .unit-1-on-mobile { | |
max-height: 100% | |
} | |
} | |
.top-gap-big { | |
margin-top: 1.875rem !important | |
} | |
.top-gap { | |
margin-top: .9375rem !important | |
} | |
.top-gap-0 { | |
margin-top: 0 !important | |
} | |
@media (max-width: 767px) { | |
.hide-on-mobile { | |
display: none !important | |
} | |
} | |
@media (min-width: 768px) { | |
.show-on-mobile { | |
display: none !important | |
} | |
} | |
.table { | |
background-color: #fff; | |
border: 0; | |
border-collapse: collapse; | |
border-spacing: 0; | |
width: 100% | |
} | |
.table caption { | |
caption-side: bottom; | |
color: #777; | |
font-size: 85% | |
} | |
.table caption, .table td, .table th { | |
padding: .3125rem; |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)