From 3caebb3b20da3232ad5592b257d4825de2373ab8 Mon Sep 17 00:00:00 2001 From: joyqi Date: Sat, 30 Dec 2023 23:02:25 +0800 Subject: [PATCH] v1.3.0 (#1661) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add feed widget * add feed render * Add CommentPage widget * New theme (#1390) * 调整忽略目录 * add theme * fix theme scss build Co-authored-by: fen * s/is_writeable/is_writable/g * New upgrade method * merge new fixes from master * add pgsql ssl mode support (ref #1600) (#1623) * Feat/code refactor (#1626) * remove all magic methods, add type for class properties * refactor codes * fix all * refactor code * fix type * fix all * fix request is method * fix all * fix router * fix get page * fix 1.3.0 upgrade * [feat] support high resolution avatar * fix types in i18n component * Implement Ctrl+S or Command+S for save draft (#1628) * Implement Ctrl+S or Command+S for save draft * rename * add Typecho.savePost * fix upload file size * add new uploader * replace new uploader * fix textarea change * fix preview * refactor post edit * fix issue * fix page edit --------- Co-authored-by: joyqi Co-authored-by: joyqi * fix #1632 * Add svg to image types * Feat/tree pages (#1646) * add tree trait * finish category tree trait * support select fields * fix select fields * refactor admin trait * fix draft status * Add new contents type "revision" * minor refactor * add more tree view abstracts * add tree trait to pages * get ready for tree view pages * improve page edit * fix revision * fix slug * add router params delegate * fix params delegate * fix * fix * fix all * fix all * fix tree * fix page link * fix feed * fix page * fix permalink * fix permalink input * fix offset query * Support IDN (#1629) * Support IDN * use js * Optimize code * Optimize code * fix URL script * remove unnecessary use --------- Co-authored-by: joyqi * fix input element * fix #1651, close #1653 * Use json instead of serialize (#1624) * Use json instead of serialize * Fix Upgrade code * add tree trait * finish category tree trait * support select fields * fix select fields * refactor admin trait * fix draft status * Add new contents type "revision" * minor refactor * add more tree view abstracts * add tree trait to pages * get ready for tree view pages * improve page edit * fix revision * fix slug * add router params delegate * fix params delegate * fix * fix * fix all * fix all * fix tree * fix page link * fix feed * fix page * fix permalink * fix permalink input * fix offset query * Fix typo * remove proxy methods * remove unnecessary useage --------- Co-authored-by: joyqi Co-authored-by: joyqi * Fix Prevent XSS vulnerability in default theme (#1654) * Fix Prevent XSS vulnerability in default theme * Update var/Typecho/Db/Adapter/Pdo.php * fix the getter --------- Co-authored-by: joyqi * add throwCallback to widget response * fix: cut down fields when selecting recent posts * fix typo errors * fix typo errors * fix http client cookie * add throw finish * fix theme lang * fix default theme * fix query * add open graph and twitter card support add canonical link * fix canonical link meta * fix theme classic-22 * remove unnecessary scss file when packaging * init plugin signal * improve: remove feather-icon js file * fix: typo * improve: post detail layout * fix tags saving * improve: nav search * fix: theme screenshot * fix: theme page layout * remove php 7.2/7.3 env --------- Co-authored-by: fen Co-authored-by: Lu Fei <52o@qq52o.cn> --- .github/workflows/Typecho-dev-Ci.yml | 3 +- .github/workflows/Typecho-release-Ci.yml | 1 + .gitignore | 2 +- admin/backup.php | 1 + admin/common-js.php | 4 - admin/common.php | 2 +- admin/css/grid.css | 212 +- admin/css/install.css | 25 +- admin/css/style.css | 945 +- admin/custom-fields-js.php | 6 +- admin/editor-js.php | 105 +- admin/extending.php | 2 +- admin/file-upload-js.php | 219 +- admin/file-upload.php | 4 +- admin/footer.php | 4 +- admin/form-js.php | 35 +- admin/header.php | 2 +- admin/js/Moxie.swf | Bin 27640 -> 0 bytes admin/js/hyperdown.js | 2 +- admin/js/jquery-ui.js | 2 +- admin/js/jquery.js | 2 +- admin/js/moxie.js | 1 - admin/js/pagedown.js | 2 +- admin/js/paste.js | 1 - admin/js/plupload.js | 1 - admin/js/purify.js | 2 +- admin/js/timepicker.js | 2 +- admin/js/tokeninput.js | 2 +- admin/js/typecho.js | 2 +- admin/login.php | 2 +- admin/manage-comments.php | 2 +- admin/manage-pages.php | 21 +- admin/manage-posts.php | 17 +- admin/media.php | 140 +- admin/menu.php | 2 +- admin/profile.php | 4 +- admin/src/js/moxie.js | 11714 ---------------- admin/src/js/pagedown.js | 6 +- admin/src/js/paste.js | 443 - admin/src/js/plupload.js | 2497 ---- admin/src/js/typecho.js | 3 +- admin/src/scss/_forms.scss | 2 +- admin/theme-editor.php | 2 +- admin/write-js.php | 243 +- admin/write-page.php | 48 +- admin/write-post.php | 28 +- install.php | 37 +- install/Mysql.php | 2 +- install/Pgsql.php | 33 +- tools/build.js | 37 +- tools/package-lock.json | 8524 ++++------- tools/package.json | 8 +- usr/themes/classic-22/404.php | 19 + usr/themes/classic-22/comments.php | 44 + usr/themes/classic-22/footer.php | 22 + usr/themes/classic-22/functions.php | 39 + usr/themes/classic-22/header.php | 60 + usr/themes/classic-22/index.php | 48 + usr/themes/classic-22/page.php | 20 + usr/themes/classic-22/post.php | 28 + usr/themes/classic-22/screenshot.png | Bin 0 -> 6594 bytes usr/themes/classic-22/search.php | 45 + usr/themes/classic-22/static/css/style.css | 5 + usr/themes/classic-22/static/img/calendar.svg | 16 + usr/themes/classic-22/static/img/folder.svg | 13 + usr/themes/classic-22/static/img/menu.svg | 15 + .../classic-22/static/img/message-circle.svg | 13 + usr/themes/classic-22/static/img/search.svg | 14 + usr/themes/classic-22/static/scss/_pico.scss | 105 + usr/themes/classic-22/static/scss/style.scss | 406 + usr/themes/default/archive.php | 45 - usr/themes/default/comments.php | 8 +- usr/themes/default/functions.php | 35 +- usr/themes/default/index.php | 36 +- usr/themes/default/page.php | 5 +- usr/themes/default/post.php | 22 +- var/IXR/Base64.php | 2 +- var/IXR/Client.php | 10 +- var/IXR/Date.php | 24 +- var/IXR/Error.php | 4 +- var/IXR/Message.php | 28 +- var/IXR/Pingback.php | 6 +- var/IXR/Request.php | 2 +- var/IXR/Server.php | 10 +- var/IXR/Value.php | 6 +- var/Typecho/Common.php | 32 +- var/Typecho/Config.php | 6 +- var/Typecho/Cookie.php | 25 +- var/Typecho/Date.php | 14 +- var/Typecho/Db.php | 18 +- var/Typecho/Db/Adapter/Mysqli.php | 2 +- var/Typecho/Db/Adapter/Pdo.php | 6 +- var/Typecho/Db/Adapter/Pdo/Pgsql.php | 8 +- var/Typecho/Db/Adapter/Pgsql.php | 4 + var/Typecho/Db/Adapter/PgsqlTrait.php | 6 +- var/Typecho/Db/Adapter/SQLiteTrait.php | 2 +- var/Typecho/Db/Query.php | 11 +- var/Typecho/Feed.php | 36 +- var/Typecho/Http/Client.php | 33 +- var/Typecho/I18n.php | 8 +- var/Typecho/I18n/GetText.php | 55 +- var/Typecho/I18n/GetTextMulti.php | 12 +- var/Typecho/Plugin.php | 29 +- var/Typecho/Request.php | 65 +- var/Typecho/Response.php | 24 +- var/Typecho/Router.php | 151 +- .../Router/ParamsDelegateInterface.php | 8 + var/Typecho/Router/Parser.php | 6 +- var/Typecho/Validate.php | 14 +- var/Typecho/Widget.php | 108 +- var/Typecho/Widget/Helper/EmptyClass.php | 5 +- var/Typecho/Widget/Helper/Form.php | 2 +- var/Typecho/Widget/Helper/Form/Element.php | 28 +- .../Widget/Helper/Form/Element/Checkbox.php | 4 +- .../Widget/Helper/Form/Element/Hidden.php | 26 +- .../Widget/Helper/Form/Element/Password.php | 27 +- .../Widget/Helper/Form/Element/Radio.php | 4 +- .../Widget/Helper/Form/Element/Select.php | 4 +- .../Widget/Helper/Form/Element/Submit.php | 2 +- .../Widget/Helper/Form/Element/Text.php | 32 +- .../Helper/Form/Element/TextInputTrait.php | 59 + .../Widget/Helper/Form/Element/Textarea.php | 2 +- .../Widget/Helper/Form/Element/Url.php | 40 + var/Typecho/Widget/Helper/Layout.php | 14 +- var/Typecho/Widget/Helper/PageNavigator.php | 12 +- var/Typecho/Widget/Request.php | 33 +- var/Typecho/Widget/Response.php | 73 +- var/Utils/AutoP.php | 4 +- var/Utils/Helper.php | 100 +- var/Utils/PasswordHash.php | 8 +- var/Utils/Upgrade.php | 1420 +- var/Widget/Action.php | 6 +- var/Widget/Ajax.php | 10 +- var/Widget/Archive.php | 1007 +- var/Widget/Backup.php | 12 +- var/Widget/Base.php | 8 +- var/Widget/Base/Comments.php | 141 +- var/Widget/Base/Contents.php | 653 +- var/Widget/Base/Metas.php | 231 +- var/Widget/Base/Options.php | 18 +- var/Widget/Base/PrimaryKeyInterface.php | 13 + var/Widget/Base/QueryInterface.php | 3 +- var/Widget/Base/RowFilterInterface.php | 17 + var/Widget/Base/TreeTrait.php | 279 + var/Widget/Base/TreeViewTrait.php | 126 + var/Widget/Base/Users.php | 162 +- var/Widget/CommentPage.php | 50 + var/Widget/Comments/Admin.php | 41 +- var/Widget/Comments/Archive.php | 77 +- var/Widget/Comments/Edit.php | 65 +- var/Widget/Comments/Ping.php | 7 +- var/Widget/Contents/AdminTrait.php | 108 + var/Widget/Contents/Attachment/Admin.php | 64 +- var/Widget/Contents/Attachment/Edit.php | 137 +- var/Widget/Contents/Attachment/Related.php | 2 +- var/Widget/Contents/Attachment/Unattached.php | 2 +- var/Widget/Contents/EditTrait.php | 774 + var/Widget/Contents/From.php | 92 + var/Widget/Contents/Page/Admin.php | 130 +- var/Widget/Contents/Page/Edit.php | 167 +- var/Widget/Contents/Page/Rows.php | 72 +- var/Widget/Contents/Post/Admin.php | 142 +- var/Widget/Contents/Post/Date.php | 1 - var/Widget/Contents/Post/Edit.php | 756 +- var/Widget/Contents/Post/Recent.php | 18 +- var/Widget/Contents/PrepareEditTrait.php | 139 + var/Widget/Contents/Related.php | 49 +- var/Widget/Feed.php | 212 + var/Widget/Feedback.php | 32 +- var/Widget/Login.php | 32 +- var/Widget/Logout.php | 2 +- var/Widget/Menu.php | 19 +- var/Widget/Metas/Category/Admin.php | 42 +- var/Widget/Metas/Category/Edit.php | 49 +- .../Metas/Category/InitTreeRowsTrait.php | 21 + var/Widget/Metas/Category/Related.php | 38 + var/Widget/Metas/Category/Rows.php | 390 +- var/Widget/Metas/EditTrait.php | 104 + var/Widget/Metas/From.php | 52 + var/Widget/Metas/Tag/Admin.php | 4 +- var/Widget/Metas/Tag/Edit.php | 57 +- var/Widget/Metas/Tag/Related.php | 26 + var/Widget/Notice.php | 2 +- var/Widget/Options.php | 232 +- var/Widget/Options/Discussion.php | 12 +- var/Widget/Options/EditTrait.php | 21 + var/Widget/Options/General.php | 8 +- var/Widget/Options/Permalink.php | 43 +- var/Widget/Options/Reading.php | 12 +- var/Widget/Plugins/Config.php | 12 +- var/Widget/Plugins/Edit.php | 22 +- var/Widget/Plugins/Rows.php | 6 +- var/Widget/Register.php | 16 +- var/Widget/Security.php | 4 +- var/Widget/Service.php | 10 +- var/Widget/Stat.php | 14 +- var/Widget/Themes/Config.php | 11 +- var/Widget/Themes/Edit.php | 20 +- var/Widget/Themes/Files.php | 10 +- var/Widget/Themes/Rows.php | 3 +- var/Widget/Upgrade.php | 51 +- var/Widget/Upload.php | 41 +- var/Widget/User.php | 26 +- var/Widget/Users/Admin.php | 12 +- var/Widget/Users/Author.php | 2 +- var/Widget/Users/Edit.php | 16 +- var/Widget/Users/EditTrait.php | 100 + var/Widget/Users/Profile.php | 25 +- var/Widget/XmlRpc.php | 72 +- 209 files changed, 9158 insertions(+), 27447 deletions(-) delete mode 100755 admin/js/Moxie.swf delete mode 100644 admin/js/moxie.js delete mode 100644 admin/js/paste.js delete mode 100644 admin/js/plupload.js delete mode 100755 admin/src/js/moxie.js delete mode 100644 admin/src/js/paste.js delete mode 100755 admin/src/js/plupload.js create mode 100644 usr/themes/classic-22/404.php create mode 100644 usr/themes/classic-22/comments.php create mode 100644 usr/themes/classic-22/footer.php create mode 100644 usr/themes/classic-22/functions.php create mode 100644 usr/themes/classic-22/header.php create mode 100644 usr/themes/classic-22/index.php create mode 100644 usr/themes/classic-22/page.php create mode 100644 usr/themes/classic-22/post.php create mode 100644 usr/themes/classic-22/screenshot.png create mode 100644 usr/themes/classic-22/search.php create mode 100644 usr/themes/classic-22/static/css/style.css create mode 100644 usr/themes/classic-22/static/img/calendar.svg create mode 100644 usr/themes/classic-22/static/img/folder.svg create mode 100644 usr/themes/classic-22/static/img/menu.svg create mode 100644 usr/themes/classic-22/static/img/message-circle.svg create mode 100644 usr/themes/classic-22/static/img/search.svg create mode 100644 usr/themes/classic-22/static/scss/_pico.scss create mode 100644 usr/themes/classic-22/static/scss/style.scss delete mode 100644 usr/themes/default/archive.php create mode 100644 var/Typecho/Router/ParamsDelegateInterface.php create mode 100644 var/Typecho/Widget/Helper/Form/Element/TextInputTrait.php create mode 100644 var/Typecho/Widget/Helper/Form/Element/Url.php create mode 100644 var/Widget/Base/PrimaryKeyInterface.php create mode 100644 var/Widget/Base/RowFilterInterface.php create mode 100644 var/Widget/Base/TreeTrait.php create mode 100644 var/Widget/Base/TreeViewTrait.php create mode 100644 var/Widget/CommentPage.php create mode 100644 var/Widget/Contents/AdminTrait.php create mode 100644 var/Widget/Contents/EditTrait.php create mode 100644 var/Widget/Contents/From.php create mode 100644 var/Widget/Contents/PrepareEditTrait.php create mode 100644 var/Widget/Feed.php create mode 100644 var/Widget/Metas/Category/InitTreeRowsTrait.php create mode 100644 var/Widget/Metas/Category/Related.php create mode 100644 var/Widget/Metas/EditTrait.php create mode 100644 var/Widget/Metas/From.php create mode 100644 var/Widget/Metas/Tag/Related.php create mode 100644 var/Widget/Options/EditTrait.php create mode 100644 var/Widget/Users/EditTrait.php diff --git a/.github/workflows/Typecho-dev-Ci.yml b/.github/workflows/Typecho-dev-Ci.yml index d24765f416..c5ba0eb12e 100644 --- a/.github/workflows/Typecho-dev-Ci.yml +++ b/.github/workflows/Typecho-dev-Ci.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - php: ['7.2', '7.3', '7.4', '8.0', '8.1'] + php: ['7.4', '8.0', '8.1', '8.2'] steps: - name: Checkout code uses: actions/checkout@v2 @@ -43,6 +43,7 @@ jobs: mkdir build/usr/uploads/ chmod 755 build/usr/uploads/ rm -rf build/admin/src + rm -rf build/usr/themes/classic-22/static/scss cd build && zip -q -r typecho.zip * && mv typecho.zip ../ && cd - - name: Upload a Build Artifact uses: WebFreak001/deploy-nightly@v1.1.0 diff --git a/.github/workflows/Typecho-release-Ci.yml b/.github/workflows/Typecho-release-Ci.yml index 08f4d117bf..5cb4eaa983 100644 --- a/.github/workflows/Typecho-release-Ci.yml +++ b/.github/workflows/Typecho-release-Ci.yml @@ -16,6 +16,7 @@ jobs: mkdir build/usr/uploads/ chmod 755 build/usr/uploads/ rm -rf build/admin/src + rm -rf build/usr/themes/classic-22/static/scss cd build && zip -q -r typecho.zip * && mv typecho.zip ../ && cd - - name: Upload Release Asset uses: shogo82148/actions-upload-release-asset@v1 diff --git a/.gitignore b/.gitignore index 94fcdb9509..286a39b049 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,4 @@ usr/themes/* !usr/themes/default !usr/themes/classic-22 node_modules/ -/tools/tmp/ +tools/tmp/ diff --git a/admin/backup.php b/admin/backup.php index 1d98a99525..0bbe26bdd1 100644 --- a/admin/backup.php +++ b/admin/backup.php @@ -84,6 +84,7 @@ diff --git a/admin/common.php b/admin/common.php index df44d31353..e210a1fd63 100644 --- a/admin/common.php +++ b/admin/common.php @@ -15,7 +15,7 @@ \Widget\Init::alloc(); /** 注册一个初始化插件 */ -\Typecho\Plugin::factory('admin/common.php')->begin(); +\Typecho\Plugin::factory('admin/common.php')->call('begin'); \Widget\Options::alloc()->to($options); \Widget\User::alloc()->to($user); diff --git a/admin/css/grid.css b/admin/css/grid.css index 08210d4100..eebc19343c 100644 --- a/admin/css/grid.css +++ b/admin/css/grid.css @@ -1,211 +1 @@ -/* Bento Grid System Source: https://github.com/fenbox/bento Version: 1.2.8 Update: 2013.11.25 */ -.container, .row [class*="col-"] { box-sizing: border-box; } - -.container { margin-left: auto; margin-right: auto; padding-left: 10px; padding-right: 10px; } - -.row { margin-right: -10px; margin-left: -10px; } - -.row [class*="col-"] { float: left; min-height: 1px; padding-right: 10px; padding-left: 10px; } - -.row [class*="-push-"], .row [class*="-pull-"] { position: relative; } - -/* Mobile and up */ -.col-mb-1 { width: 8.33333%; } - -.col-mb-2 { width: 16.66667%; } - -.col-mb-3 { width: 25%; } - -.col-mb-4 { width: 33.33333%; } - -.col-mb-5 { width: 41.66667%; } - -.col-mb-6 { width: 50%; } - -.col-mb-7 { width: 58.33333%; } - -.col-mb-8 { width: 66.66667%; } - -.col-mb-9 { width: 75%; } - -.col-mb-10 { width: 83.33333%; } - -.col-mb-11 { width: 91.66667%; } - -.col-mb-12 { width: 100%; } - -/* Tablet and up */ -@media (min-width: 768px) { .container { max-width: 728px; } - .col-tb-1 { width: 8.33333%; } - .col-tb-2 { width: 16.66667%; } - .col-tb-3 { width: 25%; } - .col-tb-4 { width: 33.33333%; } - .col-tb-5 { width: 41.66667%; } - .col-tb-6 { width: 50%; } - .col-tb-7 { width: 58.33333%; } - .col-tb-8 { width: 66.66667%; } - .col-tb-9 { width: 75%; } - .col-tb-10 { width: 83.33333%; } - .col-tb-11 { width: 91.66667%; } - .col-tb-12 { width: 100%; } - .col-tb-offset-0 { margin-left: 0%; } - .col-tb-offset-1 { margin-left: 8.33333%; } - .col-tb-offset-2 { margin-left: 16.66667%; } - .col-tb-offset-3 { margin-left: 25%; } - .col-tb-offset-4 { margin-left: 33.33333%; } - .col-tb-offset-5 { margin-left: 41.66667%; } - .col-tb-offset-6 { margin-left: 50%; } - .col-tb-offset-7 { margin-left: 58.33333%; } - .col-tb-offset-8 { margin-left: 66.66667%; } - .col-tb-offset-9 { margin-left: 75%; } - .col-tb-offset-10 { margin-left: 83.33333%; } - .col-tb-offset-11 { margin-left: 91.66667%; } - .col-tb-offset-12 { margin-left: 100%; } - .col-tb-pull-0 { right: 0%; } - .col-tb-pull-1 { right: 8.33333%; } - .col-tb-pull-2 { right: 16.66667%; } - .col-tb-pull-3 { right: 25%; } - .col-tb-pull-4 { right: 33.33333%; } - .col-tb-pull-5 { right: 41.66667%; } - .col-tb-pull-6 { right: 50%; } - .col-tb-pull-7 { right: 58.33333%; } - .col-tb-pull-8 { right: 66.66667%; } - .col-tb-pull-9 { right: 75%; } - .col-tb-pull-10 { right: 83.33333%; } - .col-tb-pull-11 { right: 91.66667%; } - .col-tb-pull-12 { right: 100%; } - .col-tb-push-0 { left: 0%; } - .col-tb-push-1 { left: 8.33333%; } - .col-tb-push-2 { left: 16.66667%; } - .col-tb-push-3 { left: 25%; } - .col-tb-push-4 { left: 33.33333%; } - .col-tb-push-5 { left: 41.66667%; } - .col-tb-push-6 { left: 50%; } - .col-tb-push-7 { left: 58.33333%; } - .col-tb-push-8 { left: 66.66667%; } - .col-tb-push-9 { left: 75%; } - .col-tb-push-10 { left: 83.33333%; } - .col-tb-push-11 { left: 91.66667%; } - .col-tb-push-12 { left: 100%; } } - -/* Desktop and up */ -@media (min-width: 992px) { .container { max-width: 952px; } - .col-1 { width: 8.33333%; } - .col-2 { width: 16.66667%; } - .col-3 { width: 25%; } - .col-4 { width: 33.33333%; } - .col-5 { width: 41.66667%; } - .col-6 { width: 50%; } - .col-7 { width: 58.33333%; } - .col-8 { width: 66.66667%; } - .col-9 { width: 75%; } - .col-10 { width: 83.33333%; } - .col-11 { width: 91.66667%; } - .col-12 { width: 100%; } - .col-offset-0 { margin-left: 0%; } - .col-offset-1 { margin-left: 8.33333%; } - .col-offset-2 { margin-left: 16.66667%; } - .col-offset-3 { margin-left: 25%; } - .col-offset-4 { margin-left: 33.33333%; } - .col-offset-5 { margin-left: 41.66667%; } - .col-offset-6 { margin-left: 50%; } - .col-offset-7 { margin-left: 58.33333%; } - .col-offset-8 { margin-left: 66.66667%; } - .col-offset-9 { margin-left: 75%; } - .col-offset-10 { margin-left: 83.33333%; } - .col-offset-11 { margin-left: 91.66667%; } - .col-offset-12 { margin-left: 100%; } - .col-pull-0 { right: 0%; } - .col-pull-1 { right: 8.33333%; } - .col-pull-2 { right: 16.66667%; } - .col-pull-3 { right: 25%; } - .col-pull-4 { right: 33.33333%; } - .col-pull-5 { right: 41.66667%; } - .col-pull-6 { right: 50%; } - .col-pull-7 { right: 58.33333%; } - .col-pull-8 { right: 66.66667%; } - .col-pull-9 { right: 75%; } - .col-pull-10 { right: 83.33333%; } - .col-pull-11 { right: 91.66667%; } - .col-pull-12 { right: 100%; } - .col-push-0 { left: 0%; } - .col-push-1 { left: 8.33333%; } - .col-push-2 { left: 16.66667%; } - .col-push-3 { left: 25%; } - .col-push-4 { left: 33.33333%; } - .col-push-5 { left: 41.66667%; } - .col-push-6 { left: 50%; } - .col-push-7 { left: 58.33333%; } - .col-push-8 { left: 66.66667%; } - .col-push-9 { left: 75%; } - .col-push-10 { left: 83.33333%; } - .col-push-11 { left: 91.66667%; } - .col-push-12 { left: 100%; } } - -/* Widescreen and up */ -@media (min-width: 1200px) { .container { max-width: 1160px; } - .col-wd-1 { width: 8.33333%; } - .col-wd-2 { width: 16.66667%; } - .col-wd-3 { width: 25%; } - .col-wd-4 { width: 33.33333%; } - .col-wd-5 { width: 41.66667%; } - .col-wd-6 { width: 50%; } - .col-wd-7 { width: 58.33333%; } - .col-wd-8 { width: 66.66667%; } - .col-wd-9 { width: 75%; } - .col-wd-10 { width: 83.33333%; } - .col-wd-11 { width: 91.66667%; } - .col-wd-12 { width: 100%; } - .col-wd-offset-0 { margin-left: 0%; } - .col-wd-offset-1 { margin-left: 8.33333%; } - .col-wd-offset-2 { margin-left: 16.66667%; } - .col-wd-offset-3 { margin-left: 25%; } - .col-wd-offset-4 { margin-left: 33.33333%; } - .col-wd-offset-5 { margin-left: 41.66667%; } - .col-wd-offset-6 { margin-left: 50%; } - .col-wd-offset-7 { margin-left: 58.33333%; } - .col-wd-offset-8 { margin-left: 66.66667%; } - .col-wd-offset-9 { margin-left: 75%; } - .col-wd-offset-10 { margin-left: 83.33333%; } - .col-wd-offset-11 { margin-left: 91.66667%; } - .col-wd-offset-12 { margin-left: 100%; } - .col-wd-pull-0 { right: 0%; } - .col-wd-pull-1 { right: 8.33333%; } - .col-wd-pull-2 { right: 16.66667%; } - .col-wd-pull-3 { right: 25%; } - .col-wd-pull-4 { right: 33.33333%; } - .col-wd-pull-5 { right: 41.66667%; } - .col-wd-pull-6 { right: 50%; } - .col-wd-pull-7 { right: 58.33333%; } - .col-wd-pull-8 { right: 66.66667%; } - .col-wd-pull-9 { right: 75%; } - .col-wd-pull-10 { right: 83.33333%; } - .col-wd-pull-11 { right: 91.66667%; } - .col-wd-pull-12 { right: 100%; } - .col-wd-push-0 { left: 0%; } - .col-wd-push-1 { left: 8.33333%; } - .col-wd-push-2 { left: 16.66667%; } - .col-wd-push-3 { left: 25%; } - .col-wd-push-4 { left: 33.33333%; } - .col-wd-push-5 { left: 41.66667%; } - .col-wd-push-6 { left: 50%; } - .col-wd-push-7 { left: 58.33333%; } - .col-wd-push-8 { left: 66.66667%; } - .col-wd-push-9 { left: 75%; } - .col-wd-push-10 { left: 83.33333%; } - .col-wd-push-11 { left: 91.66667%; } - .col-wd-push-12 { left: 100%; } } - -/* Responsive kit */ -@media (max-width: 575px) { .kit-hidden-mb { display: none; } } - -@media (max-width: 767px) { .kit-hidden-tb { display: none; } } - -@media (max-width: 991px) { .kit-hidden { display: none; } } - -/* Clearfix */ -.clearfix, .row { zoom: 1; } - -.clearfix:before, .row:before, .clearfix:after, .row:after { content: " "; display: table; } - -.clearfix:after, .row:after { clear: both; } +.container,.row [class*="col-"]{box-sizing:border-box}.container{margin-left:auto;margin-right:auto;padding-left:10px;padding-right:10px}.row{margin-right:-10px;margin-left:-10px}.row [class*="col-"]{float:left;min-height:1px;padding-right:10px;padding-left:10px}.row [class*="-push-"],.row [class*="-pull-"]{position:relative}.col-mb-1{width:8.33333%}.col-mb-2{width:16.66667%}.col-mb-3{width:25%}.col-mb-4{width:33.33333%}.col-mb-5{width:41.66667%}.col-mb-6{width:50%}.col-mb-7{width:58.33333%}.col-mb-8{width:66.66667%}.col-mb-9{width:75%}.col-mb-10{width:83.33333%}.col-mb-11{width:91.66667%}.col-mb-12{width:100%}@media (min-width: 768px){.container{max-width:728px}.col-tb-1{width:8.33333%}.col-tb-2{width:16.66667%}.col-tb-3{width:25%}.col-tb-4{width:33.33333%}.col-tb-5{width:41.66667%}.col-tb-6{width:50%}.col-tb-7{width:58.33333%}.col-tb-8{width:66.66667%}.col-tb-9{width:75%}.col-tb-10{width:83.33333%}.col-tb-11{width:91.66667%}.col-tb-12{width:100%}.col-tb-offset-0{margin-left:0%}.col-tb-offset-1{margin-left:8.33333%}.col-tb-offset-2{margin-left:16.66667%}.col-tb-offset-3{margin-left:25%}.col-tb-offset-4{margin-left:33.33333%}.col-tb-offset-5{margin-left:41.66667%}.col-tb-offset-6{margin-left:50%}.col-tb-offset-7{margin-left:58.33333%}.col-tb-offset-8{margin-left:66.66667%}.col-tb-offset-9{margin-left:75%}.col-tb-offset-10{margin-left:83.33333%}.col-tb-offset-11{margin-left:91.66667%}.col-tb-offset-12{margin-left:100%}.col-tb-pull-0{right:0%}.col-tb-pull-1{right:8.33333%}.col-tb-pull-2{right:16.66667%}.col-tb-pull-3{right:25%}.col-tb-pull-4{right:33.33333%}.col-tb-pull-5{right:41.66667%}.col-tb-pull-6{right:50%}.col-tb-pull-7{right:58.33333%}.col-tb-pull-8{right:66.66667%}.col-tb-pull-9{right:75%}.col-tb-pull-10{right:83.33333%}.col-tb-pull-11{right:91.66667%}.col-tb-pull-12{right:100%}.col-tb-push-0{left:0%}.col-tb-push-1{left:8.33333%}.col-tb-push-2{left:16.66667%}.col-tb-push-3{left:25%}.col-tb-push-4{left:33.33333%}.col-tb-push-5{left:41.66667%}.col-tb-push-6{left:50%}.col-tb-push-7{left:58.33333%}.col-tb-push-8{left:66.66667%}.col-tb-push-9{left:75%}.col-tb-push-10{left:83.33333%}.col-tb-push-11{left:91.66667%}.col-tb-push-12{left:100%}}@media (min-width: 992px){.container{max-width:952px}.col-1{width:8.33333%}.col-2{width:16.66667%}.col-3{width:25%}.col-4{width:33.33333%}.col-5{width:41.66667%}.col-6{width:50%}.col-7{width:58.33333%}.col-8{width:66.66667%}.col-9{width:75%}.col-10{width:83.33333%}.col-11{width:91.66667%}.col-12{width:100%}.col-offset-0{margin-left:0%}.col-offset-1{margin-left:8.33333%}.col-offset-2{margin-left:16.66667%}.col-offset-3{margin-left:25%}.col-offset-4{margin-left:33.33333%}.col-offset-5{margin-left:41.66667%}.col-offset-6{margin-left:50%}.col-offset-7{margin-left:58.33333%}.col-offset-8{margin-left:66.66667%}.col-offset-9{margin-left:75%}.col-offset-10{margin-left:83.33333%}.col-offset-11{margin-left:91.66667%}.col-offset-12{margin-left:100%}.col-pull-0{right:0%}.col-pull-1{right:8.33333%}.col-pull-2{right:16.66667%}.col-pull-3{right:25%}.col-pull-4{right:33.33333%}.col-pull-5{right:41.66667%}.col-pull-6{right:50%}.col-pull-7{right:58.33333%}.col-pull-8{right:66.66667%}.col-pull-9{right:75%}.col-pull-10{right:83.33333%}.col-pull-11{right:91.66667%}.col-pull-12{right:100%}.col-push-0{left:0%}.col-push-1{left:8.33333%}.col-push-2{left:16.66667%}.col-push-3{left:25%}.col-push-4{left:33.33333%}.col-push-5{left:41.66667%}.col-push-6{left:50%}.col-push-7{left:58.33333%}.col-push-8{left:66.66667%}.col-push-9{left:75%}.col-push-10{left:83.33333%}.col-push-11{left:91.66667%}.col-push-12{left:100%}}@media (min-width: 1200px){.container{max-width:1160px}.col-wd-1{width:8.33333%}.col-wd-2{width:16.66667%}.col-wd-3{width:25%}.col-wd-4{width:33.33333%}.col-wd-5{width:41.66667%}.col-wd-6{width:50%}.col-wd-7{width:58.33333%}.col-wd-8{width:66.66667%}.col-wd-9{width:75%}.col-wd-10{width:83.33333%}.col-wd-11{width:91.66667%}.col-wd-12{width:100%}.col-wd-offset-0{margin-left:0%}.col-wd-offset-1{margin-left:8.33333%}.col-wd-offset-2{margin-left:16.66667%}.col-wd-offset-3{margin-left:25%}.col-wd-offset-4{margin-left:33.33333%}.col-wd-offset-5{margin-left:41.66667%}.col-wd-offset-6{margin-left:50%}.col-wd-offset-7{margin-left:58.33333%}.col-wd-offset-8{margin-left:66.66667%}.col-wd-offset-9{margin-left:75%}.col-wd-offset-10{margin-left:83.33333%}.col-wd-offset-11{margin-left:91.66667%}.col-wd-offset-12{margin-left:100%}.col-wd-pull-0{right:0%}.col-wd-pull-1{right:8.33333%}.col-wd-pull-2{right:16.66667%}.col-wd-pull-3{right:25%}.col-wd-pull-4{right:33.33333%}.col-wd-pull-5{right:41.66667%}.col-wd-pull-6{right:50%}.col-wd-pull-7{right:58.33333%}.col-wd-pull-8{right:66.66667%}.col-wd-pull-9{right:75%}.col-wd-pull-10{right:83.33333%}.col-wd-pull-11{right:91.66667%}.col-wd-pull-12{right:100%}.col-wd-push-0{left:0%}.col-wd-push-1{left:8.33333%}.col-wd-push-2{left:16.66667%}.col-wd-push-3{left:25%}.col-wd-push-4{left:33.33333%}.col-wd-push-5{left:41.66667%}.col-wd-push-6{left:50%}.col-wd-push-7{left:58.33333%}.col-wd-push-8{left:66.66667%}.col-wd-push-9{left:75%}.col-wd-push-10{left:83.33333%}.col-wd-push-11{left:91.66667%}.col-wd-push-12{left:100%}}@media (max-width: 575px){.kit-hidden-mb{display:none}}@media (max-width: 767px){.kit-hidden-tb{display:none}}@media (max-width: 991px){.kit-hidden{display:none}}.clearfix,.row{zoom:1}.clearfix:before,.row:before,.clearfix:after,.row:after{content:" ";display:table}.clearfix:after,.row:after{clear:both} diff --git a/admin/css/install.css b/admin/css/install.css index 9d6e1f391c..1f5f1eece1 100644 --- a/admin/css/install.css +++ b/admin/css/install.css @@ -1,24 +1 @@ -h1 { text-align: center; } - -details summary { cursor: pointer; } - -@keyframes fadein { from { opacity: 0; } - to { opacity: 1; } } - -.fresh .keep-word { display: none; } - -.keep .fresh-word { display: none; } - -form > .message { display: none; padding: 20px; border-radius: 5px; } - -.message textarea { width: 100%; height: 200px; resize: none; margin: 10px 0; } - -.message.fade { display: block; animation: fadein .5s linear; } - -.message *:last-child { margin-bottom: 0; } - -.message p { margin-top: 10px; } - -.message p button { margin-left: 5px; } - -.message p button:first-child { margin-left: 0; } +h1{text-align:center}details summary{cursor:pointer}@keyframes fadein{from{opacity:0}to{opacity:1}}.fresh .keep-word{display:none}.keep .fresh-word{display:none}form>.message{display:none;padding:20px;border-radius:5px}.message textarea{width:100%;height:200px;resize:none;margin:10px 0}.message.fade{display:block;animation:fadein .5s linear}.message *:last-child{margin-bottom:0}.message p{margin-top:10px}.message p button{margin-left:5px}.message p button:first-child{margin-left:0} diff --git a/admin/css/style.css b/admin/css/style.css index 0db7d36bfc..1b6e9be4d8 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1,944 +1 @@ -@charset "UTF-8"; -/* vim: set et sw=2 ts=2 sts=2 fdm=marker ff=unix fenc=utf8 */ -/** Typecho 后台样式 @author Typecho Team @since 2008-09-26 @update 2013-11-02 @link http://www.typecho.org/ @version 0.9 */ -/** Typecho 全局样式 */ -html { height: 100%; } - -body { font-family: 'Helvetica Neue', Helvetica, Arial, -apple-system, system-ui, sans-serif; background: #F6F6F3; color: #444; font-size: 87.5%; line-height: 1.5; } - -a { color: #467B96; text-decoration: none; } - -a:hover { color: #499BC3; text-decoration: underline; } - -code, pre, .mono { font-family: 'SF Mono', Menlo, Monaco, Consolas, 'Courier New', -apple-system, system-ui, monospace; } - -.p { margin: 1em 0; } - -.body-100 { height: 100%; } - -a.balloon-button { display: inline-block; padding: 0 6px; min-width: 12px; height: 18px; line-height: 18px; background: #D8E7EE; font-size: .85714em; text-align: center; text-decoration: none; /** 修正ie中文不对齐 */ zoom: 1; border-radius: 30px; white-space: nowrap; } - -a.button:hover, a.balloon-button:hover { background-color: #A5CADC; color: #FFF; text-decoration: none; } - -/** Forms */ -input[type=text], input[type=password], input[type=email], textarea { background: #FFF; border: 1px solid #D9D9D6; padding: 7px; border-radius: 2px; box-sizing: border-box; } - -input[type=text]:disabled, input[type=text]:read-only, input[type=password]:disabled, input[type=password]:read-only, input[type=email]:disabled, input[type=email]:read-only, textarea:disabled, textarea:read-only { background: #F3F3F3; } - -textarea { resize: vertical; line-height: 1.5; } - -input[type="radio"], input[type="checkbox"] { margin-right: 3px; } - -input[type="radio"], input[type="checkbox"], input[type="radio"] + label, input[type="checkbox"] + label { vertical-align: middle; } - -input.text-s, textarea.text-s { padding: 5px; } - -input.text-l, textarea.text-l { padding: 10px; font-size: 1.14286em; } - -.w-10 { width: 10%; } - -.w-20 { width: 20%; } - -.w-30 { width: 30%; } - -.w-40 { width: 40%; } - -.w-50 { width: 50%; } - -.w-60 { width: 60%; } - -.w-70 { width: 70%; } - -.w-80 { width: 80%; } - -.w-90 { width: 90%; } - -.w-100 { width: 100%; } - -select { border: 1px solid #CCC; height: 28px; } - -/** Buttons */ -.btn, #ui-datepicker-div .ui-datepicker-current, #ui-datepicker-div .ui-datepicker-close { border: none; background-color: #E9E9E6; cursor: pointer; border-radius: 2px; display: inline-block; padding: 0 12px; height: 32px; color: #666; vertical-align: middle; zoom: 1; } - -.btn:hover, #ui-datepicker-div .ui-datepicker-current:hover, #ui-datepicker-div .ui-datepicker-close:hover { transition-duration: .4s; background-color: #dbdbd6; } - -.btn:active, #ui-datepicker-div .ui-datepicker-current:active, #ui-datepicker-div .ui-datepicker-close:active, .btn.active, #ui-datepicker-div .active.ui-datepicker-current, #ui-datepicker-div .active.ui-datepicker-close { background-color: #d6d6d0; } - -.btn:disabled, #ui-datepicker-div .ui-datepicker-current:disabled, #ui-datepicker-div .ui-datepicker-close:disabled { background-color: #f7f7f6; cursor: default; } - -.btn:disabled, #ui-datepicker-div .ui-datepicker-current:disabled, #ui-datepicker-div .ui-datepicker-close:disabled { color: #999; } - -.btn-xs, #ui-datepicker-div .ui-datepicker-current, #ui-datepicker-div .ui-datepicker-close { padding: 0 10px; height: 25px; font-size: 13px; } - -.btn-s { height: 28px; } - -.btn-l { height: 40px; font-size: 1.14286em; font-weight: bold; } - -.primary { border: none; background-color: #467B96; cursor: pointer; border-radius: 2px; color: #FFF; } - -.primary:hover { transition-duration: .4s; background-color: #3c6a81; } - -.primary:active, .primary.active { background-color: #39647a; } - -.primary:disabled { background-color: #508cab; cursor: default; } - -.btn-group { display: inline-block; } - -.btn-warn { border: none; background-color: #B94A48; cursor: pointer; border-radius: 2px; color: #FFF; } - -.btn-warn:hover { transition-duration: .4s; background-color: #a4403f; } - -.btn-warn:active, .btn-warn.active { background-color: #9c3e3c; } - -.btn-warn:disabled { background-color: #c1605e; cursor: default; } - -.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active, .btn-link.active { background-color: transparent; } - -/* 下拉菜单 */ -.btn-drop { position: relative; } - -.dropdown-toggle { padding-right: 8px; } - -.dropdown-menu { list-style: none; position: absolute; z-index: 2; left: 0; margin: 0; padding: 0; border: 1px solid #D9D9D6; background: #FFF; text-align: left; min-width: 108px; display: none; } - -.dropdown-menu li { white-space: nowrap; } - -.dropdown-menu li.multiline { padding: 5px 12px 12px; } - -.dropdown-menu a { display: block; padding: 5px 12px; color: #666; } - -.dropdown-menu a:hover { background: #F6F6F3; text-decoration: none !important; } - -/** 提示信息框 */ -.message { padding: 8px 10px; border-radius: 2px; } - -.message a { font-weight: bold; text-decoration: underline; } - -.error { background: #FBE3E4; color: #8A1F11; } - -.error a { color: #8A1F11; } - -.notice { background: #FFF6BF; color: #8A6D3B; } - -.notice a { color: #8A6D3B; } - -.success { background: #E6EFC2; color: #264409; } - -.success a { color: #264409; } - -.balloon { display: inline-block; padding: 0 4px; min-width: 10px; height: 14px; line-height: 14px; background: #B9B9B6; vertical-align: text-top; text-align: center; font-size: 12px; color: #FFF; border-radius: 20px; } - -/** 后台分页 */ -.typecho-pager { list-style: none; float: right; margin: 0; padding: 0; line-height: 1; text-align: center; zoom: 1; } - -.typecho-pager li { display: inline-block; margin: 0 3px; height: 28px; line-height: 28px; } - -.typecho-pager a { display: block; padding: 0 10px; border-radius: 2px; } - -.typecho-pager a:hover { text-decoration: none; background: #E9E9E6; } - -.typecho-pager li.current a { background: #E9E9E6; color: #444; } - -/** 后台头部导航 */ -.typecho-head-nav { padding: 0 10px; background: #292D33; position: relative; } - -.typecho-head-nav a, .typecho-head-nav button.menu-bar { padding: 0 20px; height: 36px; line-height: 36px; color: #BBB; } - -.typecho-head-nav a:focus, .typecho-head-nav a:hover, .typecho-head-nav button.menu-bar:focus, .typecho-head-nav button.menu-bar:hover { color: #FFF; text-decoration: none; } - -.typecho-head-nav button.menu-bar { display: none; } - -.typecho-head-nav #typecho-nav-list { float: left; } - -.typecho-head-nav #typecho-nav-list > ul { list-style: none; margin: 0; padding: 0; position: relative; float: left; } - -.typecho-head-nav #typecho-nav-list > ul:first-child { border-left: 1px solid #383D45; } - -.typecho-head-nav #typecho-nav-list > ul .parent a { display: inline-block; border-right: 1px solid #383D45; background: #292D33; } - -.typecho-head-nav #typecho-nav-list > ul .child { position: absolute; list-style: none; top: 36px; display: none; margin: 0; padding: 0; min-width: 160px; max-width: 240px; background: #202328; z-index: 250; } - -.typecho-head-nav #typecho-nav-list > ul .child li.return { display: none; } - -.typecho-head-nav #typecho-nav-list > ul .child li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } - -.typecho-head-nav #typecho-nav-list > ul .child li a:hover, .typecho-head-nav #typecho-nav-list > ul .child li a:focus { background: #292D33; } - -.typecho-head-nav #typecho-nav-list > ul .child li.focus a { color: #6DA1BB; font-weight: bold; } - -.typecho-head-nav #typecho-nav-list > ul .parent a:hover, .typecho-head-nav #typecho-nav-list > ul.focus .parent a, .typecho-head-nav #typecho-nav-list > ul.root:hover .parent a { background: #202328; } - -.typecho-head-nav #typecho-nav-list > ul.focus .parent a { font-weight: bold; } - -.typecho-head-nav #typecho-nav-list > ul.root:hover .child, .typecho-head-nav #typecho-nav-list > ul.root.expanded .child { display: block; } - -.typecho-head-nav .operate { float: right; } - -.typecho-head-nav .operate a { display: inline-block; margin-left: -1px; border: 1px solid #383D45; border-width: 0 1px; } - -.typecho-head-nav .operate a:hover { background-color: #202328; } - -@media (max-width: 575px) { @keyframes out { from { left: 0%; } - to { left: -100%; } } - @keyframes in { from { left: -100%; } - to { left: 0%; } } - .typecho-head-nav { padding: 0; position: fixed; bottom: 0; width: 100%; z-index: 10; } - .typecho-head-nav #typecho-nav-list { display: none; } - .typecho-head-nav .operate a:last-child { border-right-width: 0; } - .typecho-head-nav button.menu-bar { display: inline-block; border: none; background: #292D33; border-right: 1px solid #383D45; } - .typecho-head-nav button.menu-bar.focus { color: #FFF; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list { display: block; float: none; position: absolute; bottom: 36px; width: 100%; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul { float: none; border-bottom: 1px solid #383D45; position: static; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul:first-child { border-left: none; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul .parent a { display: block; border: none; background: #202328; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul .child { position: absolute; bottom: 0; left: 100%; top: auto; z-index: 20; width: 100%; max-width: 100%; min-width: auto; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul .child li { border-bottom: 1px solid #383D45; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul .child li.return { display: block; text-align: center; font-size: 12px; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list > ul .child li.return a { color: #777; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list.expanded { animation: out .15s ease-out forwards; } - .typecho-head-nav button.menu-bar.focus + #typecho-nav-list.noexpanded { animation: in .15s ease-out forwards; } } - -/** 注脚 */ -.typecho-foot { padding: 4em 0 3em; color: #999; line-height: 1.8; text-align: center; } - -.typecho-foot .copyright p { margin: 10px 0 0; } - -.typecho-foot .resource { color: #CCC; } - -.typecho-foot .resource a { margin: 0 3px; color: #999; } - -/** 顶部消息样式 by 70 */ -.popup { display: none; position: absolute; top: 0; left: 0; margin: 0; padding: 8px 0; border: none; width: 100%; z-index: 10; text-align: center; border-radius: 0; } - -.popup ul { list-style: none; margin: 0; padding: 0; text-align: center; } - -.popup ul li { display: inline-block; margin-right: 10px; } - -/** logo 的样式 */ -/** 载入状态 */ -.loading { padding-left: 20px !important; background: transparent url(../img/ajax-loader.gif) no-repeat left center; } - -/** 典型配置选项 */ -.typecho-option { list-style: none; margin: 1em 0; padding: 0; } - -.typecho-option-submit li { border-bottom: none; } - -.typecho-option label.typecho-label { display: block; margin-bottom: .5em; font-weight: bold; } - -.typecho-option label.required:after { content: " *"; color: #B94A48; } - -.typecho-option span { margin-right: 15px; } - -.typecho-option .description { margin: .5em 0 0; color: #999; font-size: .92857em; } - -.typecho-option input.file { width: 100%; margin: .7em 0; } - -.front-archive { padding-left: 1.5em; } - -.profile-avatar { width: 220px; height: 220px; border-radius: 10px; } - -/** 增加配置面板内部的错误样式 by 70 */ -/** 欢迎界面 */ -#typecho-welcome { margin: 1em 0; padding: 1em 2em; background-color: #E9E9E6; } - -.welcome-board { color: #999; font-size: 1.15em; } - -.welcome-board em { color: #444; font-size: 2em; font-style: normal; font-family: Georgia, serif; } - -#start-link { margin-bottom: 25px; padding: 0 0 35px; border-bottom: 1px solid #ECECEC; } - -#start-link li { float: left; margin-right: 1.5em; } - -#start-link .balloon { margin-top: 2px; } - -.latest-link li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } - -.latest-link span { display: inline-block; margin-right: 4px; padding-right: 8px; border-right: 1px solid #ECECEC; width: 37px; text-align: right; color: #999; } - -.update-check { font-size: 14px; } - -/** 登录框 */ -.typecho-login-wrap { display: table; margin: 0 auto; height: 100%; } - -.typecho-login { display: table-cell; padding: 30px 0 100px; width: 280px; text-align: center; vertical-align: middle; } - -.typecho-login h1 { margin: 0 0 1em; } - -.typecho-login .more-link { margin-top: 2em; color: #CCC; } - -.typecho-login .more-link a { margin: 0 3px; } - -/** 标题 */ -.typecho-page-title h2 { margin: 25px 0 10px; font-size: 1.28571em; } - -.typecho-page-title h2 a { margin-left: 10px; padding: 3px 8px; background: #E9E9E6; font-size: .8em; border-radius: 2px; } - -.typecho-page-title h2 a:hover { text-decoration: none; } - -/** 后台页面主体 */ -/** 主页主体 */ -.typecho-dashboard ul { list-style: none; padding: 0; } - -.typecho-dashboard li { margin-bottom: 5px; } - -/** 标签页 */ -.typecho-option-tabs { list-style: none; margin: 1em 0 0; padding: 0; font-size: 13px; text-align: center; } - -.typecho-option-tabs.fix-tabs { margin-bottom: 1em; } - -.typecho-option-tabs a { display: block; margin-right: -1px; border: 1px solid #D9D9D6; padding: 0 15px; height: 26px; line-height: 26px; color: #666; box-sizing: border-box; } - -.typecho-option-tabs a:hover { background-color: #E9E9E6; color: #666; text-decoration: none; } - -.typecho-option-tabs li { float: left; } - -.typecho-option-tabs li:first-child a { border-radius: 2px 0 0 2px; } - -.typecho-option-tabs li:last-child a { border-radius: 0 2px 2px 0; } - -.typecho-option-tabs.right { float: right; } - -.typecho-option-tabs li.current a, .typecho-option-tabs li.active a { background-color: #E9E9E6; } - -/** 表格列表页 */ -/** 列表页选项 */ -.typecho-list-operate { margin: 1em 0; } - -.typecho-list-operate input, .typecho-list-operate button, .typecho-list-operate select { vertical-align: bottom; } - -.typecho-list-operate input[type="checkbox"] { vertical-align: text-top; } - -@media (min-width: 576px) { .typecho-list-operate .operate { float: left; } - .typecho-list-operate .search { float: right; } } - -.typecho-list-operate span.operate-delete, a.operate-delete, .typecho-list-operate span.operate-button-delete, a.operate-button-delete { color: #B94A48; } - -a.operate-edit { color: #007700; } - -a.operate-reply { color: #545c30; } - -.typecho-list-operate a:hover { text-decoration: none; } - -/** 列表表格 */ -/** 增加表格标题 by 70 */ -.typecho-list-table-title { margin: 1em 0; color: #999; text-align: center; } - -.typecho-table-wrap { padding: 30px; background: #FFF; } - -.typecho-list-table { width: 100%; border-collapse: collapse; table-layout: fixed; } - -.typecho-list-table.deactivate { color: #999; } - -.typecho-list-table .right { text-align: right; } - -.typecho-list-table th { padding: 0 10px 10px; border-bottom: 2px solid #F0F0EC; text-align: left; } - -.typecho-list-table td { padding: 10px; border-top: 1px solid #F0F0EC; word-break: break-all; } - -.typecho-list-table td pre { overflow: auto; } - -.typecho-list-table .status { margin-left: 5px; color: #999; font-size: .92857em; font-style: normal; } - -.typecho-list-table tbody tr:hover td { background-color: #F6F6F3; } - -.typecho-list-table tbody tr.checked td { background-color: #FFF9E8; } - -.typecho-list-table tr td .hidden-by-mouse { opacity: 0; } - -.typecho-list-table tr:hover td .hidden-by-mouse { opacity: 1; } - -.warning { color: #B94A48; } - -/** 评论管理 */ -.comment-reply-content { position: relative; margin: 1em 0; padding: 0 1em; border: 1px solid transparent; background-color: #F0F0EC; } - -.comment-reply-content:after { position: absolute; right: 1em; border: 8px solid #F0F0EC; border-color: #F0F0EC #F0F0EC transparent transparent; content: " "; } - -.comment-meta span, .comment-date { font-size: .92857em; color: #999; } - -.comment-action a, .comment-action span { margin-right: 4px; } - -.comment-edit label { display: block; } - -.comment-content img { max-width: 100%; } - -/** 评论回复 */ -#typecho-respond { padding: 10px; display: none; } - -/** 模板列表 */ -.typecho-theme-list img { margin: 1em 0; max-width: 100%; max-height: 240px; } - -.typecho-theme-list cite { font-style: normal; color: #999; } - -.typecho-theme-list tbody tr.current td { background-color: #FFF9E8; } - -/** 后台配置项 */ -.typecho-page-main .typecho-option input.text { width: 100%; } - -.typecho-page-main .typecho-option input.num { width: 40px; } - -.typecho-page-main .typecho-option textarea { width: 100%; height: 100px; } - -.typecho-page-main .typecho-option .multiline { display: block; margin: .3em 0; } - -.typecho-page-main .typecho-option .multiline.hidden { display: none; } - -/** 编辑模板 */ -.typecho-select-theme { height: 25px; line-height: 25px; margin: 15px 0px; } - -.typecho-select-theme h5 { color: #E47E00; font-weight: bold; float: left; font-size: 14px; width: 120px; margin-right: 10px; } - -.typecho-select-theme select { width: 150px; } - -/** 编辑模板(编辑详情) */ -.typecho-edit-theme ul { list-style: none; margin: 0; padding: 0; } - -.typecho-edit-theme li { padding: 3px 10px; } - -.typecho-edit-theme .current { background-color: #E6E6E3; } - -.typecho-edit-theme .current a { color: #444; } - -.typecho-edit-theme textarea { font-size: .92857em; line-height: 1.2; height: 500px; } - -/** 编写页面 */ -.typecho-post-area .edit-draft-notice { color: #999; font-size: .92857em; } - -.typecho-post-area .edit-draft-notice a { color: #B94A48; } - -.typecho-post-area .typecho-label { display: block; margin: 1em 0 -0.5em; font-weight: bold; } - -.typecho-post-area #auto-save-message { display: block; margin-top: 0.5em; color: #999; font-size: .92857em; } - -.typecho-post-area .submit .right button { margin-left: 5px; } - -.typecho-post-area .right { float: right; } - -.typecho-post-area .left { float: left; } - -.typecho-post-area .out-date { border: 1px solid #D3DBB3; padding: 3px; background: #fff; } - -.typecho-post-area input.title { font-size: 1.17em; font-weight: bold; } - -.typecho-post-area .url-slug { margin-top: -0.5em; color: #AAA; font-size: .92857em; word-break: break-word; } - -.typecho-post-area #slug { padding: 2px; border: none; background: #FFFBCC; color: #666; } - -.typecho-post-area #text { resize: none; } - -#advance-panel { display: none; } - -#custom-field { margin: 1em 0; padding: 10px 15px; background: #FFF; } - -#custom-field.fold table, #custom-field.fold .description { display: none; } - -#custom-field .description { margin-top: 10px; text-align: right; } - -#custom-field .description button { float: left; } - -#custom-field p.description { text-align: left; } - -#custom-field .typecho-label { margin: 0; } - -#custom-field .typecho-label a { display: block; color: #444; } - -#custom-field .typecho-label a:hover { color: #467B96; text-decoration: none; } - -#custom-field table { margin-top: 10px; } - -#custom-field td { padding: 10px 5px; font-size: .92857em; border-bottom: 1px solid #F0F0EC; vertical-align: top; } - -#custom-field td label { font-size: 1em; font-weight: normal; } - -#custom-field select { height: 27px; } - -.typecho-post-area .is-draft { background: #FFF1A8; } - -.typecho-post-option .description { margin-top: -0.5em; color: #999; font-size: .92857em; } - -.category-option ul { list-style: none; border: 1px solid #D9D9D6; padding: 6px 12px; max-height: 240px; overflow: auto; background-color: #FFF; border-radius: 2px; } - -.category-option li { margin: 3px 0; } - -.visibility-option ul, .allow-option ul { list-style: none; padding: 0; } - -/** 标签列表 */ -.typecho-page-main ul.tag-list { list-style: none; margin: 0; padding: 20px; background-color: #FFF; } - -.typecho-page-main ul.tag-list li { display: inline-block; margin: 0 0 5px 0; padding: 5px 5px 5px 10px; cursor: pointer; } - -.typecho-page-main ul.tag-list li:hover { background-color: #E9E9E6; } - -.typecho-page-main ul.tag-list li input { display: none; } - -.typecho-page-main ul.tag-list li.checked { background-color: #FFFBCC; } - -.typecho-page-main ul.tag-list li.size-5 { font-size: 1em; } - -.typecho-page-main ul.tag-list li.size-10 { font-size: 1.2em; } - -.typecho-page-main ul.tag-list li.size-20 { font-size: 1.4em; } - -.typecho-page-main ul.tag-list li.size-30 { font-size: 1.6em; } - -.typecho-page-main ul.tag-list li.size-0 { font-size: 1.8em; } - -.typecho-page-main .tag-edit-link { visibility: hidden; } - -.typecho-page-main li:hover .tag-edit-link { visibility: visible; } - -.typecho-attachment-photo { border: 1px solid #E6E6E3; max-width: 100%; } - -/* Upload */ -#upload-panel { border: 1px dashed #D9D9D6; background-color: #FFF; color: #999; font-size: .92857em; } - -#upload-panel.drag { background-color: #FFFBCC; } - -.upload-area { padding: 15px; text-align: center; } - -#file-list { list-style: none; margin: 0 10px; padding: 0; max-height: 450px; overflow: auto; word-break: break-all; } - -#file-list li, #file-list .insert { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } - -#file-list li { padding: 8px 0; border-top: 1px dashed #D9D9D6; } - -#file-list .insert { display: block; max-width: 100%; } - -#file-list .file { margin-left: 5px; } - -#file-list .info { text-transform: uppercase; } - -#btn-fullscreen-upload { visibility: hidden; } - -/** 附件管理 */ -.edit-media button { margin-right: 6px; } - -/* 拖动调整 textarea 大小 */ -.resize { display: block; margin: 2px auto 0; padding: 2px 0; border: 1px solid #D9D9D6; border-width: 1px 0; width: 60px; cursor: row-resize; } - -.resize i { display: block; height: 1px; background-color: #D9D9D6; } - -/* 拖动排序 */ -.tDnD_whileDrag { background-color: #FFFBCC; } - -@media (max-width: 575px) { .typecho-list-operate .search { margin-top: 10px; } - .typecho-table-wrap { padding: 10px; margin: 0 -10px; } - .typecho-option-submit button[type="submit"] { width: 100%; } - .profile-avatar { width: 110px; height: 110px; } } - -/** 导入扩展样式 */ -/** icons */ -.icons-sprite, .icons-icon-delete, .icons-icon-edit, .icons-icon-exlink, .icons-icon-upload-active, .icons-icon-upload, .icons-mime-application, .icons-mime-archive, .icons-mime-audio, .icons-mime-html, .icons-mime-image, .icons-mime-office, .icons-mime-script, .icons-mime-text, .icons-mime-unknow, .icons-mime-video, .i-edit, .i-delete, .i-upload, .i-upload-active, .i-exlink, .mime-office, .mime-text, .mime-image, .mime-html, .mime-archive, .mime-application, .mime-audio, .mime-script, .mime-video, .mime-unknow { background-image: url("../img/icons.png?_=01c3ae1"); background-repeat: no-repeat; } - -.icons-icon-delete { background-position: 0 0; width: 16px; height: 16px; } - -.icons-icon-edit { background-position: 0 -16px; width: 16px; height: 16px; } - -.icons-icon-exlink { background-position: 0 -32px; width: 16px; height: 16px; } - -.icons-icon-upload-active { background-position: 0 -208px; width: 24px; height: 24px; } - -.icons-icon-upload { background-position: 0 -232px; width: 24px; height: 24px; } - -.icons-icon-upload:active, .icons-icon-upload.icon-upload-active { background-position: 0 -208px; } - -.icons-mime-application { background-position: 0 -48px; width: 16px; height: 16px; } - -.icons-mime-archive { background-position: 0 -64px; width: 16px; height: 16px; } - -.icons-mime-audio { background-position: 0 -80px; width: 16px; height: 16px; } - -.icons-mime-html { background-position: 0 -96px; width: 16px; height: 16px; } - -.icons-mime-image { background-position: 0 -112px; width: 16px; height: 16px; } - -.icons-mime-office { background-position: 0 -128px; width: 16px; height: 16px; } - -.icons-mime-script { background-position: 0 -144px; width: 16px; height: 16px; } - -.icons-mime-text { background-position: 0 -160px; width: 16px; height: 16px; } - -.icons-mime-unknow { background-position: 0 -176px; width: 16px; height: 16px; } - -.icons-mime-video { background-position: 0 -192px; width: 16px; height: 16px; } - -@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .icons-sprite, .icons-icon-delete, .icons-icon-edit, .icons-icon-exlink, .icons-icon-upload-active, .icons-icon-upload, .icons-mime-application, .icons-mime-archive, .icons-mime-audio, .icons-mime-html, .icons-mime-image, .icons-mime-office, .icons-mime-script, .icons-mime-text, .icons-mime-unknow, .icons-mime-video, .i-edit, .i-delete, .i-upload, .i-upload-active, .i-exlink, .mime-office, .mime-text, .mime-image, .mime-html, .mime-archive, .mime-application, .mime-audio, .mime-script, .mime-video, .mime-unknow { background-image: url("../img/icons@2x.png?_=e65bc46"); background-repeat: no-repeat; background-size: 24px 256px; } - .icons-icon-delete { background-position: 0 0; } - .icons-icon-edit { background-position: 0 -16px; } - .icons-icon-exlink { background-position: 0 -32px; } - .icons-icon-upload-active { background-position: 0 -208px; } - .icons-icon-upload { background-position: 0 -232px; } - .icons-icon-upload:active, .icons-icon-upload.icon-upload-active { background-position: 0 -208px; } - .icons-mime-application { background-position: 0 -48px; } - .icons-mime-archive { background-position: 0 -64px; } - .icons-mime-audio { background-position: 0 -80px; } - .icons-mime-html { background-position: 0 -96px; } - .icons-mime-image { background-position: 0 -112px; } - .icons-mime-office { background-position: 0 -128px; } - .icons-mime-script { background-position: 0 -144px; } - .icons-mime-text { background-position: 0 -160px; } - .icons-mime-unknow { background-position: 0 -176px; } - .icons-mime-video { background-position: 0 -192px; } - .i-edit { background-position: 0 -16px; } - .i-delete { background-position: 0 0; } - .i-upload { background-position: 0 -232px; } - .i-upload:active, .i-upload.icon-upload-active { background-position: 0 -208px; } - .i-upload-active { background-position: 0 -208px; } - .i-exlink { background-position: 0 -32px; } - .mime-office { background-position: 0 -128px; } - .mime-text { background-position: 0 -160px; } - .mime-image { background-position: 0 -112px; } - .mime-html { background-position: 0 -96px; } - .mime-archive { background-position: 0 -64px; } - .mime-application { background-position: 0 -48px; } - .mime-audio { background-position: 0 -80px; } - .mime-script { background-position: 0 -144px; } - .mime-video { background-position: 0 -192px; } - .mime-unknow { background-position: 0 -176px; } } - -/* @mixin sprite-background($name) { // background-image: sprite-url($sprites); // background-position: sprite-position($sprites, $name); @include icons-sprite($name); // background-repeat: no-repeat; // display: block; // height: image-height(sprite-file($sprites, $name)); // width: image-width(sprite-file($sprites, $name)); @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { @include icons-2x-sprite($name); // Workaround for https://gist.github.com/2140082 //@if (sprite-position($sprites, $name) != sprite-position($sprites-retina, $name)) { // $ypos: round(nth(sprite-position($sprites-retina, $name), 2) / 2); // background-position: 0 $ypos; //} // Hard coded width of the normal sprite image. There must be a smarter way to do this. // @include background-size(auto 256px); // background-image: sprite-url($sprites-retina); } } */ -.i-edit, .i-delete, .i-exlink, .mime-office, .mime-text, .mime-image, .mime-html, .mime-archive, .mime-application, .mime-audio, .mime-script, .mime-video, .mime-unknow, .i-upload, .i-upload-active { display: inline-block; vertical-align: text-bottom; text-indent: -9999em; } - -.i-edit:hover, .i-delete:hover, .i-exlink:hover, .mime-office:hover, .mime-text:hover, .mime-image:hover, .mime-html:hover, .mime-archive:hover, .mime-application:hover, .mime-audio:hover, .mime-script:hover, .mime-video:hover, .mime-unknow:hover, .i-upload:hover, .i-upload-active:hover { opacity: 0.75; } - -.i-edit, .i-delete, .i-exlink, .mime-office, .mime-text, .mime-image, .mime-html, .mime-archive, .mime-application, .mime-audio, .mime-script, .mime-video, .mime-unknow { width: 16px; height: 16px; } - -.i-upload, .i-upload-active { width: 24px; height: 24px; } - -.i-edit { background-position: 0 -16px; } - -.i-delete { background-position: 0 0; } - -.i-upload { background-position: 0 -232px; } - -.i-upload:active, .i-upload.icon-upload-active { background-position: 0 -208px; } - -.i-upload-active { background-position: 0 -208px; } - -.i-caret-up, .i-caret-down, .i-caret-left, .i-caret-right { display: inline-block; border-style: solid; border-color: transparent transparent #BBB transparent; border-width: 3px 4px 5px; } - -.i-caret-down { border-color: #BBB transparent transparent transparent; border-width: 5px 4px 3px; } - -.i-caret-left { border-color: transparent #BBB transparent transparent; border-width: 4px 5px 4px 3px; } - -.i-caret-right { border-color: transparent transparent transparent #BBB; border-width: 4px 3px 4px 5px; } - -.i-exlink { background-position: 0 -32px; } - -/* 文件类型图标 */ -.mime-office { background-position: 0 -128px; } - -.mime-text { background-position: 0 -160px; } - -.mime-image { background-position: 0 -112px; } - -.mime-html { background-position: 0 -96px; } - -.mime-archive { background-position: 0 -64px; } - -.mime-application { background-position: 0 -48px; } - -.mime-audio { background-position: 0 -80px; } - -.mime-script { background-position: 0 -144px; } - -.mime-video { background-position: 0 -192px; } - -.mime-unknow { background-position: 0 -176px; } - -/* Logo 图标 */ -.i-logo, .i-logo-s { width: 169px; height: 40px; display: inline-block; background: url("../img/typecho-logo.svg") no-repeat; text-indent: -9999em; background-size: auto 40px; opacity: .15; } - -.i-logo:hover, .i-logo-s:hover { opacity: .2; } - -.i-logo-s { width: 26px; height: 26px; background-size: auto 26px; } - -/* Editor */ -.editor { margin-bottom: -0.5em; } - -.editor-sprite, .editor-editor-bold, .editor-editor-code, .editor-editor-exit-fullscreen, .editor-editor-fullscreen, .editor-editor-heading, .editor-editor-hr, .editor-editor-image, .editor-editor-italic, .editor-editor-link, .editor-editor-more, .editor-editor-olist, .editor-editor-quote, .editor-editor-redo, .editor-editor-ulist, .editor-editor-undo, .wmd-button-row li#wmd-bold-button span, .wmd-button-row li#wmd-italic-button span, .wmd-button-row li#wmd-link-button span, .wmd-button-row li#wmd-quote-button span, .wmd-button-row li#wmd-code-button span, .wmd-button-row li#wmd-image-button span, .wmd-button-row li#wmd-olist-button span, .wmd-button-row li#wmd-ulist-button span, .wmd-button-row li#wmd-heading-button span, .wmd-button-row li#wmd-hr-button span, .wmd-button-row li#wmd-more-button span, .wmd-button-row li#wmd-undo-button span, .wmd-button-row li#wmd-redo-button span, .wmd-button-row li#wmd-fullscreen-button span, .wmd-button-row li#wmd-exit-fullscreen-button span { background-image: url("../img/editor.png?_=ce98884"); background-repeat: no-repeat; } - -.editor-editor-bold { background-position: 0 0; width: 20px; height: 20px; } - -.editor-editor-code { background-position: 0 -20px; width: 20px; height: 20px; } - -.editor-editor-exit-fullscreen { background-position: 0 -40px; width: 20px; height: 20px; } - -.editor-editor-fullscreen { background-position: 0 -60px; width: 20px; height: 20px; } - -.editor-editor-heading { background-position: 0 -80px; width: 20px; height: 20px; } - -.editor-editor-hr { background-position: 0 -100px; width: 20px; height: 20px; } - -.editor-editor-image { background-position: 0 -120px; width: 20px; height: 20px; } - -.editor-editor-italic { background-position: 0 -140px; width: 20px; height: 20px; } - -.editor-editor-link { background-position: 0 -160px; width: 20px; height: 20px; } - -.editor-editor-more { background-position: 0 -180px; width: 20px; height: 20px; } - -.editor-editor-olist { background-position: 0 -200px; width: 20px; height: 20px; } - -.editor-editor-quote { background-position: 0 -220px; width: 20px; height: 20px; } - -.editor-editor-redo { background-position: 0 -240px; width: 20px; height: 20px; } - -.editor-editor-ulist { background-position: 0 -260px; width: 20px; height: 20px; } - -.editor-editor-undo { background-position: 0 -280px; width: 20px; height: 20px; } - -@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { .editor-sprite, .editor-editor-bold, .editor-editor-code, .editor-editor-exit-fullscreen, .editor-editor-fullscreen, .editor-editor-heading, .editor-editor-hr, .editor-editor-image, .editor-editor-italic, .editor-editor-link, .editor-editor-more, .editor-editor-olist, .editor-editor-quote, .editor-editor-redo, .editor-editor-ulist, .editor-editor-undo, .wmd-button-row li#wmd-bold-button span, .wmd-button-row li#wmd-italic-button span, .wmd-button-row li#wmd-link-button span, .wmd-button-row li#wmd-quote-button span, .wmd-button-row li#wmd-code-button span, .wmd-button-row li#wmd-image-button span, .wmd-button-row li#wmd-olist-button span, .wmd-button-row li#wmd-ulist-button span, .wmd-button-row li#wmd-heading-button span, .wmd-button-row li#wmd-hr-button span, .wmd-button-row li#wmd-more-button span, .wmd-button-row li#wmd-undo-button span, .wmd-button-row li#wmd-redo-button span, .wmd-button-row li#wmd-fullscreen-button span, .wmd-button-row li#wmd-exit-fullscreen-button span { background-image: url("../img/editor@2x.png?_=f3643ed"); background-repeat: no-repeat; background-size: 20px 300px; } - .editor-editor-bold { background-position: 0 0; } - .editor-editor-code { background-position: 0 -20px; } - .editor-editor-exit-fullscreen { background-position: 0 -40px; } - .editor-editor-fullscreen { background-position: 0 -60px; } - .editor-editor-heading { background-position: 0 -80px; } - .editor-editor-hr { background-position: 0 -100px; } - .editor-editor-image { background-position: 0 -120px; } - .editor-editor-italic { background-position: 0 -140px; } - .editor-editor-link { background-position: 0 -160px; } - .editor-editor-more { background-position: 0 -180px; } - .editor-editor-olist { background-position: 0 -200px; } - .editor-editor-quote { background-position: 0 -220px; } - .editor-editor-redo { background-position: 0 -240px; } - .editor-editor-ulist { background-position: 0 -260px; } - .editor-editor-undo { background-position: 0 -280px; } - .wmd-button-row li#wmd-bold-button span { background-position: 0 0; } - .wmd-button-row li#wmd-italic-button span { background-position: 0 -140px; } - .wmd-button-row li#wmd-link-button span { background-position: 0 -160px; } - .wmd-button-row li#wmd-quote-button span { background-position: 0 -220px; } - .wmd-button-row li#wmd-code-button span { background-position: 0 -20px; } - .wmd-button-row li#wmd-image-button span { background-position: 0 -120px; } - .wmd-button-row li#wmd-olist-button span { background-position: 0 -200px; } - .wmd-button-row li#wmd-ulist-button span { background-position: 0 -260px; } - .wmd-button-row li#wmd-heading-button span { background-position: 0 -80px; } - .wmd-button-row li#wmd-hr-button span { background-position: 0 -100px; } - .wmd-button-row li#wmd-more-button span { background-position: 0 -180px; } - .wmd-button-row li#wmd-undo-button span { background-position: 0 -280px; } - .wmd-button-row li#wmd-redo-button span { background-position: 0 -240px; } - .wmd-button-row li#wmd-fullscreen-button span { background-position: 0 -60px; } - .wmd-button-row li#wmd-exit-fullscreen-button span { background-position: 0 -40px; } } - -.wmd-button-row { list-style: none; margin: 0; padding: 0; height: 26px; line-height: 1; } - -.wmd-button-row li { display: inline-block; margin-right: 4px; padding: 3px; cursor: pointer; vertical-align: middle; border-radius: 2px; } - -.wmd-button-row li:hover { background-color: #E9E9E6; } - -.wmd-button-row li.wmd-spacer { height: 20px; margin: 0 10px 0 6px; padding: 0; width: 1px; background: #E9E9E6; cursor: default; } - -.wmd-button-row li span { display: block; width: 20px; height: 20px; } - -.wmd-button-row li#wmd-bold-button span { background-position: 0 0; } - -.wmd-button-row li#wmd-italic-button span { background-position: 0 -140px; } - -.wmd-button-row li#wmd-link-button span { background-position: 0 -160px; } - -.wmd-button-row li#wmd-quote-button span { background-position: 0 -220px; } - -.wmd-button-row li#wmd-code-button span { background-position: 0 -20px; } - -.wmd-button-row li#wmd-image-button span { background-position: 0 -120px; } - -.wmd-button-row li#wmd-olist-button span { background-position: 0 -200px; } - -.wmd-button-row li#wmd-ulist-button span { background-position: 0 -260px; } - -.wmd-button-row li#wmd-heading-button span { background-position: 0 -80px; } - -.wmd-button-row li#wmd-hr-button span { background-position: 0 -100px; } - -.wmd-button-row li#wmd-more-button span { background-position: 0 -180px; } - -.wmd-button-row li#wmd-undo-button span { background-position: 0 -280px; } - -.wmd-button-row li#wmd-redo-button span { background-position: 0 -240px; } - -.wmd-button-row li#wmd-fullscreen-button span { background-position: 0 -60px; } - -.wmd-button-row li#wmd-exit-fullscreen-button span { background-position: 0 -40px; } - -#btn-cancel-preview { display: none; } - -.wmd-edittab { float: right; margin-top: 3px; font-size: .92857em; } - -.wmd-edittab a { display: inline-block; padding: 0 8px; margin-left: 5px; height: 20px; line-height: 20px; } - -.wmd-edittab a:hover { text-decoration: none; } - -.wmd-edittab a.active { background: #E9E9E6; color: #999; } - -.wmd-hidetab { display: none; } - -.wmd-visualhide { visibility: hidden; } - -/* 对话框 */ -.wmd-prompt-background { background-color: #000; } - -.wmd-prompt-dialog { position: fixed; z-index: 1001; top: 50%; left: 50%; margin-top: -95px; margin-left: -200px; padding: 20px; width: 360px; background: #F6F6F3; } - -.wmd-prompt-dialog p { margin: 0 0 5px; } - -.wmd-prompt-dialog form { margin-top: 10px; } - -.wmd-prompt-dialog input[type="text"] { margin-bottom: 10px; width: 100%; } - -.wmd-prompt-dialog button { margin-right: 10px; } - -/* 预览 */ -#wmd-preview { background: #FFF; margin: 1em 0; padding: 0 15px; word-wrap: break-word; overflow: auto; border-radius: 2px; } - -#wmd-preview img { max-width: 100%; } - -#wmd-preview code, #wmd-preview pre { padding: 2px 4px; background: #DDD; font-size: 14px; } - -#wmd-preview code { color: #C13; } - -#wmd-preview pre { padding: 1em; } - -#wmd-preview pre code { padding: 0; color: #444; } - -#wmd-preview blockquote { margin: 1em 1.5em; padding-left: 1.5em; border-left: 4px solid #E9E9E6; color: #777; } - -#wmd-preview hr { margin: 2em auto; width: 100px; border: 1px solid #E9E9E6; border-width: 2px 0 0 0; } - -#wmd-preview .summary:after { display: block; margin: 2em 0; background: #FFF9E8; color: #cf9900; font-size: .85714em; text-align: center; content: "- more -"; } - -#wmd-preview .embed { border: 1px solid #ccc; height: 40px; overflow: hidden; line-height: 40px; text-align: center; font-size: 12px; color: #777; } - -#wmd-preview table { width: 100%; } - -#wmd-preview table th, #wmd-preview table td { border: 1px solid #DDD; padding: 5px 8px; word-break: break-all; } - -#wmd-preview table th { background: #EEE; } - -#wmd-preview span.line { display: inline; height: 1px; line-height: 1px; position: absolute; } - -#wmd-preview .focus, #wmd-preview .focus * { background-color: rgba(255, 230, 0, 0.5) !important; } - -/* 上传面板动画效果 */ -@keyframes fullscreen-upload { 0% { opacity: 0; } - 100% { opacity: 1; } } - -/* 编辑器全屏 */ -.fullscreen #wmd-button-bar, .fullscreen #text, .fullscreen #wmd-preview, .fullscreen .submit { position: absolute; top: 0; width: 50%; background: #FFF; z-index: 999; box-sizing: border-box; border-radius: 0; } - -.fullscreen #wmd-button-bar { left: 0; padding: 13px 20px; border-bottom: 1px solid #F3F3F0; z-index: 1000; } - -.fullscreen #text { top: 53px; left: 0; padding: 20px; border: none; outline: none; } - -.fullscreen #wmd-preview { top: 53px; right: 0; margin: 0; padding: 5px 20px; border: none; border-left: 1px solid #F3F3F0; background: #F6F6F3; overflow: auto; } - -.fullscreen .submit { right: 0; margin: 0; padding: 10px 20px; border-bottom: 1px solid #F3F3F0; } - -.fullscreen #upload-panel { -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.225); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.225); border-style: solid; } - -.fullscreen #tab-files { position: absolute; top: 52px; right: 0; width: 280px; z-index: 1001; animation: fullscreen-upload 0.5s; } - -.fullscreen .wmd-edittab, .fullscreen .typecho-post-option, .fullscreen .title, .fullscreen .url-slug, .fullscreen .typecho-page-title, .fullscreen .typecho-head-nav, .fullscreen .message { display: none; } - -.fullscreen .wmd-hidetab { display: block; } - -.fullscreen .wmd-visualhide, .fullscreen #btn-fullscreen-upload { visibility: visible; } - -.preview .submit { width: 100%; background: #FFFFDD; } - -.preview #wmd-button-bar, .preview #wmd-preview, .preview #text, .preview #upload-panel, .preview #tab-files, .preview #btn-preview, .preview #btn-fullscreen-upload, .preview #auto-save-message { display: none; } - -.preview .preview-frame { width: 100%; border: 0; padding: 0; margin: 0; background: #fff; z-index: 999; position: absolute; top: 53px; left: 0; } - -.preview .preview-loading { background-image: url(../img/ajax-loader.gif); background-position: center; background-repeat: no-repeat; } - -.preview #btn-cancel-preview { display: inline-block; } - -@media (max-width: 575px) { #wmd-spacer2, #wmd-olist-button, #wmd-ulist-button, #wmd-heading-button, #wmd-hr-button, #wmd-more-button, #wmd-spacer3, #wmd-undo-button, #wmd-redo-button, #wmd-spacer4, #wmd-fullscreen-button, #wmd-exit-fullscreen-button, #btn-fullscreen-upload { display: none; } } - -/** Jquery Timepicker */ -#ui-datepicker-div { display: none; margin-top: -1px; padding: 10px; border: 1px solid #D9D9D6; background: #FFF; } - -.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; } - -.ui-timepicker-div dl { text-align: left; } - -.ui-timepicker-div dl dt { float: left; clear: left; } - -.ui-timepicker-div dl dd { margin: 0 0 10px 40%; } - -.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; } - -#ui-datepicker-div .ui-datepicker-header { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #EEE; } - -#ui-datepicker-div .ui-datepicker-prev { float: left; cursor: pointer; } - -#ui-datepicker-div .ui-datepicker-next { float: right; cursor: pointer; } - -#ui-datepicker-div .ui-datepicker-title { font-weight: bold; text-align: center; } - -#ui-datepicker-div .ui-datepicker-calendar th { line-height: 24px; } - -#ui-datepicker-div .ui-datepicker-calendar a { display: block; width: 30px; background-color: #F3F3F0; line-height: 24px; text-align: center; } - -#ui-datepicker-div .ui-datepicker-calendar a:hover { background-color: #E9E9E6; text-decoration: none; } - -#ui-datepicker-div .ui-datepicker-today a { background-color: #E9E9E6; color: #444; } - -#ui-datepicker-div .ui-datepicker-current-day a { background-color: #467B96 !important; color: #FFF; } - -#ui-datepicker-div .ui-timepicker-div { margin-top: 20px; border-top: 1px solid #EEE; } - -#ui-datepicker-div .ui-slider { position: relative; margin-top: 18px; border: 1px solid #E9E9E6; background-color: #F6F6F3; height: 4px; } - -#ui-datepicker-div .ui-slider .ui-slider-handle { position: absolute; top: -7px; margin-left: -5px; z-index: 2; width: 10px; height: 16px; background-color: #467B96; } - -#ui-datepicker-div .ui-datepicker-buttonpane { padding-top: 10px; border-top: 1px solid #EEE; } - -#ui-datepicker-div .ui-datepicker-current, #ui-datepicker-div .ui-datepicker-close { float: left; } - -#ui-datepicker-div .ui-datepicker-close { float: right; } - -.ui-effects-transfer { border: 2px dotted #ccc; } - -/** Jquery Tokeninput */ -ul.token-input-list { list-style: none; margin: 0; padding: 0 4px; min-height: 32px; border: 1px solid #D9D9D6; cursor: text; z-index: 999; background-color: #FFF; clear: left; border-radius: 2px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } - -ul.token-input-list li { margin: 4px 0; } - -ul.token-input-list li input { padding: 0; border: 0; width: 100%; -webkit-appearance: caret; } - -li.token-input-token { padding: 0 6px; height: 27px; line-height: 27px; background-color: #F3F3F0; cursor: default; font-size: .92857em; text-align: right; white-space: nowrap; } - -li.token-input-token p { float: left; display: inline; margin: 0; } - -li.token-input-token span { color: #BBB; font-weight: bold; cursor: pointer; } - -li.token-input-selected-token { background-color: #E9E9E6; } - -li.token-input-input-token { padding: 0 4px; } - -div.token-input-dropdown { position: absolute; background-color: #FFF; overflow: hidden; border: 1px solid #D9D9D6; border-top-width: 0; cursor: default; z-index: 1; font-size: .92857em; } - -div.token-input-dropdown p { margin: 0; padding: 5px 10px; color: #777; font-weight: bold; } - -div.token-input-dropdown ul { list-style: none; margin: 0; padding: 0; } - -div.token-input-dropdown ul li { padding: 4px 10px; background-color: #FFF; } - -div.token-input-dropdown ul li.token-input-dropdown-item { background-color: #FFF; } - -div.token-input-dropdown ul li em { font-style: normal; } - -div.token-input-dropdown ul li.token-input-selected-dropdown-item { background-color: #467B96; color: #FFF; } - -/* Hide from both screenreaders and browsers: h5bp.com/u */ -.hidden { display: none; } - -/* Hide only visually, but have it available for screenreaders: h5bp.com/v */ -.sr-only { border: 0; height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } - -/* Extends the .sr-only class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */ -.sr-only.focusable:active, .sr-only.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; } - -/* Hide visually and from screenreaders, but maintain layout */ -.invisible { visibility: hidden; } +html{height:100%}body{font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;background:#F6F6F3;color:#444;font-size:87.5%;line-height:1.5}a{color:#467B96;text-decoration:none}a:hover{color:#499BC3;text-decoration:underline}code,pre,.mono{font-family:Menlo, Monaco, Consolas, "Courier New", monospace}.p{margin:1em 0}.body-100{height:100%}a.balloon-button{display:inline-block;padding:0 6px;min-width:12px;height:18px;line-height:18px;background:#D8E7EE;font-size:.85714em;text-align:center;text-decoration:none;zoom:1;border-radius:30px;white-space:nowrap}a.button:hover,a.balloon-button:hover{background-color:#A5CADC;color:#FFF;text-decoration:none}input[type=text],input[type=url],input[type=password],input[type=email],textarea{background:#FFF;border:1px solid #D9D9D6;padding:7px;border-radius:2px;box-sizing:border-box}input[type=text]:disabled,input[type=text]:read-only,input[type=url]:disabled,input[type=url]:read-only,input[type=password]:disabled,input[type=password]:read-only,input[type=email]:disabled,input[type=email]:read-only,textarea:disabled,textarea:read-only{background:#F3F3F3}textarea{resize:vertical;line-height:1.5}input[type="radio"],input[type="checkbox"]{margin-right:3px}input[type="radio"],input[type="checkbox"],input[type="radio"]+label,input[type="checkbox"]+label{vertical-align:middle}input.text-s,textarea.text-s{padding:5px}input.text-l,textarea.text-l{padding:10px;font-size:1.14286em}.w-10{width:10%}.w-20{width:20%}.w-30{width:30%}.w-40{width:40%}.w-50{width:50%}.w-60{width:60%}.w-70{width:70%}.w-80{width:80%}.w-90{width:90%}.w-100{width:100%}select{border:1px solid #CCC;height:28px}.btn,#ui-datepicker-div .ui-datepicker-current,#ui-datepicker-div .ui-datepicker-close{border:none;background-color:#E9E9E6;cursor:pointer;border-radius:2px;display:inline-block;padding:0 12px;height:32px;color:#666;vertical-align:middle;zoom:1}.btn:hover,#ui-datepicker-div .ui-datepicker-current:hover,#ui-datepicker-div .ui-datepicker-close:hover{transition-duration:.4s;background-color:#dbdbd6}.btn:active,#ui-datepicker-div .ui-datepicker-current:active,#ui-datepicker-div .ui-datepicker-close:active,.btn.active,#ui-datepicker-div .active.ui-datepicker-current,#ui-datepicker-div .active.ui-datepicker-close{background-color:#d6d6d0}.btn:disabled,#ui-datepicker-div .ui-datepicker-current:disabled,#ui-datepicker-div .ui-datepicker-close:disabled{background-color:#f7f7f6;cursor:default}.btn:disabled,#ui-datepicker-div .ui-datepicker-current:disabled,#ui-datepicker-div .ui-datepicker-close:disabled{color:#999}.btn-xs,#ui-datepicker-div .ui-datepicker-current,#ui-datepicker-div .ui-datepicker-close{padding:0 10px;height:25px;font-size:13px}.btn-s{height:28px}.btn-l{height:40px;font-size:1.14286em;font-weight:bold}.primary{border:none;background-color:#467B96;cursor:pointer;border-radius:2px;color:#FFF}.primary:hover{transition-duration:.4s;background-color:#3c6a81}.primary:active,.primary.active{background-color:#39647a}.primary:disabled{background-color:#508cab;cursor:default}.btn-group{display:inline-block}.btn-warn{border:none;background-color:#B94A48;cursor:pointer;border-radius:2px;color:#FFF}.btn-warn:hover{transition-duration:.4s;background-color:#a4403f}.btn-warn:active,.btn-warn.active{background-color:#9c3e3c}.btn-warn:disabled{background-color:#c1605e;cursor:default}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active,.btn-link.active{background-color:transparent}.btn-drop{position:relative}.dropdown-toggle{padding-right:8px}.dropdown-menu{list-style:none;position:absolute;z-index:2;left:0;margin:0;padding:0;border:1px solid #D9D9D6;background:#FFF;text-align:left;min-width:108px;display:none}.dropdown-menu li{white-space:nowrap}.dropdown-menu li.multiline{padding:5px 12px 12px}.dropdown-menu a{display:block;padding:5px 12px;color:#666}.dropdown-menu a:hover{background:#F6F6F3;text-decoration:none !important}.message{padding:8px 10px;border-radius:2px}.message a{font-weight:bold;text-decoration:underline}.error{background:#FBE3E4;color:#8A1F11}.error a{color:#8A1F11}.notice{background:#FFF6BF;color:#8A6D3B}.notice a{color:#8A6D3B}.success{background:#E6EFC2;color:#264409}.success a{color:#264409}.balloon{display:inline-block;padding:0 4px;min-width:10px;height:14px;line-height:14px;background:#B9B9B6;vertical-align:text-top;text-align:center;font-size:12px;color:#FFF;border-radius:20px}.typecho-pager{list-style:none;float:right;margin:0;padding:0;line-height:1;text-align:center;zoom:1}.typecho-pager li{display:inline-block;margin:0 3px;height:28px;line-height:28px}.typecho-pager a{display:block;padding:0 10px;border-radius:2px}.typecho-pager a:hover{text-decoration:none;background:#E9E9E6}.typecho-pager li.current a{background:#E9E9E6;color:#444}.typecho-head-nav{padding:0 10px;background:#292D33;position:relative}.typecho-head-nav a,.typecho-head-nav button.menu-bar{padding:0 20px;height:36px;line-height:36px;color:#BBB}.typecho-head-nav a:focus,.typecho-head-nav a:hover,.typecho-head-nav button.menu-bar:focus,.typecho-head-nav button.menu-bar:hover{color:#fff;text-decoration:none}.typecho-head-nav button.menu-bar{display:none}.typecho-head-nav #typecho-nav-list{float:left}.typecho-head-nav #typecho-nav-list>ul{list-style:none;margin:0;padding:0;position:relative;float:left}.typecho-head-nav #typecho-nav-list>ul:first-child{border-left:1px solid #383D45}.typecho-head-nav #typecho-nav-list>ul .parent a{display:inline-block;border-right:1px solid #383D45;background:#292D33}.typecho-head-nav #typecho-nav-list>ul .child{position:absolute;list-style:none;top:36px;display:none;margin:0;padding:0;min-width:160px;max-width:240px;background:#202328;z-index:250}.typecho-head-nav #typecho-nav-list>ul .child li.return{display:none}.typecho-head-nav #typecho-nav-list>ul .child li a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.typecho-head-nav #typecho-nav-list>ul .child li a:hover,.typecho-head-nav #typecho-nav-list>ul .child li a:focus{background:#292D33}.typecho-head-nav #typecho-nav-list>ul .child li.focus a{color:#6DA1BB;font-weight:bold}.typecho-head-nav #typecho-nav-list>ul .parent a:hover,.typecho-head-nav #typecho-nav-list>ul.focus .parent a,.typecho-head-nav #typecho-nav-list>ul.root:hover .parent a{background:#202328}.typecho-head-nav #typecho-nav-list>ul.focus .parent a{font-weight:bold}.typecho-head-nav #typecho-nav-list>ul.root:hover .child,.typecho-head-nav #typecho-nav-list>ul.root.expanded .child{display:block}.typecho-head-nav .operate{float:right}.typecho-head-nav .operate a{display:inline-block;margin-left:-1px;border:1px solid #383D45;border-width:0 1px}.typecho-head-nav .operate a:hover{background-color:#202328}@media (max-width: 575px){@keyframes out{from{left:0%}to{left:-100%}}@keyframes in{from{left:-100%}to{left:0%}}.typecho-head-nav{padding:0;position:fixed;bottom:0;width:100%;z-index:10}.typecho-head-nav #typecho-nav-list{display:none}.typecho-head-nav .operate a:last-child{border-right-width:0}.typecho-head-nav button.menu-bar{display:inline-block;border:none;background:#292D33;border-right:1px solid #383D45}.typecho-head-nav button.menu-bar.focus{color:#fff}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list{display:block;float:none;position:absolute;bottom:36px;width:100%}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul{float:none;border-bottom:1px solid #383D45;position:static}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul:first-child{border-left:none}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul .parent a{display:block;border:none;background:#202328}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul .child{position:absolute;bottom:0;left:100%;top:auto;z-index:20;width:100%;max-width:100%;min-width:auto}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul .child li{border-bottom:1px solid #383D45}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul .child li.return{display:block;text-align:center;font-size:12px}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list>ul .child li.return a{color:#777}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list.expanded{animation:out .15s ease-out forwards}.typecho-head-nav button.menu-bar.focus+#typecho-nav-list.noexpanded{animation:in .15s ease-out forwards}}.typecho-foot{padding:4em 0 3em;color:#999;line-height:1.8;text-align:center}.typecho-foot .copyright p{margin:10px 0 0}.typecho-foot .resource{color:#CCC}.typecho-foot .resource a{margin:0 3px;color:#999}.popup{display:none;position:absolute;top:0;left:0;margin:0;padding:8px 0;border:none;width:100%;z-index:10;text-align:center;border-radius:0}.popup ul{list-style:none;margin:0;padding:0;text-align:center}.popup ul li{display:inline-block;margin-right:10px}.loading{padding-left:20px !important;background:transparent url(../img/ajax-loader.gif) no-repeat left center}.typecho-option{list-style:none;margin:1em 0;padding:0}.typecho-option-submit li{border-bottom:none}.typecho-option label.typecho-label{display:block;margin-bottom:.5em;font-weight:bold}.typecho-option label.required:after{content:" *";color:#B94A48}.typecho-option span{margin-right:15px}.typecho-option .description{margin:.5em 0 0;color:#999;font-size:.92857em}.typecho-option input.file{width:100%;margin:.7em 0}.front-archive{padding-left:1.5em}.profile-avatar{width:220px;height:220px;border-radius:10px}#typecho-welcome{margin:1em 0;padding:1em 2em;background-color:#E9E9E6}.welcome-board{color:#999;font-size:1.15em}.welcome-board em{color:#444;font-size:2em;font-style:normal;font-family:Georgia, serif}#start-link{margin-bottom:25px;padding:0 0 35px;border-bottom:1px solid #ECECEC}#start-link li{float:left;margin-right:1.5em}#start-link .balloon{margin-top:2px}.latest-link li{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.latest-link span{display:inline-block;margin-right:4px;padding-right:8px;border-right:1px solid #ECECEC;width:37px;text-align:right;color:#999}.update-check{font-size:14px}.typecho-login-wrap{display:table;margin:0 auto;height:100%}.typecho-login{display:table-cell;padding:30px 0 100px;width:280px;text-align:center;vertical-align:middle}.typecho-login h1{margin:0 0 1em}.typecho-login .more-link{margin-top:2em;color:#CCC}.typecho-login .more-link a{margin:0 3px}.typecho-page-title h2{margin:25px 0 10px;font-size:1.28571em}.typecho-page-title h2 a{margin-left:10px;padding:3px 8px;background:#E9E9E6;font-size:.8em;border-radius:2px}.typecho-page-title h2 a:hover{text-decoration:none}.typecho-dashboard ul{list-style:none;padding:0}.typecho-dashboard li{margin-bottom:5px}.typecho-option-tabs{list-style:none;margin:1em 0 0;padding:0;font-size:13px;text-align:center}.typecho-option-tabs.fix-tabs{margin-bottom:1em}.typecho-option-tabs a{display:block;margin-right:-1px;border:1px solid #D9D9D6;padding:0 15px;height:26px;line-height:26px;color:#666;box-sizing:border-box}.typecho-option-tabs a:hover{background-color:#E9E9E6;color:#666;text-decoration:none}.typecho-option-tabs li{float:left}.typecho-option-tabs li:first-child a{border-radius:2px 0 0 2px}.typecho-option-tabs li:last-child a{border-radius:0 2px 2px 0}.typecho-option-tabs.right{float:right}.typecho-option-tabs li.current a,.typecho-option-tabs li.active a{background-color:#E9E9E6}.typecho-list-operate{margin:1em 0}.typecho-list-operate input,.typecho-list-operate button,.typecho-list-operate select{vertical-align:bottom}.typecho-list-operate input[type="checkbox"]{vertical-align:text-top}@media (min-width: 576px){.typecho-list-operate .operate{float:left}.typecho-list-operate .search{float:right}}.typecho-list-operate span.operate-delete,a.operate-delete,.typecho-list-operate span.operate-button-delete,a.operate-button-delete{color:#B94A48}a.operate-edit{color:#007700}a.operate-reply{color:#545c30}.typecho-list-operate a:hover{text-decoration:none}.typecho-list-table-title{margin:1em 0;color:#999;text-align:center}.typecho-table-wrap{padding:30px;background:#FFF}.typecho-list-table{width:100%;border-collapse:collapse;table-layout:fixed}.typecho-list-table.deactivate{color:#999}.typecho-list-table .right{text-align:right}.typecho-list-table th{padding:0 10px 10px;border-bottom:2px solid #F0F0EC;text-align:left}.typecho-list-table td{padding:10px;border-top:1px solid #F0F0EC;word-break:break-all}.typecho-list-table td pre{overflow:auto}.typecho-list-table .status{margin-left:5px;color:#999;font-size:.92857em;font-style:normal}.typecho-list-table tbody tr:hover td{background-color:#F6F6F3}.typecho-list-table tbody tr.checked td{background-color:#FFF9E8}.typecho-list-table tr td .hidden-by-mouse{opacity:0}.typecho-list-table tr:hover td .hidden-by-mouse{opacity:1}.warning{color:#B94A48}.comment-reply-content{position:relative;margin:1em 0;padding:0 1em;border:1px solid transparent;background-color:#F0F0EC}.comment-reply-content:after{position:absolute;right:1em;border:8px solid #F0F0EC;border-color:#F0F0EC #F0F0EC transparent transparent;content:" "}.comment-meta span,.comment-date{font-size:.92857em;color:#999}.comment-action a,.comment-action span{margin-right:4px}.comment-edit label{display:block}.comment-content img{max-width:100%}@media (max-width: 575px){.comment-edit{display:flex;flex-direction:column;width:90vw}.comment-edit td:first-child{display:none}}#typecho-respond{padding:10px;display:none}.typecho-theme-list img{margin:1em 0;max-width:100%;max-height:240px}.typecho-theme-list cite{font-style:normal;color:#999}.typecho-theme-list tbody tr.current td{background-color:#FFF9E8}.typecho-page-main .typecho-option input.text{width:100%}.typecho-page-main .typecho-option input.num{width:40px}.typecho-page-main .typecho-option textarea{width:100%;height:100px}.typecho-page-main .typecho-option .multiline{display:block;margin:.3em 0}.typecho-page-main .typecho-option .multiline.hidden{display:none}.typecho-select-theme{height:25px;line-height:25px;margin:15px 0px}.typecho-select-theme h5{color:#E47E00;font-weight:bold;float:left;font-size:14px;width:120px;margin-right:10px}.typecho-select-theme select{width:150px}.typecho-edit-theme ul{list-style:none;margin:0;padding:0}.typecho-edit-theme li{padding:3px 10px}.typecho-edit-theme .current{background-color:#E6E6E3}.typecho-edit-theme .current a{color:#444}.typecho-edit-theme textarea{font-size:.92857em;line-height:1.2;height:500px}.typecho-post-area .edit-draft-notice{color:#999;font-size:.92857em}.typecho-post-area .edit-draft-notice a{color:#B94A48}.typecho-post-area .typecho-label{display:block;margin:1em 0 -0.5em;font-weight:bold}.typecho-post-area #auto-save-message{display:block;margin-top:0.5em;color:#999;font-size:.92857em}.typecho-post-area .submit .right button{margin-left:5px}.typecho-post-area .right{float:right}.typecho-post-area .left{float:left}.typecho-post-area .out-date{border:1px solid #D3DBB3;padding:3px;background:#fff}.typecho-post-area input.title{font-size:1.17em;font-weight:bold}.typecho-post-area .url-slug{margin-top:-0.5em;color:#AAA;font-size:.92857em;word-break:break-word}.typecho-post-area #slug{padding:2px;border:none;background:#FFFBCC;color:#666}.typecho-post-area #text{resize:none}#advance-panel{display:none}#custom-field{margin:1em 0;padding:10px 15px;background:#FFF}#custom-field.fold table,#custom-field.fold .description{display:none}#custom-field .description{margin-top:10px;text-align:right}#custom-field .description button{float:left}#custom-field p.description{text-align:left}#custom-field .typecho-label{margin:0}#custom-field .typecho-label a{display:block;color:#444}#custom-field .typecho-label a:hover{color:#467B96;text-decoration:none}#custom-field table{margin-top:10px}#custom-field td{padding:10px 5px;font-size:.92857em;border-bottom:1px solid #F0F0EC;vertical-align:top}#custom-field td label{font-size:1em;font-weight:normal}#custom-field select{height:27px}.typecho-post-area .is-draft{background:#FFF1A8}.typecho-post-option .description{margin-top:-0.5em;color:#999;font-size:.92857em}.category-option ul{list-style:none;border:1px solid #D9D9D6;padding:6px 12px;max-height:240px;overflow:auto;background-color:#FFF;border-radius:2px}.category-option li{margin:3px 0}.visibility-option ul,.allow-option ul{list-style:none;padding:0}.typecho-page-main ul.tag-list{list-style:none;margin:0;padding:20px;background-color:#FFF}.typecho-page-main ul.tag-list li{display:inline-block;margin:0 0 5px 0;padding:5px 5px 5px 10px;cursor:pointer}.typecho-page-main ul.tag-list li:hover{background-color:#E9E9E6}.typecho-page-main ul.tag-list li input{display:none}.typecho-page-main ul.tag-list li.checked{background-color:#FFFBCC}.typecho-page-main ul.tag-list li.size-5{font-size:1em}.typecho-page-main ul.tag-list li.size-10{font-size:1.2em}.typecho-page-main ul.tag-list li.size-20{font-size:1.4em}.typecho-page-main ul.tag-list li.size-30{font-size:1.6em}.typecho-page-main ul.tag-list li.size-0{font-size:1.8em}.typecho-page-main .tag-edit-link{visibility:hidden}.typecho-page-main li:hover .tag-edit-link{visibility:visible}.typecho-attachment-photo{border:1px solid #E6E6E3;max-width:100%}#upload-panel{border:1px dashed #D9D9D6;background-color:#FFF;color:#999;font-size:.92857em}#upload-panel.drag{background-color:#FFFBCC}.upload-area{padding:15px;text-align:center}#file-list{list-style:none;margin:0 10px;padding:0;max-height:450px;overflow:auto;word-break:break-all}#file-list li,#file-list .insert{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#file-list li{padding:8px 0;border-top:1px dashed #D9D9D6}#file-list .insert{display:block;max-width:100%}#file-list .file{margin-left:5px}#file-list .info{text-transform:uppercase}#btn-fullscreen-upload{visibility:hidden}.edit-media button{margin-right:6px}.resize{display:block;margin:2px auto 0;padding:2px 0;border:1px solid #D9D9D6;border-width:1px 0;width:60px;cursor:row-resize}.resize i{display:block;height:1px;background-color:#D9D9D6}.tDnD_whileDrag{background-color:#FFFBCC}@media (max-width: 575px){.typecho-list-operate .search{margin-top:10px}.typecho-table-wrap{padding:10px;margin:0 -10px}.typecho-option-submit button[type="submit"]{width:100%}.profile-avatar{width:110px;height:110px}}.icons-sprite,.icons-icon-delete,.icons-icon-edit,.icons-icon-exlink,.icons-icon-upload-active,.icons-icon-upload,.icons-mime-application,.icons-mime-archive,.icons-mime-audio,.icons-mime-html,.icons-mime-image,.icons-mime-office,.icons-mime-script,.icons-mime-text,.icons-mime-unknow,.icons-mime-video,.i-edit,.i-delete,.i-upload,.i-upload-active,.i-exlink,.mime-office,.mime-text,.mime-image,.mime-html,.mime-archive,.mime-application,.mime-audio,.mime-script,.mime-video,.mime-unknow{background-image:url("../img/icons.png?_=01c3ae1");background-repeat:no-repeat}.icons-icon-delete{background-position:0 0;width:16px;height:16px}.icons-icon-edit{background-position:0 -16px;width:16px;height:16px}.icons-icon-exlink{background-position:0 -32px;width:16px;height:16px}.icons-icon-upload-active{background-position:0 -208px;width:24px;height:24px}.icons-icon-upload{background-position:0 -232px;width:24px;height:24px}.icons-icon-upload:active,.icons-icon-upload.icon-upload-active{background-position:0 -208px}.icons-mime-application{background-position:0 -48px;width:16px;height:16px}.icons-mime-archive{background-position:0 -64px;width:16px;height:16px}.icons-mime-audio{background-position:0 -80px;width:16px;height:16px}.icons-mime-html{background-position:0 -96px;width:16px;height:16px}.icons-mime-image{background-position:0 -112px;width:16px;height:16px}.icons-mime-office{background-position:0 -128px;width:16px;height:16px}.icons-mime-script{background-position:0 -144px;width:16px;height:16px}.icons-mime-text{background-position:0 -160px;width:16px;height:16px}.icons-mime-unknow{background-position:0 -176px;width:16px;height:16px}.icons-mime-video{background-position:0 -192px;width:16px;height:16px}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.icons-sprite,.icons-icon-delete,.icons-icon-edit,.icons-icon-exlink,.icons-icon-upload-active,.icons-icon-upload,.icons-mime-application,.icons-mime-archive,.icons-mime-audio,.icons-mime-html,.icons-mime-image,.icons-mime-office,.icons-mime-script,.icons-mime-text,.icons-mime-unknow,.icons-mime-video,.i-edit,.i-delete,.i-upload,.i-upload-active,.i-exlink,.mime-office,.mime-text,.mime-image,.mime-html,.mime-archive,.mime-application,.mime-audio,.mime-script,.mime-video,.mime-unknow{background-image:url("../img/icons@2x.png?_=e65bc46");background-repeat:no-repeat;background-size:24px 256px}.icons-icon-delete{background-position:0 0}.icons-icon-edit{background-position:0 -16px}.icons-icon-exlink{background-position:0 -32px}.icons-icon-upload-active{background-position:0 -208px}.icons-icon-upload{background-position:0 -232px}.icons-icon-upload:active,.icons-icon-upload.icon-upload-active{background-position:0 -208px}.icons-mime-application{background-position:0 -48px}.icons-mime-archive{background-position:0 -64px}.icons-mime-audio{background-position:0 -80px}.icons-mime-html{background-position:0 -96px}.icons-mime-image{background-position:0 -112px}.icons-mime-office{background-position:0 -128px}.icons-mime-script{background-position:0 -144px}.icons-mime-text{background-position:0 -160px}.icons-mime-unknow{background-position:0 -176px}.icons-mime-video{background-position:0 -192px}.i-edit{background-position:0 -16px}.i-delete{background-position:0 0}.i-upload{background-position:0 -232px}.i-upload:active,.i-upload.icon-upload-active{background-position:0 -208px}.i-upload-active{background-position:0 -208px}.i-exlink{background-position:0 -32px}.mime-office{background-position:0 -128px}.mime-text{background-position:0 -160px}.mime-image{background-position:0 -112px}.mime-html{background-position:0 -96px}.mime-archive{background-position:0 -64px}.mime-application{background-position:0 -48px}.mime-audio{background-position:0 -80px}.mime-script{background-position:0 -144px}.mime-video{background-position:0 -192px}.mime-unknow{background-position:0 -176px}}.i-edit,.i-delete,.i-exlink,.mime-office,.mime-text,.mime-image,.mime-html,.mime-archive,.mime-application,.mime-audio,.mime-script,.mime-video,.mime-unknow,.i-upload,.i-upload-active{display:inline-block;vertical-align:text-bottom;text-indent:-9999em}.i-edit:hover,.i-delete:hover,.i-exlink:hover,.mime-office:hover,.mime-text:hover,.mime-image:hover,.mime-html:hover,.mime-archive:hover,.mime-application:hover,.mime-audio:hover,.mime-script:hover,.mime-video:hover,.mime-unknow:hover,.i-upload:hover,.i-upload-active:hover{opacity:0.75}.i-edit,.i-delete,.i-exlink,.mime-office,.mime-text,.mime-image,.mime-html,.mime-archive,.mime-application,.mime-audio,.mime-script,.mime-video,.mime-unknow{width:16px;height:16px}.i-upload,.i-upload-active{width:24px;height:24px}.i-edit{background-position:0 -16px}.i-delete{background-position:0 0}.i-upload{background-position:0 -232px}.i-upload:active,.i-upload.icon-upload-active{background-position:0 -208px}.i-upload-active{background-position:0 -208px}.i-caret-up,.i-caret-down,.i-caret-left,.i-caret-right{display:inline-block;border-style:solid;border-color:transparent transparent #BBB transparent;border-width:3px 4px 5px}.i-caret-down{border-color:#BBB transparent transparent transparent;border-width:5px 4px 3px}.i-caret-left{border-color:transparent #BBB transparent transparent;border-width:4px 5px 4px 3px}.i-caret-right{border-color:transparent transparent transparent #BBB;border-width:4px 3px 4px 5px}.i-exlink{background-position:0 -32px}.mime-office{background-position:0 -128px}.mime-text{background-position:0 -160px}.mime-image{background-position:0 -112px}.mime-html{background-position:0 -96px}.mime-archive{background-position:0 -64px}.mime-application{background-position:0 -48px}.mime-audio{background-position:0 -80px}.mime-script{background-position:0 -144px}.mime-video{background-position:0 -192px}.mime-unknow{background-position:0 -176px}.i-logo,.i-logo-s{width:169px;height:40px;display:inline-block;background:url("../img/typecho-logo.svg") no-repeat;text-indent:-9999em;background-size:auto 40px;opacity:.15}.i-logo:hover,.i-logo-s:hover{opacity:.2}.i-logo-s{width:26px;height:26px;background-size:auto 26px}.editor{margin-bottom:-0.5em}.editor-sprite,.editor-editor-bold,.editor-editor-code,.editor-editor-exit-fullscreen,.editor-editor-fullscreen,.editor-editor-heading,.editor-editor-hr,.editor-editor-image,.editor-editor-italic,.editor-editor-link,.editor-editor-more,.editor-editor-olist,.editor-editor-quote,.editor-editor-redo,.editor-editor-ulist,.editor-editor-undo,.wmd-button-row li#wmd-bold-button span,.wmd-button-row li#wmd-italic-button span,.wmd-button-row li#wmd-link-button span,.wmd-button-row li#wmd-quote-button span,.wmd-button-row li#wmd-code-button span,.wmd-button-row li#wmd-image-button span,.wmd-button-row li#wmd-olist-button span,.wmd-button-row li#wmd-ulist-button span,.wmd-button-row li#wmd-heading-button span,.wmd-button-row li#wmd-hr-button span,.wmd-button-row li#wmd-more-button span,.wmd-button-row li#wmd-undo-button span,.wmd-button-row li#wmd-redo-button span,.wmd-button-row li#wmd-fullscreen-button span,.wmd-button-row li#wmd-exit-fullscreen-button span{background-image:url("../img/editor.png?_=ce98884");background-repeat:no-repeat}.editor-editor-bold{background-position:0 0;width:20px;height:20px}.editor-editor-code{background-position:0 -20px;width:20px;height:20px}.editor-editor-exit-fullscreen{background-position:0 -40px;width:20px;height:20px}.editor-editor-fullscreen{background-position:0 -60px;width:20px;height:20px}.editor-editor-heading{background-position:0 -80px;width:20px;height:20px}.editor-editor-hr{background-position:0 -100px;width:20px;height:20px}.editor-editor-image{background-position:0 -120px;width:20px;height:20px}.editor-editor-italic{background-position:0 -140px;width:20px;height:20px}.editor-editor-link{background-position:0 -160px;width:20px;height:20px}.editor-editor-more{background-position:0 -180px;width:20px;height:20px}.editor-editor-olist{background-position:0 -200px;width:20px;height:20px}.editor-editor-quote{background-position:0 -220px;width:20px;height:20px}.editor-editor-redo{background-position:0 -240px;width:20px;height:20px}.editor-editor-ulist{background-position:0 -260px;width:20px;height:20px}.editor-editor-undo{background-position:0 -280px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.editor-sprite,.editor-editor-bold,.editor-editor-code,.editor-editor-exit-fullscreen,.editor-editor-fullscreen,.editor-editor-heading,.editor-editor-hr,.editor-editor-image,.editor-editor-italic,.editor-editor-link,.editor-editor-more,.editor-editor-olist,.editor-editor-quote,.editor-editor-redo,.editor-editor-ulist,.editor-editor-undo,.wmd-button-row li#wmd-bold-button span,.wmd-button-row li#wmd-italic-button span,.wmd-button-row li#wmd-link-button span,.wmd-button-row li#wmd-quote-button span,.wmd-button-row li#wmd-code-button span,.wmd-button-row li#wmd-image-button span,.wmd-button-row li#wmd-olist-button span,.wmd-button-row li#wmd-ulist-button span,.wmd-button-row li#wmd-heading-button span,.wmd-button-row li#wmd-hr-button span,.wmd-button-row li#wmd-more-button span,.wmd-button-row li#wmd-undo-button span,.wmd-button-row li#wmd-redo-button span,.wmd-button-row li#wmd-fullscreen-button span,.wmd-button-row li#wmd-exit-fullscreen-button span{background-image:url("../img/editor@2x.png?_=f3643ed");background-repeat:no-repeat;background-size:20px 300px}.editor-editor-bold{background-position:0 0}.editor-editor-code{background-position:0 -20px}.editor-editor-exit-fullscreen{background-position:0 -40px}.editor-editor-fullscreen{background-position:0 -60px}.editor-editor-heading{background-position:0 -80px}.editor-editor-hr{background-position:0 -100px}.editor-editor-image{background-position:0 -120px}.editor-editor-italic{background-position:0 -140px}.editor-editor-link{background-position:0 -160px}.editor-editor-more{background-position:0 -180px}.editor-editor-olist{background-position:0 -200px}.editor-editor-quote{background-position:0 -220px}.editor-editor-redo{background-position:0 -240px}.editor-editor-ulist{background-position:0 -260px}.editor-editor-undo{background-position:0 -280px}.wmd-button-row li#wmd-bold-button span{background-position:0 0}.wmd-button-row li#wmd-italic-button span{background-position:0 -140px}.wmd-button-row li#wmd-link-button span{background-position:0 -160px}.wmd-button-row li#wmd-quote-button span{background-position:0 -220px}.wmd-button-row li#wmd-code-button span{background-position:0 -20px}.wmd-button-row li#wmd-image-button span{background-position:0 -120px}.wmd-button-row li#wmd-olist-button span{background-position:0 -200px}.wmd-button-row li#wmd-ulist-button span{background-position:0 -260px}.wmd-button-row li#wmd-heading-button span{background-position:0 -80px}.wmd-button-row li#wmd-hr-button span{background-position:0 -100px}.wmd-button-row li#wmd-more-button span{background-position:0 -180px}.wmd-button-row li#wmd-undo-button span{background-position:0 -280px}.wmd-button-row li#wmd-redo-button span{background-position:0 -240px}.wmd-button-row li#wmd-fullscreen-button span{background-position:0 -60px}.wmd-button-row li#wmd-exit-fullscreen-button span{background-position:0 -40px}}.wmd-button-row{list-style:none;margin:0;padding:0;height:26px;line-height:1}.wmd-button-row li{display:inline-block;margin-right:4px;padding:3px;cursor:pointer;vertical-align:middle;border-radius:2px}.wmd-button-row li:hover{background-color:#E9E9E6}.wmd-button-row li.wmd-spacer{height:20px;margin:0 10px 0 6px;padding:0;width:1px;background:#E9E9E6;cursor:default}.wmd-button-row li span{display:block;width:20px;height:20px}.wmd-button-row li#wmd-bold-button span{background-position:0 0}.wmd-button-row li#wmd-italic-button span{background-position:0 -140px}.wmd-button-row li#wmd-link-button span{background-position:0 -160px}.wmd-button-row li#wmd-quote-button span{background-position:0 -220px}.wmd-button-row li#wmd-code-button span{background-position:0 -20px}.wmd-button-row li#wmd-image-button span{background-position:0 -120px}.wmd-button-row li#wmd-olist-button span{background-position:0 -200px}.wmd-button-row li#wmd-ulist-button span{background-position:0 -260px}.wmd-button-row li#wmd-heading-button span{background-position:0 -80px}.wmd-button-row li#wmd-hr-button span{background-position:0 -100px}.wmd-button-row li#wmd-more-button span{background-position:0 -180px}.wmd-button-row li#wmd-undo-button span{background-position:0 -280px}.wmd-button-row li#wmd-redo-button span{background-position:0 -240px}.wmd-button-row li#wmd-fullscreen-button span{background-position:0 -60px}.wmd-button-row li#wmd-exit-fullscreen-button span{background-position:0 -40px}#btn-cancel-preview{display:none}.wmd-edittab{float:right;margin-top:3px;font-size:.92857em}.wmd-edittab a{display:inline-block;padding:0 8px;margin-left:5px;height:20px;line-height:20px}.wmd-edittab a:hover{text-decoration:none}.wmd-edittab a.active{background:#E9E9E6;color:#999}.wmd-hidetab{display:none}.wmd-visualhide{visibility:hidden}.wmd-prompt-background{background-color:#000}.wmd-prompt-dialog{position:fixed;z-index:1001;top:50%;left:50%;margin-top:-95px;margin-left:-200px;padding:20px;width:360px;background:#F6F6F3}.wmd-prompt-dialog p{margin:0 0 5px}.wmd-prompt-dialog form{margin-top:10px}.wmd-prompt-dialog input[type="text"]{margin-bottom:10px;width:100%}.wmd-prompt-dialog button{margin-right:10px}#wmd-preview{background:#FFF;margin:1em 0;padding:0 15px;word-wrap:break-word;overflow:auto;border-radius:2px}#wmd-preview img{max-width:100%}#wmd-preview code,#wmd-preview pre{padding:2px 4px;background:#DDD;font-size:14px}#wmd-preview code{color:#C13}#wmd-preview pre{padding:1em}#wmd-preview pre code{padding:0;color:#444}#wmd-preview blockquote{margin:1em 1.5em;padding-left:1.5em;border-left:4px solid #E9E9E6;color:#777}#wmd-preview hr{margin:2em auto;width:100px;border:1px solid #E9E9E6;border-width:2px 0 0 0}#wmd-preview .summary:after{display:block;margin:2em 0;background:#FFF9E8;color:#cf9900;font-size:.85714em;text-align:center;content:"- more -"}#wmd-preview .embed{border:1px solid #ccc;height:40px;overflow:hidden;line-height:40px;text-align:center;font-size:12px;color:#777}#wmd-preview table{width:100%}#wmd-preview table th,#wmd-preview table td{border:1px solid #DDD;padding:5px 8px;word-break:break-all}#wmd-preview table th{background:#EEE}#wmd-preview span.line{display:inline;height:1px;line-height:1px;position:absolute}#wmd-preview .focus,#wmd-preview .focus *{background-color:rgba(255,230,0,0.5) !important}@keyframes fullscreen-upload{0%{opacity:0}100%{opacity:1}}.fullscreen #wmd-button-bar,.fullscreen #text,.fullscreen #wmd-preview,.fullscreen .submit{position:absolute;top:0;width:50%;background:#FFF;z-index:999;box-sizing:border-box;border-radius:0}.fullscreen #wmd-button-bar{left:0;padding:13px 20px;border-bottom:1px solid #F3F3F0;z-index:1000}.fullscreen #text{top:53px;left:0;padding:20px;border:none;outline:none}.fullscreen #wmd-preview{top:53px;right:0;margin:0;padding:5px 20px;border:none;border-left:1px solid #F3F3F0;background:#F6F6F3;overflow:auto}.fullscreen .submit{right:0;margin:0;padding:10px 20px;border-bottom:1px solid #F3F3F0}.fullscreen #upload-panel{-webkit-box-shadow:0 4px 16px rgba(0,0,0,0.225);box-shadow:0 4px 16px rgba(0,0,0,0.225);border-style:solid}.fullscreen #tab-files{position:absolute;top:52px;right:0;width:280px;z-index:1001;animation:fullscreen-upload 0.5s}.fullscreen .wmd-edittab,.fullscreen .typecho-post-option,.fullscreen .title,.fullscreen .url-slug,.fullscreen .typecho-page-title,.fullscreen .typecho-head-nav,.fullscreen .message{display:none}.fullscreen .wmd-hidetab{display:block}.fullscreen .wmd-visualhide,.fullscreen #btn-fullscreen-upload{visibility:visible}.preview .submit{width:100%;background:#FFFFDD}.preview #wmd-button-bar,.preview #wmd-preview,.preview #text,.preview #upload-panel,.preview #tab-files,.preview #btn-preview,.preview #btn-fullscreen-upload,.preview #auto-save-message{display:none}.preview .preview-frame{width:100%;border:0;padding:0;margin:0;background:#fff;z-index:999;position:absolute;top:53px;left:0}.preview .preview-loading{background-image:url(../img/ajax-loader.gif);background-position:center;background-repeat:no-repeat}.preview #btn-cancel-preview{display:inline-block}@media (max-width: 575px){#wmd-spacer2,#wmd-olist-button,#wmd-ulist-button,#wmd-heading-button,#wmd-hr-button,#wmd-more-button,#wmd-spacer3,#wmd-undo-button,#wmd-redo-button,#wmd-spacer4,#wmd-fullscreen-button,#wmd-exit-fullscreen-button,#btn-fullscreen-upload{display:none}}#ui-datepicker-div{display:none;margin-top:-1px;padding:10px;border:1px solid #D9D9D6;background:#FFF}.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left}.ui-timepicker-div dl dd{margin:0 0 10px 40%}.ui-tpicker-grid-label{background:none;border:none;margin:0;padding:0}#ui-datepicker-div .ui-datepicker-header{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid #EEE}#ui-datepicker-div .ui-datepicker-prev{float:left;cursor:pointer}#ui-datepicker-div .ui-datepicker-next{float:right;cursor:pointer}#ui-datepicker-div .ui-datepicker-title{font-weight:bold;text-align:center}#ui-datepicker-div .ui-datepicker-calendar th{line-height:24px}#ui-datepicker-div .ui-datepicker-calendar a{display:block;width:30px;background-color:#F3F3F0;line-height:24px;text-align:center}#ui-datepicker-div .ui-datepicker-calendar a:hover{background-color:#E9E9E6;text-decoration:none}#ui-datepicker-div .ui-datepicker-today a{background-color:#E9E9E6;color:#444}#ui-datepicker-div .ui-datepicker-current-day a{background-color:#467B96 !important;color:#FFF}#ui-datepicker-div .ui-timepicker-div{margin-top:20px;border-top:1px solid #EEE}#ui-datepicker-div .ui-slider{position:relative;margin-top:18px;border:1px solid #E9E9E6;background-color:#F6F6F3;height:4px}#ui-datepicker-div .ui-slider .ui-slider-handle{position:absolute;top:-7px;margin-left:-5px;z-index:2;width:10px;height:16px;background-color:#467B96}#ui-datepicker-div .ui-datepicker-buttonpane{padding-top:10px;border-top:1px solid #EEE}#ui-datepicker-div .ui-datepicker-current,#ui-datepicker-div .ui-datepicker-close{float:left}#ui-datepicker-div .ui-datepicker-close{float:right}.ui-effects-transfer{border:2px dotted #ccc}ul.token-input-list{list-style:none;margin:0;padding:0 4px;min-height:32px;border:1px solid #D9D9D6;cursor:text;z-index:999;background-color:#FFF;clear:left;border-radius:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}ul.token-input-list li{margin:4px 0}ul.token-input-list li input{padding:0;border:0;width:100%;-webkit-appearance:caret}li.token-input-token{padding:0 6px;height:27px;line-height:27px;background-color:#F3F3F0;cursor:default;font-size:.92857em;text-align:right;white-space:nowrap}li.token-input-token p{float:left;display:inline;margin:0}li.token-input-token span{color:#BBB;font-weight:bold;cursor:pointer}li.token-input-selected-token{background-color:#E9E9E6}li.token-input-input-token{padding:0 4px}div.token-input-dropdown{position:absolute;background-color:#FFF;overflow:hidden;border:1px solid #D9D9D6;border-top-width:0;cursor:default;z-index:1;font-size:.92857em}div.token-input-dropdown p{margin:0;padding:5px 10px;color:#777;font-weight:bold}div.token-input-dropdown ul{list-style:none;margin:0;padding:0}div.token-input-dropdown ul li{padding:4px 10px;background-color:#FFF}div.token-input-dropdown ul li.token-input-dropdown-item{background-color:#FFF}div.token-input-dropdown ul li em{font-style:normal}div.token-input-dropdown ul li.token-input-selected-dropdown-item{background-color:#467B96;color:#FFF}.hidden{display:none}.sr-only{border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only.focusable:active,.sr-only.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden} diff --git a/admin/custom-fields-js.php b/admin/custom-fields-js.php index 4f27fddcc0..cf4e07e8e6 100644 --- a/admin/custom-fields-js.php +++ b/admin/custom-fields-js.php @@ -20,7 +20,7 @@ function attachDeleteEvent (el) { $(this).remove(); }); - $(this).parents('form').trigger('field'); + $(this).parents('form').trigger('change'); } }); } @@ -40,10 +40,6 @@ function attachDeleteEvent (el) { + '', el = $(html).hide().appendTo('#custom-field table tbody').fadeIn(); - $(':input', el).bind('input change', function () { - $(this).parents('form').trigger('field'); - }); - attachDeleteEvent(el); }); }); diff --git a/admin/editor-js.php b/admin/editor-js.php index db2586ff4e..7c32b1af87 100644 --- a/admin/editor-js.php +++ b/admin/editor-js.php @@ -1,17 +1,44 @@ -markdown): ?> + + +markdown): ?> + + - - diff --git a/admin/header.php b/admin/header.php index 4337c846f5..6e1bf3d1f0 100644 --- a/admin/header.php +++ b/admin/header.php @@ -8,7 +8,7 @@ '; /** 注册一个初始化插件 */ -$header = \Typecho\Plugin::factory('admin/header.php')->header($header); +$header = \Typecho\Plugin::factory('admin/header.php')->call('header', $header); ?> diff --git a/admin/js/Moxie.swf b/admin/js/Moxie.swf deleted file mode 100755 index ca29775a5090f8ba2b5a7443bb9ecd14404f76eb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 27640 zcmXV$1CS;?+qUQ4v2EM7wPV}1XUDc}+qP}nwyhoG-{<}Qs&uNmy03K3vyPyW2&*X} zlq>=PxovcHL%J!8tg!o7wR?ZKa7mCGK>F+Z0R_N{a2@u>S5sErYJ@l|W2QUgW4>XY$+&gB*tv1~wSWBe(|bBOSl*%H ze6dunbehGb@;CWoV$^+%W4xoT6s}f7ma6=DFlM z{~fVhiva6sl=#P}6a>rJ;%_Uv>w9M4DEQ{3Ri%n!gXDA{{-`l`CbTK;K5d!`%cFRt zUInkqNM3QBRb9uZRdEjeP`xJP?d2u+I%(Y}oZl48u02JPz+w)ChtU-jPxp}~g2pz| z(tF4cYIB7|XL5tqLUTK9HSM*aZxh#^9jxu2){o5qMroQdP$HYf%`z>51(cHe9 zP$EB;mFgZ`sF?wTzGhZi6MVIS#|akcGWBg_?ax^yHuFIfyc^Q_-lOrS z%-7)g(IZ(>qxx-0oSpr8d5!g?cfPI@UnD>HvuIh(L=-<{<$ZNN1cegHUo%?py+(Il$**F2>e;`u zzUEz@53M!;cXl_?y?Wm|o`<)oKTX~DFO$8U_&-6w@xJdnuOG+!Ms}ZH54r8^-#%|I zPlvOd2ybTB{{=L@jO^0?aQ-jM0L_OlD)jSLpKuSeUiGd^r%#Lyf9M5og{~!kn>o&O z0ez?yzqw{ES%}u(H{vGzg*eBfL1Z^au!HmJ7r_pSVTX6~+}lD6*dge>Av^*{r^WL}Z9JOj3T?W_aD;A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1c@2E2F;6i7%Ef}|?W`x=l6dw7}lA5E&lE}$%!tS;$V(mLQE zAo>iz6CPFYOl3KS9&@~mo0bA~n!YxvI})D+lgtB7=J%d6xc4TGi!Dbsr68YiJ^H?P z#(&ZuT4hG_%{N{Aqnnz3IrXX=rnTIB%P)Q~ZThrdO>Mg6XU$F1ryAyv@@t`N>a8u; nPM!A4Smfqb7mg2ur@1vUtyvcv#x*zpX4+I^GNk?&hDc!~X{vHx diff --git a/admin/js/hyperdown.js b/admin/js/hyperdown.js index 47958d26c4..d3fd8ff441 100644 --- a/admin/js/hyperdown.js +++ b/admin/js/hyperdown.js @@ -1 +1 @@ -!function(){var t=function(){var m,r,h,o,c,w,k;return k=function(t){return t.charAt(0).toUpperCase()+t.substring(1)},o=function(t){return t.replace(/[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},c=function(t,e,s){var r,i,l,n,a,h;if(t instanceof Array)if(e instanceof Array)for(r=i=0,n=t.length;i/g,">").replace(/"/g,""")},w=function(t,e=null){var s,r,i,l,n;if(null==e)return t.replace(/^\s*/,"").replace(/\s*$/,"");for(n="",r=i=0,l=e.length-1;0<=l?i<=l:l<=i;r=0<=l?++i:--i)s=e[r],n+=o(s);return n="["+n+"]*",t.replace(new RegExp("^"+n),"").replace(new RegExp(n+"$"),"")},m=function(t){var e,s,r,i=[];if(t instanceof Array)for(s=e=0,r=t.length;e↩`:(s[s.length-1]+=` `,s=1${s}`,e+=1;t+=""}return t}parse(t,e=!1,s=0){var r,i,l,n,a,h,o,c=[],p=this.parseBlock(t,c),u="";for(e&&1===p.length&&"normal"===p[0][0]&&(p[0][3]=!0),i=0,l=p.length;i':""}markLines(t,e){var s=-1;return this.line?t.map(t=>(s+=1,this.markLine(e+s)+t)):t}optimizeLines(t){var s=0,e=new RegExp(`class=\"line\" data\\-start=\"([0-9]+)\" data\\-end=\"([0-9]+)\" (data\\-id=\"${this.uniqid}\")`,"g");return this.line?t.replace(e,function(...t){var e=s!==parseInt(t[1])?'class="line" data-start="'+s+'" data-start-original="'+t[1]+'" data-end="'+t[2]+'" '+t[3]:t[0];return s=1+parseInt(t[2]),e}):t}parseInline(t,e="",s=!0,r=!0){return t=(t=(t=(t=(t=(t=this.call("beforeParseInline",t)).replace(/(^|[^\\])(`+)(.+?)\2/gm,(...t)=>t[1]+this.makeHolder(""+h(t[3])+""))).replace(/(^|[^\\])(\$+)(.+?)\2/gm,(...t)=>t[1]+this.makeHolder(t[2]+h(t[3])+t[2]))).replace(/\\(.)/g,(...t)=>{var e=t[1].match(/^[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]$/)?"":"\\",t=h(t[1]);return t=t.replace(/\$/g,"$"),this.makeHolder(e+t)})).replace(/<(https?:\/\/.+|(?:mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+)>/gi,(...t)=>{var e=this.cleanUrl(t[1]),t=this.call("parseLink",e);return this.makeHolder(`${t}`)})).replace(/<(\/?)([a-z0-9-]+)(\s+[^>]*)?>/gi,(...t)=>this.html||0<=("|"+this.commonWhiteList+"|"+e+"|").indexOf("|"+t[2].toLowerCase()+"|")?this.makeHolder(t[0]):this.makeHolder(h(t[0]))),this.html&&(t=t.replace(//g,(...t)=>this.makeHolder(t[0]))),t=(t=(t=(t=(t=(t=c(["<",">"],["<",">"],t)).replace(/\[\^((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=this.footnotes.indexOf(t[1]);return e<0&&(e=this.footnotes.length+1,this.footnotes.push(this.parseInline(t[1],"",!1))),this.makeHolder(`${e}`)})).replace(/!\[((?:[^\]]|\\\]|\\\[)*?)\]\(((?:[^\)]|\\\)|\\\()+?)\)/g,(...t)=>{var e=h(this.escapeBracket(t[1])),s=this.escapeBracket(t[2]);return[s,t]=this.cleanUrl(s,!0),this.makeHolder(`\"${t=null==t?e:``)})).replace(/!\[((?:[^\]]|\\\]|\\\[)*?)\]\[((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=h(this.escapeBracket(t[1])),e=null!=this.definitions[t[2]]?`\"${e}\"`:e;return this.makeHolder(e)})).replace(/\[((?:[^\]]|\\\]|\\\[)+?)\]\(((?:[^\)]|\\\)|\\\()+?)\)/g,(...t)=>{var e=this.parseInline(this.escapeBracket(t[1]),"",!1,!1),s=this.escapeBracket(t[2]);return[s,t]=this.cleanUrl(s,!0),this.makeHolder(`${e}`)})).replace(/\[((?:[^\]]|\\\]|\\\[)+?)\]\[((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=this.parseInline(this.escapeBracket(t[1]),"",!1,!1),e=null!=this.definitions[t[2]]?`${e}`:e;return this.makeHolder(e)}),t=this.parseInlineCallback(t),r&&(t=t.replace(/(^|[^\"])(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9@:%_\+.~#?&\/=]*)|(?:mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+)($|[^\"])/g,(...t)=>{var e=this.cleanUrl(t[2]),s=this.call("parseLink",t[2]);return`${t[1]}${s}${t[5]}`})),t=this.call("afterParseInlineBeforeRelease",t),t=this.releaseHolder(t,s),t=this.call("afterParseInline",t)}parseInlineCallback(t){return t=(t=(t=(t=(t=(t=(t=t.replace(/(\*{3})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\*{2})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\*)((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\s+|^)(_{3})((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(\s+|^)(_{2})((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(\s+|^)(_)((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(~{2})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")}parseBlock(t,e){for(var s,r,i,l,n,a,h,o,c,p=t.split("\n"),u=0,k=p.length;u=t[3][0]+r.empty)return r.empty=0,this.setBlock(e),!1;if(s.match(/^\s*$/)&&0===r.empty)return r.empty+=1,this.setBlock(e),!1}return!(l=s.match(/^(\s*)((?:[0-9]+\.)|\-|\+|\*)\s+/i))||(i=l[1].length,s=l[0].length-i,l=(r.empty=0)<="+-*".indexOf(l[2])?"ul":"ol",!this.isBlock("list")||i=t+r.empty),r.code=s[2],this.startBlock("code",e,[s[1],s[3],i]);return!1}return!this.isBlock("code")||(this.setBlock(e),!1)}parseBlockShtml(t,e,s,r){if(this.html){if(s.match(/^(\s*)!!!(\s*)$/))return this.isBlock("shtml")?this.setBlock(e).endBlock():this.startBlock("shtml",e),!1;if(this.isBlock("shtml"))return this.setBlock(e),!1}return!0}parseBlockAhtml(t,e,s,r){var i,l,n,a;if(this.html)if(a=new RegExp(`^\\s*<(${this.blockHtmlTags})(\\s+[^>]*)?>`,"i"),a=s.match(a)){if(this.isBlock("ahtml"))return this.setBlock(e),!1;if(void 0===a[2]||"/"!==a[2]){for(this.startBlock("ahtml",e),i=new RegExp(`\\s*<(${this.blockHtmlTags})(\\s+[^>]*)?>`,"ig");;){if(!(n=i.exec(s)))break;l=n[1]}return 0<=s.indexOf(``)?this.endBlock():r.html=l,!1}}else{if(r.html&&0<=s.indexOf(``))return this.setBlock(e).endBlock(),r.html=!1;if(this.isBlock("ahtml"))return this.setBlock(e),!1;if(a=s.match(/^\s*\s*$/))return this.startBlock("ahtml",e).endBlock(),!1}return!0}parseBlockMath(t,e,s){return s.match(/^(\s*)\$\$(\s*)$/)?(this.isBlock("math")?this.setBlock(e).endBlock():this.startBlock("math",e),!1):!this.isBlock("math")||(this.setBlock(e),!1)}parseBlockPre(t,e,s,r){return s.match(/^ {4}/)?(this.isBlock("pre")?this.setBlock(e):this.startBlock("pre",e),!1):!this.isBlock("pre")||!s.match(/^\s*$/)||(this.setBlock(e),!1)}parseBlockHtml(t,e,s,r){var i,l;return(i=s.match(new RegExp(`^\\s*<(${r.special})(\\s+[^>]*)?>`,"i")))?(l=i[1].toLowerCase(),this.isBlock("html",l)||this.isBlock("pre")||this.startBlock("html",e,l),!1):(i=s.match(new RegExp(`\\s*$`,"i")))?(l=i[1].toLowerCase(),this.isBlock("html",l)&&this.setBlock(e).endBlock(),!1):!this.isBlock("html")||(this.setBlock(e),!1)}parseBlockFootnote(t,e,s){var r;return!(r=s.match(/^\[\^((?:[^\]]|\\\]|\\\[)+?)\]:/))||(s=r[0].length-1,this.startBlock("footnote",e,[s,r[1]]),!1)}parseBlockDefinition(t,e,s){return!(s=s.match(/^\s*\[((?:[^\]]|\\\]|\\\[)+?)\]:\s*(.+)$/))||(this.definitions[s[1]]=this.cleanUrl(s[2]),this.startBlock("definition",e).endBlock(),!1)}parseBlockQuote(t,e,s){return!(s=s.match(/^(\s*)>/))||(this.isBlock("list")&&0=t[3][0]?this.setBlock(e):this.startBlock("normal",e):this.isBlock("table")?0<=s.indexOf("|")?(t[3][2]+=1,this.setBlock(e,t[3])):this.startBlock("normal",e):this.isBlock("quote")?s.match(/^(\s*)$/)?this.startBlock("normal",e):this.setBlock(e):null==t||"normal"!==t[0]?this.startBlock("normal",e):this.setBlock(e),!0}optimizeBlocks(t,e){var s,r,i,l,n,a,h,o,c=t.slice(0),p=e.slice(0);for(c=this.call("beforeOptimizeBlocks",c,p),i=0;null!=c[i];)l=!1,s=c[i],a=null!=c[i-1]?c[i-1]:null,n=null!=c[i+1]?c[i+1]:null,[o,r,h]=s,"pre"===o&&p.slice(s[1],s[2]+1).reduce(function(t,e){return e.match(/^\s*$/)&&t},!0)&&(s[0]=o="normal"),"normal"===o&&(o=["list","quote"],r===h&&p[r].match(/^\s*$/)&&null!=a&&null!=n&&a[0]===n[0]&&0<=o.indexOf(a[0])&&("list"!==a[0]||a[3][0]===n[3][0]&&a[3][1]===n[3][1])&&(c[i-1]=[a[0],a[1],n[2],null!=a[3]?a[3]:null],c.splice(i,2),l=!0)),l||(i+=1);return this.call("afterOptimizeBlocks",c,p)}parseCode(t,e,s){var r,i,l,n,a;return[r,n]=e,n=w(n),i=r.length,n.match(/^[_a-z0-9-\+\#\:\.]+$/i)?1<(e=n.split(":")).length&&([n,a]=e,n=w(n),a=w(a)):n=null,l=!0,t=t.slice(1,-1).map(function(t){return t=t.replace(new RegExp(`^[ ]{${i}}`),""),l&&!t.match(/^\s*$/)&&(l=!1),h(t)}),s=this.markLines(t,s+1).join("\n"),l?"":"
"+s+"
"}parsePre(t,e,s){return t=t.map(function(t){return h(t.substring(4))}),(s=this.markLines(t,s).join("\n")).match(/^\s*$/)?"":"
"+s+"
"}parseAhtml(t,e,s){return w(this.markLines(t,s).join("\n"))}parseShtml(t,e,s){return w(this.markLines(t.slice(1,-1),s+1).join("\n"))}parseMath(t,e,s,r){return"

"+this.markLine(s,r)+h(t.join("\n"))+"

"}parseSh(t,e,s,r){t=this.markLine(s,r)+this.parseInline(w(t[0],"# "));return t.match(/^\s*$/)?"":`${t}`}parseMh(t,e,s,r){return this.parseSh(t,e,s,r)}parseQuote(t,e,s){return(t=(t=t.map(function(t){return t.replace(/^\s*> ?/,"")})).join("\n")).match(/^\s*$/)?"":"
"+this.parse(t,!0,s)+"
"}parseList(t,e,s){var r,i,l,n,a,h,o,c,p,u,k,m,f,d,B,g="";for([m,B,d]=e,k=[],f="",i=r=n=0,a=t.length;r"+this.parse(u.join("\n"),!0,s)+"",s+=u.length;return`<${B}${f}>${g}`}parseTable(t,e,s){var r,i,l,n,a,h,o,c,p,u,k,m,f,d,B,g,$,b,v;for([h,r]=e,i=!(n=0"),c=o=0,k=t.length;o"+this.parseInline(v)+``;a+="",n?a+="":i=i&&!1}return null!==i&&(a+=""),a+""}parseHr(t,e,s){return this.line?'
':"
"}parseNormal(t,e,s){var r=0;return t=t.map(t=>((t=this.parseInline(t)).match(/^\s*$/)||(t=this.markLine(s+r)+t),r+=1,t)),(t=(t=(t=w(t.join("\n"))).replace(/(\n\s*){2,}/g,()=>(e=!1,"

"))).replace(/\n/g,"
")).match(/^\s*$/)?"":e?t:`

${t}

`}parseFootnote(t,e){var s;return[s,e]=e,0<=(e=this.footnotes.indexOf(e))&&((t=t.slice(0))[0]=t[0].replace(/^\[\^((?:[^\]]|\]|\[)+?)\]:/,""),this.footnotes[e]=t),""}parseDefinition(){return""}parseHtml(t,e,s){return t=t.map(t=>this.parseInline(t,null!=this.specialWhiteList[e]?this.specialWhiteList[e]:"")),this.markLines(t,s).join("\n")}cleanUrl(t,e=!1){var s,r=null;return t=w(t),e&&0<=(s=t.indexOf(" "))&&(r=h(w(t.substring(s+1)," \"'")),t=t.substring(0,s)),(t=(s=(t=t.replace(/["'<>\s]/g,"")).match(/^(mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+$/i))&&null==s[1]?"mailto:"+t:t).match(/^\w+:/i)&&!t.match(/^(https?|mailto):/i)?"#":e?[t,r]:t}escapeBracket(t){return c(["\\[","\\]","\\(","\\)"],["[","]","(",")"],t)}startBlock(t,e,s=null){return this.pos+=1,this.current=t,this.blocks.push([t,e,e,s]),this}endBlock(){return this.current="normal",this}isBlock(t,e=null){return this.current===t&&(null===e||this.blocks[this.pos][3]===e)}getBlock(){return null!=this.blocks[this.pos]?this.blocks[this.pos]:null}setBlock(t=null,e=null){return null!==t&&(this.blocks[this.pos][2]=t),null!==e&&(this.blocks[this.pos][3]=e),this}backBlock(t,e,s=null){var r;return this.pos<0?this.startBlock(e,0,s):(r=this.blocks[this.pos][2],this.blocks[this.pos][2]=r-t,s=[e,r-t+1,r,s],this.blocks[this.pos][1]<=this.blocks[this.pos][2]?(this.pos+=1,this.blocks.push(s)):this.blocks[this.pos]=s,this.current=e,this)}combineBlock(){var t,e;return this.pos<1||(e=this.blocks[this.pos-1].slice(0),t=this.blocks[this.pos].slice(0),e[2]=t[2],this.blocks[this.pos-1]=e,this.current=e[0],this.blocks=this.blocks.slice(0,-1),--this.pos),this}}}.call(this);"undefined"!=typeof module&&null!==module?module.exports=t:"undefined"!=typeof window&&null!==window&&(window.HyperDown=t)}.call(this); \ No newline at end of file +!function(){var t=function(){var m,r,h,o,c,w,k;return k=function(t){return t.charAt(0).toUpperCase()+t.substring(1)},o=function(t){return t.replace(/[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},c=function(t,e,s){var r,i,l,a,n,h;if(t instanceof Array)if(e instanceof Array)for(r=i=0,a=t.length;i/g,">").replace(/"/g,""")},w=function(t,e=null){var s,r,i,l,a;if(null==e)return t.replace(/^\s*/,"").replace(/\s*$/,"");for(a="",r=i=0,l=e.length-1;0<=l?i<=l:l<=i;r=0<=l?++i:--i)s=e[r],a+=o(s);return a="["+a+"]*",t.replace(new RegExp("^"+a),"").replace(new RegExp(a+"$"),"")},m=function(t){var e,s,r,i=[];if(t instanceof Array)for(s=e=0,r=t.length;e↩`:(s[s.length-1]+=` `,s=1${s}`,e+=1;t+=""}return t}parse(t,e=!1,s=0){var r,i,l,a,n,h,o,c=[],p=this.parseBlock(t,c),u="";for(e&&1===p.length&&"normal"===p[0][0]&&(p[0][3]=!0),i=0,l=p.length;i':""}markLines(t,e){var s=-1;return this.line?t.map(t=>(s+=1,this.markLine(e+s)+t)):t}optimizeLines(t){var s=0,e=new RegExp(`class="line" data\\-start="([0-9]+)" data\\-end="([0-9]+)" (data\\-id="${this.uniqid}")`,"g");return this.line?t.replace(e,function(...t){var e=s!==parseInt(t[1])?'class="line" data-start="'+s+'" data-start-original="'+t[1]+'" data-end="'+t[2]+'" '+t[3]:t[0];return s=1+parseInt(t[2]),e}):t}parseInline(t,e="",s=!0,r=!0){return t=(t=(t=(t=(t=(t=this.call("beforeParseInline",t)).replace(/(^|[^\\])(`+)(.+?)\2/gm,(...t)=>t[1]+this.makeHolder(""+h(t[3])+""))).replace(/(^|[^\\])(\$+)(.+?)\2/gm,(...t)=>t[1]+this.makeHolder(t[2]+h(t[3])+t[2]))).replace(/\\(.)/g,(...t)=>{var e=t[1].match(/^[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]$/)?"":"\\",t=h(t[1]);return t=t.replace(/\$/g,"$"),this.makeHolder(e+t)})).replace(/<(https?:\/\/.+|(?:mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+)>/gi,(...t)=>{var t=this.cleanUrl(t[1]),e=this.call("parseLink",t);return this.makeHolder(`${e}`)})).replace(/<(\/?)([a-z0-9-]+)(\s+[^>]*)?>/gi,(...t)=>this.html||0<=("|"+this.commonWhiteList+"|"+e+"|").indexOf("|"+t[2].toLowerCase()+"|")?this.makeHolder(t[0]):this.makeHolder(h(t[0]))),this.html&&(t=t.replace(//g,(...t)=>this.makeHolder(t[0]))),t=(t=(t=(t=(t=(t=c(["<",">"],["<",">"],t)).replace(/\[\^((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=this.footnotes.indexOf(t[1]);return e<0&&(e=this.footnotes.length+1,this.footnotes.push(this.parseInline(t[1],"",!1))),this.makeHolder(`${e}`)})).replace(/!\[((?:[^\]]|\\\]|\\\[)*?)\]\(((?:[^\)]|\\\)|\\\()+?)\)/g,(...t)=>{var e,s=h(this.escapeBracket(t[1])),t=this.escapeBracket(t[2]);return[t,e]=this.cleanUrl(t,!0),this.makeHolder(`${e=null==e?s:` title=`)})).replace(/!\[((?:[^\]]|\\\]|\\\[)*?)\]\[((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=h(this.escapeBracket(t[1])),t=null!=this.definitions[t[2]]?`${e}`:e;return this.makeHolder(t)})).replace(/\[((?:[^\]]|\\\]|\\\[)+?)\]\(((?:[^\)]|\\\)|\\\()+?)\)/g,(...t)=>{var e,s=this.parseInline(this.escapeBracket(t[1]),"",!1,!1),t=this.escapeBracket(t[2]);return[t,e]=this.cleanUrl(t,!0),this.makeHolder(`${s}`)})).replace(/\[((?:[^\]]|\\\]|\\\[)+?)\]\[((?:[^\]]|\\\]|\\\[)+?)\]/g,(...t)=>{var e=this.parseInline(this.escapeBracket(t[1]),"",!1,!1),t=null!=this.definitions[t[2]]?`${e}`:e;return this.makeHolder(t)}),t=this.parseInlineCallback(t),r&&(t=t.replace(/(^|[^\"])(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\b([-a-zA-Z0-9@:%_\+.~#?&\/=]*)|(?:mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+)($|[^\"])/g,(...t)=>{var e=this.cleanUrl(t[2]),s=this.call("parseLink",t[2]);return t[1]+`${s}`+t[5]})),t=this.call("afterParseInlineBeforeRelease",t),t=this.releaseHolder(t,s),t=this.call("afterParseInline",t)}parseInlineCallback(t){return t=(t=(t=(t=(t=(t=(t=t.replace(/(\*{3})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\*{2})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\*)((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")).replace(/(\s+|^)(_{3})((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(\s+|^)(_{2})((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(\s+|^)(_)((?:.|\r)+?)\2(\s+|$)/gm,(...t)=>t[1]+""+this.parseInlineCallback(t[3])+""+t[4])).replace(/(~{2})((?:.|\r)+?)\1/gm,(...t)=>""+this.parseInlineCallback(t[2])+"")}parseBlock(t,e){for(var s,r,i,l,a,n,h,o,c,p=t.split("\n"),u=0,k=p.length;u=t[3][0]+r.empty)return r.empty=0,this.setBlock(e),!1;if(s.match(/^\s*$/)&&0===r.empty)return r.empty+=1,this.setBlock(e),!1}return!(i=s.match(/^(\s*)((?:[0-9]+\.)|\-|\+|\*)\s+/i))||(s=i[1].length,l=i[0].length-s,r=(r.empty=0)<="+-*".indexOf(i[2])?"ul":"ol",!this.isBlock("list")||s=t+r.empty),r.code=s[2],this.startBlock("code",e,[s[1],s[3],i]);return!1}return!this.isBlock("code")||(this.setBlock(e),!1)}parseBlockShtml(t,e,s,r){if(this.html){if(s.match(/^(\s*)!!!(\s*)$/))return this.isBlock("shtml")?this.setBlock(e).endBlock():this.startBlock("shtml",e),!1;if(this.isBlock("shtml"))return this.setBlock(e),!1}return!0}parseBlockAhtml(t,e,s,r){var i,l,a,n;if(this.html)if(n=new RegExp(`^\\s*<(${this.blockHtmlTags})(\\s+[^>]*)?>`,"i"),n=s.match(n)){if(this.isBlock("ahtml"))return this.setBlock(e),!1;if(void 0===n[2]||"/"!==n[2]){for(this.startBlock("ahtml",e),i=new RegExp(`\\s*<(${this.blockHtmlTags})(\\s+[^>]*)?>`,"ig");;){if(!(a=i.exec(s)))break;l=a[1]}return 0<=s.indexOf(``)?this.endBlock():r.html=l,!1}}else{if(r.html&&0<=s.indexOf(``))return this.setBlock(e).endBlock(),r.html=!1;if(this.isBlock("ahtml"))return this.setBlock(e),!1;if(s.match(/^\s*\s*$/))return this.startBlock("ahtml",e).endBlock(),!1}return!0}parseBlockMath(t,e,s){return s.match(/^(\s*)\$\$(\s*)$/)?(this.isBlock("math")?this.setBlock(e).endBlock():this.startBlock("math",e),!1):!this.isBlock("math")||(this.setBlock(e),!1)}parseBlockPre(t,e,s,r){return s.match(/^ {4}/)?(this.isBlock("pre")?this.setBlock(e):this.startBlock("pre",e),!1):!this.isBlock("pre")||!s.match(/^\s*$/)||(this.setBlock(e),!1)}parseBlockHtml(t,e,s,r){var i,l;return(i=s.match(new RegExp(`^\\s*<(${r.special})(\\s+[^>]*)?>`,"i")))?(l=i[1].toLowerCase(),this.isBlock("html",l)||this.isBlock("pre")||this.startBlock("html",e,l),!1):(i=s.match(new RegExp(`\\s*$`,"i")))?(l=i[1].toLowerCase(),this.isBlock("html",l)&&this.setBlock(e).endBlock(),!1):!this.isBlock("html")||(this.setBlock(e),!1)}parseBlockFootnote(t,e,s){var r;return!(s=s.match(/^\[\^((?:[^\]]|\\\]|\\\[)+?)\]:/))||(r=s[0].length-1,this.startBlock("footnote",e,[r,s[1]]),!1)}parseBlockDefinition(t,e,s){return!(s=s.match(/^\s*\[((?:[^\]]|\\\]|\\\[)+?)\]:\s*(.+)$/))||(this.definitions[s[1]]=this.cleanUrl(s[2]),this.startBlock("definition",e).endBlock(),!1)}parseBlockQuote(t,e,s){return!(s=s.match(/^(\s*)>/))||(this.isBlock("list")&&0=t[3][0]?this.setBlock(e):this.startBlock("normal",e):this.isBlock("table")?0<=s.indexOf("|")?(t[3][2]+=1,this.setBlock(e,t[3])):this.startBlock("normal",e):this.isBlock("quote")?s.match(/^(\s*)$/)?this.startBlock("normal",e):this.setBlock(e):null==t||"normal"!==t[0]?this.startBlock("normal",e):this.setBlock(e),!0}optimizeBlocks(t,e){var s,r,i,l,a,n,h,o,c=t.slice(0),p=e.slice(0);for(c=this.call("beforeOptimizeBlocks",c,p),r=0;null!=c[r];)i=!1,o=c[r],a=null!=c[r-1]?c[r-1]:null,l=null!=c[r+1]?c[r+1]:null,[h,s,n]=o,"pre"===h&&p.slice(o[1],o[2]+1).reduce(function(t,e){return e.match(/^\s*$/)&&t},!0)&&(o[0]=h="normal"),"normal"===h&&(o=["list","quote"],s===n)&&p[s].match(/^\s*$/)&&null!=a&&null!=l&&a[0]===l[0]&&0<=o.indexOf(a[0])&&("list"!==a[0]||a[3][0]===l[3][0]&&a[3][1]===l[3][1])&&(c[r-1]=[a[0],a[1],l[2],null!=a[3]?a[3]:null],c.splice(r,2),i=!0),i||(r+=1);return this.call("afterOptimizeBlocks",c,p)}parseCode(t,e,s){var r,i,l,a,n;return[n,l]=e,l=w(l),r=n.length,l.match(/^[_a-z0-9-\+\#\:\.]+$/i)?1<(e=l.split(":")).length&&([l,a]=e,l=w(l),a=w(a)):l=null,i=!0,t=t.slice(1,-1).map(function(t){return t=t.replace(new RegExp(`^[ ]{${r}}`),""),i&&!t.match(/^\s*$/)&&(i=!1),h(t)}),n=this.markLines(t,s+1).join("\n"),i?"":"
"+n+"
"}parsePre(t,e,s){return t=t.map(function(t){return h(t.substring(4))}),(t=this.markLines(t,s).join("\n")).match(/^\s*$/)?"":"
"+t+"
"}parseAhtml(t,e,s){return w(this.markLines(t,s).join("\n"))}parseShtml(t,e,s){return w(this.markLines(t.slice(1,-1),s+1).join("\n"))}parseMath(t,e,s,r){return"

"+this.markLine(s,r)+h(t.join("\n"))+"

"}parseSh(t,e,s,r){s=this.markLine(s,r)+this.parseInline(w(t[0],"# "));return s.match(/^\s*$/)?"":`${s}`}parseMh(t,e,s,r){return this.parseSh(t,e,s,r)}parseQuote(t,e,s){return(t=(t=t.map(function(t){return t.replace(/^\s*> ?/,"")})).join("\n")).match(/^\s*$/)?"":"
"+this.parse(t,!0,s)+"
"}parseList(t,e,s){var r,i,l,a,n,h,o,c,p,u,k,m,f,d,B,g="";for([m,B,d]=e,k=[],f="",i=r=a=0,n=t.length;r"+this.parse((u=k[l]).join("\n"),!0,s)+"",s+=u.length;return`<${B}${f}>${g}`}parseTable(t,e,s){var r,i,l,a,n,h,o,c,p,u,k,m,f,d,B,g,$,b,v;for([h,r]=e,i=!(a=0"),c=o=0,k=t.length;o`;n+="",a?n+="":i=i&&!1}return null!==i&&(n+=""),n+""}parseHr(t,e,s){return this.line?'
':"
"}parseNormal(t,e,s){var r=0;return t=t.map(t=>((t=this.parseInline(t)).match(/^\s*$/)||(t=this.markLine(s+r)+t),r+=1,t)),(t=(t=(t=w(t.join("\n"))).replace(/(\n\s*){2,}/g,()=>(e=!1,"

"))).replace(/\n/g,"
")).match(/^\s*$/)?"":e?t:`

${t}

`}parseFootnote(t,e){var s;return[s,e]=e,0<=(e=this.footnotes.indexOf(e))&&((t=t.slice(0))[0]=t[0].replace(/^\[\^((?:[^\]]|\]|\[)+?)\]:/,""),this.footnotes[e]=t),""}parseDefinition(){return""}parseHtml(t,e,s){return t=t.map(t=>this.parseInline(t,null!=this.specialWhiteList[e]?this.specialWhiteList[e]:"")),this.markLines(t,s).join("\n")}cleanUrl(t,e=!1){var s,r=null;return t=w(t),e&&0<=(s=t.indexOf(" "))&&(r=h(w(t.substring(s+1)," \"'")),t=t.substring(0,s)),(t=(s=(t=t.replace(/["'<>\s]/g,"")).match(/^(mailto:)?[_a-z0-9-\.\+]+@[_\w-]+(?:\.[a-z]{2,})+$/i))&&null==s[1]?"mailto:"+t:t).match(/^\w+:/i)&&!t.match(/^(https?|mailto):/i)?"#":e?[t,r]:t}escapeBracket(t){return c(["\\[","\\]","\\(","\\)"],["[","]","(",")"],t)}startBlock(t,e,s=null){return this.pos+=1,this.current=t,this.blocks.push([t,e,e,s]),this}endBlock(){return this.current="normal",this}isBlock(t,e=null){return this.current===t&&(null===e||this.blocks[this.pos][3]===e)}getBlock(){return null!=this.blocks[this.pos]?this.blocks[this.pos]:null}setBlock(t=null,e=null){return null!==t&&(this.blocks[this.pos][2]=t),null!==e&&(this.blocks[this.pos][3]=e),this}backBlock(t,e,s=null){var r;return this.pos<0?this.startBlock(e,0,s):(r=this.blocks[this.pos][2],this.blocks[this.pos][2]=r-t,t=[e,r-t+1,r,s],this.blocks[this.pos][1]<=this.blocks[this.pos][2]?(this.pos+=1,this.blocks.push(t)):this.blocks[this.pos]=t,this.current=e,this)}combineBlock(){var t,e;return this.pos<1||(e=this.blocks[this.pos-1].slice(0),t=this.blocks[this.pos].slice(0),e[2]=t[2],this.blocks[this.pos-1]=e,this.current=e[0],this.blocks=this.blocks.slice(0,-1),--this.pos),this}}}.call(this);"undefined"!=typeof module&&null!==module?module.exports=t:"undefined"!=typeof window&&null!==window&&(window.HyperDown=t)}.call(this); \ No newline at end of file diff --git a/admin/js/jquery-ui.js b/admin/js/jquery-ui.js index 86b4088830..106429e1e1 100644 --- a/admin/js/jquery-ui.js +++ b/admin/js/jquery-ui.js @@ -1 +1 @@ -!function(o,u){var e,t,i=0,a=/^ui-id-\d+$/;function s(e,t){var i,a,s=e.nodeName.toLowerCase();return"area"===s?(a=(i=e.parentNode).name,!(!e.href||!a||"map"!==i.nodeName.toLowerCase())&&(!!(a=o("img[usemap=#"+a+"]")[0])&&n(a))):(/input|select|textarea|button|object/.test(s)?!e.disabled:"a"===s&&e.href||t)&&n(e)}function n(e){return o.expr.filters.visible(e)&&!o(e).parents().addBack().filter(function(){return"hidden"===o.css(this,"visibility")}).length}o.ui=o.ui||{},o.extend(o.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),o.fn.extend({focus:(e=o.fn.focus,function(t,i){return"number"==typeof t?this.each(function(){var e=this;setTimeout(function(){o(e).focus(),i&&i.call(e)},t)}):e.apply(this,arguments)}),scrollParent:function(){var e=(o.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(o.css(this,"position"))&&/(auto|scroll)/.test(o.css(this,"overflow")+o.css(this,"overflow-y")+o.css(this,"overflow-x"))}):this.parents().filter(function(){return/(auto|scroll)/.test(o.css(this,"overflow")+o.css(this,"overflow-y")+o.css(this,"overflow-x"))})).eq(0);return/fixed/.test(this.css("position"))||!e.length?o(document):e},zIndex:function(e){if(e!==u)return this.css("zIndex",e);if(this.length)for(var t,i,a=o(this[0]);a.length&&a[0]!==document;){if(("absolute"===(t=a.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(a.css("zIndex"),10),!isNaN(i)&&0!==i))return i;a=a.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){a.test(this.id)&&o(this).removeAttr("id")})}}),o.extend(o.expr[":"],{data:o.expr.createPseudo?o.expr.createPseudo(function(t){return function(e){return!!o.data(e,t)}}):function(e,t,i){return!!o.data(e,i[3])},focusable:function(e){return s(e,!isNaN(o.attr(e,"tabindex")))},tabbable:function(e){var t=o.attr(e,"tabindex"),i=isNaN(t);return(i||0<=t)&&s(e,!i)}}),o("").outerWidth(1).jquery||o.each(["Width","Height"],function(e,i){var s="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),n={innerWidth:o.fn.innerWidth,innerHeight:o.fn.innerHeight,outerWidth:o.fn.outerWidth,outerHeight:o.fn.outerHeight};function r(e,t,i,a){return o.each(s,function(){t-=parseFloat(o.css(e,"padding"+this))||0,i&&(t-=parseFloat(o.css(e,"border"+this+"Width"))||0),a&&(t-=parseFloat(o.css(e,"margin"+this))||0)}),t}o.fn["inner"+i]=function(e){return e===u?n["inner"+i].call(this):this.each(function(){o(this).css(a,r(this,e)+"px")})},o.fn["outer"+i]=function(e,t){return"number"!=typeof e?n["outer"+i].call(this,e):this.each(function(){o(this).css(a,r(this,e,!0,t)+"px")})}}),o.fn.addBack||(o.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),o("").data("a-b","a").removeData("a-b").data("a-b")&&(o.fn.removeData=(t=o.fn.removeData,function(e){return arguments.length?t.call(this,o.camelCase(e)):t.call(this)})),o.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),o.support.selectstart="onselectstart"in document.createElement("div"),o.fn.extend({disableSelection:function(){return this.bind((o.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),o.extend(o.ui,{plugin:{add:function(e,t,i){var a,s=o.ui[e].prototype;for(a in i)s.plugins[a]=s.plugins[a]||[],s.plugins[a].push([t,i[a]])},call:function(e,t,i){var a,s=e.plugins[t];if(s&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(a=0;a",options:{disabled:!1,create:null},_createWidget:function(e,t){t=l(t||this.defaultElement||this)[0],this.element=l(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=l.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=l(),this.hoverable=l(),this.focusable=l(),t!==this&&(l.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=l(t.style?t.ownerDocument:t.document||t),this.window=l(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:l.noop,_getCreateEventData:l.noop,_create:l.noop,_init:l.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(l.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:l.noop,widget:function(){return this.element},option:function(e,t){var i,a,s,n=e;if(0===arguments.length)return l.widget.extend({},this.options);if("string"==typeof e)if(n={},e=(i=e.split(".")).shift(),i.length){for(a=n[e]=l.widget.extend({},this.options[e]),s=0;s=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(b,u){b.extend(b.ui,{datepicker:{version:"1.10.3"}});var s,o="datepicker";function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},b.extend(this._defaults,this.regional[""]),this.dpDiv=i(b("
"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){b(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&b(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",function(){b.datepicker._isDisabledDatepicker((s.inline?e.parent():s.input)[0])||(b(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),b(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&b(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&b(this).addClass("ui-datepicker-next-hover"))})}function l(e,t){for(var i in b.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}b.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return l(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,a=e.nodeName.toLowerCase(),s="div"===a||"span"===a;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(b(e),s)).settings=b.extend({},t||{}),"input"===a?this._connectDatepicker(e,i):s&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(b("
")):this.dpDiv}},_connectDatepicker:function(e,t){var i=b(e);t.append=b([]),t.trigger=b([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),b.data(e,o,t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,a=this._get(t,"appendText"),s=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=b(""+a+""),e[s?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.focus(this._showDatepicker),"button"!==i&&"both"!==i||(a=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=b(this._get(t,"buttonImageOnly")?b("").addClass(this._triggerClass).attr({src:i,alt:a,title:a}):b("").addClass(this._triggerClass).html(i?b("").attr({src:i,alt:a,title:a}):a)),e[s?"before":"after"](t.trigger),t.trigger.click(function(){return b.datepicker._datepickerShowing&&b.datepicker._lastInput===e[0]?b.datepicker._hideDatepicker():(b.datepicker._datepickerShowing&&b.datepicker._lastInput!==e[0]&&b.datepicker._hideDatepicker(),b.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,a,s,n,r;this._get(e,"autoSize")&&!e.inline&&(n=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(t=function(e){for(s=a=i=0;si&&(i=e[s].length,a=s);return a},n.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),n.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-n.getDay())),e.input.attr("size",this._formatDate(e,n).length))},_inlineDatepicker:function(e,t){var i=b(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),b.data(e,o,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,a,s){var n,r=this._dialogInst;return r||(this.uuid+=1,n="dp"+this.uuid,this._dialogInput=b(""),this._dialogInput.keydown(this._doKeyDown),b("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},b.data(this._dialogInput[0],o,r)),l(r.settings,a||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(n=document.documentElement.clientWidth,a=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[n/2-100+t,a/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),b.blockUI&&b.blockUI(this.dpDiv),b.data(this._dialogInput[0],o,r),this},_destroyDatepicker:function(e){var t,i=b(e),a=b.data(e,o);i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),b.removeData(e,o),"input"===t?(a.append.remove(),a.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,i=b(t),a=b.data(t,o);i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=b.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=b(t),a=b.data(t,o);i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=b.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;to&&au&&st;)--z<0&&(z=11,B--);for(e.drawMonth=z,e.drawYear=B,R=this._get(e,"prevText"),R=W?this.formatDate(R,this._daylightSavingAdjust(new Date(B,z-O,1)),this._getFormatConfig(e)):R,i=this._canAdjustMonth(e,-1,B,z)?"
"+R+"":P?"":""+R+"",R=this._get(e,"nextText"),R=W?this.formatDate(R,this._daylightSavingAdjust(new Date(B,z+O,1)),this._getFormatConfig(e)):R,a=this._canAdjustMonth(e,1,B,z)?""+R+"":P?"":""+R+"",P=this._get(e,"currentText"),R=this._get(e,"gotoCurrent")&&e.currentDay?H:Y,P=W?this.formatDate(P,R,this._getFormatConfig(e)):P,W=e.inline?"":"",W=j?"
"+(E?W:"")+(this._isInRange(e,R)?"":"")+(E?"":W)+"
":"",s=parseInt(this._get(e,"firstDay"),10),s=isNaN(s)?0:s,n=this._get(e,"showWeek"),r=this._get(e,"dayNames"),o=this._get(e,"dayNamesMin"),u=this._get(e,"monthNames"),l=this._get(e,"monthNamesShort"),h=this._get(e,"beforeShowDay"),c=this._get(e,"showOtherMonths"),d=this._get(e,"selectOtherMonths"),p=this._getDefaultDate(e),f="",m=0;m"+(/all|left/.test(k)&&0===m?E?a:i:"")+(/all|right/.test(k)&&0===m?E?i:a:"")+this._generateMonthYearHeader(e,z,B,U,V,0",b=n?"":"",g=0;g<7;g++)b+=""+o[w]+"";for(D+=b+"",C=this._getDaysInMonth(B,z),B===e.selectedYear&&z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,C)),M=(this._getFirstDayOfMonth(B,z)-s+7)%7,C=Math.ceil((M+C)/7),x=L&&this.maxRows>C?this.maxRows:C,this.maxRows=x,I=this._daylightSavingAdjust(new Date(B,z,1-M)),N=0;N",S=n?"":"",g=0;g<7;g++)A=h?h.apply(e.input?e.input[0]:null,[I]):[!0,""],T=(F=I.getMonth()!==z)&&!d||!A[0]||U&&I"+(F&&!c?" ":T?""+I.getDate()+"":""+I.getDate()+"")+"",I.setDate(I.getDate()+1),I=this._daylightSavingAdjust(I);D+=S+""}11<++z&&(z=0,B++),_+=D+="
"+this._get(e,"weekHeader")+"
"+this._get(e,"calculateWeek")(I)+"
"+(L?""+(0":""):"")}f+=_}return f+=W,e._keyEvent=!1,f},_generateMonthYearHeader:function(e,t,i,a,s,n,r,o){var u,l,h,c,d,p,f,g=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),_=this._get(e,"showMonthAfterYear"),v="
",y="";if(n||!g)y+=""+r[t]+"";else{for(u=a&&a.getFullYear()===i,l=s&&s.getFullYear()===i,y+=""}if(_||(v+=y+(!n&&g&&m?"":" ")),!e.yearshtml)if(e.yearshtml="",n||!m)v+=""+i+"";else{for(c=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),p=(r=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(e)?d:e})(c[0]),f=Math.max(p,r(c[1]||"")),p=a?Math.max(p,a.getFullYear()):p,f=s?Math.min(f,s.getFullYear()):f,e.yearshtml+="",v+=e.yearshtml,e.yearshtml=null}return v+=this._get(e,"yearSuffix"),_&&(v+=(!n&&g&&m?"":" ")+y),v+="
"},_adjustInstDate:function(e,t,i){var a=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(a,s))+("D"===i?t:0),t=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(a,s,t)));e.selectedDay=t.getDate(),e.drawMonth=e.selectedMonth=t.getMonth(),e.drawYear=e.selectedYear=t.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),t=i&&t=i.getTime())&&(!a||t.getTime()<=a.getTime())&&(!s||t.getFullYear()>=s)&&(!n||t.getFullYear()<=n)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,a){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);t=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(a,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),t,this._getFormatConfig(e))}}),b.fn.datepicker=function(e){if(!this.length)return this;b.datepicker.initialized||(b(document).mousedown(b.datepicker._checkExternalClick),b.datepicker.initialized=!0),0===b("#"+b.datepicker._mainDivId).length&&b("body").append(b.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?b.datepicker["_"+e+"Datepicker"].apply(b.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?b.datepicker["_"+e+"Datepicker"].apply(b.datepicker,[this].concat(t)):b.datepicker._attachDatepicker(this,e)})},b.datepicker=new e,b.datepicker.initialized=!1,b.datepicker.uuid=(new Date).getTime(),b.datepicker.version="1.10.3"}(jQuery),function(h){h.widget("ui.slider",h.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,i=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a=[],s=t.values&&t.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),e=i.length;e");this.handles=i.add(h(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){h(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:h.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=h("
").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=h([])},_setupEvents:function(){var e=this.handles.add(this.range).filter("a");this._off(e),this._on(e,this._handleEvents),this._hoverable(e),this._focusable(e)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,a,s,n,t,r,o=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),r={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(r),a=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-o.values(e));(t=this._valueMax())return this._valueMax();var t=0=t&&(e+=0")[0],m=h.each,t.style.cssText="background-color:rgba(1,1,1,.5)",r.rgba=-1n.mod/2?a+=n.mod:a-s>n.mod/2&&(a-=n.mod)),u[i]=b((s-a)*r+a,t)))}),this[t](u)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),i=t.pop(),a=p(e)._rgba;return p(h.map(t,function(e,t){return(1-i)*a[t]+i*e}))},toRgbaString:function(){var e="rgba(",t=h.map(this._rgba,function(e,t){return null==e?2").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!o.contains(i[0],s)||o(s).focus(),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(o.extend(a,{position:i.css("position"),zIndex:i.css("z-index")}),o.each(["top","left","bottom","right"],function(e,t){a[t]=i.css(t),isNaN(parseInt(a[t],10))&&(a[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(a).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!o.contains(e[0],t)||o(t).focus()),e},setTransition:function(a,e,s,n){return n=n||{},o.each(e,function(e,t){var i=a.cssUnit(t);0").outerWidth(1).jquery||o.each(["Width","Height"],function(e,i){var s="Width"===i?["Left","Right"]:["Top","Bottom"],a=i.toLowerCase(),n={innerWidth:o.fn.innerWidth,innerHeight:o.fn.innerHeight,outerWidth:o.fn.outerWidth,outerHeight:o.fn.outerHeight};function r(e,t,i,a){return o.each(s,function(){t-=parseFloat(o.css(e,"padding"+this))||0,i&&(t-=parseFloat(o.css(e,"border"+this+"Width"))||0),a&&(t-=parseFloat(o.css(e,"margin"+this))||0)}),t}o.fn["inner"+i]=function(e){return e===u?n["inner"+i].call(this):this.each(function(){o(this).css(a,r(this,e)+"px")})},o.fn["outer"+i]=function(e,t){return"number"!=typeof e?n["outer"+i].call(this,e):this.each(function(){o(this).css(a,r(this,e,!0,t)+"px")})}}),o.fn.addBack||(o.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),o("").data("a-b","a").removeData("a-b").data("a-b")&&(o.fn.removeData=(t=o.fn.removeData,function(e){return arguments.length?t.call(this,o.camelCase(e)):t.call(this)})),o.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),o.support.selectstart="onselectstart"in document.createElement("div"),o.fn.extend({disableSelection:function(){return this.bind((o.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),o.extend(o.ui,{plugin:{add:function(e,t,i){var a,s=o.ui[e].prototype;for(a in i)s.plugins[a]=s.plugins[a]||[],s.plugins[a].push([t,i[a]])},call:function(e,t,i){var a,s=e.plugins[t];if(s&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(a=0;a",options:{disabled:!1,create:null},_createWidget:function(e,t){t=l(t||this.defaultElement||this)[0],this.element=l(t),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=l.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=l(),this.hoverable=l(),this.focusable=l(),t!==this&&(l.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=l(t.style?t.ownerDocument:t.document||t),this.window=l(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:l.noop,_getCreateEventData:l.noop,_create:l.noop,_init:l.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(l.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:l.noop,widget:function(){return this.element},option:function(e,t){var i,a,s,n=e;if(0===arguments.length)return l.widget.extend({},this.options);if("string"==typeof e)if(n={},e=(i=e.split(".")).shift(),i.length){for(a=n[e]=l.widget.extend({},this.options[e]),s=0;s=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(D,u){D.extend(D.ui,{datepicker:{version:"1.10.3"}});var s,o="datepicker";function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},D.extend(this._defaults,this.regional[""]),this.dpDiv=i(D("
"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){D(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&D(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&D(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",function(){D.datepicker._isDisabledDatepicker((s.inline?e.parent():s.input)[0])||(D(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),D(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&D(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&D(this).addClass("ui-datepicker-next-hover"))})}function l(e,t){for(var i in D.extend(e,t),t)null==t[i]&&(e[i]=t[i])}D.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return l(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,a=e.nodeName.toLowerCase(),s="div"===a||"span"===a;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(D(e),s)).settings=D.extend({},t||{}),"input"===a?this._connectDatepicker(e,i):s&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(D("
")):this.dpDiv}},_connectDatepicker:function(e,t){var i=D(e);t.append=D([]),t.trigger=D([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),D.data(e,o,t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,a=this._get(t,"appendText"),s=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=D(""+a+""),e[s?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(a=this._get(t,"showOn"))&&"both"!==a||e.focus(this._showDatepicker),"button"!==a&&"both"!==a||(a=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=D(this._get(t,"buttonImageOnly")?D("").addClass(this._triggerClass).attr({src:i,alt:a,title:a}):D("").addClass(this._triggerClass).html(i?D("").attr({src:i,alt:a,title:a}):a)),e[s?"before":"after"](t.trigger),t.trigger.click(function(){return D.datepicker._datepickerShowing&&D.datepicker._lastInput===e[0]?D.datepicker._hideDatepicker():(D.datepicker._datepickerShowing&&D.datepicker._lastInput!==e[0]&&D.datepicker._hideDatepicker(),D.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,a,s,n,r;this._get(e,"autoSize")&&!e.inline&&(n=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(n.setMonth((t=function(e){for(s=a=i=0;si&&(i=e[s].length,a=s);return a})(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),n.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-n.getDay())),e.input.attr("size",this._formatDate(e,n).length))},_inlineDatepicker:function(e,t){var i=D(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),D.data(e,o,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,a,s){var n,r=this._dialogInst;return r||(this.uuid+=1,n="dp"+this.uuid,this._dialogInput=D(""),this._dialogInput.keydown(this._doKeyDown),D("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},D.data(this._dialogInput[0],o,r)),l(r.settings,a||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(n=document.documentElement.clientWidth,a=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[n/2-100+t,a/2-150+s]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),D.blockUI&&D.blockUI(this.dpDiv),D.data(this._dialogInput[0],o,r),this},_destroyDatepicker:function(e){var t,i=D(e),a=D.data(e,o);i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),D.removeData(e,o),"input"===t?(a.append.remove(),a.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(t){var e,i=D(t),a=D.data(t,o);i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((a=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=D.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=D(t),a=D.data(t,o);i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((a=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),a.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=D.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(e)for(var t=0;to&&au&&st;)--Y<0&&(Y=11,E--);for(e.drawMonth=Y,e.drawYear=E,A=this._get(e,"prevText"),A=N?this.formatDate(A,this._daylightSavingAdjust(new Date(E,Y-F,1)),this._getFormatConfig(e)):A,i=this._canAdjustMonth(e,-1,E,Y)?"
"+A+"":I?"":""+A+"",A=this._get(e,"nextText"),A=N?this.formatDate(A,this._daylightSavingAdjust(new Date(E,Y+F,1)),this._getFormatConfig(e)):A,a=this._canAdjustMonth(e,1,E,Y)?""+A+"":I?"":""+A+"",F=this._get(e,"currentText"),I=this._get(e,"gotoCurrent")&&e.currentDay?B:V,F=N?this.formatDate(F,I,this._getFormatConfig(e)):F,A=e.inline?"":"",N=C?"
"+(x?A:"")+(this._isInRange(e,I)?"":"")+(x?"":A)+"
":"",s=parseInt(this._get(e,"firstDay"),10),s=isNaN(s)?0:s,n=this._get(e,"showWeek"),j=this._get(e,"dayNames"),P=this._get(e,"dayNamesMin"),W=this._get(e,"monthNames"),K=this._get(e,"monthNamesShort"),r=this._get(e,"beforeShowDay"),o=this._get(e,"showOtherMonths"),R=this._get(e,"selectOtherMonths"),u=this._getDefaultDate(e),l="",c=0;c"+(/all|left/.test(g)&&0===c?x?a:i:"")+(/all|right/.test(g)&&0===c?x?i:a:"")+this._generateMonthYearHeader(e,Y,E,T,O,0",_=n?"":"",h=0;h<7;h++)_+=""+P[L]+"";for(m+=_+"",y=this._getDaysInMonth(E,Y),E===e.selectedYear&&Y===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,y)),v=(this._getFirstDayOfMonth(E,Y)-s+7)%7,y=Math.ceil((v+y)/7),k=z&&this.maxRows>y?this.maxRows:y,this.maxRows=k,D=this._daylightSavingAdjust(new Date(E,Y,1-v)),H=0;H",U=n?"":"",h=0;h<7;h++)b=r?r.apply(e.input?e.input[0]:null,[D]):[!0,""],M=(w=D.getMonth()!==Y)&&!R||!b[0]||T&&D"+(w&&!o?" ":M?""+D.getDate()+"":""+D.getDate()+"")+"",D.setDate(D.getDate()+1),D=this._daylightSavingAdjust(D);m+=U+""}11<++Y&&(Y=0,E++),d+=m+="
"+this._get(e,"weekHeader")+"
"+this._get(e,"calculateWeek")(D)+"
"+(z?""+(0":""):"")}l+=d}return l+=N,e._keyEvent=!1,l},_generateMonthYearHeader:function(e,t,i,a,s,n,r,o){var u,l,h,c,d,p,f,g=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),_=this._get(e,"showMonthAfterYear"),v="
",y="";if(n||!g)y+=""+r[t]+"";else{for(u=a&&a.getFullYear()===i,l=s&&s.getFullYear()===i,y+=""}if(_||(v+=y+(!n&&g&&m?"":" ")),!e.yearshtml)if(e.yearshtml="",n||!m)v+=""+i+"";else{for(r=this._get(e,"yearRange").split(":"),c=(new Date).getFullYear(),p=(d=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?c+parseInt(e,10):parseInt(e,10);return isNaN(e)?c:e})(r[0]),f=Math.max(p,d(r[1]||"")),p=a?Math.max(p,a.getFullYear()):p,f=s?Math.min(f,s.getFullYear()):f,e.yearshtml+="",v+=e.yearshtml,e.yearshtml=null}return v+=this._get(e,"yearSuffix"),_&&(v+=(!n&&g&&m?"":" ")+y),v+="
"},_adjustInstDate:function(e,t,i){var a=e.drawYear+("Y"===i?t:0),s=e.drawMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(a,s))+("D"===i?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(a,s,t)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),i=i&&t=a.getTime())&&(!s||t.getTime()<=s.getTime())&&(!n||t.getFullYear()>=n)&&(!r||t.getFullYear()<=r)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,a){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);a=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(a,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),a,this._getFormatConfig(e))}}),D.fn.datepicker=function(e){if(!this.length)return this;D.datepicker.initialized||(D(document).mousedown(D.datepicker._checkExternalClick),D.datepicker.initialized=!0),0===D("#"+D.datepicker._mainDivId).length&&D("body").append(D.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?D.datepicker["_"+e+"Datepicker"].apply(D.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?D.datepicker["_"+e+"Datepicker"].apply(D.datepicker,[this].concat(t)):D.datepicker._attachDatepicker(this,e)})},D.datepicker=new e,D.datepicker.initialized=!1,D.datepicker.uuid=(new Date).getTime(),D.datepicker.version="1.10.3"}(jQuery),function(h){h.widget("ui.slider",h.ui.mouse,{version:"1.10.3",widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"),this._refresh(),this._setOption("disabled",this.options.disabled),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,i=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),a=[],s=t.values&&t.values.length||1;for(i.length>s&&(i.slice(s).remove(),i=i.slice(0,s)),e=i.length;e");this.handles=i.add(h(a.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(e){h(this).data("ui-slider-handle-index",e)})},_createRange:function(){var e=this.options,t="";e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:h.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?this.range.removeClass("ui-slider-range-min ui-slider-range-max").css({left:"",bottom:""}):(this.range=h("
").appendTo(this.element),t="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(t+("min"===e.range||"max"===e.range?" ui-slider-range-"+e.range:""))):this.range=h([])},_setupEvents:function(){var e=this.handles.add(this.range).filter("a");this._off(e),this._on(e,this._handleEvents),this._hoverable(e),this._focusable(e)},_destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-widget ui-widget-content ui-corner-all"),this._mouseDestroy()},_mouseCapture:function(e){var i,a,s,n,t,r,o=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),a=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-o.values(e));(t=this._valueMax()?this._valueMax():(t=0=t&&(i+=0")[0],m=h.each,t.style.cssText="background-color:rgba(1,1,1,.5)",r.rgba=-1n.mod/2?a+=n.mod:a-s>n.mod/2&&(a-=n.mod)),u[i]=b((s-a)*r+a,t)))}),this[e](u)},blend:function(e){var t,i,a;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),a=p(e)._rgba,p(h.map(t,function(e,t){return(1-i)*a[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=h.map(this._rgba,function(e,t){return null==e?2").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(e){s=document.body}return i.wrap(e),i[0]!==s&&!o.contains(i[0],s)||o(s).focus(),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(o.extend(a,{position:i.css("position"),zIndex:i.css("z-index")}),o.each(["top","left","bottom","right"],function(e,t){a[t]=i.css(t),isNaN(parseInt(a[t],10))&&(a[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(a).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!o.contains(e[0],t)||o(t).focus()),e},setTransition:function(a,e,s,n){return n=n||{},o.each(e,function(e,t){var i=a.cssUnit(t);0>10|55296,1023&r|56320)}var e,p,b,o,t,d,h,g,w,l,c,m,T,r,y,v,i,s,x,C="sizzle"+-new Date,N=n.document,k=0,E=0,a=ie(),S=ie(),u=ie(),j=function(e,t){return e===t&&(c=!0),0},D="undefined",A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){for(var t=0,n=this.length;t+~]|"+R+")"+R+"*"),U=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),V=new RegExp(I),Y=new RegExp("^"+$+"$"),G={ID:new RegExp("^#("+W+")"),CLASS:new RegExp("^\\.("+W+")"),TAG:new RegExp("^("+W.replace("w","w*")+")"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig");try{O.apply(L=F.call(N.childNodes),N.childNodes),L[N.childNodes.length].nodeType}catch(e){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,o,s,a,u,l,c;if((t?t.ownerDocument||t:N)!==T&&m(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(i=(t=t||T).nodeType)&&9!==i)return[];if(y&&!r){if(l=Z.exec(e))if(c=l[1]){if(9===i){if(!(a=t.getElementById(c))||!a.parentNode)return n;if(a.id===c)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(c))&&x(t,a)&&a.id===c)return n.push(a),n}else{if(l[2])return O.apply(n,t.getElementsByTagName(e)),n;if((c=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(c)),n}if(p.qsa&&(!v||!v.test(e))){if(u=a=C,l=t,c=9===i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(s=d(e),(a=t.getAttribute("id"))?u=a.replace(te,"\\$&"):t.setAttribute("id",u),u="[id='"+u+"'] ",o=s.length;o--;)s[o]=u+pe(s[o]);l=ee.test(e)&&ce(t.parentNode)||t,c=s.join(",")}if(c)try{return O.apply(n,l.querySelectorAll(c)),n}catch(e){}finally{a||t.removeAttribute("id")}}}return g(e.replace(_,"$1"),t,n,r)}function ie(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function oe(e){return e[C]=!0,e}function se(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ae(e,t){for(var n=e.split("|"),r=e.length;r--;)b.attrHandle[n[r]]=t}function ue(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(s){return oe(function(o){return o=+o,oe(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ce(e){return e&&typeof e.getElementsByTagName!==D&&e}for(e in p=re.support={},t=re.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},m=re.setDocument=function(e){var u=e?e.ownerDocument||e:N,e=u.defaultView;return u!==T&&9===u.nodeType&&u.documentElement?(r=(T=u).documentElement,y=!t(u),e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",function(){m()},!1):e.attachEvent&&e.attachEvent("onunload",function(){m()})),p.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=se(function(e){return e.appendChild(u.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=K.test(u.getElementsByClassName)&&se(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),p.getById=se(function(e){return r.appendChild(e).id=C,!u.getElementsByName||!u.getElementsByName(C).length}),p.getById?(b.find.ID=function(e,t){if(typeof t.getElementById!==D&&y){e=t.getElementById(e);return e&&e.parentNode?[e]:[]}},b.filter.ID=function(e){var t=e.replace(ne,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ne,f);return function(e){e=typeof e.getAttributeNode!==D&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=p.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==D)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=p.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==D&&y)return t.getElementsByClassName(e)},i=[],v=[],(p.qsa=K.test(u.querySelectorAll))&&(se(function(e){e.innerHTML="",e.querySelectorAll("[msallowclip^='']").length&&v.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+R+"*(?:value|"+M+")"),e.querySelectorAll(":checked").length||v.push(":checked")}),se(function(e){var t=u.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+R+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(p.matchesSelector=K.test(s=r.matches||r.webkitMatchesSelector||r.mozMatchesSelector||r.oMatchesSelector||r.msMatchesSelector))&&se(function(e){p.disconnectedMatch=s.call(e,"div"),s.call(e,"[s!='']:x"),i.push("!=",I)}),v=v.length&&new RegExp(v.join("|")),i=i.length&&new RegExp(i.join("|")),e=K.test(r.compareDocumentPosition),x=e||K.test(r.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},j=e?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument===N&&x(N,e)?-1:t===u||t.ownerDocument===N&&x(N,t)?1:l?P.call(l,e)-P.call(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===u?-1:t===u?1:i?-1:o?1:l?P.call(l,e)-P.call(l,t):0;if(i===o)return ue(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ue(s[r],a[r]):s[r]===N?-1:a[r]===N?1:0},u):T},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&m(e),t=t.replace(U,"='$1']"),p.matchesSelector&&y&&(!i||!i.test(t))&&(!v||!v.test(t)))try{var n=s.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ne,f),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=d(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ne,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=a[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&a(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==D&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=re.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,T=/^.[^:#\[\.,]*$/;function C(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(T.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=i.call(n,e)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/;(w.fn.init=function(e,t){var n,r;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==k.ready?k.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:N.exec(e))||!n[1]&&t)return(!t||t.jquery?t||k:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),b.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=v.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=v,this.selector=e,this}).prototype=w.fn;var k=w(v),E=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function j(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;ex",y.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue;var _="undefined";y.focusinBubbles="onfocusin"in h;var z=/^key/,X=/^(?:mouse|pointer|contextmenu)|click/,U=/^(?:focusinfocus|focusoutblur)$/,V=/^([^.]*)(?:\.(.+)|)$/;function Y(){return!0}function G(){return!1}function Q(){try{return v.activeElement}catch(e){}}w.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=F.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=w.guid++),(a=h.events)||(a=h.events={}),(s=h.handle)||(s=h.handle=function(e){return typeof w!=_&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(A)||[""]).length;u--;)f=d=(l=V.exec(e[u])||[])[1],p=(l[2]||"").split(".").sort(),f&&(c=w.event.special[f]||{},f=(i?c.delegateType:c.bindType)||f,c=w.event.special[f]||{},l=w.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(d=a[f])||((d=a[f]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(f,s,!1)),c.add&&(c.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,l):d.push(l),w.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=F.hasData(e)&&F.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(A)||[""]).length;l--;)if(d=g=(a=V.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||w.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&(delete m.handle,F.remove(e,"events"))}},trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||v],f=m.call(e,"type")?e.type:e,p=m.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||v;if(3!==n.nodeType&&8!==n.nodeType&&!U.test(f+w.event.triggered)&&(0<=f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),l=w.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!w.isWindow(n)){for(s=l.delegateType||f,U.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||v)&&c.push(o.defaultView||o.parentWindow||h)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1]*)\/>/gi,K=/<([\w:]+)/,Z=/<|&#?\w+;/,ee=/<(?:script|style|link)/i,te=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/^$|\/(?:java|ecma)script/i,re=/^true\/(.*)/,ie=/^\s*\s*$/g,oe={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function se(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ue(e){var t=re.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function le(e,t){for(var n=0,r=e.length;n")+s[2],u=s[0];u--;)o=o.lastChild;w.merge(c,o.childNodes),(o=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",f=0;i=c[f++];)if((!r||-1===w.inArray(i,r))&&(a=w.contains(i.ownerDocument,i),o=fe(l.appendChild(i),"script"),a&&le(o),n))for(u=0;i=o[u++];)ne.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=w.event.special,s=0;void 0!==(n=e[s]);s++){if(w.acceptData(n)&&(i=n[F.expando])&&(t=F.cache[i])){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);F.cache[i]&&delete F.cache[i]}delete P.cache[n[P.expando]]}}}),w.fn.extend({text:function(e){return H(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||se(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=se(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(fe(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&le(fe(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return H(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ee.test(e)&&!oe[(K.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(J,"<$1>");try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=he(e,t),pe.detach()),de[e]=n),n}function me(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)}var ye,ve,xe,be,we,Te=/^margin/,Ce=new RegExp("^("+n+")(?!px)[a-z%]+$","i");function Ne(e,t,n){var r,i,o=e.style;return(n=n||me(e))&&(i=n.getPropertyValue(t)||n[t]),n&&(""!==i||w.contains(e.ownerDocument,e)||(i=w.style(e,t)),Ce.test(i)&&Te.test(t)&&(r=o.width,e=o.minWidth,t=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=r,o.minWidth=e,o.maxWidth=t)),void 0!==i?i+"":i}function ke(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function Ee(){we.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",we.innerHTML="",xe.appendChild(be);var e=h.getComputedStyle(we,null);ye="1%"!==e.top,ve="4px"===e.width,xe.removeChild(be)}xe=v.documentElement,be=v.createElement("div"),(we=v.createElement("div")).style&&(we.style.backgroundClip="content-box",we.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===we.style.backgroundClip,be.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",be.appendChild(we),h.getComputedStyle&&w.extend(y,{pixelPosition:function(){return Ee(),ye},boxSizingReliable:function(){return null==ve&&Ee(),ve},reliableMarginRight:function(){var e=we.appendChild(v.createElement("div"));return e.style.cssText=we.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",we.style.width="1px",xe.appendChild(be),e=!parseFloat(h.getComputedStyle(e,null).marginRight),xe.removeChild(be),e}})),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.apply(e,r||[]),t)e.style[i]=o[i];return r};var Se=/^(none|table(?!-c[ea]).+)/,je=new RegExp("^("+n+")(.*)$","i"),De=new RegExp("^([+-])=("+n+")","i"),Ae={position:"absolute",visibility:"hidden",display:"block"},Le={letterSpacing:"0",fontWeight:"400"},qe=["Webkit","O","Moz","ms"];function He(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=qe.length;i--;)if((t=qe[i]+n)in e)return t;return r}function Oe(e,t,n){var r=je.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Fe(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=w.css(e,n+B[o],!0,i)),r?("content"===n&&(s-=w.css(e,"padding"+B[o],!0,i)),"margin"!==n&&(s-=w.css(e,"border"+B[o]+"Width",!0,i))):(s+=w.css(e,"padding"+B[o],!0,i),"padding"!==n&&(s+=w.css(e,"border"+B[o]+"Width",!0,i)));return s}function Pe(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=me(e),s="border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=Ne(e,t,o))<0||null==i)&&(i=e.style[t]),Ce.test(i))return i;r=s&&(y.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Fe(e,t,n||(s?"border":"content"),r,o)+"px"}function Me(e,t){for(var n,r,i,o=[],s=0,a=e.length;s").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),v.head.appendChild(r[0])},abort:function(){i&&i()}}});var Et=[],St=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Et.pop()||w.expando+"_"+tt++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(St,"$1"+r):!1!==e.jsonp&&(e.url+=(nt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Et.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||v;var r=b.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))};var jt=w.fn.load;w.fn.load=function(e,t,n){if("string"!=typeof e&&jt)return jt.apply(this,arguments);var r,i,o,s=this,a=e.indexOf(" ");return 0<=a&&(r=w.trim(e.slice(a)),e=e.slice(0,a)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this},w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length};var Dt=h.document.documentElement;function At(e){return w.isWindow(e)?e:9===e.nodeType&&e.defaultView}w.offset={setOffset:function(e,t,n){var r,i,o,s,a=w.css(e,"position"),u=w(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=w.css(e,"top"),s=w.css(e,"left"),s=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+s),"using"in t?t.using.call(e,l):u.css(l)}},w.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)});var e,n=this[0],r={top:0,left:0},i=n&&n.ownerDocument;return i?(e=i.documentElement,w.contains(e,n)?(typeof n.getBoundingClientRect!=_&&(r=n.getBoundingClientRect()),i=At(i),{top:r.top+i.pageYOffset-e.clientTop,left:r.left+i.pageXOffset-e.clientLeft}):r):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===w.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(r=!w.nodeName(e[0],"html")?e.offset():r).top+=w.css(e[0],"borderTopWidth",!0),r.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-w.css(n,"marginTop",!0),left:t.left-r.left-w.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Dt;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||Dt})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;w.fn[t]=function(e){return H(this,function(e,t,n){var r=At(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?h.pageXOffset:n,o?n:h.pageYOffset):e[t]=n},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=ke(y.pixelPosition,function(e,t){if(t)return t=Ne(e,n),Ce.test(t)?w(e).position()[n]+"px":t})}),w.each({Height:"height",Width:"width"},function(o,s){w.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return H(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Lt=h.jQuery,qt=h.$;return w.noConflict=function(e){return h.$===w&&(h.$=qt),e&&h.jQuery===w&&(h.jQuery=Lt),w},typeof e==_&&(h.jQuery=h.$=w),w}); \ No newline at end of file +!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(h,P){function M(e,t){return t.toUpperCase()}var e=[],c=e.slice,R=e.concat,W=e.push,i=e.indexOf,n={},$=n.toString,B=n.hasOwnProperty,g={},m=h.document,t="2.1.1-rc2",w=function(e,t){return new w.fn.init(e,t)},I=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,_=/^-ms-/,z=/-([\da-z])/gi;function X(e){var t=e.length,n=w.type(e);return"function"!==n&&!w.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0>10|55296,1023&r|56320)}var e,p,b,o,M,d,R,W,w,l,c,h,T,t,g,m,r,i,y,x="sizzle"+-new Date,v=P.document,C=0,$=0,B=le(),I=le(),_=le(),z=function(e,t){return e===t&&(c=!0),0},n="undefined",X={}.hasOwnProperty,s=[],U=s.pop,V=s.push,N=s.push,Y=s.slice,k=s.indexOf||function(e){for(var t=0,n=this.length;t+~]|"+a+")"+a+"*"),te=new RegExp("="+a+"*([^\\]'\"]*?)"+a+"*\\]","g"),ne=new RegExp(K),re=new RegExp("^"+Q+"$"),S={ID:new RegExp("^#("+u+")"),CLASS:new RegExp("^\\.("+u+")"),TAG:new RegExp("^("+u.replace("w","w*")+")"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+a+"*(even|odd|(([+-]|)(\\d*)n|)"+a+"*(?:([+-]|)"+a+"*(\\d+)|))"+a+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+a+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+a+"*((?:-\\d)?\\d*)"+a+"*\\)|)(?=[^-]|$)","i")},ie=/^(?:input|select|textarea|button)$/i,oe=/^h\d$/i,j=/^[^{]+\{\s*\[native \w/,se=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ae=/[+~]/,ue=/'|\\/g,D=new RegExp("\\\\([\\da-f]{1,6}"+a+"?|("+a+")|.)","ig");try{N.apply(s=Y.call(v.childNodes),v.childNodes),s[v.childNodes.length].nodeType}catch(e){N={apply:s.length?function(e,t){V.apply(e,Y.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function A(e,t,n,r){var i,o,s,a,u,l,c;if((t?t.ownerDocument||t:v)!==T&&h(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(i=(t=t||T).nodeType)&&9!==i)return[];if(g&&!r){if(l=se.exec(e))if(c=l[1]){if(9===i){if(!(a=t.getElementById(c))||!a.parentNode)return n;if(a.id===c)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(c))&&y(t,a)&&a.id===c)return n.push(a),n}else{if(l[2])return N.apply(n,t.getElementsByTagName(e)),n;if((c=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return N.apply(n,t.getElementsByClassName(c)),n}if(p.qsa&&(!m||!m.test(e))){if(u=a=x,l=t,c=9===i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(s=d(e),(a=t.getAttribute("id"))?u=a.replace(ue,"\\$&"):t.setAttribute("id",u),u="[id='"+u+"'] ",o=s.length;o--;)s[o]=u+O(s[o]);l=ae.test(e)&&pe(t.parentNode)||t,c=s.join(",")}if(c)try{return N.apply(n,l.querySelectorAll(c)),n}catch(e){}finally{a||t.removeAttribute("id")}}}return W(e.replace(E,"$1"),t,n,r)}function le(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function L(e){return e[x]=!0,e}function q(e){var t=T.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function ce(e,t){for(var n=e.split("|"),r=e.length;r--;)b.attrHandle[n[r]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function H(s){return L(function(o){return o=+o,L(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function pe(e){return e&&typeof e.getElementsByTagName!==n&&e}for(e in p=A.support={},M=A.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},h=A.setDocument=function(e){var u=e?e.ownerDocument||e:v,e=u.defaultView;return u!==T&&9===u.nodeType&&u.documentElement?(t=(T=u).documentElement,g=!M(u),e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",function(){h()},!1):e.attachEvent&&e.attachEvent("onunload",function(){h()})),p.attributes=q(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=q(function(e){return e.appendChild(u.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=j.test(u.getElementsByClassName)&&q(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),p.getById=q(function(e){return t.appendChild(e).id=x,!u.getElementsByName||!u.getElementsByName(x).length}),p.getById?(b.find.ID=function(e,t){if(typeof t.getElementById!==n&&g)return(t=t.getElementById(e))&&t.parentNode?[t]:[]},b.filter.ID=function(e){var t=e.replace(D,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(D,f);return function(e){e=typeof e.getAttributeNode!==n&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=p.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==n)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=p.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==n&&g)return t.getElementsByClassName(e)},r=[],m=[],(p.qsa=j.test(u.querySelectorAll))&&(q(function(e){e.innerHTML="",e.querySelectorAll("[msallowclip^='']").length&&m.push("[*^$]="+a+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+a+"*(?:value|"+G+")"),e.querySelectorAll(":checked").length||m.push(":checked")}),q(function(e){var t=u.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+a+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(p.matchesSelector=j.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&q(function(e){p.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",K)}),m=m.length&&new RegExp(m.join("|")),r=r.length&&new RegExp(r.join("|")),e=j.test(t.compareDocumentPosition),y=e||j.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument===v&&y(v,e)?-1:t===u||t.ownerDocument===v&&y(v,t)?1:l?k.call(l,e)-k.call(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===u?-1:t===u?1:i?-1:o?1:l?k.call(l,e)-k.call(l,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]===v?-1:a[r]===v?1:0},u):T},A.matches=function(e,t){return A(e,null,null,t)},A.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&h(e),t=t.replace(te,"='$1']"),p.matchesSelector&&g&&(!r||!r.test(t))&&(!m||!m.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(D,f),e[3]=(e[3]||e[4]||e[5]||"").replace(D,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||A.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&A.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return S.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ne.test(n)&&(t=(t=d(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(D,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+a+")"+e+"("+a+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==n&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=A.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,Y=/^.[^:#\[\.,]*$/;function G(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(Y.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=i.call(n,e)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t)[^>]*|#([\w-]*))$/,J=((w.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==o.ready?o.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Q.exec(e))||!n[1]&&t)return(!t||t.jquery?t||o:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),V.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else(r=m.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=m,this.selector=e}return this}).prototype=w.fn,o=w(m),/^(?:parents|prev(?:Until|All))/),K={children:!0,contents:!0,next:!0,prev:!0};function Z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;ex",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,"undefined"),oe=(g.focusinBubbles="onfocusin"in h,/^key/),se=/^(?:mouse|pointer|contextmenu)|click/,ae=/^(?:focusinfocus|focusoutblur)$/,ue=/^([^.]*)(?:\.(.+)|)$/;function p(){return!0}function d(){return!1}function le(){try{return m.activeElement}catch(e){}}w.event={global:{},add:function(t,e,n,r,i){var o,s,a,u,l,c,f,p,d,h=y.get(t);if(h)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=w.guid++),a=(a=h.events)||(h.events={}),s=(s=h.handle)||(h.handle=function(e){return typeof w!=x&&w.event.triggered!==e.type?w.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(T)||[""]).length;u--;)f=d=(p=ue.exec(e[u])||[])[1],p=(p[2]||"").split(".").sort(),f&&(l=w.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=w.event.special[f]||{},d=w.extend({type:f,origType:d,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:p.join(".")},o),(c=a[f])||((c=a[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,r,p,s))||t.addEventListener&&t.addEventListener(f,s,!1),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,d):c.push(d),w.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,d,h,g,m=y.hasData(e)&&y.get(e);if(m&&(u=m.events)){for(l=(t=(t||"").match(T)||[""]).length;l--;)if(d=g=(a=ue.exec(t[l])||[])[1],h=(a[2]||"").split(".").sort(),d){for(f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,m.handle)||w.removeEvent(e,d,m.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&(delete m.handle,y.remove(e,"events"))}},trigger:function(e,t,n,r){var i,o,s,a,u,l,c=[n||m],f=B.call(e,"type")?e.type:e,p=B.call(e,"namespace")?e.namespace.split("."):[],d=o=n=n||m;if(3!==n.nodeType&&8!==n.nodeType&&!ae.test(f+w.event.triggered)&&(0<=f.indexOf(".")&&(f=(p=f.split(".")).shift(),p.sort()),a=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),l=w.event.special[f]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!w.isWindow(n)){for(s=l.delegateType||f,ae.test(s+f)||(d=d.parentNode);d;d=d.parentNode)c.push(d),o=d;o===(n.ownerDocument||m)&&c.push(o.defaultView||o.parentWindow||h)}for(i=0;(d=c[i++])&&!e.isPropagationStopped();)e.type=1]*)\/>/gi,fe=/<([\w:]+)/,pe=/<|&#?\w+;/,de=/<(?:script|style|link)/i,he=/checked\s*(?:[^=]|=\s*.checked.)/i,ge=/^$|\/(?:java|ecma)script/i,me=/^true\/(.*)/,ye=/^\s*\s*$/g,b={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function be(e){var t=me.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function we(e,t){for(var n=0,r=e.length;n")+s[2],u=s[0];u--;)o=o.lastChild;w.merge(c,o.childNodes),(o=l.firstChild).textContent=""}else c.push(t.createTextNode(i));for(l.textContent="",f=0;i=c[f++];)if((!r||-1===w.inArray(i,r))&&(a=w.contains(i.ownerDocument,i),o=C(l.appendChild(i),"script"),a&&we(o),n))for(u=0;i=o[u++];)ge.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=w.event.special,s=0;void 0!==(n=e[s]);s++){if(w.acceptData(n)&&(i=n[y.expando])&&(t=y.cache[i])){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);y.cache[i]&&delete y.cache[i]}delete l.cache[n[l.expando]]}}}),w.fn.extend({text:function(e){return a(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ve(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=ve(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(C(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&we(C(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(C(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return a(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!de.test(e)&&!b[(fe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ce,"<$1>");try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=ke(e,t),Ce.detach()),Ne[e]=n),n}function Se(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)}var je,De,N,k,E,Ae=/^margin/,Le=new RegExp("^("+t+")(?!px)[a-z%]+$","i");function S(e,t,n){var r,i,o=e.style;return(n=n||Se(e))&&(i=n.getPropertyValue(t)||n[t]),n&&(""!==i||w.contains(e.ownerDocument,e)||(i=w.style(e,t)),Le.test(i))&&Ae.test(t)&&(e=o.width,t=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=e,o.minWidth=t,o.maxWidth=r),void 0!==i?i+"":i}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function He(){E.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.innerHTML="",N.appendChild(k);var e=h.getComputedStyle(E,null);je="1%"!==e.top,De="4px"===e.width,N.removeChild(k)}N=m.documentElement,k=m.createElement("div"),(E=m.createElement("div")).style&&(E.style.backgroundClip="content-box",E.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===E.style.backgroundClip,k.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",k.appendChild(E),h.getComputedStyle)&&w.extend(g,{pixelPosition:function(){return He(),je},boxSizingReliable:function(){return null==De&&He(),De},reliableMarginRight:function(){var e=E.appendChild(m.createElement("div"));return e.style.cssText=E.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",E.style.width="1px",N.appendChild(k),e=!parseFloat(h.getComputedStyle(e,null).marginRight),N.removeChild(k),e}}),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n};var Oe=/^(none|table(?!-c[ea]).+)/,Fe=new RegExp("^("+t+")(.*)$","i"),Pe=new RegExp("^([+-])=("+t+")","i"),Me={position:"absolute",visibility:"hidden",display:"block"},Re={letterSpacing:"0",fontWeight:"400"},We=["Webkit","O","Moz","ms"];function $e(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=We.length;i--;)if((t=We[i]+n)in e)return t;return r}function Be(e,t,n){var r=Fe.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ie(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=w.css(e,n+f[o],!0,i)),r?("content"===n&&(s-=w.css(e,"padding"+f[o],!0,i)),"margin"!==n&&(s-=w.css(e,"border"+f[o]+"Width",!0,i))):(s+=w.css(e,"padding"+f[o],!0,i),"padding"!==n&&(s+=w.css(e,"border"+f[o]+"Width",!0,i)));return s}function _e(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Se(e),s="border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=S(e,t,o))<0||null==i)&&(i=e.style[t]),Le.test(i))return i;r=s&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ie(e,t,n||(s?"border":"content"),r,o)+"px"}function ze(e,t){for(var n,r,i,o=[],s=0,a=e.length;s").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),m.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),St=/(=)\?(?=&|$)|\?\?/,jt=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Et.pop()||w.expando+"_"+it++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(St.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&St.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(St,"$1"+r):!1!==e.jsonp&&(e.url+=(ot.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=h[r],h[r]=function(){o=arguments},n.always(function(){h[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Et.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||m;var r=V.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))},w.fn.load),Dt=(w.fn.load=function(e,t,n){var r,i,o,s,a;return"string"!=typeof e&&jt?jt.apply(this,arguments):(s=this,0<=(a=e.indexOf(" "))&&(r=w.trim(e.slice(a)),e=e.slice(0,a)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){s.each(n,o||[e.responseText,t,e])}),this)},w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},h.document.documentElement);function At(e){return w.isWindow(e)?e:9===e.nodeType&&e.defaultView}w.offset={setOffset:function(e,t,n){var r,i,o,s,a=w.css(e,"position"),u=w(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=w.css(e,"top"),s=w.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},w.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(r={top:0,left:0},(i=(n=this[0])&&n.ownerDocument)?(e=i.documentElement,w.contains(e,n)?(typeof n.getBoundingClientRect!=x&&(r=n.getBoundingClientRect()),n=At(i),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r):void 0)},position:function(){var e,t,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===w.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(r=w.nodeName(e[0],"html")?r:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),r.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-w.css(n,"marginTop",!0),left:t.left-r.left-w.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Dt;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||Dt})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;w.fn[t]=function(e){return a(this,function(e,t,n){var r=At(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?h.pageXOffset:n,o?n:h.pageYOffset):e[t]=n},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=qe(g.pixelPosition,function(e,t){if(t)return t=S(e,n),Le.test(t)?w(e).position()[n]+"px":t})}),w.each({Height:"height",Width:"width"},function(o,s){w.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return a(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},s,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Lt=h.jQuery,qt=h.$;return w.noConflict=function(e){return h.$===w&&(h.$=qt),e&&h.jQuery===w&&(h.jQuery=Lt),w},typeof P==x&&(h.jQuery=h.$=w),w}); \ No newline at end of file diff --git a/admin/js/moxie.js b/admin/js/moxie.js deleted file mode 100644 index 52babae7f1..0000000000 --- a/admin/js/moxie.js +++ /dev/null @@ -1 +0,0 @@ -var MXI_DEBUG=!0;!function(e){function t(){var e={};return function(){(function(a,w){"use strict";var s={};function n(e,t){var i,n=[];for(var r=0;r0)c(e,function(e,t){var i=m(s(e),["array","object"])!==-1;if(e===o||n&&a[t]===o)return true;if(i&&r)e=u(e);if(s(a[t])===s(e)&&i)l(n,r,[a[t],e]);else a[t]=e})});return a}function o(t,e){for(var i in e)if({}.hasOwnProperty.call(e,i))t[i]=e[i];function n(){this.constructor=t;if(MXI_DEBUG){var e=function(e){var t=e.toString().match(/^function\s([^\(\s]+)/);return t?t[1]:false};this.ctorName=e(t)}}n.prototype=e.prototype;t.prototype=new n;t.parent=e.prototype;return t}function c(e,t){var i,n,r,o;if(e){try{i=e.length}catch(e){i=o}if(i===o||typeof i!=="number"){for(n in e)if(e.hasOwnProperty(n))if(t(e[n],n)===false)return}else for(r=0;r>16&255;r=c>>8&255;o=c&255;if(u==64)h[d++]=String.fromCharCode(n);else if(l==64)h[d++]=String.fromCharCode(n,r);else h[d++]=String.fromCharCode(n,r,o)}while(f>18&63;s=c>>12&63;u=c>>6&63;l=c&63;h[d++]=i.charAt(a)+i.charAt(s)+i.charAt(u)+i.charAt(l)}while(f0){if(o.length==2)if(typeof o[1]==d)e[o[0]]=o[1].call(this,s);else e[o[0]]=o[1];else if(o.length==3)if(typeof o[1]===d&&!(o[1].exec&&o[1].test))e[o[0]]=s?o[1].call(this,s,o[2]):f;else e[o[0]]=s?s.replace(o[1],o[2]):f;else if(o.length==4)e[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):f}else e[o]=s?s:f}break}}if(!!a)break}return e},str:function(e,t){for(var i in t)if(typeof t[i]===h&&t[i].length>0){for(var n=0;nt[n]){o=1;break}}if(!i)return o;switch(i){case">":case"gt":return o>0;case">=":case"ge":return o>=0;case"<=":case"le":return o<=0;case"==":case"=":case"eq":return o===0;case"<>":case"!=":case"ne":return o!==0;case"":case"<":case"lt":return o<0;default:return null}}var i=function(){var n={access_global_ns:function(){return!!window.moxie},define_property:function(){return false}(),create_canvas:function(){var e=document.createElement("canvas");var t=!!(e.getContext&&e.getContext("2d"));n.create_canvas=t;return t},return_response_type:function(e){try{if(r.inArray(e,["","text","document"])!==-1)return true;else if(window.XMLHttpRequest){var t=new XMLHttpRequest;t.open("get","/");if("responseType"in t){t.responseType=e;if(t.responseType!==e)return false;return true}}}catch(e){}return false},use_blob_uri:function(){var e=window.URL;n.use_blob_uri=e&&"createObjectURL"in e&&"revokeObjectURL"in e&&(o.browser!=="IE"||o.verComp(o.version,"11.0.46",">="));return n.use_blob_uri},use_data_uri:function(){var e=new Image;e.onload=function(){n.use_data_uri=e.width===1&&e.height===1};setTimeout(function(){e.src="data:image/gif;base64,R0lGODlhAQABAIAAAP8AAAAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=="},1);return false}(),use_data_uri_over32kb:function(){return n.use_data_uri&&(o.browser!=="IE"||o.version>=9)},use_data_uri_of:function(e){return n.use_data_uri&&e<33e3||n.use_data_uri_over32kb()},use_fileinput:function(){if(navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/))return false;var e=document.createElement("input");e.setAttribute("type","file");return n.use_fileinput=!e.disabled},use_webgl:function(){var e=document.createElement("canvas");var t=null,i;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}if(!t)t=null;i=!!t;n.use_webgl=i;e=w;return i}};return function(e){var t=[].slice.call(arguments);t.shift();return r.typeOf(n[e])==="function"?n[e].apply(this,t):!!n[e]}}();var n=(new e).getResult();var o={can:i,uaParser:e,browser:n.browser.name,version:n.browser.version,os:n.os.name,osVersion:n.os.version,verComp:t,swf_url:"../flash/Moxie.swf",xap_url:"../silverlight/Moxie.xap",global_event_dispatcher:"moxie.core.EventTarget.instance.dispatchEvent"};o.OS=o.os;if(MXI_DEBUG){o.debug={runtime:true,events:false};o.log=function(){function e(e){t.appendChild(document.createTextNode(e+"\n"))}if(window&&window.console&&window.console.log&&window.console.log.apply)window.console.log.apply(window.console,arguments);else if(document){var t=document.getElementById("moxie-console");if(!t){t=document.createElement("pre");t.id="moxie-console";document.body.appendChild(t)}var i=arguments[0];if(r.typeOf(i)==="string")i=r.sprintf.apply(this,arguments);else if(r.inArray(r.typeOf(i),["object","array"])!==-1){e(i);return}t.appendChild(document.createTextNode(i+"\n"))}}}return o});e("moxie/core/Exceptions",["moxie/core/utils/Basic"],function(n){function r(e,t){var i;for(i in e)if(e[i]===t)return i;return null}return{RuntimeError:function(){var i={NOT_INIT_ERR:1,EXCEPTION_ERR:3,NOT_SUPPORTED_ERR:9,JS_ERR:4};function e(e,t){this.code=e;this.name=r(i,e);this.message=this.name+(t||": RuntimeError "+this.code)}n.extend(e,i);e.prototype=Error.prototype;return e}(),OperationNotAllowedException:function(){function e(e){this.code=e;this.name="OperationNotAllowedException"}n.extend(e,{NOT_ALLOWED_ERR:1});e.prototype=Error.prototype;return e}(),ImageError:function(){var t={WRONG_FORMAT:1,MAX_RESOLUTION_ERR:2,INVALID_META_ERR:3};function e(e){this.code=e;this.name=r(t,e);this.message=this.name+": ImageError "+this.code}n.extend(e,t);e.prototype=Error.prototype;return e}(),FileException:function(){var t={NOT_FOUND_ERR:1,SECURITY_ERR:2,ABORT_ERR:3,NOT_READABLE_ERR:4,ENCODING_ERR:5,NO_MODIFICATION_ALLOWED_ERR:6,INVALID_STATE_ERR:7,SYNTAX_ERR:8};function e(e){this.code=e;this.name=r(t,e);this.message=this.name+": FileException "+this.code}n.extend(e,t);e.prototype=Error.prototype;return e}(),DOMException:function(){var t={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25};function e(e){this.code=e;this.name=r(t,e);this.message=this.name+": DOMException "+this.code}n.extend(e,t);e.prototype=Error.prototype;return e}(),EventException:function(){function e(e){this.code=e;this.name="EventException"}n.extend(e,{UNSPECIFIED_EVENT_TYPE_ERR:0});e.prototype=Error.prototype;return e}()}});e("moxie/core/utils/Dom",["moxie/core/utils/Env"],function(l){var e=function(e){if(typeof e!=="string")return e;return document.getElementById(e)};var i=function(e,t){if(!e.className)return false;var i=new RegExp("(^|\\s+)"+t+"(\\s+|$)");return i.test(e.className)};var t=function(e,t){if(!i(e,t))e.className=!e.className?t:e.className.replace(/\s+$/,"")+" "+t};var n=function(e,t){if(e.className){var i=new RegExp("(^|\\s+)"+t+"(\\s+|$)");e.className=e.className.replace(i,function(e,t,i){return t===" "&&i===" "?" ":""})}};var r=function(e,t){if(e.currentStyle)return e.currentStyle[t];else if(window.getComputedStyle)return window.getComputedStyle(e,null)[t]};var o=function(e,t){var i=0,n=0,r,o=document,a,s;e=e;t=t||o.body;function u(e){var t,i,n=0,r=0;if(e){i=e.getBoundingClientRect();t=o.compatMode==="CSS1Compat"?o.documentElement:o.body;n=i.left+t.scrollLeft;r=i.top+t.scrollTop}return{x:n,y:r}}if(e&&e.getBoundingClientRect&&l.browser==="IE"&&(!o.documentMode||o.documentMode<8)){a=u(e);s=u(t);return{x:a.x-s.x,y:a.y-s.y}}r=e;while(r&&r!=t&&r.nodeType){i+=r.offsetLeft||0;n+=r.offsetTop||0;r=r.offsetParent}r=e.parentNode;while(r&&r!=t&&r.nodeType){i-=r.scrollLeft||0;n-=r.scrollTop||0;r=r.parentNode}return{x:i,y:n}};var a=function(e){return{w:e.offsetWidth||e.clientWidth,h:e.offsetHeight||e.clientHeight}};return{get:e,hasClass:i,addClass:t,removeClass:n,getStyle:r,getPos:o,getSize:a}});e("moxie/core/EventTarget",["moxie/core/utils/Env","moxie/core/Exceptions","moxie/core/utils/Basic"],function(l,c,f){var d={};function e(){this.uid=f.guid()}f.extend(e.prototype,{init:function(){if(!this.uid)this.uid=f.guid("uid_")},addEventListener:function(e,t,i,n){var r=this,o;if(!this.hasOwnProperty("uid"))this.uid=f.guid("uid_");e=f.trim(e);if(/\s/.test(e)){f.each(e.split(/\s+/),function(e){r.addEventListener(e,t,i,n)});return}e=e.toLowerCase();i=parseInt(i,10)||0;o=d[this.uid]&&d[this.uid][e]||[];o.push({fn:t,priority:i,scope:n||this});if(!d[this.uid])d[this.uid]={};d[this.uid][e]=o},hasEventListener:function(e){var t;if(e){e=e.toLowerCase();t=d[this.uid]&&d[this.uid][e]}else t=d[this.uid];return t?t:false},removeEventListener:function(e,t){var i=this,n,r;e=e.toLowerCase();if(/\s/.test(e)){f.each(e.split(/\s+/),function(e){i.removeEventListener(e,t)});return}n=d[this.uid]&&d[this.uid][e];if(n){if(t){for(r=n.length-1;r>=0;r--)if(n[r].fn===t){n.splice(r,1);break}}else n=[];if(!n.length){delete d[this.uid][e];if(f.isEmptyObj(d[this.uid]))delete d[this.uid]}}},removeAllEventListeners:function(){if(d[this.uid])delete d[this.uid]},dispatchEvent:function(t){var i,e,n,r,o={},a=true,s;if(f.typeOf(t)!=="string"){r=t;if(f.typeOf(r.type)==="string"){t=r.type;if(r.total!==s&&r.loaded!==s){o.total=r.total;o.loaded=r.loaded}o.async=r.async||false}else throw new c.EventException(c.EventException.UNSPECIFIED_EVENT_TYPE_ERR)}if(t.indexOf("::")!==-1)(function(e){i=e[0];t=e[1]})(t.split("::"));else i=this.uid;t=t.toLowerCase();e=d[i]&&d[i][t];if(e){e.sort(function(e,t){return t.priority-e.priority});n=[].slice.call(arguments);n.shift();o.type=t;n.unshift(o);if(MXI_DEBUG&&l.debug.events)l.log("%cEvent '%s' fired on %s","color: #999;",o.type,(this.ctorName?this.ctorName+"::":"")+i);var u=[];f.each(e,function(t){n[0].target=t.scope;if(o.async)u.push(function(e){setTimeout(function(){e(t.fn.apply(t.scope,n)===false)},1)});else u.push(function(e){e(t.fn.apply(t.scope,n)===false)})});if(u.length)f.inSeries(u,function(e){a=!e})}return a},bindOnce:function(t,i,e,n){var r=this;r.bind.call(this,t,function e(){r.unbind(t,e);return i.apply(this,arguments)},e,n)},bind:function(){this.addEventListener.apply(this,arguments)},unbind:function(){this.removeEventListener.apply(this,arguments)},unbindAll:function(){this.removeAllEventListeners.apply(this,arguments)},trigger:function(){return this.dispatchEvent.apply(this,arguments)},handleEventProps:function(e){var t=this;this.bind(e.join(" "),function(e){var t="on"+e.type.toLowerCase();if(f.typeOf(this[t])==="function")this[t].apply(this,arguments)});f.each(e,function(e){e="on"+e.toLowerCase(e);if(f.typeOf(t[e])==="undefined")t[e]=null})}});e.instance=new e;return e});e("moxie/runtime/Runtime",["moxie/core/utils/Env","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/EventTarget"],function(l,c,f,i){var n={},d={};function m(e,t,r,i,n){var o=this,a,s=c.guid(t+"_"),u=n||"browser";e=e||{};d[s]=this;r=c.extend({access_binary:false,access_image_binary:false,display_media:false,do_cors:false,drag_and_drop:false,filter_by_extension:true,resize_image:false,report_upload_progress:false,return_response_headers:false,return_response_type:false,return_status_code:true,send_custom_headers:false,select_file:false,select_folder:false,select_multiple:true,send_binary_string:false,send_browser_cookies:true,send_multipart:true,slice_blob:false,stream_upload:false,summon_file_dialog:false,upload_filesize:true,use_http_method:true},r);if(e.preferred_caps)u=m.getMode(i,e.preferred_caps,u);if(MXI_DEBUG&&l.debug.runtime)l.log("\tdefault mode: %s",u);a=function(){var r={};return{exec:function(e,t,i,n){if(a[t]){if(!r[e])r[e]={context:this,instance:new a[t]};if(r[e].instance[i])return r[e].instance[i].apply(this,n)}},removeInstance:function(e){delete r[e]},removeAllInstances:function(){var i=this;c.each(r,function(e,t){if(c.typeOf(e.instance.destroy)==="function")e.instance.destroy.call(e.context);i.removeInstance(t)})}}}();c.extend(this,{initialized:false,uid:s,type:t,mode:m.getMode(i,e.required_caps,u),shimid:s+"_container",clients:0,options:e,can:function(e,t){var i=arguments[2]||r;if(c.typeOf(e)==="string"&&c.typeOf(t)==="undefined")e=m.parseCaps(e);if(c.typeOf(e)==="object"){for(var n in e)if(!this.can(n,e[n],i))return false;return true}if(c.typeOf(i[e])==="function")return i[e].call(this,t);else return t===i[e]},getShimContainer:function(){var e,t=f.get(this.shimid);if(!t){e=f.get(this.options.container)||document.body;t=document.createElement("div");t.id=this.shimid;t.className="moxie-shim moxie-shim-"+this.type;c.extend(t.style,{position:"absolute",top:"0px",left:"0px",width:"1px",height:"1px",overflow:"hidden"});e.appendChild(t);e=null}return t},getShim:function(){return a},shimExec:function(e,t){var i=[].slice.call(arguments,2);return o.getShim().exec.call(this,this.uid,e,t,i)},exec:function(e,t){var i=[].slice.call(arguments,2);if(o[e]&&o[e][t])return o[e][t].apply(this,i);return o.shimExec.apply(this,arguments)},destroy:function(){if(!o)return;var e=f.get(this.shimid);if(e)e.parentNode.removeChild(e);if(a)a.removeAllInstances();this.unbindAll();delete d[this.uid];this.uid=null;s=o=a=e=null}});if(this.mode&&e.required_caps&&!this.can(e.required_caps))this.mode=false}m.order="html5,flash,silverlight,html4";m.getRuntime=function(e){return d[e]?d[e]:false};m.addConstructor=function(e,t){t.prototype=i.instance;n[e]=t};m.getConstructor=function(e){return n[e]||null};m.getInfo=function(e){var t=m.getRuntime(e);if(t)return{uid:t.uid,type:t.type,mode:t.mode,can:function(){return t.can.apply(t,arguments)}};return null};m.parseCaps=function(e){var t={};if(c.typeOf(e)!=="string")return e||{};c.each(e.split(","),function(e){t[e]=true});return t};m.can=function(e,t){var i,n=m.getConstructor(e),r;if(n){i=new n({required_caps:t});r=i.mode;i.destroy();return!!r}return false};m.thatCan=function(e,t){var i=(t||m.order).split(/\s*,\s*/);for(var n in i)if(m.can(i[n],e))return i[n];return null};m.getMode=function(n,e,t){var r=null;if(c.typeOf(t)==="undefined")t="browser";if(e&&!c.isEmptyObj(n)){c.each(e,function(e,t){if(n.hasOwnProperty(t)){var i=n[t](e);if(typeof i==="string")i=[i];if(!r)r=i;else if(!(r=c.arrayIntersect(r,i))){if(MXI_DEBUG&&l.debug.runtime)l.log("\t\t%s: %s (conflicting mode requested: %s)",t,e,i);return r=false}}if(MXI_DEBUG&&l.debug.runtime)l.log("\t\t%s: %s (compatible modes: %s)",t,e,r)});if(r)return c.inArray(t,r)!==-1?t:r[0];else if(r===false)return false}return t};m.getGlobalEventTarget=function(){if(/^moxie\./.test(l.global_event_dispatcher)&&!l.can("access_global_ns")){var e=c.guid("moxie_event_target_");window[e]=function(e,t){i.instance.dispatchEvent(e,t)};l.global_event_dispatcher=e}return l.global_event_dispatcher};m.capTrue=function(){return true};m.capFalse=function(){return false};m.capTest=function(e){return function(){return!!e}};return m});e("moxie/runtime/RuntimeClient",["moxie/core/utils/Env","moxie/core/Exceptions","moxie/core/utils/Basic","moxie/runtime/Runtime"],function(s,u,t,l){return function e(){var a;t.extend(this,{connectRuntime:function(n){var r=this,e;function o(e){var t,i;if(!e.length){r.trigger("RuntimeError",new u.RuntimeError(u.RuntimeError.NOT_INIT_ERR));a=null;return}t=e.shift().toLowerCase();i=l.getConstructor(t);if(!i){if(MXI_DEBUG&&s.debug.runtime)s.log("Constructor for '%s' runtime is not available.",t);o(e);return}if(MXI_DEBUG&&s.debug.runtime){s.log("Trying runtime: %s",t);s.log(n)}a=new i(n);a.bind("Init",function(){a.initialized=true;if(MXI_DEBUG&&s.debug.runtime)s.log("Runtime '%s' initialized",a.type);setTimeout(function(){a.clients++;r.ruid=a.uid;r.trigger("RuntimeInit",a)},1)});a.bind("Error",function(){if(MXI_DEBUG&&s.debug.runtime)s.log("Runtime '%s' failed to initialize",a.type);a.destroy();o(e)});a.bind("Exception",function(e,t){var i=t.name+"(#"+t.code+")"+(t.message?", from: "+t.message:"");if(MXI_DEBUG&&s.debug.runtime)s.log("Runtime '%s' has thrown an exception: %s",this.type,i);r.trigger("RuntimeError",new u.RuntimeError(u.RuntimeError.EXCEPTION_ERR,i))});if(MXI_DEBUG&&s.debug.runtime)s.log("\tselected mode: %s",a.mode);if(!a.mode){a.trigger("Error");return}a.init()}if(t.typeOf(n)==="string")e=n;else if(t.typeOf(n.ruid)==="string")e=n.ruid;if(e){a=l.getRuntime(e);if(a){r.ruid=e;a.clients++;return a}else throw new u.RuntimeError(u.RuntimeError.NOT_INIT_ERR)}o((n.runtime_order||l.order).split(/\s*,\s*/))},disconnectRuntime:function(){if(a&&--a.clients<=0)a.destroy();a=null},getRuntime:function(){if(a&&a.uid)return a;return a=null},exec:function(){return a?a.exec.apply(this,arguments):null},can:function(e){return a?a.can(e):false}})}});e("moxie/file/Blob",["moxie/core/utils/Basic","moxie/core/utils/Encode","moxie/runtime/RuntimeClient"],function(o,i,r){var a={};function s(e,t){function n(e,t,i){var n,r=a[this.uid];if(o.typeOf(r)!=="string"||!r.length)return null;n=new s(null,{type:i,size:t-e});n.detach(r.substr(e,n.size));return n}r.call(this);if(e)this.connectRuntime(e);if(!t)t={};else if(o.typeOf(t)==="string")t={data:t};o.extend(this,{uid:t.uid||o.guid("uid_"),ruid:e,size:t.size||0,type:t.type||"",slice:function(e,t,i){if(this.isDetached())return n.apply(this,arguments);return this.getRuntime().exec.call(this,"Blob","slice",this.getSource(),e,t,i)},getSource:function(){if(!a[this.uid])return null;return a[this.uid]},detach:function(e){if(this.ruid){this.getRuntime().exec.call(this,"Blob","destroy");this.disconnectRuntime();this.ruid=null}e=e||"";if(e.substr(0,5)=="data:"){var t=e.indexOf(";base64,");this.type=e.substring(5,t);e=i.atob(e.substring(t+8))}this.size=e.length;a[this.uid]=e},isDetached:function(){return!this.ruid&&o.typeOf(a[this.uid])==="string"},destroy:function(){this.detach();delete a[this.uid]}});if(t.data)this.detach(t.data);else a[this.uid]=t}return s});e("moxie/core/I18n",["moxie/core/utils/Basic"],function(i){var t={};return{addI18n:function(e){return i.extend(t,e)},translate:function(e){return t[e]||e},_:function(e){return this.translate(e)},sprintf:function(e){var t=[].slice.call(arguments,1);return e.replace(/%[a-z]/g,function(){var e=t.shift();return i.typeOf(e)!=="undefined"?e:""})}}});e("moxie/core/utils/Mime",["moxie/core/utils/Basic","moxie/core/I18n"],function(s,n){var e=""+"application/msword,doc dot,"+"application/pdf,pdf,"+"application/pgp-signature,pgp,"+"application/postscript,ps ai eps,"+"application/rtf,rtf,"+"application/vnd.ms-excel,xls xlb xlt xla,"+"application/vnd.ms-powerpoint,ppt pps pot ppa,"+"application/zip,zip,"+"application/x-shockwave-flash,swf swfl,"+"application/vnd.openxmlformats-officedocument.wordprocessingml.document,docx,"+"application/vnd.openxmlformats-officedocument.wordprocessingml.template,dotx,"+"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,xlsx,"+"application/vnd.openxmlformats-officedocument.presentationml.presentation,pptx,"+"application/vnd.openxmlformats-officedocument.presentationml.template,potx,"+"application/vnd.openxmlformats-officedocument.presentationml.slideshow,ppsx,"+"application/x-javascript,js,"+"application/json,json,"+"audio/mpeg,mp3 mpga mpega mp2,"+"audio/x-wav,wav,"+"audio/x-m4a,m4a,"+"audio/ogg,oga ogg,"+"audio/aiff,aiff aif,"+"audio/flac,flac,"+"audio/aac,aac,"+"audio/ac3,ac3,"+"audio/x-ms-wma,wma,"+"image/bmp,bmp,"+"image/gif,gif,"+"image/jpeg,jpg jpeg jpe,"+"image/photoshop,psd,"+"image/png,png,"+"image/svg+xml,svg svgz,"+"image/tiff,tiff tif,"+"text/plain,asc txt text diff log,"+"text/html,htm html xhtml,"+"text/css,css,"+"text/csv,csv,"+"text/rtf,rtf,"+"video/mpeg,mpeg mpg mpe m2v,"+"video/quicktime,qt mov,"+"video/mp4,mp4,"+"video/x-m4v,m4v,"+"video/x-flv,flv,"+"video/x-ms-wmv,wmv,"+"video/avi,avi,"+"video/webm,webm,"+"video/3gpp,3gpp 3gp,"+"video/3gpp2,3g2,"+"video/vnd.rn-realvideo,rv,"+"video/ogg,ogv,"+"video/x-matroska,mkv,"+"application/vnd.oasis.opendocument.formula-template,otf,"+"application/octet-stream,exe";var o={};var a={};var t=function(e){var t=e.split(/,/),i,n,r;for(i=0;i0){if(p)i.upload.dispatchEvent(e);i.dispatchEvent(e)}else{v=true;i.dispatchEvent("error")}n()});E.bind("Abort",function(e){i.dispatchEvent(e);n()});E.bind("Error",function(e){v=true;R("readyState",k.DONE);i.dispatchEvent("readystatechange");g=true;i.dispatchEvent(e);n()});t.exec.call(E,"XMLHttpRequest","send",{url:s,method:u,async:a,user:c,password:f,headers:l,mimeType:d,encoding:o,responseType:i.responseType,withCredentials:i.withCredentials,options:y},e)}if(typeof y.required_caps==="string")y.required_caps=N.parseCaps(y.required_caps);y.required_caps=T.extend({},y.required_caps,{return_response_type:i.responseType});if(e instanceof M)y.required_caps.send_multipart=true;if(!T.isEmptyObj(l))y.required_caps.send_custom_headers=true;if(!x)y.required_caps.do_cors=true;if(y.ruid)r(E.connectRuntime(y));else{E.bind("RuntimeInit",function(e,t){r(t)});E.bind("RuntimeError",function(e,t){i.dispatchEvent("RuntimeError",t)});E.connectRuntime(y)}}function A(){R("responseText","");R("responseXML",null);R("response",null);R("status",0);R("statusText","");t=e=null}}k.UNSENT=0;k.OPENED=1;k.HEADERS_RECEIVED=2;k.LOADING=3;k.DONE=4;k.prototype=e.instance;return k});e("moxie/runtime/Transporter",["moxie/core/utils/Basic","moxie/core/utils/Encode","moxie/runtime/RuntimeClient","moxie/core/EventTarget"],function(d,m,e,t){function h(){var o,n,a,s,r,u;e.call(this);d.extend(this,{uid:d.guid("uid_"),state:h.IDLE,result:null,transport:function(e,i,t){var n=this;t=d.extend({chunk_size:204798},t);if(o=t.chunk_size%3)t.chunk_size+=3-o;u=t.chunk_size;l.call(this);a=e;s=e.length;if(d.typeOf(t)==="string"||t.ruid)c.call(n,i,this.connectRuntime(t));else{var r=function(e,t){n.unbind("RuntimeInit",r);c.call(n,i,t)};this.bind("RuntimeInit",r);this.connectRuntime(t)}},abort:function(){var e=this;e.state=h.IDLE;if(n){n.exec.call(e,"Transporter","clear");e.trigger("TransportingAborted")}l.call(e)},destroy:function(){this.unbindAll();n=null;this.disconnectRuntime();l.call(this)}});function l(){s=r=0;a=this.result=null}function c(e,t){var i=this;n=t;i.bind("TransportingProgress",function(e){r=e.loaded;if(ri)u=i;t=m.btoa(a.substr(r,u));n.exec.call(e,"Transporter","receive",t,s)}}h.IDLE=0;h.BUSY=1;h.DONE=2;h.prototype=t.instance;return h});e("moxie/image/Image",["moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/file/FileReaderSync","moxie/xhr/XMLHttpRequest","moxie/runtime/Runtime","moxie/runtime/RuntimeClient","moxie/runtime/Transporter","moxie/core/utils/Env","moxie/core/EventTarget","moxie/file/Blob","moxie/file/File","moxie/core/utils/Encode"],function(l,c,f,e,a,s,t,d,m,i,u,h,p){var g=["progress","load","error","resize","embedded"];function v(){t.call(this);l.extend(this,{uid:l.guid("uid_"),ruid:null,name:"",size:0,width:0,height:0,type:"",meta:{},clone:function(){this.load.apply(this,arguments)},load:function(){i.apply(this,arguments)},resize:function(e){var t=this;var i;var n;var r={x:0,y:0,width:t.width,height:t.height};var o=l.extendIf({width:t.width,height:t.height,type:t.type||"image/jpeg",quality:90,crop:false,fit:true,preserveHeaders:true,resample:"default",multipass:true},e);try{if(!t.size)throw new f.DOMException(f.DOMException.INVALID_STATE_ERR);if(t.width>v.MAX_RESIZE_WIDTH||t.height>v.MAX_RESIZE_HEIGHT)throw new f.ImageError(f.ImageError.MAX_RESOLUTION_ERR);i=t.meta&&t.meta.tiff&&t.meta.tiff.Orientation||1;if(l.inArray(i,[5,6,7,8])!==-1){var a=o.width;o.width=o.height;o.height=a}if(o.crop){n=Math.max(o.width/t.width,o.height/t.height);if(e.fit){r.width=Math.min(Math.ceil(o.width/n),t.width);r.height=Math.min(Math.ceil(o.height/n),t.height);n=o.width/r.width}else{r.width=Math.min(o.width,t.width);r.height=Math.min(o.height,t.height);n=1}if(typeof o.crop==="boolean")o.crop="cc";switch(o.crop.toLowerCase().replace(/_/,"-")){case"rb":case"right-bottom":r.x=t.width-r.width;r.y=t.height-r.height;break;case"cb":case"center-bottom":r.x=Math.floor((t.width-r.width)/2);r.y=t.height-r.height;break;case"lb":case"left-bottom":r.x=0;r.y=t.height-r.height;break;case"lt":case"left-top":r.x=0;r.y=0;break;case"ct":case"center-top":r.x=Math.floor((t.width-r.width)/2);r.y=0;break;case"rt":case"right-top":r.x=t.width-r.width;r.y=0;break;case"rc":case"right-center":case"right-middle":r.x=t.width-r.width;r.y=Math.floor((t.height-r.height)/2);break;case"lc":case"left-center":case"left-middle":r.x=0;r.y=Math.floor((t.height-r.height)/2);break;case"cc":case"center-center":case"center-middle":default:r.x=Math.floor((t.width-r.width)/2);r.y=Math.floor((t.height-r.height)/2)}r.x=Math.max(r.x,0);r.y=Math.max(r.y,0)}else{n=Math.min(o.width/t.width,o.height/t.height);if(n>1&&!o.fit)n=1}this.exec("Image","resize",r,n,o)}catch(e){t.trigger("error",e.code)}},downsize:function(e){var t={width:this.width,height:this.height,type:this.type||"image/jpeg",quality:90,crop:false,fit:false,preserveHeaders:true,resample:"default"},i;if(typeof e==="object")i=l.extend(t,e);else i=l.extend(t,{width:arguments[0],height:arguments[1],crop:arguments[2],preserveHeaders:arguments[3]});this.resize(i)},crop:function(e,t,i){this.downsize(e,t,true,i)},getAsCanvas:function(){if(!m.can("create_canvas"))throw new f.RuntimeError(f.RuntimeError.NOT_SUPPORTED_ERR);return this.exec("Image","getAsCanvas")},getAsBlob:function(e,t){if(!this.size)throw new f.DOMException(f.DOMException.INVALID_STATE_ERR);return this.exec("Image","getAsBlob",e||"image/jpeg",t||90)},getAsDataURL:function(e,t){if(!this.size)throw new f.DOMException(f.DOMException.INVALID_STATE_ERR);return this.exec("Image","getAsDataURL",e||"image/jpeg",t||90)},getAsBinaryString:function(e,t){var i=this.getAsDataURL(e,t);return p.atob(i.substring(i.indexOf("base64,")+7))},embed:function(a,e){var s=this,u;var t=l.extend({width:this.width,height:this.height,type:this.type||"image/jpeg",quality:90,fit:true,resample:"nearest"},e);function i(e,t){var i=this;if(m.can("create_canvas")){var n=i.getAsCanvas();if(n){a.appendChild(n);n=null;i.destroy();s.trigger("embedded");return}}var r=i.getAsDataURL(e,t);if(!r)throw new f.ImageError(f.ImageError.WRONG_FORMAT);if(m.can("use_data_uri_of",r.length)){a.innerHTML='';i.destroy();s.trigger("embedded")}else{var o=new d;o.bind("TransportingComplete",function(){u=s.connectRuntime(this.result.ruid);s.bind("Embedded",function(){l.extend(u.getShimContainer().style,{top:"0px",left:"0px",width:i.width+"px",height:i.height+"px"});u=null},999);u.exec.call(s,"ImageView","display",this.result.uid,width,height);i.destroy()});o.transport(p.atob(r.substring(r.indexOf("base64,")+7)),e,{required_caps:{display_media:true},runtime_order:"flash,silverlight",container:a})}}try{if(!(a=c.get(a)))throw new f.DOMException(f.DOMException.INVALID_NODE_TYPE_ERR);if(!this.size)throw new f.DOMException(f.DOMException.INVALID_STATE_ERR);if(this.width>v.MAX_RESIZE_WIDTH||this.height>v.MAX_RESIZE_HEIGHT);var n=new v;n.bind("Resize",function(){i.call(this,t.type,t.quality)});n.bind("Load",function(){this.downsize(t)});if(this.meta.thumb&&this.meta.thumb.width>=t.width&&this.meta.thumb.height>=t.height)n.load(this.meta.thumb.data);else n.clone(this,false);return n}catch(e){this.trigger("error",e.code)}},destroy:function(){if(this.ruid){this.getRuntime().exec.call(this,"Image","destroy");this.disconnectRuntime()}if(this.meta&&this.meta.thumb)this.meta.thumb.data.destroy();this.unbindAll()}});this.handleEventProps(g);this.bind("Load Resize",function(){return e.call(this)},999);function e(e){try{if(!e)e=this.exec("Image","getInfo");this.size=e.size;this.width=e.width;this.height=e.height;this.type=e.type;this.meta=e.meta;if(this.name==="")this.name=e.name;return true}catch(e){this.trigger("error",e.code);return false}}function i(e){var t=l.typeOf(e);try{if(e instanceof v){if(!e.size)throw new f.DOMException(f.DOMException.INVALID_STATE_ERR);n.apply(this,arguments)}else if(e instanceof u){if(!~l.inArray(e.type,["image/jpeg","image/png"]))throw new f.ImageError(f.ImageError.WRONG_FORMAT);r.apply(this,arguments)}else if(l.inArray(t,["blob","file"])!==-1)i.call(this,new h(null,e),arguments[1]);else if(t==="string")if(e.substr(0,5)==="data:")i.call(this,new u(null,{data:e}),arguments[1]);else o.apply(this,arguments);else if(t==="node"&&e.nodeName.toLowerCase()==="img")i.call(this,e.src,arguments[1]);else throw new f.DOMException(f.DOMException.TYPE_MISMATCH_ERR)}catch(e){this.trigger("error",e.code)}}function n(e,t){var i=this.connectRuntime(e.ruid);this.ruid=i.uid;i.exec.call(this,"Image","loadFromImage",e,l.typeOf(t)==="undefined"?true:t)}function r(t,e){var i=this;i.name=t.name||"";function n(e){i.ruid=e.uid;e.exec.call(i,"Image","loadFromBlob",t)}if(t.isDetached()){this.bind("RuntimeInit",function(e,t){n(t)});if(e&&typeof e.required_caps==="string")e.required_caps=s.parseCaps(e.required_caps);this.connectRuntime(l.extend({required_caps:{access_image_binary:true,resize_image:true}},e))}else n(this.connectRuntime(t.ruid))}function o(e,t){var i=this,n;n=new a;n.open("get",e);n.responseType="blob";n.onprogress=function(e){i.trigger(e)};n.onload=function(){r.call(i,n.response,true)};n.onerror=function(e){i.trigger(e)};n.onloadend=function(){n.destroy()};n.bind("RuntimeError",function(e,t){i.trigger("RuntimeError",t)});n.send(null,t)}}v.MAX_RESIZE_WIDTH=8192;v.MAX_RESIZE_HEIGHT=8192;v.prototype=i.instance;return v});e("moxie/runtime/html5/Runtime",["moxie/core/utils/Basic","moxie/core/Exceptions","moxie/runtime/Runtime","moxie/core/utils/Env"],function(o,e,a,s){var u="html5",l={};function t(e){var t=this,i=a.capTest,n=a.capTrue;var r=o.extend({access_binary:i(window.FileReader||window.File&&window.File.getAsDataURL),access_image_binary:function(){return t.can("access_binary")&&!!l.Image},display_media:i((s.can("create_canvas")||s.can("use_data_uri_over32kb"))&&d("moxie/image/Image")),do_cors:i(window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest),drag_and_drop:i(function(){var e=document.createElement("div");return("draggable"in e||"ondragstart"in e&&"ondrop"in e)&&(s.browser!=="IE"||s.verComp(s.version,9,">"))}()),filter_by_extension:i(function(){return!(s.browser==="Chrome"&&s.verComp(s.version,28,"<")||s.browser==="IE"&&s.verComp(s.version,10,"<")||s.browser==="Safari"&&s.verComp(s.version,7,"<")||s.browser==="Firefox"&&s.verComp(s.version,37,"<"))}()),return_response_headers:n,return_response_type:function(e){if(e==="json"&&!!window.JSON)return true;return s.can("return_response_type",e)},return_status_code:n,report_upload_progress:i(window.XMLHttpRequest&&(new XMLHttpRequest).upload),resize_image:function(){return t.can("access_binary")&&s.can("create_canvas")},select_file:function(){return s.can("use_fileinput")&&window.File},select_folder:function(){return t.can("select_file")&&(s.browser==="Chrome"&&s.verComp(s.version,21,">=")||s.browser==="Firefox"&&s.verComp(s.version,42,">="))},select_multiple:function(){return t.can("select_file")&&!(s.browser==="Safari"&&s.os==="Windows")&&!(s.os==="iOS"&&s.verComp(s.osVersion,"7.0.0",">")&&s.verComp(s.osVersion,"8.0.0","<"))},send_binary_string:i(window.XMLHttpRequest&&((new XMLHttpRequest).sendAsBinary||window.Uint8Array&&window.ArrayBuffer)),send_custom_headers:i(window.XMLHttpRequest),send_multipart:function(){return!!(window.XMLHttpRequest&&(new XMLHttpRequest).upload&&window.FormData)||t.can("send_binary_string")},slice_blob:i(window.File&&(File.prototype.mozSlice||File.prototype.webkitSlice||File.prototype.slice)),stream_upload:function(){return t.can("slice_blob")&&t.can("send_multipart")},summon_file_dialog:function(){return t.can("select_file")&&!(s.browser==="Firefox"&&s.verComp(s.version,4,"<")||s.browser==="Opera"&&s.verComp(s.version,12,"<")||s.browser==="IE"&&s.verComp(s.version,10,"<"))},upload_filesize:n,use_http_method:n},arguments[2]);a.call(this,e,arguments[1]||u,r);o.extend(this,{init:function(){this.trigger("Init")},destroy:function(e){return function(){e.call(t);e=t=null}}(this.destroy)});o.extend(this.getShim(),l)}a.addConstructor(u,t);return l});e("moxie/runtime/html5/file/Blob",["moxie/runtime/html5/Runtime","moxie/file/Blob"],function(e,t){function i(){function e(t,i,n){var e;if(window.File.prototype.slice)try{t.slice();return t.slice(i,n)}catch(e){return t.slice(i,n-i)}else if(e=window.File.prototype.webkitSlice||window.File.prototype.mozSlice)return e.call(t,i,n);else return null}this.slice=function(){return new t(this.getRuntime().uid,e.apply(this,arguments))};this.destroy=function(){this.getRuntime().getShim().removeInstance(this.uid)}}return e.Blob=i});e("moxie/core/utils/Events",["moxie/core/utils/Basic"],function(a){var s={},u="moxie_"+a.guid();function l(){this.returnValue=false}function c(){this.cancelBubble=true}var e=function(e,t,i,n){var r,o;t=t.toLowerCase();if(e.addEventListener){r=i;e.addEventListener(t,r,false)}else if(e.attachEvent){r=function(){var e=window.event;if(!e.target)e.target=e.srcElement;e.preventDefault=l;e.stopPropagation=c;i(e)};e.attachEvent("on"+t,r)}if(!e[u])e[u]=a.guid();if(!s.hasOwnProperty(e[u]))s[e[u]]={};o=s[e[u]];if(!o.hasOwnProperty(t))o[t]=[];o[t].push({func:r,orig:i,key:n})};var r=function(t,e,i){var n,r;e=e.toLowerCase();if(t[u]&&s[t[u]]&&s[t[u]][e])n=s[t[u]][e];else return;for(var o=n.length-1;o>=0;o--)if(n[o].orig===i||n[o].key===i){if(t.removeEventListener)t.removeEventListener(e,n[o].func,false);else if(t.detachEvent)t.detachEvent("on"+e,n[o].func);n[o].orig=null;n[o].func=null;n.splice(o,1);if(i!==r)break}if(!n.length)delete s[t[u]][e];if(a.isEmptyObj(s[t[u]])){delete s[t[u]];try{delete t[u]}catch(e){t[u]=r}}};var t=function(i,n){if(!i||!i[u])return;a.each(s[i[u]],function(e,t){r(i,t,n)})};return{addEvent:e,removeEvent:r,removeAllEvents:t}});e("moxie/runtime/html5/file/FileInput",["moxie/runtime/html5/Runtime","moxie/file/File","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Events","moxie/core/utils/Mime","moxie/core/utils/Env"],function(e,f,d,m,h,p,g){function t(){var l,c;d.extend(this,{init:function(e){var i=this,n=i.getRuntime(),t,r,o,a,s,u;l=e;o=p.extList2mimes(l.accept,n.can("filter_by_extension"));r=n.getShimContainer();r.innerHTML='";t=m.get(n.uid);d.extend(t.style,{position:"absolute",top:0,left:0,width:"100%",height:"100%"});a=m.get(l.browse_button);c=m.getStyle(a,"z-index")||"auto";if(n.can("summon_file_dialog")){if(m.getStyle(a,"position")==="static")a.style.position="relative";h.addEvent(a,"click",function(e){var t=m.get(n.uid);if(t&&!t.disabled)t.click();e.preventDefault()},i.uid);i.bind("Refresh",function(){s=parseInt(c,10)||1;m.get(l.browse_button).style.zIndex=s;this.getRuntime().getShimContainer().style.zIndex=s-1})}u=n.can("summon_file_dialog")?a:r;h.addEvent(u,"mouseover",function(){i.trigger("mouseenter")},i.uid);h.addEvent(u,"mouseout",function(){i.trigger("mouseleave")},i.uid);h.addEvent(u,"mousedown",function(){i.trigger("mousedown")},i.uid);h.addEvent(m.get(l.container),"mouseup",function(){i.trigger("mouseup")},i.uid);(n.can("summon_file_dialog")?t:a).setAttribute("tabindex",-1);t.onchange=function e(){i.files=[];d.each(this.files,function(e){var t="";if(l.directory)if(e.name==".")return true;if(e.webkitRelativePath)t="/"+e.webkitRelativePath.replace(/^\//,"");e=new f(n.uid,e);e.relativePath=t;i.files.push(e)});if(g.browser!=="IE"&&g.browser!=="IEMobile")this.value="";else{var t=this.cloneNode(true);this.parentNode.replaceChild(t,this);t.onchange=e}if(i.files.length)i.trigger("change")};i.trigger({type:"ready",async:true});r=null},setOption:function(e,t){var i=this.getRuntime();var n=m.get(i.uid);switch(e){case"accept":if(t){var r=t.mimes||p.extList2mimes(t,i.can("filter_by_extension"));n.setAttribute("accept",r.join(","))}else n.removeAttribute("accept");break;case"directory":if(t&&i.can("select_folder")){n.setAttribute("directory","");n.setAttribute("webkitdirectory","")}else{n.removeAttribute("directory");n.removeAttribute("webkitdirectory")}break;case"multiple":if(t&&i.can("select_multiple"))n.setAttribute("multiple","");else n.removeAttribute("multiple")}},disable:function(e){var t=this.getRuntime(),i;if(i=m.get(t.uid))i.disabled=!!e},destroy:function(){var e=this.getRuntime(),t=e.getShim(),i=e.getShimContainer(),n=l&&m.get(l.container),r=l&&m.get(l.browse_button);if(n)h.removeAllEvents(n,this.uid);if(r){h.removeAllEvents(r,this.uid);r.style.zIndex=c}if(i){h.removeAllEvents(i,this.uid);i.innerHTML=""}t.removeInstance(this.uid);l=i=n=r=t=null}})}return e.FileInput=t});e("moxie/runtime/html5/file/FileDrop",["moxie/runtime/html5/Runtime","moxie/file/File","moxie/core/utils/Basic","moxie/core/utils/Dom","moxie/core/utils/Events","moxie/core/utils/Mime"],function(e,h,p,t,g,i){function n(){var n=[],r=[],o,a;p.extend(this,{init:function(e){var t=this,i;o=e;a=t.ruid;r=l(o.accept);i=o.container;g.addEvent(i,"dragover",function(e){if(!s(e))return;e.preventDefault();e.dataTransfer.dropEffect="copy"},t.uid);g.addEvent(i,"drop",function(e){if(!s(e))return;e.preventDefault();n=[];if(e.dataTransfer.items&&e.dataTransfer.items[0].webkitGetAsEntry)f(e.dataTransfer.items,function(){t.files=n;t.trigger("drop")});else{p.each(e.dataTransfer.files,function(e){u(e)});t.files=n;t.trigger("drop")}},t.uid);g.addEvent(i,"dragenter",function(e){t.trigger("dragenter")},t.uid);g.addEvent(i,"dragleave",function(e){t.trigger("dragleave")},t.uid)},destroy:function(){g.removeAllEvents(o&&t.get(o.container),this.uid);a=n=r=o=null;this.getRuntime().getShim().removeInstance(this.uid)}});function s(e){if(!e.dataTransfer||!e.dataTransfer.types)return false;var t=p.toArray(e.dataTransfer.types||[]);return p.inArray("Files",t)!==-1||p.inArray("public.file-url",t)!==-1||p.inArray("application/x-moz-file",t)!==-1}function u(e,t){if(c(e)){var i=new h(a,e);i.relativePath=t||"";n.push(i)}}function l(e){var t=[];for(var i=0;i=")&&w.verComp(w.version,7,"<"),t=w.browser==="Android Browser",o=false;u=n.url.replace(/^.+?\/([\w\-\.]+)$/,"$1").toLowerCase();s=c();s.open(n.method,n.url,n.async,n.user,n.password);if(i instanceof g){if(i.isDetached())o=true;i=i.getSource()}else if(i instanceof v){if(i.hasBlob())if(i.getBlob().isDetached()){i=f.call(r,i);o=true}else if((e||t)&&d.typeOf(i.getBlob().getSource())==="blob"&&window.FileReader){l.call(r,n,i);return}if(i instanceof v){var a=new window.FormData;i.each(function(e,t){if(e instanceof g)a.append(t,e.getSource());else a.append(t,e)});i=a}}if(s.upload){if(n.withCredentials)s.withCredentials=true;s.addEventListener("load",function(e){r.trigger(e)});s.addEventListener("error",function(e){r.trigger(e)});s.addEventListener("progress",function(e){r.trigger(e)});s.upload.addEventListener("progress",function(e){r.trigger({type:"UploadProgress",loaded:e.loaded,total:e.total})})}else s.onreadystatechange=function e(){switch(s.readyState){case 1:break;case 2:break;case 3:var t,i;try{if(h.hasSameOrigin(n.url))t=s.getResponseHeader("Content-Length")||0;if(s.responseText)i=s.responseText.length}catch(e){t=i=0}r.trigger({type:"progress",lengthComputable:!!t,total:parseInt(t,10),loaded:i});break;case 4:s.onreadystatechange=function(){};try{if(s.status>=200&&s.status<400){r.trigger("load");break}}catch(e){}r.trigger("error");break}};if(!d.isEmptyObj(n.headers))d.each(n.headers,function(e,t){s.setRequestHeader(t,e)});if(""!==n.responseType&&"responseType"in s)if("json"===n.responseType&&!w.can("return_response_type","json"))s.responseType="text";else s.responseType=n.responseType;if(!o)s.send(i);else if(s.sendAsBinary)s.sendAsBinary(i);else(function(){var e=new Uint8Array(i.length);for(var t=0;tthis.length())throw new Error("You are trying to read outside the source boundaries.");n=this.littleEndian?0:-8*(t-1);for(r=0,i=0;rthis.length())throw new Error("You are trying to write outside the source boundaries.");n=this.littleEndian?0:-8*(i-1);for(r=0;r>Math.abs(n+r*8)&255)},BYTE:function(e){return this.read(e,1)},SHORT:function(e){return this.read(e,2)},LONG:function(e){return this.read(e,4)},SLONG:function(e){var t=this.read(e,4);return t>2147483647?t-4294967296:t},CHAR:function(e){return String.fromCharCode(this.read(e,1))},STRING:function(e,t){return this.asArray("CHAR",e,t).join("")},asArray:function(e,t,i){var n=[];for(var r=0;r0)n.set(new Uint8Array(r.slice(0,e)),0);n.set(new Uint8Array(i),e);n.set(new Uint8Array(r.slice(e+t)),e+i.byteLength);this.clear();r=n.buffer;o=new DataView(r);break}default:return r}},length:function(){return r?r.byteLength:0},clear:function(){o=r=null}})}function n(n){e.extend(this,{readByteAt:function(e){return n.charCodeAt(e)},writeByteAt:function(e,t){r(String.fromCharCode(t),e,1)},SEGMENT:function(e,t,i){switch(arguments.length){case 1:return n.substr(e);case 2:return n.substr(e,t);case 3:r(i!==null?i:"",e,t);break;default:return n}},length:function(){return n?n.length:0},clear:function(){n=null}});function r(e,t,i){i=arguments.length===3?i:n.length-t-1;n=n.substr(0,t)+e+n.substr(i+t)}}return t});e("moxie/runtime/html5/image/JPEGHeaders",["moxie/runtime/html5/utils/BinaryReader","moxie/core/Exceptions"],function(s,u){return function o(e){var a=[],t,r,i,n=0;t=new s(e);if(t.SHORT(0)!==65496){t.clear();throw new u.ImageError(u.ImageError.WRONG_FORMAT)}r=2;while(r<=t.length()){i=t.SHORT(r);if(i>=65488&&i<=65495){r+=2;continue}if(i===65498||i===65497)break;n=t.SHORT(r+2)+2;if(i>=65505&&i<=65519)a.push({hex:i,name:"APP"+(i&15),start:r,length:n,segment:t.SEGMENT(r,n)});r+=n}t.clear();return{headers:a,restore:function(e){var t,i,n;n=new s(e);r=n.SHORT(2)==65504?4+n.SHORT(4):2;for(i=0,t=a.length;i=i.length)break}},purge:function(){this.headers=a=[]}}}});e("moxie/runtime/html5/image/ExifParser",["moxie/core/utils/Basic","moxie/runtime/html5/utils/BinaryReader","moxie/core/Exceptions"],function(v,s,x){function u(e){var t,c,p,g,i,n;s.call(this,e);c={tiff:{274:"Orientation",270:"ImageDescription",271:"Make",272:"Model",305:"Software",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer"},exif:{36864:"ExifVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",36867:"DateTimeOriginal",33434:"ExposureTime",33437:"FNumber",34855:"ISOSpeedRatings",37377:"ShutterSpeedValue",37378:"ApertureValue",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37386:"FocalLength",41986:"ExposureMode",41987:"WhiteBalance",41990:"SceneCaptureType",41988:"DigitalZoomRatio",41992:"Contrast",41993:"Saturation",41994:"Sharpness"},gps:{0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude"},thumb:{513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength"}};p={ColorSpace:{1:"sRGB",0:"Uncalibrated"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{1:"Daylight",2:"Fliorescent",3:"Tungsten",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 -5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},ExposureMode:{0:"Auto exposure",1:"Manual exposure",2:"Auto bracket"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},GPSLatitudeRef:{N:"North latitude",S:"South latitude"},GPSLongitudeRef:{E:"East longitude",W:"West longitude"}};g={tiffHeader:10};i=g.tiffHeader;t={clear:this.clear};v.extend(this,{read:function(){try{return u.prototype.read.apply(this,arguments)}catch(e){throw new x.ImageError(x.ImageError.INVALID_META_ERR)}},write:function(){try{return u.prototype.write.apply(this,arguments)}catch(e){throw new x.ImageError(x.ImageError.INVALID_META_ERR)}},UNDEFINED:function(){return this.BYTE.apply(this,arguments)},RATIONAL:function(e){return this.LONG(e)/this.LONG(e+4)},SRATIONAL:function(e){return this.SLONG(e)/this.SLONG(e+4)},ASCII:function(e){return this.CHAR(e)},TIFF:function(){return n||null},EXIF:function(){var e=null;if(g.exifIFD){try{e=o.call(this,g.exifIFD,c.exif)}catch(e){return null}if(e.ExifVersion&&v.typeOf(e.ExifVersion)==="array"){for(var t=0,i="";t4)l=i.LONG(l)+g.tiffHeader;if(l+u*s>=this.length())throw new x.ImageError(x.ImageError.INVALID_META_ERR);if(a==="ASCII"){d[o]=v.trim(i.STRING(l,s).replace(/\0$/,""));continue}else{f=i.asArray(a,l,s);c=s==1?f[0]:f;if(p.hasOwnProperty(o)&&typeof c!="object")d[o]=p[o][c];else d[o]=c}}return d}function a(e,t,i){var n,r,o,a=0;if(typeof t==="string"){var s=c[e.toLowerCase()];for(var u in s)if(s[u]===t){t=u;break}}n=g[e.toLowerCase()+"IFD"];r=this.SHORT(n);for(var l=0;l=65472&&i<=65475){t+=5;return{height:e.SHORT(t),width:e.SHORT(t+=2)}}n=e.SHORT(t+=2);t+=n-2}return null}function a(){var e=n.thumb(),t,i;if(e){t=new f(e);i=o(t);t.clear();if(i){i.data=e;return i}}return null}function s(){if(!n||!i||!r)return;n.clear();i.purge();r.clear();t=i=n=r=null}}return e});e("moxie/runtime/html5/image/PNG",["moxie/core/Exceptions","moxie/core/utils/Basic","moxie/runtime/html5/utils/BinaryReader"],function(u,l,c){function e(e){var o,t,i,n;o=new c(e);(function(){var e=0,t=0,i=[35152,20039,3338,6666];for(t=0;te.height?"width":"height";var r=Math.round(e[n]*t);var o=false;if(i!=="nearest"&&(t<.5||t>2)){t=t<.5?.5:2;o=true}var a=u(e,t);if(o)return s(a,r/a[n],i);else return a}function u(e,t){var i=e.width;var n=e.height;var r=Math.round(i*t);var o=Math.round(n*t);var a=document.createElement("canvas");a.width=r;a.height=o;a.getContext("2d").drawImage(e,0,0,i,n,0,0,r,o);e=null;return a}return{scale:s}});e("moxie/runtime/html5/image/Image",["moxie/runtime/html5/Runtime","moxie/core/utils/Basic","moxie/core/Exceptions","moxie/core/utils/Encode","moxie/file/Blob","moxie/file/File","moxie/runtime/html5/image/ImageInfo","moxie/runtime/html5/image/ResizerCanvas","moxie/core/utils/Mime","moxie/core/utils/Env"],function(e,x,w,y,E,b,_,R,I,t){function i(){var n=this,i,r,o,a,s,u=false,l=true;x.extend(this,{loadFromBlob:function(e){var t=this.getRuntime(),i=arguments.length>1?arguments[1]:true;if(!t.can("access_binary"))throw new w.RuntimeError(w.RuntimeError.NOT_SUPPORTED_ERR);s=e;if(e.isDetached()){a=e.getSource();h.call(this,a);return}else p.call(this,e.getSource(),function(e){if(i)a=d(e);h.call(this,e)})},loadFromImage:function(e,t){this.meta=e.meta;s=new b(null,{name:e.name,size:e.size,type:e.type});h.call(this,t?a=e.getAsBinaryString():e.getAsDataURL())},getInfo:function(){var e=this.getRuntime(),t;if(!r&&a&&e.can("access_image_binary"))r=new _(a);t={width:c().width||0,height:c().height||0,type:s.type||I.getFileMime(s.name),size:a&&a.length||s.size||0,name:s.name||"",meta:null};if(l){t.meta=r&&r.meta||this.meta||{};if(t.meta&&t.meta.thumb&&!(t.meta.thumb.data instanceof E))t.meta.thumb.data=new E(null,{type:"image/jpeg",data:t.meta.thumb.data})}return t},resize:function(e,t,i){var n=document.createElement("canvas");n.width=e.width;n.height=e.height;n.getContext("2d").drawImage(c(),e.x,e.y,e.width,e.height,0,0,n.width,n.height);o=R.scale(n,t);l=i.preserveHeaders;if(!l){var r=this.meta&&this.meta.tiff&&this.meta.tiff.Orientation||1;o=g(o,r)}this.width=o.width;this.height=o.height;u=true;this.trigger("Resize")},getAsCanvas:function(){if(!o)o=f();o.id=this.uid+"_canvas";return o},getAsBlob:function(e,t){if(e!==this.type){u=true;return new b(null,{name:s.name||"",type:e,data:n.getAsDataURL(e,t)})}return new b(null,{name:s.name||"",type:e,data:n.getAsBinaryString(e,t)})},getAsDataURL:function(e){var t=arguments[1]||90;if(!u)return i.src;f();if("image/jpeg"!==e)return o.toDataURL("image/png");else try{return o.toDataURL("image/jpeg",t/100)}catch(e){return o.toDataURL("image/jpeg")}},getAsBinaryString:function(e,t){if(!u){if(!a)a=d(n.getAsDataURL(e,t));return a}if("image/jpeg"!==e)a=d(n.getAsDataURL(e,t));else{var i;if(!t)t=90;f();try{i=o.toDataURL("image/jpeg",t/100)}catch(e){i=o.toDataURL("image/jpeg")}a=d(i);if(r){a=r.stripHeaders(a);if(l){if(r.meta&&r.meta.exif)r.setExif({PixelXDimension:this.width,PixelYDimension:this.height});a=r.writeHeaders(a)}r.purge();r=null}}u=false;return a},destroy:function(){n=null;v.call(this);this.getRuntime().getShim().removeInstance(this.uid)}});function c(){if(!o&&!i)throw new w.ImageError(w.DOMException.INVALID_STATE_ERR);return o||i}function f(){var e=c();if(e.nodeName.toLowerCase()=="canvas")return e;o=document.createElement("canvas");o.width=e.width;o.height=e.height;o.getContext("2d").drawImage(e,0,0);return o}function d(e){return y.atob(e.substring(e.indexOf("base64,")+7))}function m(e,t){return"data:"+(t||"")+";base64,"+y.btoa(e)}function h(e){var t=this;i=new Image;i.onerror=function(){v.call(this);t.trigger("error",w.ImageError.WRONG_FORMAT)};i.onload=function(){t.trigger("load")};i.src=e.substr(0,5)=="data:"?e:m(e,s.type)}function p(e,t){var i=this,n;if(window.FileReader){n=new FileReader;n.onload=function(){t.call(i,this.result)};n.onerror=function(){i.trigger("error",w.ImageError.WRONG_FORMAT)};n.readAsDataURL(e)}else return t.call(this,e.getAsDataURL())}function g(e,t){var i=Math.PI/180;var n=document.createElement("canvas");var r=n.getContext("2d");var o=e.width;var a=e.height;if(x.inArray(t,[5,6,7,8])>-1){n.width=a;n.height=o}else{n.width=o;n.height=a}switch(t){case 2:r.translate(o,0);r.scale(-1,1);break;case 3:r.translate(o,a);r.rotate(180*i);break;case 4:r.translate(0,a);r.scale(1,-1);break;case 5:r.rotate(90*i);r.scale(1,-1);break;case 6:r.rotate(90*i);r.translate(0,-a);break;case 7:r.rotate(90*i);r.translate(o,-a);r.scale(-1,1);break;case 8:r.rotate(-90*i);r.translate(-o,0);break}r.drawImage(e,0,0,o,a);return n}function v(){if(r){r.purge();r=null}a=i=o=s=null;u=false}}return e.Image=i});e("moxie/runtime/flash/Runtime",["moxie/core/utils/Basic","moxie/core/utils/Env","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/runtime/Runtime"],function(a,s,u,l,c){var e="flash",t={};function i(){var t;try{t=navigator.plugins["Shockwave Flash"];t=t.description}catch(e){try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){t="0.0"}}t=t.match(/\d+/g);return parseFloat(t[0]+"."+t[1])}function f(t){var i=u.get(t);if(i&&i.nodeName=="OBJECT")if(s.browser==="IE"){i.style.display="none";(function e(){if(i.readyState==4)n(t);else setTimeout(e,10)})()}else i.parentNode.removeChild(i)}function n(e){var t=u.get(e);if(t){for(var i in t)if(typeof t[i]=="function")t[i]=null;t.parentNode.removeChild(t)}}function r(n){var r=this,o;n=a.extend({swf_url:s.swf_url},n);c.call(this,n,e,{access_binary:function(e){return e&&r.mode==="browser"},access_image_binary:function(e){return e&&r.mode==="browser"},display_media:c.capTest(d("moxie/image/Image")),do_cors:c.capTrue,drag_and_drop:false,report_upload_progress:function(){return r.mode==="client"},resize_image:c.capTrue,return_response_headers:false,return_response_type:function(e){if(e==="json"&&!!window.JSON)return true;return!a.arrayDiff(e,["","text","document"])||r.mode==="browser"},return_status_code:function(e){return r.mode==="browser"||!a.arrayDiff(e,[200,404])},select_file:c.capTrue,select_multiple:c.capTrue,send_binary_string:function(e){return e&&r.mode==="browser"},send_browser_cookies:function(e){return e&&r.mode==="browser"},send_custom_headers:function(e){return e&&r.mode==="browser"},send_multipart:c.capTrue,slice_blob:function(e){return e&&r.mode==="browser"},stream_upload:function(e){return e&&r.mode==="browser"},summon_file_dialog:false,upload_filesize:function(e){return a.parseSizeStr(e)<=2097152||r.mode==="client"},use_http_method:function(e){return!a.arrayDiff(e,["GET","POST"])}},{access_binary:function(e){return e?"browser":"client"},access_image_binary:function(e){return e?"browser":"client"},report_upload_progress:function(e){return e?"browser":"client"},return_response_type:function(e){return a.arrayDiff(e,["","text","json","document"])?"browser":["client","browser"]},return_status_code:function(e){return a.arrayDiff(e,[200,404])?"browser":["client","browser"]},send_binary_string:function(e){return e?"browser":"client"},send_browser_cookies:function(e){return e?"browser":"client"},send_custom_headers:function(e){return e?"browser":"client"},slice_blob:function(e){return e?"browser":"client"},stream_upload:function(e){return e?"client":"browser"},upload_filesize:function(e){return a.parseSizeStr(e)>=2097152?"client":"browser"}},"client");if(i()<11.3){if(MXI_DEBUG&&s.debug.runtime)s.log("\tFlash didn't meet minimal version requirement (11.3).");this.mode=false}a.extend(this,{getShim:function(){return u.get(this.uid)},shimExec:function(e,t){var i=[].slice.call(arguments,2);return r.getShim().exec(this.uid,e,t,i)},init:function(){var e,t,i;i=this.getShimContainer();a.extend(i.style,{position:"absolute",top:"-8px",left:"-8px",width:"9px",height:"9px",overflow:"hidden"});e=''+''+''+''+"";if(s.browser==="IE"){t=document.createElement("div");i.appendChild(t);t.outerHTML=e;t=i=null}else i.innerHTML=e;o=setTimeout(function(){if(r&&!r.initialized){r.trigger("Error",new l.RuntimeError(l.RuntimeError.NOT_INIT_ERR));if(MXI_DEBUG&&s.debug.runtime)s.log("\tFlash failed to initialize within a specified period of time (typically 5s).")}},5e3)},destroy:function(e){return function(){f(r.uid);e.call(r);clearTimeout(o);n=o=e=r=null}}(this.destroy)},t)}c.addConstructor(e,r);return t});e("moxie/runtime/flash/file/Blob",["moxie/runtime/flash/Runtime","moxie/file/Blob"],function(e,o){var t={slice:function(e,t,i,n){var r=this.getRuntime();if(t<0)t=Math.max(e.size+t,0);else if(t>0)t=Math.min(t,e.size);if(i<0)i=Math.max(e.size+i,0);else if(i>0)i=Math.min(i,e.size);e=r.shimExec.call(this,"Blob","slice",t,i,n||"");if(e)e=new o(r.uid,e);return e}};return e.Blob=t});e("moxie/runtime/flash/file/FileInput",["moxie/runtime/flash/Runtime","moxie/file/File","moxie/core/utils/Dom","moxie/core/utils/Basic"],function(e,r,o,a){var t={init:function(e){var t=this,i=this.getRuntime();var n=o.get(e.browse_button);if(n){n.setAttribute("tabindex",-1);n=null}this.bind("Change",function(){var e=i.shimExec.call(t,"FileInput","getFiles");t.files=[];a.each(e,function(e){t.files.push(new r(i.uid,e))})},999);this.getRuntime().shimExec.call(this,"FileInput","init",{accept:e.accept,multiple:e.multiple});this.trigger("ready")}};return e.FileInput=t});e("moxie/runtime/flash/file/FileReader",["moxie/runtime/flash/Runtime","moxie/core/utils/Encode"],function(e,i){function r(e,t){switch(t){case"readAsText":return i.atob(e,"utf8");case"readAsBinaryString":return i.atob(e);case"readAsDataURL":return e}return null}var t={read:function(i,e){var n=this;n.result="";if(i==="readAsDataURL")n.result="data:"+(e.type||"")+";base64,";n.bind("Progress",function(e,t){if(t)n.result+=r(t,i)},999);return n.getRuntime().shimExec.call(this,"FileReader","readAsBase64",e.uid)}};return e.FileReader=t});e("moxie/runtime/flash/file/FileReaderSync",["moxie/runtime/flash/Runtime","moxie/core/utils/Encode"],function(e,i){function r(e,t){switch(t){case"readAsText":return i.atob(e,"utf8");case"readAsBinaryString":return i.atob(e);case"readAsDataURL":return e}return null}var t={read:function(e,t){var i,n=this.getRuntime();i=n.shimExec.call(this,"FileReaderSync","readAsBase64",t.uid);if(!i)return null;if(e==="readAsDataURL")i="data:"+(t.type||"")+";base64,"+i;return r(i,e,t.type)}};return e.FileReaderSync=t});e("moxie/runtime/flash/runtime/Transporter",["moxie/runtime/flash/Runtime","moxie/file/Blob"],function(e,n){var t={getAsBlob:function(e){var t=this.getRuntime(),i=t.shimExec.call(this,"Transporter","getAsBlob",e);if(i)return new n(t.uid,i);return null}};return e.Transporter=t});e("moxie/runtime/flash/xhr/XMLHttpRequest",["moxie/runtime/flash/Runtime","moxie/core/utils/Basic","moxie/file/Blob","moxie/file/File","moxie/file/FileReaderSync","moxie/runtime/flash/file/FileReaderSync","moxie/xhr/FormData","moxie/runtime/Transporter","moxie/runtime/flash/runtime/Transporter"],function(e,l,c,r,o,t,f,d,i){var n={send:function(e,i){var n=this,r=n.getRuntime();function o(){e.transport=r.mode;r.shimExec.call(n,"XMLHttpRequest","send",e,i)}function t(e,t){r.shimExec.call(n,"XMLHttpRequest","appendBlob",e,t.uid);i=null;o()}function a(e,t){var i=new d;i.bind("TransportingComplete",function(){t(this.result)});i.transport(e.getSource(),e.type,{ruid:r.uid})}if(!l.isEmptyObj(e.headers))l.each(e.headers,function(e,t){r.shimExec.call(n,"XMLHttpRequest","setRequestHeader",t,e.toString())});if(i instanceof f){var s;i.each(function(e,t){if(e instanceof c)s=t;else r.shimExec.call(n,"XMLHttpRequest","append",t,e)});if(!i.hasBlob()){i=null;o()}else{var u=i.getBlob();if(u.isDetached())a(u,function(e){u.destroy();t(s,e)});else t(s,u)}}else if(i instanceof c)if(i.isDetached())a(i,function(e){i.destroy();i=e.uid;o()});else{i=i.uid;o()}else o()},getResponse:function(e){var t,i,n=this.getRuntime();i=n.shimExec.call(this,"XMLHttpRequest","getResponseAsBlob");if(i){i=new r(n.uid,i);if("blob"===e)return i;try{t=new o;if(!!~l.inArray(e,["","text"]))return t.readAsText(i);else if("json"===e&&!!window.JSON)return JSON.parse(t.readAsText(i))}finally{i.destroy()}}return null},abort:function(e){var t=this.getRuntime();t.shimExec.call(this,"XMLHttpRequest","abort");this.dispatchEvent("readystatechange");this.dispatchEvent("abort")}};return e.XMLHttpRequest=n});e("moxie/runtime/flash/image/Image",["moxie/runtime/flash/Runtime","moxie/core/utils/Basic","moxie/runtime/Transporter","moxie/file/Blob","moxie/file/FileReaderSync"],function(e,t,o,r,n){var i={loadFromBlob:function(e){var t=this,i=t.getRuntime();function n(e){i.shimExec.call(t,"Image","loadFromBlob",e.uid);t=i=null}if(e.isDetached()){var r=new o;r.bind("TransportingComplete",function(){n(r.result.getSource())});r.transport(e.getSource(),e.type,{ruid:i.uid})}else n(e.getSource())},loadFromImage:function(e){var t=this.getRuntime();return t.shimExec.call(this,"Image","loadFromImage",e.uid)},getInfo:function(){var e=this.getRuntime(),t=e.shimExec.call(this,"Image","getInfo");if(t.meta&&t.meta.thumb&&t.meta.thumb.data&&!(e.meta.thumb.data instanceof r))t.meta.thumb.data=new r(e.uid,t.meta.thumb.data);return t},getAsBlob:function(e,t){var i=this.getRuntime(),n=i.shimExec.call(this,"Image","getAsBlob",e,t);if(n)return new r(i.uid,n);return null},getAsDataURL:function(){var e=this.getRuntime(),t=e.Image.getAsBlob.apply(this,arguments),i;if(!t)return null;i=new n;return i.readAsDataURL(t)}};return e.Image=i});e("moxie/runtime/silverlight/Runtime",["moxie/core/utils/Basic","moxie/core/utils/Env","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/runtime/Runtime"],function(r,o,e,a,s){var u="silverlight",l={};function c(t){var i=false,e=null,n,r,o,a,s,u=0;try{try{e=new ActiveXObject("AgControl.AgControl");if(e.IsVersionSupported(t))i=true;e=null}catch(e){var l=navigator.plugins["Silverlight Plug-In"];if(l){n=l.description;if(n==="1.0.30226.2")n="2.0.30226.2";r=n.split(".");while(r.length>3)r.pop();while(r.length<4)r.push(0);o=t.split(".");while(o.length>4)o.pop();do{a=parseInt(o[u],10);s=parseInt(r[u],10);u++}while(u'+''+''+''+''+''+"";i=setTimeout(function(){if(n&&!n.initialized){n.trigger("Error",new a.RuntimeError(a.RuntimeError.NOT_INIT_ERR));if(MXI_DEBUG&&o.debug.runtime)o.log("Silverlight failed to initialize within a specified period of time (5-10s).")}},o.OS!=="Windows"?1e4:5e3)},destroy:function(e){return function(){e.call(n);clearTimeout(i);t=i=e=n=null}}(this.destroy)},l)}s.addConstructor(u,t);return l});e("moxie/runtime/silverlight/file/Blob",["moxie/runtime/silverlight/Runtime","moxie/core/utils/Basic","moxie/runtime/flash/file/Blob"],function(e,t,i){return e.Blob=t.extend({},i)});e("moxie/runtime/silverlight/file/FileInput",["moxie/runtime/silverlight/Runtime","moxie/file/File","moxie/core/utils/Dom","moxie/core/utils/Basic"],function(e,r,o,a){function s(e){var t="";for(var i=0;i