Анализ сайта transcamslive.com
Итог проверки
Оптимизация transcamslive.com слабая, 50%. Больше всего проблем: мета-теги и индексация.
Длина домена велика. Но если вы продвигаете запрос, входящий в название домена, то это хорошо.
Кол-во редиректов 3 слишком большое! Проверьте настройки сайта и веб-сервера!
Язык страницы не указан. Рекомендуется явно указать язык документа!
Проверьте свой сайт бесплатно и поставьте его на мониторинг: CheckSite напишет, если что-то сломается.
Основное Готовность: 55%
Домен
transcamslive.com
Состояние доменного имени
?
Проверяем корректность доменного имени и наличие технических проблем на уровне домена.
Длина домена велика. Но если вы продвигаете запрос, входящий в название домена, то это хорошо.
Домен второго уровня идеален для продвижения.
Ответ сервера
200 Успешный ответ
HTTP-код ответа и цепочка редиректов
?
Код 200 — страница доступна. Коды 3xx — редиректы (цепочки замедляют загрузку и размывают ссылочный вес). Коды 4xx/5xx — ошибки, поисковик не сможет проиндексировать страницу.
Кол-во редиректов 3 слишком большое! Проверьте настройки сайта и веб-сервера!
Цепочка редиректов:
http://transcamslive.com
301 MovedPermanently
https://transcamslive.com/
301 MovedPermanently
https://www.transcamslive.com/
200 OK
Безопасность
Сайт безопасен
Использование HTTPS и SSL-сертификат
?
HTTPS — обязательный стандарт. Google и Яндекс отдают предпочтение защищённым сайтам. Отсутствие SSL или просроченный сертификат ведут к предупреждениям в браузере и снижению позиций.
Не настроен HSTS (Strict-Transport-Security) — рекомендуется включить.
Не настроена политика безопасности контента (CSP). Она защищает посетителей от подмены скриптов, если сайт взломают или на страницу попадёт чужой код.
Не задан Permissions-Policy — заголовок, который запрещает странице обращаться к камере, микрофону и геолокации. Если сайту эти возможности не нужны, их стоит закрыть.
На сайте работает защищенный протокол ssl и сайт открывается по https.
Ssl-сертификат действителен до 25.01.2027 16:08:33.
Сервер поддерживает HTTP/3 (QUIC) — новейший протокол.
HTTP автоматически перенаправляется на HTTPS.
Поздравляем! Сайт не содержится в реестре РКН.
Кодировка
utf-8
Кодировка символов страницы
?
Стандарт — UTF-8. Неправильная кодировка вызывает нечитаемые символы и мешает поисковику корректно распознать текст страницы.
Указана кодировка на странице utf-8.
Язык
Атрибут lang в HTML-теге
?
Атрибут lang (<html lang="ru">) сообщает поисковикам и браузерам, на каком языке написана страница. Помогает при ранжировании в региональном поиске.
Язык страницы не указан. Рекомендуется явно указать язык документа!
Скорость загрузки
~1,38сек
Время отклика сервера (TTFB)
?
Time To First Byte — время до получения первого байта от сервера. Норма до 200 мс. Медленный отклик ухудшает пользовательский опыт и ранжирование: Яндекс и Google учитывают скорость страниц.
Скорость загрузки сайта 1,38сек превышает 1 секунду. Желательно улучшить работу сайта!
Предзагрузка переходов
Не настроена
Мгновенное открытие следующей страницы
?
Speculation Rules — правила, по которым браузер подтягивает страницу заранее, ещё до клика: посетитель навёл курсор на ссылку, и переход открывается мгновенно. Настраивается одним файлом правил или тегом в разметке, переделывать сайт не нужно. На оценку фактор не влияет: это ускорение, а не требование.
Не настроена предзагрузка переходов. Браузер умеет заранее подтягивать страницу, на которую посетитель навёл курсор, — переход становится мгновенным. Настраивается одним файлом правил, без переделки сайта.
Объем документа
364Кб
Размер HTML-кода страницы
?
Слишком большой HTML замедляет парсинг браузером и сканирование поисковым роботом. Рекомендуется не более 200 Кб.
Объем html-документа 364Кб оптимален.
Структура html-документа корректна.
Ресурсы
Ресурсы: 2
Внешние ресурсы страницы (CSS, JS, изображения)
?
Количество и тип подключённых ресурсов влияют на скорость загрузки. Большое число запросов увеличивает время рендеринга страницы.
Кол-во файлов ресурсов 2 достаточно.
Показать полный список ресурсов
| Тип | Название | Значение |
|---|---|---|
| js | https://www.googletagmanager.com/gtag/js?id=UA-49704810-6 | |
| js | module | https://static.cloudflareinsights.com/beacon.min.js/vce701823e78c4301a35b7e07294d87301792088814092 |
Серверные заголовки
Кол-во: 9
HTTP-заголовки ответа сервера
?
Заголовки сервера передают браузеру и поисковику служебную информацию: кеширование, безопасность (CSP, HSTS), сжатие (gzip). Правильная настройка ускоряет загрузку и повышает защищённость.
Найдены серверные заголовки 9шт. Подробнее про серверные заголовки.
Показать полный список серверных заголовков
| Ключ | Значение |
|---|---|
| Date | Thu, 19 Nov 2026 19:49:24 GMT |
| Server | cloudflare |
| cf-cache-status | DYNAMIC |
| report-to | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=YcVmqIxzySN8FYYCK2ZW2RtWK4rwloV4Lglb2G0zt2W4l2vuEtKtJnCWlvp6K81HVJ2san70nQp%2BfKGdfYOcmn70fqAxPHhZG9OE6Pvlrj0rrbmyEXoaumzIFPeTbgRpxGJjzVNBbvI%3D"}]} |
| Server-Timing | cfCacheStatus;desc="DYNAMIC" |
| Vary | Accept-Encoding |
| nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| cf-ray | a5d1bce939bc7255-ARN |
| Alt-Svc | h3=":443" |
CMS
Не определена
Система управления сайтом (движок)
?
CMS — это движок, на котором работает сайт (WordPress, 1C-Bitrix, Tilda и др.). Знание CMS помогает понять возможности SEO-оптимизации и подобрать подходящие инструменты. «Не определена» — вероятно, самописный сайт или нестандартная сборка.
CMS не определена. Вероятно, сайт самописный либо движок надёжно скрыт. Это не ошибка.
Веб-сервер
Программное обеспечение сервера
?
Веб-сервер — это ПО, которое отдаёт страницы посетителям (nginx, Apache, IIS, LiteSpeed и др.). Определяется по серверным заголовкам ответа (Server, X-Powered-By и т.п.). «Не определён» — сервер намеренно скрывает эти заголовки, это нормальная практика безопасности.
Сайт работает на веб-сервере Cloudflare.
Мета-теги Готовность: 17%
Title
Trans Cams Live at transcamslive.com
Заголовок страницы в браузере и поисковой выдаче
?
Title — главный SEO-заголовок страницы. Влияет на CTR в поиске и ранжирование. Оптимальная длина: 50–70 символов. Ключевые слова — ближе к началу.
Необходимо увеличить число символов в title (текущее значение: 36, оптимально: от 40 до 45)
Дублей словоформ в title не найдено.
Description
Описание страницы в поисковой выдаче (сниппет)
?
Meta Description — текст под заголовком в выдаче. Напрямую на позиции не влияет, но влияет на CTR. Оптимальная длина: 120–160 символов.
Установите мета-тег description!
Keywords
Список ключевых слов страницы (устаревший тег)
?
Meta Keywords не учитывается Яндексом и Google для ранжирования с 2009–2012 годов. Заполнение не обязательно, но не вредит. Конкурент может использовать содержимое для анализа.
Установите мета-тег keywords!
Канонический Url
//www.transcamslive.com/
Указывает поисковику основную версию страницы
?
Canonical (rel=canonical) предотвращает проблему дублей страниц. Должен указывать на ту же страницу, которую проверяем: завершающий слеш роли не играет, а вот другой адрес или домен передаст ссылочный вес на чужую страницу.
Домен в каноническом Url не совпадает!
Robots
Ошибок нет
Директивы для поисковых роботов на уровне страницы
?
Meta Robots управляет индексацией конкретной страницы: index/noindex — индексировать ли, follow/nofollow — следовать ли по ссылкам. Noindex полностью исключает страницу из поиска.
Meta-тег robots не указан. Страница свободна для индексации.
Адаптивность
width=device-width, initial-scale=1
Настройка масштабирования на мобильных устройствах
?
Тег viewport (<meta name="viewport">) сообщает браузеру, как масштабировать страницу на мобильных. Стандарт: width=device-width, initial-scale=1. Отсутствие — признак отсутствия мобильной версии.
Meta-тег viewport со значением-константой width=device-width задаёт ширину страницы в соответствии с размером экрана.
Meta-тег viewport со значением initial-scale=1.0 определяет масштаб 1:1, т.е. «не масштабировать».
Разметка OpenGraph
Не найдено
Мета-теги для красивых превью в соцсетях
?
OpenGraph (og:title, og:description, og:image) управляет тем, как страница выглядит при репосте в социальных сетях и мессенджерах. Отсутствие OG-тегов — невзрачный превью при шеринге.
Разметка OpenGraph не задана. Страница не оптимизирована под социальные сети. Мета-теги с разметкой Og помогают социальным роботам лучше структурировать Ваш сайт.
Все мета-теги
Кол-во: 2
Полный список мета-тегов страницы
?
Таблица всех meta-тегов, включая нестандартные. Позволяет найти опечатки, дубли и лишние теги.
Найдены мета-теги 2шт. Мета-теги не видимы для человека и предназначены для обмена информацией между веб-страницей и поисковыми системами, браузерами и другими веб-службами. С ними роботы 🤖 и устройства ведут себя более ожидаемо.
Показать полный список мета-тегов
| Тип | Название | Значение |
|---|---|---|
| name | viewport | width=device-width, initial-scale=1 |
| name | Description | Trans Cams is a live sex cams portal intended for adults eighteen years of age and older. Enter here to watch mind-blowing shemales, trans, trannies live on free public sex shows and private chats. These hand-picked trans webcams are available 24/7 - 365 days a year at our TransCamsLive.com portal. Don't forget to bookmark the site now so you can re-visit us any time! |
Оптимизация Готовность: 80%
Структура
Ошибок нет
Каркас HTML-документа
?
Проверяет каркас страницы: есть ли теги html и body, не задвоены ли они и закрыт ли документ тегами </body> и </html>. Оборванный на выводе документ поисковик дочитывает на свой страх и риск — часть контента может не попасть в индекс.
Структура документа корректна (теги <html> и <body> присутствуют в одном экземпляре).
Контент
Ошибок нет
Объём и качество текстового содержимого
?
Анализирует объём полезного текста на странице. Слишком мало — страница может считаться малополезной. Слишком много — ухудшается читаемость и восприятие.
Слова из title 5 встречаются в тексте достаточно.
Абзацев с текстом 34 достаточно.
Среднее число слов в абзаце 47 достаточно.
Кол-во знаков контента 10641 на странице оптимально.
Кол-во слов 1891 на странице оптимально.
Заголовки
Ошибок нет
Иерархия заголовков H1–H6
?
H1 должен быть один и содержать ключевой запрос. H2–H6 описывают подразделы. Пропуск уровней (H1 → H3) и несколько H1 — типичные ошибки, снижающие понятность страницы для поисковика.
На странице присутствуют заголовки <h1> 2. Это прекрасно.
На странице присутствуют заголовки <h2> 7. Это хорошо.
Тошнота
3,16
Насколько одно слово доминирует в тексте
?
Классическая тошнота = √(частота самого повторяющегося слова). Норма до 7–8: текст воспринимается естественно. Выше — поисковик может счесть страницу переспамленной.
Тошнота превышает норму 3. Измените текст страницы!
Академич. тошнота
22,21%
Насколько текст перенасыщен ключевыми словами
?
Академическая тошнота = (частота слова / общее количество слов) × 100%. Показывает долю конкретного слова в тексте. Норма 5–15%.
Академическая тошнота превышает норму 5-15%. Измените текст страницы!
Семантическое ядро
20
Наиболее часто встречающиеся слова на странице
?
Топ слов по частоте использования. Показывает, какие слова доминируют в тексте с точки зрения поисковика.
Контент страницы содержит осмысленный текст и слова.
Показать список слов
| Слово | Кол-во | Частота |
|---|---|---|
| models | 10 | 0,53% |
| different | 9 | 0,48% |
| experience | 8 | 0,42% |
| things | 7 | 0,37% |
| transcamslive | 6 | 0,32% |
| trannies | 6 | 0,32% |
| tranny | 6 | 0,32% |
| amazing | 6 | 0,32% |
| during | 6 | 0,32% |
| watching | 5 | 0,26% |
| please | 5 | 0,26% |
| shemales | 5 | 0,26% |
| private | 5 | 0,26% |
| platform | 5 | 0,26% |
| lovemaking | 5 | 0,26% |
| people | 5 | 0,26% |
| completely | 5 | 0,26% |
| erotic | 5 | 0,26% |
| material | 5 | 0,26% |
| webcam | 4 | 0,21% |
Индексация Готовность: 50%
Индексирование
Ошибок нет
Разрешено ли индексирование страницы
?
Проверяет, не закрыта ли страница от индексации через robots.txt, meta robots или X-Robots-Tag. Страница, закрытая от индексации, не появится в поисковой выдаче.
Анкоров на странице 13 оптимально. Поисковые роботы обязательно проиндексируют сайт.
Robots.txt
Найден корректный robots.txt
Файл управления сканированием сайта роботами
?
Robots.txt указывает поисковым роботам, какие страницы сканировать, а какие — нет. Ошибки в файле могут случайно закрыть важные разделы от индексации.
Кол-во редиректов для файла robots.txt 4 слишком большое! Это может вызывать затруднение при индексации поисковыми роботами!
Проверяемая страница не запрещена в robots.txt.
Robots.txt доступен по постоянному адресу
Цепочка редиректов для файла robots.txt:
http://transcamslive.com/robots.txt
301 MovedPermanently
https://transcamslive.com/robots.txt
301 MovedPermanently
https://www.transcamslive.com/robots.txt
302 Found
https://www.transcamslive.com/
200 OK
Показать содержимое robots.txt
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-49704810-6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-49704810-6');
</script>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Trans Cams Live at transcamslive.com</title>
<meta name="Description" value="Trans Cams is a live sex cams portal intended for adults eighteen years of age and older. Enter here to watch mind-blowing shemales, trans, trannies live on free public sex shows and private chats. These hand-picked trans webcams are available 24/7 - 365 days a year at our TransCamsLive.com portal. Don't forget to bookmark the site now so you can re-visit us any time!">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<!-- smoothness-jquery-ui.min.css -->
<style type="text/css" media="all">
.ui-helper-reset,.ui-menu{outline:0;list-style:none}.ui-button,.ui-spinner,.ui-spinner-input{vertical-align:middle}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-zfix,.ui-widget-overlay{top:0;left:0;width:100%;height:100%}.ui-helper-reset{margin:0;padding:0;border:0;line-height:1.3;text-decoration:none;font-size:100%}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;text-align:center;overflow:visible}.ui-button,.ui-button:active,.ui-button:hover,.ui-button:link,.ui-button:visited{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-icons-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-icons-only .ui-button-icon-primary,.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary{left:.5em}.ui-button-icons-only .ui-button-icon-secondary,.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}button.ui-button::-moz-focus-inner,input.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-multi .ui-datepicker-group,.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{padding:2px;margin:0;display:block}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:400}.ui-menu .ui-menu-item a.ui-state-active,.ui-menu .ui-menu-item a.ui-state-focus{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(images/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-slider-vertical .ui-slider-range-min,.ui-spinner-down{bottom:0}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0}.ui-spinner-input{border:none;background:0 0;color:inherit;padding:0;margin:.2em 22px .2em .4em}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget-content,.ui-widget-header{border:1px solid #aaa;color:#222}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content a{color:#222}.ui-widget-header{background:url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x #ccc;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x #e6e6e6;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #999;background:url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x #dadada;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x #fff;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x #fbf9ee;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x #fef1ec;color:#cd0a0a}.ui-state-error a,.ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error a,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon,.ui-widget-header .ui-icon{background-image:url(images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(images/ui-icons_888888_256x240.png)}.ui-state-active .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(images/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-first,.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-widget-overlay,.ui-widget-shadow{background:url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x #aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:4px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:4px}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;border-radius:8px}
</style>
<!-- style.css -->
<style type="text/css" media="screen">
body{text-align:center;font-family:arial;font-size:15px;margin:0;padding:0;background-color:#ffeed3}h2{font-size:15px;font-weight:400;line-height:normal}a{text-decoration:none}.main{width:100%;text-align:center}.sorter{cursor:pointer}.pushdown{width:800px;float:left;margin:auto}.colhd{width:200px;float:left}.telem{min-height:225px;max-height:352px;float:left;cursor:pointer;padding:5px}.spacer{height:20px}.logo_box{padding-top:20px;top:0;text-align:center;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000;margin:0;background-color:#776243}.logo{float:left;width:200px;height:130px;text-align:left;margin:auto}.header{width:600px;height:40px;text-align:center;margin:auto;font-size:12px}.sorthd{width:150px;float:left;font-weight:700}.links{float:right;width:200px;text-align:left;margin:auto;margin-top:25px}#chatdiv{position:relative;padding-left:2%;text-align:center;margin:auto;padding-top:10px}#chatdiv p{text-align:left}#chatdiv h1{font-size:12pt;font-weight:400;text-align:left}#chatdiv h2{font-size:15px;font-weight:400;text-align:left}#chatdiv ul{text-align:left}#chatdiv li{text-align:left}#chatdiv a{text-decoration:none;color:#000}#footer{position:relative;top:200px;width:100%;text-align:center;margin:auto;background-color:#fffFF}#titlediv{height:25px;color:#fff}#titlediv h1{font-size:20px}#currshow{position:absolute;top:50px;left:0px;right:0px;display:none;width:100%;max-width: 550px;height:540px;text-align:center;margin-left:auto;margin-right:auto;background-color:#fff;border-style:solid;border-width:1px;border-color:#000}#currshow_name{float:left;margin-left:20px;margin-top:10px}#currshow_button{float:right;width:75px;text-align:center;margin-top:5px;margin-right:10px}#currshow1{position:absolute;top:50px;left:50px;display:none;width:550px;height:540px;text-align:center;margin:auto;background-color:#fff;border-style:solid;border-width:1px;border-color:#000}#currshow1_name{float:left;margin-left:20px;margin-top:10px}#currshow1_button{float:right;width:75px;text-align:center;margin-top:5px;margin-right:10px}#currshow2{position:absolute;top:50px;left:850px;display:none;width:550px;height:540px;text-align:center;margin:auto;background-color:#fff;border-style:solid;border-width:1px;border-color:#000}#currshow2_name{float:left;margin-left:20px;margin-top:10px}#currshow2_button{float:right;width:75px;text-align:center;margin-top:5px;margin-right:10px}#warningdiv{font-size:10pt;position:relative;top:50px;width:600px;height:550px;margin:auto;background-color:#fff;border-style:solid;border-width:1ps;border-color:#000;background-color:#fff;background-image:url(../images/transcams.png)}#warningdiv h1{font-size:14pt;font-weight:700}#warningdiv h2{font-size:12pt;font-weight:700;margin-left:10px;margin-right:10px}#warningtop{position:absolute;top:0;left:0;width:100%;height:100%;display:block;text-align:center}#warningframe{width:100%;height:100%;background-image:url(../images/frosty.png);display:none;text-align:center}.menu-bar{position:absolute;top:131px;left:20px;width:95%;height:20px;min-width:1200px;text-align:center;background-color:#f481ca;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000;color:#fff}.menu-item{width:175px;float:left;font-weight:700;cursor:pointer}.menu-item a{text-decoration:none;color:#fff}#trans_cams_thumb{max-width:300px;max-height:225px}@media (max-width:950px){#trans_cams_thumb{max-width:200px;max-height:150px}}
</style>
<link rel="canonical" href="//www.transcamslive.com/">
<!-- jquery.js -->
<script>
!function(f,k){var e,i,v=typeof k,g=f.document,t=f.location,n=f.jQuery,s=f.$,o={},u=[],a="1.9.1",b=u.concat,r=u.push,c=u.slice,l=u.indexOf,h=o.toString,m=o.hasOwnProperty,d=a.trim,mt=function(t,e){return new mt.fn.init(t,e,i)},p=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,C=/\S+/g,y=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,_=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^[\],:{}\s]*$/,D=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,S=/^-ms-/,M=/-([\da-z])/gi,I=function(t,e){return e.toUpperCase()},P=function(t){(g.addEventListener||"load"===t.type||"complete"===g.readyState)&&(E(),mt.ready())},E=function(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",P,!1),f.removeEventListener("load",P,!1)):(g.detachEvent("onreadystatechange",P),f.detachEvent("onload",P))};function A(t){var e=t.length,i=mt.type(t);return!mt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&(0===e||"number"==typeof e&&0<e&&e-1 in t)))}mt.fn=mt.prototype={jquery:a,constructor:mt,init:function(t,e,i){var n,s;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:_.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),w.test(n[1])&&mt.isPlainObject(e))for(n in e)mt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((s=g.getElementById(n[2]))&&s.parentNode){if(s.id!==n[2])return i.find(t);this.length=1,this[0]=s}return this.context=g,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):mt.isFunction(t)?i.ready(t):(t.selector!==k&&(this.selector=t.selector,this.context=t.context),mt.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return c.call(this)},get:function(t){return null==t?this.toArray():t<0?this[this.length+t]:this[t]},pushStack:function(t){var e=mt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return mt.each(this,t,e)},ready:function(t){return mt.ready.promise().done(t),this},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(0<=i&&i<e?[this[i]]:[])},map:function(i){return this.pushStack(mt.map(this,function(t,e){return i.call(t,e,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:r,sort:[].sort,splice:[].splice},mt.fn.init.prototype=mt.fn,mt.extend=mt.fn.extend=function(){var t,e,i,n,s,o,a=arguments[0]||{},r=1,l=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},r=2),"object"==typeof a||mt.isFunction(a)||(a={}),l===r&&(a=this,--r);r<l;r++)if(null!=(s=arguments[r]))for(n in s)t=a[n],a!==(i=s[n])&&(h&&i&&(mt.isPlainObject(i)||(e=mt.isArray(i)))?(e?(e=!1,o=t&&mt.isArray(t)?t:[]):o=t&&mt.isPlainObject(t)?t:{},a[n]=mt.extend(h,o,i)):i!==k&&(a[n]=i));return a},mt.extend({noConflict:function(t){return f.$===mt&&(f.$=s),t&&f.jQuery===mt&&(f.jQuery=n),mt},isReady:!1,readyWait:1,holdReady:function(t){t?mt.readyWait++:mt.ready(!0)},ready:function(t){if(!0===t?!--mt.readyWait:!mt.isReady){if(!g.body)return setTimeout(mt.ready);(mt.isReady=!0)!==t&&0<--mt.readyWait||(e.resolveWith(g,[mt]),mt.fn.trigger&&mt(g).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===mt.type(t)},isArray:Array.isArray||function(t){return"array"===mt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?o[h.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==mt.type(t)||t.nodeType||mt.isWindow(t))return!1;try{if(t.constructor&&!m.call(t,"constructor")&&!m.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}var e;for(e in t);return e===k||m.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||g;var n=w.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=mt.buildFragment([t],e,s),s&&mt(s).remove(),mt.merge([],n.childNodes))},parseJSON:function(t){return f.JSON&&f.JSON.parse?f.JSON.parse(t):null===t?t:"string"==typeof t&&(t=mt.trim(t))&&x.test(t.replace(T,"@").replace(N,"]").replace(D,""))?new Function("return "+t)():void mt.error("Invalid JSON: "+t)},parseXML:function(t){var e;if(!t||"string"!=typeof t)return null;try{f.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=k}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+t),e},noop:function(){},globalEval:function(t){t&&mt.trim(t)&&(f.execScript||function(t){f.eval.call(f,t)})(t)},camelCase:function(t){return t.replace(S,"ms-").replace(M,I)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n=0,s=t.length,o=A(t);if(i){if(o)for(;n<s&&!1!==e.apply(t[n],i);n++);else for(n in t)if(!1===e.apply(t[n],i))break}else if(o)for(;n<s&&!1!==e.call(t[n],n,t[n]);n++);else for(n in t)if(!1===e.call(t[n],n,t[n]))break;return t},trim:d&&!d.call("\ufeff�")?function(t){return null==t?"":d.call(t)}:function(t){return null==t?"":(t+"").replace(y,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(A(Object(t))?mt.merge(i,"string"==typeof t?[t]:t):r.call(i,t)),i},inArray:function(t,e,i){var n;if(e){if(l)return l.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){var i=e.length,n=t.length,s=0;if("number"==typeof i)for(;s<i;s++)t[n++]=e[s];else for(;e[s]!==k;)t[n++]=e[s++];return t.length=n,t},grep:function(t,e,i){var n=[],s=0,o=t.length;for(i=!!i;s<o;s++)i!==!!e(t[s],s)&&n.push(t[s]);return n},map:function(t,e,i){var n,s=0,o=t.length,a=[];if(A(t))for(;s<o;s++)null!=(n=e(t[s],s,i))&&(a[a.length]=n);else for(s in t)null!=(n=e(t[s],s,i))&&(a[a.length]=n);return b.apply([],a)},guid:1,proxy:function(t,e){var i,n,s;return"string"==typeof e&&(s=t[e],e=t,t=s),mt.isFunction(t)?(i=c.call(arguments,2),(n=function(){return t.apply(e||this,i.concat(c.call(arguments)))}).guid=t.guid=t.guid||mt.guid++,n):k},access:function(t,e,i,n,s,o,a){var r=0,l=t.length,h=null==i;if("object"===mt.type(i))for(r in s=!0,i)mt.access(t,e,r,i[r],!0,o,a);else if(n!==k&&(s=!0,mt.isFunction(n)||(a=!0),h&&(a?(e.call(t,n),e=null):(h=e,e=function(t,e,i){return h.call(mt(t),i)})),e))for(;r<l;r++)e(t[r],i,a?n:n.call(t[r],r,e(t[r],i)));return s?t:h?e.call(t):l?e(t[0],i):o},now:function(){return(new Date).getTime()}}),mt.ready.promise=function(t){if(!e)if(e=mt.Deferred(),"complete"===g.readyState)setTimeout(mt.ready);else if(g.addEventListener)g.addEventListener("DOMContentLoaded",P,!1),f.addEventListener("load",P,!1);else{g.attachEvent("onreadystatechange",P),f.attachEvent("onload",P);var i=!1;try{i=null==f.frameElement&&g.documentElement}catch(t){}i&&i.doScroll&&function e(){if(!mt.isReady){try{i.doScroll("left")}catch(t){return setTimeout(e,50)}E(),mt.ready()}}()}return e.promise(t)},mt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){o["[object "+e+"]"]=e.toLowerCase()}),i=mt(g);var H={};mt.Callbacks=function(s){var t,i;s="string"==typeof s?H[s]||(i=H[t=s]={},mt.each(t.match(C)||[],function(t,e){i[e]=!0}),i):mt.extend({},s);var n,e,o,a,r,l,h=[],c=!s.once&&[],u=function(t){for(e=s.memory&&t,o=!0,r=l||0,l=0,a=h.length,n=!0;h&&r<a;r++)if(!1===h[r].apply(t[0],t[1])&&s.stopOnFalse){e=!1;break}n=!1,h&&(c?c.length&&u(c.shift()):e?h=[]:d.disable())},d={add:function(){if(h){var t=h.length;!function n(t){mt.each(t,function(t,e){var i=mt.type(e);"function"===i?s.unique&&d.has(e)||h.push(e):e&&e.length&&"string"!==i&&n(e)})}(arguments),n?a=h.length:e&&(l=t,u(e))}return this},remove:function(){return h&&mt.each(arguments,function(t,e){for(var i;-1<(i=mt.inArray(e,h,i));)h.splice(i,1),n&&(i<=a&&a--,i<=r&&r--)}),this},has:function(t){return t?-1<mt.inArray(t,h):!(!h||!h.length)},empty:function(){return h=[],this},disable:function(){return h=c=e=k,this},disabled:function(){return!h},lock:function(){return c=k,e||d.disable(),this},locked:function(){return!c},fireWith:function(t,e){return e=[t,(e=e||[]).slice?e.slice():e],!h||o&&!c||(n?c.push(e):u(e)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},mt.extend({Deferred:function(t){var a=[["resolve","done",mt.Callbacks("once memory"),"resolved"],["reject","fail",mt.Callbacks("once memory"),"rejected"],["notify","progress",mt.Callbacks("memory")]],s="pending",r={state:function(){return s},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return mt.Deferred(function(s){mt.each(a,function(t,e){var i=e[0],n=mt.isFunction(o[t])&&o[t];l[e[1]](function(){var t=n&&n.apply(this,arguments);t&&mt.isFunction(t.promise)?t.promise().done(s.resolve).fail(s.reject).progress(s.notify):s[i+"With"](this===r?s.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?mt.extend(t,r):r}},l={};return r.pipe=r.then,mt.each(a,function(t,e){var i=e[2],n=e[3];r[e[1]]=i.add,n&&i.add(function(){s=n},a[1^t][2].disable,a[2][2].lock),l[e[0]]=function(){return l[e[0]+"With"](this===l?r:this,arguments),this},l[e[0]+"With"]=i.fireWith}),r.promise(l),t&&t.call(l,l),l},when:function(t){var s,e,i,n=0,o=c.call(arguments),a=o.length,r=1!==a||t&&mt.isFunction(t.promise)?a:0,l=1===r?t:mt.Deferred(),h=function(e,i,n){return function(t){i[e]=this,n[e]=1<arguments.length?c.call(arguments):t,n===s?l.notifyWith(i,n):--r||l.resolveWith(i,n)}};if(1<a)for(s=new Array(a),e=new Array(a),i=new Array(a);n<a;n++)o[n]&&mt.isFunction(o[n].promise)?o[n].promise().done(h(n,i,o)).fail(l.reject).progress(h(n,e,s)):--r;return r||l.resolveWith(i,o),l.promise()}}),mt.support=function(){var o,t,e,i,n,s,a,r,l,h,c=g.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=c.getElementsByTagName("*"),e=c.getElementsByTagName("a")[0],!t||!e||!t.length)return{};a=(n=g.createElement("select")).appendChild(g.createElement("option")),i=c.getElementsByTagName("input")[0],e.style.cssText="top:1px;float:left;opacity:.5",o={getSetAttribute:"t"!==c.className,leadingWhitespace:3===c.firstChild.nodeType,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:"/a"===e.getAttribute("href"),opacity:/^0.5/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:!!i.value,optSelected:a.selected,enctype:!!g.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===g.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},i.checked=!0,o.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(t){o.deleteExpando=!1}for(h in(i=g.createElement("input")).setAttribute("value",""),o.input=""===i.getAttribute("value"),i.value="t",i.setAttribute("type","radio"),o.radioValue="t"===i.value,i.setAttribute("checked","t"),i.setAttribute("name","t"),(s=g.createDocumentFragment()).appendChild(i),o.appendChecked=i.checked,o.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(r="on"+h,"t"),o[h+"Bubbles"]=r in f||!1===c.attributes[r].expando;return c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,mt(function(){var t,e,i,n="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",s=g.getElementsByTagName("body")[0];s&&((t=g.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",s.appendChild(t).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(i=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===i[0].offsetHeight,i[0].style.display="",i[1].style.display="none",o.reliableHiddenOffsets=l&&0===i[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",o.boxSizing=4===c.offsetWidth,o.doesNotIncludeMarginInBodyOffset=1!==s.offsetTop,f.getComputedStyle&&(o.pixelPosition="1%"!==(f.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(f.getComputedStyle(c,null)||{width:"4px"}).width,(e=c.appendChild(g.createElement("div"))).style.cssText=c.style.cssText=n,e.style.marginRight=e.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((f.getComputedStyle(e,null)||{}).marginRight)),typeof c.style.zoom!==v&&(c.innerHTML="",c.style.cssText=n+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(s.style.zoom=1)),s.removeChild(t),t=c=i=e=null)}),t=n=s=a=e=i=null,o}();var z=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,W=/([A-Z])/g;function O(t,e,i,n){if(mt.acceptData(t)){var s,o,a=mt.expando,r="string"==typeof e,l=t.nodeType,h=l?mt.cache:t,c=l?t[a]:t[a]&&a;if(c&&h[c]&&(n||h[c].data)||!r||i!==k)return c||(l?t[a]=c=u.pop()||mt.guid++:c=a),h[c]||(h[c]={},l||(h[c].toJSON=mt.noop)),"object"!=typeof e&&"function"!=typeof e||(n?h[c]=mt.extend(h[c],e):h[c].data=mt.extend(h[c].data,e)),s=h[c],n||(s.data||(s.data={}),s=s.data),i!==k&&(s[mt.camelCase(e)]=i),r?null==(o=s[e])&&(o=s[mt.camelCase(e)]):o=s,o}}function j(t,e,i){if(mt.acceptData(t)){var n,s,o,a=t.nodeType,r=a?mt.cache:t,l=a?t[mt.expando]:mt.expando;if(r[l]){if(e&&(o=i?r[l]:r[l].data)){for((n=0,s=(e=mt.isArray(e)?e.concat(mt.map(e,mt.camelCase)):e in o?[e]:(e=mt.camelCase(e))in o?[e]:e.split(" ")).length);n<s;n++)delete o[e[n]];if(!(i?L:mt.isEmptyObject)(o))return}(i||(delete r[l].data,L(r[l])))&&(a?mt.cleanData([t],!0):mt.support.deleteExpando||r!=r.window?delete r[l]:r[l]=null)}}}function F(t,e,i){if(i===k&&1===t.nodeType){var n="data-"+e.replace(W,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:z.test(i)?mt.parseJSON(i):i)}catch(t){}mt.data(t,e,i)}else i=k}return i}function L(t){var e;for(e in t)if(("data"!==e||!mt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}mt.extend({cache:{},expando:"jQuery"+(a+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return!!(t=t.nodeType?mt.cache[t[mt.expando]]:t[mt.expando])&&!L(t)},data:function(t,e,i){return O(t,e,i)},removeData:function(t,e){return j(t,e)},_data:function(t,e,i){return O(t,e,i,!0)},_removeData:function(t,e){return j(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&mt.noData[t.nodeName.toLowerCase()];return!e||!0!==e&&t.getAttribute("classid")===e}}),mt.fn.extend({data:function(e,t){var i,n,s=this[0],o=0,a=null;if(e===k){if(this.length&&(a=mt.data(s),1===s.nodeType&&!mt._data(s,"parsedAttrs"))){for(i=s.attributes;o<i.length;o++)(n=i[o].name).indexOf("data-")||(n=mt.camelCase(n.slice(5)),F(s,n,a[n]));mt._data(s,"parsedAttrs",!0)}return a}return"object"==typeof e?this.each(function(){mt.data(this,e)}):mt.access(this,function(t){if(t===k)return s?F(s,e,mt.data(s,e)):null;this.each(function(){mt.data(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(t){return this.each(function(){mt.removeData(this,t)})}}),mt.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=mt._data(t,e),i&&(!n||mt.isArray(i)?n=mt._data(t,e,mt.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=mt.queue(t,e),n=i.length,s=i.shift(),o=mt._queueHooks(t,e);"inprogress"===s&&(s=i.shift(),n--),(o.cur=s)&&("fx"===e&&i.unshift("inprogress"),delete o.stop,s.call(t,function(){mt.dequeue(t,e)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return mt._data(t,i)||mt._data(t,i,{empty:mt.Callbacks("once memory").add(function(){mt._removeData(t,e+"queue"),mt._removeData(t,i)})})}}),mt.fn.extend({queue:function(e,i){var t=2;return"string"!=typeof e&&(i=e,e="fx",t--),arguments.length<t?mt.queue(this[0],e):i===k?this:this.each(function(){var t=mt.queue(this,e,i);mt._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&mt.dequeue(this,e)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},delay:function(n,t){return n=mt.fx&&mt.fx.speeds[n]||n,t=t||"fx",this.queue(t,function(t,e){var i=setTimeout(t,n);e.stop=function(){clearTimeout(i)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=mt.Deferred(),o=this,a=this.length,r=function(){--n||s.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=k),t=t||"fx";a--;)(i=mt._data(o[a],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(r));return r(),s.promise(e)}});var R,B,q=/[\t\r\n]/g,Y=/\r/g,$=/^(?:input|select|textarea|button|object)$/i,U=/^(?:a|area)$/i,K=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,X=/^(?:checked|selected)$/i,V=mt.support.getSetAttribute,Q=mt.support.input;mt.fn.extend({attr:function(t,e){return mt.access(this,mt.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})},prop:function(t,e){return mt.access(this,mt.prop,t,e,1<arguments.length)},removeProp:function(t){return t=mt.propFix[t]||t,this.each(function(){try{this[t]=k,delete this[t]}catch(t){}})},addClass:function(e){var t,i,n,s,o,a=0,r=this.length,l="string"==typeof e&&e;if(mt.isFunction(e))return this.each(function(t){mt(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(q," "):" ")){for(o=0;s=t[o++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");i.className=mt.trim(n)}return this},removeClass:function(e){var t,i,n,s,o,a=0,r=this.length,l=0===arguments.length||"string"==typeof e&&e;if(mt.isFunction(e))return this.each(function(t){mt(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(C)||[];a<r;a++)if(n=1===(i=this[a]).nodeType&&(i.className?(" "+i.className+" ").replace(q," "):"")){for(o=0;s=t[o++];)for(;0<=n.indexOf(" "+s+" ");)n=n.replace(" "+s+" "," ");i.className=e?mt.trim(n):""}return this},toggleClass:function(o,a){var r=typeof o,l="boolean"==typeof a;return mt.isFunction(o)?this.each(function(t){mt(this).toggleClass(o.call(this,t,this.className,a),a)}):this.each(function(){if("string"===r)for(var t,e=0,i=mt(this),n=a,s=o.match(C)||[];t=s[e++];)n=l?n:!i.hasClass(t),i[n?"addClass":"removeClass"](t);else r!==v&&"boolean"!==r||(this.className&&mt._data(this,"__className__",this.className),this.className=this.className||!1===o?"":mt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&0<=(" "+this[i].className+" ").replace(q," ").indexOf(e))return!0;return!1},val:function(n){var t,s,o,e=this[0];return arguments.length?(o=mt.isFunction(n),this.each(function(t){var e,i=mt(this);1===this.nodeType&&(null==(e=o?n.call(this,t,i.val()):n)?e="":"number"==typeof e?e+="":mt.isArray(e)&&(e=mt.map(e,function(t){return null==t?"":t+""})),(s=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()])&&"set"in s&&s.set(this,e,"value")!==k||(this.value=e))})):e?(s=mt.valHooks[e.type]||mt.valHooks[e.nodeName.toLowerCase()])&&"get"in s&&(t=s.get(e,"value"))!==k?t:"string"==typeof(t=e.value)?t.replace(Y,""):null==t?"":t:void 0}}),mt.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,o="select-one"===t.type||s<0,a=o?null:[],r=o?s+1:n.length,l=s<0?r:o?s:0;l<r;l++)if(((i=n[l]).selected||l===s)&&(mt.support.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!mt.nodeName(i.parentNode,"optgroup"))){if(e=mt(i).val(),o)return e;a.push(e)}return a},set:function(t,e){var i=mt.makeArray(e);return mt(t).find("option").each(function(){this.selected=0<=mt.inArray(mt(this).val(),i)}),i.length||(t.selectedIndex=-1),i}}},attr:function(t,e,i){var n,s,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===v?mt.prop(t,e,i):((s=1!==a||!mt.isXMLDoc(t))&&(e=e.toLowerCase(),n=mt.attrHooks[e]||(K.test(e)?B:R)),i===k?n&&s&&"get"in n&&null!==(o=n.get(t,e))?o:(typeof t.getAttribute!==v&&(o=t.getAttribute(e)),null==o?k:o):null!==i?n&&s&&"set"in n&&(o=n.set(t,i,e))!==k?o:(t.setAttribute(e,i+""),i):void mt.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,o=e&&e.match(C);if(o&&1===t.nodeType)for(;i=o[s++];)n=mt.propFix[i]||i,K.test(i)?!V&&X.test(i)?t[mt.camelCase("default-"+i)]=t[n]=!1:t[n]=!1:mt.attr(t,i,""),t.removeAttribute(V?i:n)},attrHooks:{type:{set:function(t,e){if(!mt.support.radioValue&&"radio"===e&&mt.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,e,i){var n,s,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!mt.isXMLDoc(t))&&(e=mt.propFix[e]||e,s=mt.propHooks[e]),i!==k?s&&"set"in s&&(n=s.set(t,i,e))!==k?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=t.getAttributeNode("tabindex");return e&&e.specified?parseInt(e.value,10):$.test(t.nodeName)||U.test(t.nodeName)&&t.href?0:k}}}}),B={get:function(t,e){var i=mt.prop(t,e),n="boolean"==typeof i&&t.getAttribute(e),s="boolean"==typeof i?Q&&V?null!=n:X.test(e)?t[mt.camelCase("default-"+e)]:!!n:t.getAttributeNode(e);return s&&!1!==s.value?e.toLowerCase():k},set:function(t,e,i){return!1===e?mt.removeAttr(t,i):Q&&V||!X.test(i)?t.setAttribute(!V&&mt.propFix[i]||i,i):t[mt.camelCase("default-"+i)]=t[i]=!0,i}},Q&&V||(mt.attrHooks.value={get:function(t,e){var i=t.getAttributeNode(e);return mt.nodeName(t,"input")?t.defaultValue:i&&i.specified?i.value:k},set:function(t,e,i){if(!mt.nodeName(t,"input"))return R&&R.set(t,e,i);t.defaultValue=e}}),V||(R=mt.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&("id"===e||"name"===e||"coords"===e?""!==i.value:i.specified)?i.value:k},set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:k}},mt.attrHooks.contenteditable={get:R.get,set:function(t,e,i){R.set(t,""!==e&&e,i)}},mt.each(["width","height"],function(t,i){mt.attrHooks[i]=mt.extend(mt.attrHooks[i],{set:function(t,e){if(""===e)return t.setAttribute(i,"auto"),e}})})),mt.support.hrefNormalized||(mt.each(["href","src","width","height"],function(t,i){mt.attrHooks[i]=mt.extend(mt.attrHooks[i],{get:function(t){var e=t.getAttribute(i,2);return null==e?k:e}})}),mt.each(["href","src"],function(t,e){mt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}})),mt.support.style||(mt.attrHooks.style={get:function(t){return t.style.cssText||k},set:function(t,e){return t.style.cssText=e+""}}),mt.support.optSelected||(mt.propHooks.selected=mt.extend(mt.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),mt.support.enctype||(mt.propFix.enctype="encoding"),mt.support.checkOn||mt.each(["radio","checkbox"],function(){mt.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]=mt.extend(mt.valHooks[this],{set:function(t,e){if(mt.isArray(e))return t.checked=0<=mt.inArray(mt(t).val(),e)}})});var G=/^(?:input|select|textarea)$/i,J=/^key/,Z=/^(?:mouse|contextmenu)|click/,tt=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function nt(){return!1}mt.event={global:{},add:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,g,m=mt._data(t);if(m){for(i.handler&&(i=(l=i).handler,s=l.selector),i.guid||(i.guid=mt.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||((c=m.handle=function(t){return typeof mt===v||t&&mt.event.triggered===t.type?k:mt.event.dispatch.apply(c.elem,arguments)}).elem=t),r=(e=(e||"").match(C)||[""]).length;r--;)p=g=(o=et.exec(e[r])||[])[1],f=(o[2]||"").split(".").sort(),h=mt.event.special[p]||{},p=(s?h.delegateType:h.bindType)||p,h=mt.event.special[p]||{},u=mt.extend({type:p,origType:g,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&mt.expr.match.needsContext.test(s),namespace:f.join(".")},l),(d=a[p])||((d=a[p]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,f,c)||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,u):d.push(u),mt.event.global[p]=!0;t=null}},remove:function(t,e,i,n,s){var o,a,r,l,h,c,u,d,p,f,g,m=mt.hasData(t)&&mt._data(t);if(m&&(c=m.events)){for(h=(e=(e||"").match(C)||[""]).length;h--;)if(p=g=(r=et.exec(e[h])||[])[1],f=(r[2]||"").split(".").sort(),p){for(u=mt.event.special[p]||{},d=c[p=(n?u.delegateType:u.bindType)||p]||[],r=r[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=d.length;o--;)a=d[o],!s&&g!==a.origType||i&&i.guid!==a.guid||r&&!r.test(a.namespace)||n&&n!==a.selector&&("**"!==n||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,u.remove&&u.remove.call(t,a));l&&!d.length&&(u.teardown&&!1!==u.teardown.call(t,f,m.handle)||mt.removeEvent(t,p,m.handle),delete c[p])}else for(p in c)mt.event.remove(t,p+e[h],i,n,!0);mt.isEmptyObject(c)&&(delete m.handle,mt._removeData(t,"events"))}},trigger:function(t,e,i,n){var s,o,a,r,l,h,c,u=[i||g],d=m.call(t,"type")?t.type:t,p=m.call(t,"namespace")?t.namespace.split("."):[];if(a=h=i=i||g,3!==i.nodeType&&8!==i.nodeType&&!tt.test(d+mt.event.triggered)&&(0<=d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),o=d.indexOf(":")<0&&"on"+d,(t=t[mt.expando]?t:new mt.Event(d,"object"==typeof t&&t)).isTrigger=!0,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=k,t.target||(t.target=i),e=null==e?[t]:mt.makeArray(e,[t]),l=mt.event.special[d]||{},n||!l.trigger||!1!==l.trigger.apply(i,e))){if(!n&&!l.noBubble&&!mt.isWindow(i)){for(r=l.delegateType||d,tt.test(r+d)||(a=a.parentNode);a;a=a.parentNode)u.push(a),h=a;h===(i.ownerDocument||g)&&u.push(h.defaultView||h.parentWindow||f)}for(c=0;(a=u[c++])&&!t.isPropagationStopped();)t.type=1<c?r:l.bindType||d,(s=(mt._data(a,"events")||{})[t.type]&&mt._data(a,"handle"))&&s.apply(a,e),(s=o&&a[o])&&mt.acceptData(a)&&s.apply&&!1===s.apply(a,e)&&t.preventDefault();if(t.type=d,!n&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(i.ownerDocument,e))&&("click"!==d||!mt.nodeName(i,"a"))&&mt.acceptData(i)&&o&&i[d]&&!mt.isWindow(i)){(h=i[o])&&(i[o]=null),mt.event.triggered=d;try{i[d]()}catch(t){}mt.event.triggered=k,h&&(i[o]=h)}return t.result}},dispatch:function(t){t=mt.event.fix(t);var e,i,n,s,o,a,r=c.call(arguments),l=(mt._data(this,"events")||{})[t.type]||[],h=mt.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!h.preDispatch||!1!==h.preDispatch.call(this,t)){for(a=mt.event.handlers.call(this,t,l),e=0;(s=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,o=0;(n=s.handlers[o++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,(i=((mt.event.special[n.origType]||{}).handle||n.handler).apply(s.elem,r))!==k&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,o,a=[],r=e.delegateCount,l=t.target;if(r&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(s=[],o=0;o<r;o++)s[i=(n=e[o]).selector+" "]===k&&(s[i]=n.needsContext?0<=mt(i,this).index(l):mt.find(i,this,null,[l]).length),s[i]&&s.push(n);s.length&&a.push({elem:l,handlers:s})}return r<e.length&&a.push({elem:this,handlers:e.slice(r)}),a},fix:function(t){if(t[mt.expando])return t;var e,i,n,s=t.type,o=t,a=this.fixHooks[s];for(a||(this.fixHooks[s]=a=Z.test(s)?this.mouseHooks:J.test(s)?this.keyHooks:{}),n=a.props?this.props.concat(a.props):this.props,t=new mt.Event(o),e=n.length;e--;)t[i=n[e]]=o[i];return t.target||(t.target=o.srcElement||g),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,a.filter?a.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,o=e.button,a=e.fromElement;return null==t.pageX&&null!=e.clientX&&(s=(n=t.target.ownerDocument||g).documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?e.toElement:a),t.which||o===k||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){if(mt.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1}},focus:{trigger:function(){if(this!==g.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===g.activeElement&&this.blur)return this.blur(),!1},delegateType:"focusout"},beforeunload:{postDispatch:function(t){t.result!==k&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=mt.extend(new mt.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?mt.event.trigger(s,null,e):mt.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},mt.removeEvent=g.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===v&&(t[n]=null),t.detachEvent(n,i))},mt.Event=function(t,e){if(!(this instanceof mt.Event))return new mt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||!1===t.returnValue||t.getPreventDefault&&t.getPreventDefault()?it:nt):this.type=t,e&&mt.extend(this,e),this.timeStamp=t&&t.timeStamp||mt.now(),this[mt.expando]=!0},mt.Event.prototype={isDefaultPrevented:nt,isPropagationStopped:nt,isImmediatePropagationStopped:nt,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=it,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=it,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},mt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,s){mt.event.special[t]={delegateType:s,bindType:s,handle:function(t){var e,i=t.relatedTarget,n=t.handleObj;return i&&(i===this||mt.contains(this,i))||(t.type=n.origType,e=n.handler.apply(this,arguments),t.type=s),e}}}),mt.support.submitBubbles||(mt.event.special.submit={setup:function(){if(mt.nodeName(this,"form"))return!1;mt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=mt.nodeName(e,"input")||mt.nodeName(e,"button")?e.form:k;i&&!mt._data(i,"submitBubbles")&&(mt.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),mt._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&mt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){if(mt.nodeName(this,"form"))return!1;mt.event.remove(this,"._submit")}}),mt.support.changeBubbles||(mt.event.special.change={setup:function(){if(G.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(mt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),mt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),mt.event.simulate("change",this,t,!0)})),!1;mt.event.add(this,"beforeactivate._change",function(t){var e=t.target;G.test(e.nodeName)&&!mt._data(e,"changeBubbles")&&(mt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||mt.event.simulate("change",this.parentNode,t,!0)}),mt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return mt.event.remove(this,"._change"),!G.test(this.nodeName)}}),mt.support.focusinBubbles||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){mt.event.simulate(e,t.target,mt.event.fix(t),!0)};mt.event.special[e]={setup:function(){0==i++&&g.addEventListener(t,n,!0)},teardown:function(){0==--i&&g.removeEventListener(t,n,!0)}}}),mt.fn.extend({on:function(t,e,i,n,s){var o,a;if("object"==typeof t){for(o in"string"!=typeof e&&(i=i||e,e=k),t)this.on(o,e,i,t[o],s);return this}if(null==i&&null==n?(n=e,i=e=k):null==n&&("string"==typeof e?(n=i,i=k):(n=i,i=e,e=k)),!1===n)n=nt;else if(!n)return this;return 1===s&&(a=n,(n=function(t){return mt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=mt.guid++)),this.each(function(){mt.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,mt(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return!1!==e&&"function"!=typeof e||(i=e,e=k),!1===i&&(i=nt),this.each(function(){mt.event.remove(this,t,i,e)})},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return mt.event.trigger(t,e,i,!0)}}),function(i,t){var e,w,x,o,n,f,h,k,g,C,s,m,v,a,r,b,c,D="sizzle"+-new Date,y=i.document,_={},T=0,u=0,l=tt(),d=tt(),p=tt(),N="undefined",S=[],M=S.pop,I=S.push,P=S.slice,E=S.indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(this[e]===t)return e;return-1},A="[\\x20\\t\\r\\n\\f]",H="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",z=H.replace("w","w#"),W="\\["+A+"*("+H+")"+A+"*(?:([*^$|!~]?=)"+A+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+z+")|)|)"+A+"*\\]",O=":("+H+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+W.replace(3,8)+")*)|.*)\\)|)",j=new RegExp("^"+A+"+|((?:^|[^\\\\])(?:\\\\.)*)"+A+"+$","g"),F=new RegExp("^"+A+"*,"+A+"*"),L=new RegExp("^"+A+"*([\\x20\\t\\r\\n\\f>+~])"+A+"*"),R=new RegExp(O),B=new RegExp("^"+z+"$"),q={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),NAME:new RegExp("^\\[name=['\"]?("+H+")['\"]?\\]"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+A+"*(even|odd|(([+-]|)(\\d*)n|)"+A+"*(?:([+-]|)"+A+"*(\\d+)|))"+A+"*\\)|)","i"),needsContext:new RegExp("^"+A+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+A+"*((?:-\\d)?\\d*)"+A+"*\\)|)(?=[^-]|$)","i")},Y=/[\x20\t\r\n\f]*[+~]/,$=/^[^{]+\{\s*\[native code/,U=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,V=/'|\\/g,Q=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,G=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,J=function(t,e){var i="0x"+e-65536;return i!=i?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{P.call(y.documentElement.childNodes,0)[0].nodeType}catch(t){P=function(t){for(var e,i=[];e=this[t++];)i.push(e);return i}}function Z(t){return $.test(t+"")}function tt(){var i,n=[];return i=function(t,e){return n.push(t+=" ")>x.cacheLength&&delete i[n.shift()],i[t]=e}}function et(t){return t[D]=!0,t}function it(t){var e=C.createElement("div");try{return t(e)}catch(t){return!1}finally{e=null}}function nt(t,e,i,n){var s,o,a,r,l,h,c,u,d,p;if((e?e.ownerDocument||e:y)!==C&&g(e),i=i||[],!t||"string"!=typeof t)return i;if(1!==(r=(e=e||C).nodeType)&&9!==r)return[];if(!m&&!n){if(s=U.exec(t))if(a=s[1]){if(9===r){if(!(o=e.getElementById(a))||!o.parentNode)return i;if(o.id===a)return i.push(o),i}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(a))&&b(e,o)&&o.id===a)return i.push(o),i}else{if(s[2])return I.apply(i,P.call(e.getElementsByTagName(t),0)),i;if((a=s[3])&&_.getByClassName&&e.getElementsByClassName)return I.apply(i,P.call(e.getElementsByClassName(a),0)),i}if(_.qsa&&!v.test(t)){if(c=!0,u=D,d=e,p=9===r&&t,1===r&&"object"!==e.nodeName.toLowerCase()){for(h=lt(t),(c=e.getAttribute("id"))?u=c.replace(V,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",l=h.length;l--;)h[l]=u+ht(h[l]);d=Y.test(t)&&e.parentNode||e,p=h.join(",")}if(p)try{return I.apply(i,P.call(d.querySelectorAll(p),0)),i}catch(t){}finally{c||e.removeAttribute("id")}}}return function(t,e,i,n){var s,o,a,r,l,h=lt(t);if(!n&&1===h.length){if(2<(o=h[0]=h[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===e.nodeType&&!m&&x.relative[o[1].type]){if(!(e=x.find.ID(a.matches[0].replace(G,J),e)[0]))return i;t=t.slice(o.shift().value.length)}for(s=q.needsContext.test(t)?0:o.length;s--&&(a=o[s],!x.relative[r=a.type]);)if((l=x.find[r])&&(n=l(a.matches[0].replace(G,J),Y.test(o[0].type)&&e.parentNode||e))){if(o.splice(s,1),!(t=n.length&&ht(o)))return I.apply(i,P.call(n,0)),i;break}}return f(t,h)(n,e,m,i,Y.test(t)),i}(t.replace(j,"$1"),e,i,n)}function st(t,e){var i=e&&t,n=i&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ot(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function at(i){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===i}}function rt(a){return et(function(o){return o=+o,et(function(t,e){for(var i,n=a([],t.length,o),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}for(e in n=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},g=nt.setDocument=function(t){var l=t?t.ownerDocument||t:y;return l!==C&&9===l.nodeType&&l.documentElement&&(s=(C=l).documentElement,m=n(l),_.tagNameNoComments=it(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),_.attributes=it(function(t){t.innerHTML="<select></select>";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),_.getByClassName=it(function(t){return t.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!(!t.getElementsByClassName||!t.getElementsByClassName("e").length)&&(t.lastChild.className="e",2===t.getElementsByClassName("e").length)}),_.getByName=it(function(t){t.id=D+0,t.innerHTML="<a name='"+D+"'></a><div name='"+D+"'></div>",s.insertBefore(t,s.firstChild);var e=l.getElementsByName&&l.getElementsByName(D).length===2+l.getElementsByName(D+0).length;return _.getIdNotName=!l.getElementById(D),s.removeChild(t),e}),x.attrHandle=it(function(t){return t.innerHTML="<a href='#'></a>",t.firstChild&&typeof t.firstChild.getAttribute!==N&&"#"===t.firstChild.getAttribute("href")})?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},_.getIdNotName?(x.find.ID=function(t,e){if(typeof e.getElementById!==N&&!m){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},x.filter.ID=function(t){var e=t.replace(G,J);return function(t){return t.getAttribute("id")===e}}):(x.find.ID=function(t,e){if(typeof e.getElementById!==N&&!m){var i=e.getElementById(t);return i?i.id===t||typeof i.getAttributeNode!==N&&i.getAttributeNode("id").value===t?[i]:void 0:[]}},x.filter.ID=function(t){var i=t.replace(G,J);return function(t){var e=typeof t.getAttributeNode!==N&&t.getAttributeNode("id");return e&&e.value===i}}),x.find.TAG=_.tagNameNoComments?function(t,e){if(typeof e.getElementsByTagName!==N)return e.getElementsByTagName(t)}:function(t,e){var i,n=[],s=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[s++];)1===i.nodeType&&n.push(i);return n}return o},x.find.NAME=_.getByName&&function(t,e){if(typeof e.getElementsByName!==N)return e.getElementsByName(name)},x.find.CLASS=_.getByClassName&&function(t,e){if(typeof e.getElementsByClassName!==N&&!m)return e.getElementsByClassName(t)},a=[],v=[":focus"],(_.qsa=Z(l.querySelectorAll))&&(it(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||v.push("\\["+A+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||v.push(":checked")}),it(function(t){t.innerHTML="<input type='hidden' i=''/>",t.querySelectorAll("[i^='']").length&&v.push("[*^$]="+A+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(_.matchesSelector=Z(r=s.matchesSelector||s.mozMatchesSelector||s.webkitMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&it(function(t){_.disconnectedMatch=r.call(t,"div"),r.call(t,"[s!='']:x"),a.push("!=",O)}),v=new RegExp(v.join("|")),a=new RegExp(a.join("|")),b=Z(s.contains)||s.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},c=s.compareDocumentPosition?function(t,e){var i;return t===e?(h=!0,0):(i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e))?1&i||t.parentNode&&11===t.parentNode.nodeType?t===l||b(y,t)?-1:e===l||b(y,e)?1:0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,n=0,s=t.parentNode,o=e.parentNode,a=[t],r=[e];if(t===e)return h=!0,0;if(!s||!o)return t===l?-1:e===l?1:s?-1:o?1:0;if(s===o)return st(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)r.unshift(i);for(;a[n]===r[n];)n++;return n?st(a[n],r[n]):a[n]===y?-1:r[n]===y?1:0},h=!1,[0,0].sort(c),_.detectDuplicates=h),C},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&g(t),e=e.replace(Q,"='$1']"),_.matchesSelector&&!m&&(!a||!a.test(e))&&!v.test(e))try{var i=r.call(t,e);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return 0<nt(e,C,null,[t]).length},nt.contains=function(t,e){return(t.ownerDocument||t)!==C&&g(t),b(t,e)},nt.attr=function(t,e){var i;return(t.ownerDocument||t)!==C&&g(t),m||(e=e.toLowerCase()),(i=x.attrHandle[e])?i(t):m||_.attributes?t.getAttribute(e):((i=t.getAttributeNode(e))||t.getAttribute(e))&&!0===t[e]?e:i&&i.specified?i.value:null},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,i=[],n=1,s=0;if(h=!_.detectDuplicates,t.sort(c),h){for(;e=t[n];n++)e===t[n-1]&&(s=i.push(n));for(;s--;)t.splice(i[s],1)}return t},o=nt.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=o(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n];n++)i+=o(e);return i},x=nt.selectors={cacheLength:50,createPseudo:et,match:q,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(G,J),t[3]=(t[4]||t[5]||"").replace(G,J),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return q.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:i&&R.test(i)&&(e=lt(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(G,J).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(t){var e=l[t+" "];return e||(e=new RegExp("(^|"+A+")"+t+"("+A+"|$)"))&&l(t,function(t){return e.test(t.className||typeof t.getAttribute!==N&&t.getAttribute("class")||"")})},ATTR:function(i,n,s){return function(t){var e=nt.attr(t,i);return null==e?"!="===n:!n||(e+="","="===n?e===s:"!="===n?e!==s:"^="===n?s&&0===e.indexOf(s):"*="===n?s&&-1<e.indexOf(s):"$="===n?s&&e.slice(-s.length)===s:"~="===n?-1<(" "+e+" ").indexOf(s):"|="===n&&(e===s||e.slice(0,s.length+1)===s+"-"))}},CHILD:function(p,t,e,f,g){var m="nth"!==p.slice(0,3),v="last"!==p.slice(-4),b="of-type"===t;return 1===f&&0===g?function(t){return!!t.parentNode}:function(t,e,i){var n,s,o,a,r,l,h=m!==v?"nextSibling":"previousSibling",c=t.parentNode,u=b&&t.nodeName.toLowerCase(),d=!i&&!b;if(c){if(m){for(;h;){for(o=t;o=o[h];)if(b?o.nodeName.toLowerCase()===u:1===o.nodeType)return!1;l=h="only"===p&&!l&&"nextSibling"}return!0}if(l=[v?c.firstChild:c.lastChild],v&&d){for(r=(n=(s=c[D]||(c[D]={}))[p]||[])[0]===T&&n[1],a=n[0]===T&&n[2],o=r&&c.childNodes[r];o=++r&&o&&o[h]||(a=r=0)||l.pop();)if(1===o.nodeType&&++a&&o===t){s[p]=[T,r,a];break}}else if(d&&(n=(t[D]||(t[D]={}))[p])&&n[0]===T)a=n[1];else for(;(o=++r&&o&&o[h]||(a=r=0)||l.pop())&&((b?o.nodeName.toLowerCase()!==u:1!==o.nodeType)||!++a||(d&&((o[D]||(o[D]={}))[p]=[T,a]),o!==t)););return(a-=g)===f||a%f==0&&0<=a/f}}},PSEUDO:function(t,o){var e,a=x.pseudos[t]||x.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return a[D]?a(o):1<a.length?(e=[t,t,"",o],x.setFilters.hasOwnProperty(t.toLowerCase())?et(function(t,e){for(var i,n=a(t,o),s=n.length;s--;)t[i=E.call(t,n[s])]=!(e[i]=n[s])}):function(t){return a(t,0,e)}):a}},pseudos:{not:et(function(t){var n=[],s=[],r=f(t.replace(j,"$1"));return r[D]?et(function(t,e,i,n){for(var s,o=r(t,null,n,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,e,i){return n[0]=t,r(n,null,i,s),!s.pop()}}),has:et(function(e){return function(t){return 0<nt(e,t).length}}),contains:et(function(e){return function(t){return-1<(t.textContent||t.innerText||o(t)).indexOf(e)}}),lang:et(function(i){return B.test(i||"")||nt.error("unsupported lang: "+i),i=i.replace(G,J).toLowerCase(),function(t){var e;do{if(e=m?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return(e=e.toLowerCase())===i||0===e.indexOf(i+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=i.location&&i.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===s},focus:function(t){return t===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if("@"<t.nodeName||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:rt(function(){return[0]}),last:rt(function(t,e){return[e-1]}),eq:rt(function(t,e,i){return[i<0?i+e:i]}),even:rt(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:rt(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:rt(function(t,e,i){for(var n=i<0?i+e:i;0<=--n;)t.push(n);return t}),gt:rt(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[e]=ot(e);for(e in{submit:!0,reset:!0})x.pseudos[e]=at(e);function lt(t,e){var i,n,s,o,a,r,l,h=d[t+" "];if(h)return e?0:h.slice(0);for(a=t,r=[],l=x.preFilter;a;){for(o in i&&!(n=F.exec(a))||(n&&(a=a.slice(n[0].length)||a),r.push(s=[])),i=!1,(n=L.exec(a))&&(i=n.shift(),s.push({value:i,type:n[0].replace(j," ")}),a=a.slice(i.length)),x.filter)!(n=q[o].exec(a))||l[o]&&!(n=l[o](n))||(i=n.shift(),s.push({value:i,type:o,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?nt.error(t):d(t,r).slice(0)}function ht(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function ct(r,t,e){var l=t.dir,h=e&&"parentNode"===l,c=u++;return t.first?function(t,e,i){for(;t=t[l];)if(1===t.nodeType||h)return r(t,e,i)}:function(t,e,i){var n,s,o,a=T+" "+c;if(i){for(;t=t[l];)if((1===t.nodeType||h)&&r(t,e,i))return!0}else for(;t=t[l];)if(1===t.nodeType||h)if((s=(o=t[D]||(t[D]={}))[l])&&s[0]===a){if(!0===(n=s[1])||n===w)return!0===n}else if((s=o[l]=[a])[1]=r(t,e,i)||w,!0===s[1])return!0}}function ut(s){return 1<s.length?function(t,e,i){for(var n=s.length;n--;)if(!s[n](t,e,i))return!1;return!0}:s[0]}function dt(t,e,i,n,s){for(var o,a=[],r=0,l=t.length,h=null!=e;r<l;r++)(o=t[r])&&(i&&!i(o,n,s)||(a.push(o),h&&e.push(r)));return a}function pt(p,f,g,m,v,t){return m&&!m[D]&&(m=pt(m)),v&&!v[D]&&(v=pt(v,t)),et(function(t,e,i,n){var s,o,a,r=[],l=[],h=e.length,c=t||function(t,e,i){for(var n=0,s=e.length;n<s;n++)nt(t,e[n],i);return i}(f||"*",i.nodeType?[i]:i,[]),u=!p||!t&&f?c:dt(c,r,p,i,n),d=g?v||(t?p:h||m)?[]:e:u;if(g&&g(u,d,i,n),m)for(s=dt(d,l),m(s,[],i,n),o=s.length;o--;)(a=s[o])&&(d[l[o]]=!(u[l[o]]=a));if(t){if(v||p){if(v){for(s=[],o=d.length;o--;)(a=d[o])&&s.push(u[o]=a);v(null,d=[],s,n)}for(o=d.length;o--;)(a=d[o])&&-1<(s=v?E.call(t,a):r[o])&&(t[s]=!(e[s]=a))}}else d=dt(d===e?d.splice(h,d.length):d),v?v(null,e,d,n):I.apply(e,d)})}function ft(t){for(var n,e,i,s=t.length,o=x.relative[t[0].type],a=o||x.relative[" "],r=o?1:0,l=ct(function(t){return t===n},a,!0),h=ct(function(t){return-1<E.call(n,t)},a,!0),c=[function(t,e,i){return!o&&(i||e!==k)||((n=e).nodeType?l(t,e,i):h(t,e,i))}];r<s;r++)if(e=x.relative[t[r].type])c=[ct(ut(c),e)];else{if((e=x.filter[t[r].type].apply(null,t[r].matches))[D]){for(i=++r;i<s&&!x.relative[t[i].type];i++);return pt(1<r&&ut(c),1<r&&ht(t.slice(0,r-1)).replace(j,"$1"),e,r<i&&ft(t.slice(r,i)),i<s&&ft(t=t.slice(i)),i<s&&ht(t))}c.push(e)}return ut(c)}function gt(){}f=nt.compile=function(t,e){var i,m,v,b,y,_,n,s=[],o=[],a=p[t+" "];if(!a){for(e||(e=lt(t)),i=e.length;i--;)(a=ft(e[i]))[D]?s.push(a):o.push(a);a=p(t,(m=o,y=(b=0)<(v=s).length,_=0<m.length,n=function(t,e,i,n,s){var o,a,r,l=[],h=0,c="0",u=t&&[],d=null!=s,p=k,f=t||_&&x.find.TAG("*",s&&e.parentNode||e),g=T+=null==p?1:Math.random()||.1;for(d&&(k=e!==C&&e,w=b);null!=(o=f[c]);c++){if(_&&o){for(a=0;r=m[a++];)if(r(o,e,i)){n.push(o);break}d&&(T=g,w=++b)}y&&((o=!r&&o)&&h--,t&&u.push(o))}if(h+=c,y&&c!==h){for(a=0;r=v[a++];)r(u,l,e,i);if(t){if(0<h)for(;c--;)u[c]||l[c]||(l[c]=M.call(n));l=dt(l)}I.apply(n,l),d&&!t&&0<l.length&&1<h+v.length&&nt.uniqueSort(n)}return d&&(T=g,k=p),u},y?et(n):n))}return a},x.pseudos.nth=x.pseudos.eq,x.filters=gt.prototype=x.pseudos,x.setFilters=new gt,g(),nt.attr=mt.attr,mt.find=nt,mt.expr=nt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.unique=nt.uniqueSort,mt.text=nt.getText,mt.isXMLDoc=nt.isXML,mt.contains=nt.contains}(f);var st=/Until$/,ot=/^(?:parents|prev(?:Until|All))/,at=/^.[^:#\[\.,]*$/,rt=mt.expr.match.needsContext,lt={children:!0,contents:!0,next:!0,prev:!0};function ht(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function ct(t,i,n){if(i=i||0,mt.isFunction(i))return mt.grep(t,function(t,e){return!!i.call(t,e,t)===n});if(i.nodeType)return mt.grep(t,function(t){return t===i===n});if("string"==typeof i){var e=mt.grep(t,function(t){return 1===t.nodeType});if(at.test(i))return mt.filter(i,e,!n);i=mt.filter(i,e)}return mt.grep(t,function(t){return 0<=mt.inArray(t,i)===n})}function ut(t){var e=dt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}mt.fn.extend({find:function(t){var e,i,n,s=this.length;if("string"!=typeof t)return(n=this).pushStack(mt(t).filter(function(){for(e=0;e<s;e++)if(mt.contains(n[e],this))return!0}));for(i=[],e=0;e<s;e++)mt.find(t,this[e],i);return(i=this.pushStack(1<s?mt.unique(i):i)).selector=(this.selector?this.selector+" ":"")+t,i},has:function(t){var e,i=mt(t,this),n=i.length;return this.filter(function(){for(e=0;e<n;e++)if(mt.contains(this,i[e]))return!0})},not:function(t){return this.pushStack(ct(this,t,!1))},filter:function(t){return this.pushStack(ct(this,t,!0))},is:function(t){return!!t&&("string"==typeof t?rt.test(t)?0<=mt(t,this.context).index(this[0]):0<mt.filter(t,this).length:0<this.filter(t).length)},closest:function(t,e){for(var i,n=0,s=this.length,o=[],a=rt.test(t)||"string"!=typeof t?mt(t,e||this.context):0;n<s;n++)for(i=this[n];i&&i.ownerDocument&&i!==e&&11!==i.nodeType;){if(a?-1<a.index(i):mt.find.matchesSelector(i,t)){o.push(i);break}i=i.parentNode}return this.pushStack(1<o.length?mt.unique(o):o)},index:function(t){return t?"string"==typeof t?mt.inArray(this[0],mt(t)):mt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?mt(t,e):mt.makeArray(t&&t.nodeType?[t]:t),n=mt.merge(this.get(),i);return this.pushStack(mt.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.fn.andSelf=mt.fn.addBack,mt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return mt.dir(t,"parentNode")},parentsUntil:function(t,e,i){return mt.dir(t,"parentNode",i)},next:function(t){return ht(t,"nextSibling")},prev:function(t){return ht(t,"previousSibling")},nextAll:function(t){return mt.dir(t,"nextSibling")},prevAll:function(t){return mt.dir(t,"previousSibling")},nextUntil:function(t,e,i){return mt.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return mt.dir(t,"previousSibling",i)},siblings:function(t){return mt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return mt.sibling(t.firstChild)},contents:function(t){return mt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:mt.merge([],t.childNodes)}},function(n,s){mt.fn[n]=function(t,e){var i=mt.map(this,s,t);return st.test(n)||(e=t),e&&"string"==typeof e&&(i=mt.filter(e,i)),i=1<this.length&&!lt[n]?mt.unique(i):i,1<this.length&&ot.test(n)&&(i=i.reverse()),this.pushStack(i)}}),mt.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?mt.find.matchesSelector(e[0],t)?[e[0]]:[]:mt.find.matches(t,e)},dir:function(t,e,i){for(var n=[],s=t[e];s&&9!==s.nodeType&&(i===k||1!==s.nodeType||!mt(s).is(i));)1===s.nodeType&&n.push(s),s=s[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var dt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",pt=/ jQuery\d+="(?:null|\d+)"/g,ft=new RegExp("<(?:"+dt+")[\\s/>]","i"),gt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,yt=/<tbody/i,_t=/<|&#?\w+;/,wt=/<(?:script|style|link)/i,xt=/^(?:checkbox|radio)$/i,kt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ct=/^$|\/(?:java|ecma)script/i,Dt=/^true\/(.*)/,Tt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:mt.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},St=ut(g).appendChild(g.createElement("div"));function Mt(t){var e=t.getAttributeNode("type");return t.type=(e&&e.specified)+"/"+t.type,t}function It(t){var e=Dt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Pt(t,e){for(var i,n=0;null!=(i=t[n]);n++)mt._data(i,"globalEval",!e||mt._data(e[n],"globalEval"))}function Et(t,e){if(1===e.nodeType&&mt.hasData(t)){var i,n,s,o=mt._data(t),a=mt._data(e,o),r=o.events;if(r)for(i in delete a.handle,a.events={},r)for(n=0,s=r[i].length;n<s;n++)mt.event.add(e,i,r[i][n]);a.data&&(a.data=mt.extend({},a.data))}}function At(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!mt.support.noCloneEvent&&e[mt.expando]){for(n in(s=mt._data(e)).events)mt.removeEvent(e,n,s.handle);e.removeAttribute(mt.expando)}"script"===i&&e.text!==t.text?(Mt(e).text=t.text,It(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),mt.support.html5Clone&&t.innerHTML&&!mt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&xt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function Ht(t,e){var i,n,s=0,o=typeof t.getElementsByTagName!==v?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==v?t.querySelectorAll(e||"*"):k;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[s]);s++)!e||mt.nodeName(n,e)?o.push(n):mt.merge(o,Ht(n,e));return e===k||e&&mt.nodeName(t,e)?mt.merge([t],o):o}function zt(t){xt.test(t.type)&&(t.defaultChecked=t.checked)}Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,mt.fn.extend({text:function(t){return mt.access(this,function(t){return t===k?mt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||g).createTextNode(t))},null,t,arguments.length)},wrapAll:function(e){if(mt.isFunction(e))return this.each(function(t){mt(this).wrapAll(e.call(this,t))});if(this[0]){var t=mt(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(i){return mt.isFunction(i)?this.each(function(t){mt(this).wrapInner(i.call(this,t))}):this.each(function(){var t=mt(this),e=t.contents();e.length?e.wrapAll(i):t.append(i)})},wrap:function(e){var i=mt.isFunction(e);return this.each(function(t){mt(this).wrapAll(i?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){mt.nodeName(this,"body")||mt(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||this.insertBefore(t,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||0<mt.filter(t,[i]).length)&&(e||1!==i.nodeType||mt.cleanData(Ht(i)),i.parentNode&&(e&&mt.contains(i.ownerDocument,i)&&Pt(Ht(i,"script")),i.parentNode.removeChild(i)));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&mt.cleanData(Ht(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&mt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return mt.access(this,function(t){var e=this[0]||{},i=0,n=this.length;if(t===k)return 1===e.nodeType?e.innerHTML.replace(pt,""):k;if("string"==typeof t&&!wt.test(t)&&(mt.support.htmlSerialize||!ft.test(t))&&(mt.support.leadingWhitespace||!gt.test(t))&&!Nt[(bt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(vt,"<$1></$2>");try{for(;i<n;i++)1===(e=this[i]||{}).nodeType&&(mt.cleanData(Ht(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){return mt.isFunction(t)||"string"==typeof t||(t=mt(t).not(this).detach()),this.domManip([t],!0,function(t){var e=this.nextSibling,i=this.parentNode;i&&(mt(this).remove(),i.insertBefore(t,e))})},detach:function(t){return this.remove(t,!0)},domManip:function(i,n,s){i=b.apply([],i);var t,e,o,a,r,l,h,c,u=0,d=this.length,p=this,f=d-1,g=i[0],m=mt.isFunction(g);if(m||!(d<=1||"string"!=typeof g||mt.support.checkClone)&&kt.test(g))return this.each(function(t){var e=p.eq(t);m&&(i[0]=g.call(this,t,n?e.html():k)),e.domManip(i,n,s)});if(d&&(t=(l=mt.buildFragment(i,this[0].ownerDocument,!1,this)).firstChild,1===l.childNodes.length&&(l=t),t)){for(n=n&&mt.nodeName(t,"tr"),o=(a=mt.map(Ht(l,"script"),Mt)).length;u<d;u++)e=l,u!==f&&(e=mt.clone(e,!0,!0),o&&mt.merge(a,Ht(e,"script"))),s.call(n&&mt.nodeName(this[u],"table")?(h=this[u],c="tbody",h.getElementsByTagName(c)[0]||h.appendChild(h.ownerDocument.createElement(c))):this[u],e,u);if(o)for(r=a[a.length-1].ownerDocument,mt.map(a,It),u=0;u<o;u++)e=a[u],Ct.test(e.type||"")&&!mt._data(e,"globalEval")&&mt.contains(r,e)&&(e.src?mt.ajax({url:e.src,type:"GET",dataType:"script",async:!1,global:!1,throws:!0}):mt.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Tt,"")));l=t=null}return this}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,a){mt.fn[t]=function(t){for(var e,i=0,n=[],s=mt(t),o=s.length-1;i<=o;i++)e=i===o?this:this.clone(!0),mt(s[i])[a](e),r.apply(n,e.get());return this.pushStack(n)}}),mt.extend({clone:function(t,e,i){var n,s,o,a,r,l=mt.contains(t.ownerDocument,t);if(mt.support.html5Clone||mt.isXMLDoc(t)||!ft.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(St.innerHTML=t.outerHTML,St.removeChild(o=St.firstChild)),!(mt.support.noCloneEvent&&mt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(n=Ht(o),r=Ht(t),a=0;null!=(s=r[a]);++a)n[a]&&At(s,n[a]);if(e)if(i)for(r=r||Ht(t),n=n||Ht(o),a=0;null!=(s=r[a]);a++)Et(s,n[a]);else Et(t,o);return 0<(n=Ht(o,"script")).length&&Pt(n,!l&&Ht(t,"script")),n=r=s=null,o},buildFragment:function(t,e,i,n){for(var s,o,a,r,l,h,c,u=t.length,d=ut(e),p=[],f=0;f<u;f++)if((o=t[f])||0===o)if("object"===mt.type(o))mt.merge(p,o.nodeType?[o]:o);else if(_t.test(o)){for(r=r||d.appendChild(e.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=Nt[l]||Nt._default,r.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],s=c[0];s--;)r=r.lastChild;if(!mt.support.leadingWhitespace&>.test(o)&&p.push(e.createTextNode(gt.exec(o)[0])),!mt.support.tbody)for(s=(o="table"!==l||yt.test(o)?"<table>"!==c[1]||yt.test(o)?0:r:r.firstChild)&&o.childNodes.length;s--;)mt.nodeName(h=o.childNodes[s],"tbody")&&!h.childNodes.length&&o.removeChild(h);for(mt.merge(p,r.childNodes),r.textContent="";r.firstChild;)r.removeChild(r.firstChild);r=d.lastChild}else p.push(e.createTextNode(o));for(r&&d.removeChild(r),mt.support.appendChecked||mt.grep(Ht(p,"input"),zt),f=0;o=p[f++];)if((!n||-1===mt.inArray(o,n))&&(a=mt.contains(o.ownerDocument,o),r=Ht(d.appendChild(o),"script"),a&&Pt(r),i))for(s=0;o=r[s++];)Ct.test(o.type||"")&&i.push(o);return r=null,d},cleanData:function(t,e){for(var i,n,s,o,a=0,r=mt.expando,l=mt.cache,h=mt.support.deleteExpando,c=mt.event.special;null!=(i=t[a]);a++)if((e||mt.acceptData(i))&&(o=(s=i[r])&&l[s])){if(o.events)for(n in o.events)c[n]?mt.event.remove(i,n):mt.removeEvent(i,n,o.handle);l[s]&&(delete l[s],h?delete i[r]:typeof i.removeAttribute!==v?i.removeAttribute(r):i[r]=null,u.push(s))}}});var Wt,Ot,jt,Ft=/alpha\([^)]*\)/i,Lt=/opacity\s*=\s*([^)]*)/,Rt=/^(top|right|bottom|left)$/,Bt=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Yt=new RegExp("^("+p+")(.*)$","i"),$t=new RegExp("^("+p+")(?!px)[a-z%]+$","i"),Ut=new RegExp("^([+-])=("+p+")","i"),Kt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},Qt=["Top","Right","Bottom","Left"],Gt=["Webkit","O","Moz","ms"];function Jt(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=Gt.length;s--;)if((e=Gt[s]+i)in t)return e;return n}function Zt(t,e){return t=e||t,"none"===mt.css(t,"display")||!mt.contains(t.ownerDocument,t)}function te(t,e){for(var i,n,s,o=[],a=0,r=t.length;a<r;a++)(n=t[a]).style&&(o[a]=mt._data(n,"olddisplay"),i=n.style.display,e?(o[a]||"none"!==i||(n.style.display=""),""===n.style.display&&Zt(n)&&(o[a]=mt._data(n,"olddisplay",se(n.nodeName)))):o[a]||(s=Zt(n),(i&&"none"!==i||!s)&&mt._data(n,"olddisplay",s?i:mt.css(n,"display"))));for(a=0;a<r;a++)(n=t[a]).style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?o[a]||"":"none"));return t}function ee(t,e,i){var n=Yt.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function ie(t,e,i,n,s){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===i&&(a+=mt.css(t,i+Qt[o],!0,s)),n?("content"===i&&(a-=mt.css(t,"padding"+Qt[o],!0,s)),"margin"!==i&&(a-=mt.css(t,"border"+Qt[o]+"Width",!0,s))):(a+=mt.css(t,"padding"+Qt[o],!0,s),"padding"!==i&&(a+=mt.css(t,"border"+Qt[o]+"Width",!0,s)));return a}function ne(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,o=Ot(t),a=mt.support.boxSizing&&"border-box"===mt.css(t,"boxSizing",!1,o);if(s<=0||null==s){if(((s=jt(t,e,o))<0||null==s)&&(s=t.style[e]),$t.test(s))return s;n=a&&(mt.support.boxSizingReliable||s===t.style[e]),s=parseFloat(s)||0}return s+ie(t,e,i||(a?"border":"content"),n,o)+"px"}function se(t){var e=g,i=Kt[t];return i||("none"!==(i=oe(t,e))&&i||((e=((Wt=(Wt||mt("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement))[0].contentWindow||Wt[0].contentDocument).document).write("<!doctype html><html><body>"),e.close(),i=oe(t,e),Wt.detach()),Kt[t]=i),i}function oe(t,e){var i=mt(e.createElement(t)).appendTo(e.body),n=mt.css(i[0],"display");return i.remove(),n}mt.fn.extend({css:function(t,e){return mt.access(this,function(t,e,i){var n,s,o={},a=0;if(mt.isArray(e)){for(s=Ot(t),n=e.length;a<n;a++)o[e[a]]=mt.css(t,e[a],!1,s);return o}return i!==k?mt.style(t,e,i):mt.css(t,e)},t,e,1<arguments.length)},show:function(){return te(this,!0)},hide:function(){return te(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:Zt(this))?mt(this).show():mt(this).hide()})}}),mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=jt(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:mt.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,r=mt.camelCase(e),l=t.style;if(e=mt.cssProps[r]||(mt.cssProps[r]=Jt(l,r)),a=mt.cssHooks[e]||mt.cssHooks[r],i===k)return a&&"get"in a&&(s=a.get(t,!1,n))!==k?s:l[e];if(!("string"===(o=typeof i)&&(s=Ut.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(mt.css(t,e)),o="number"),null==i||"number"===o&&isNaN(i)||("number"!==o||mt.cssNumber[r]||(i+="px"),mt.support.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&(i=a.set(t,i,n))===k)))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var s,o,a,r=mt.camelCase(e);return e=mt.cssProps[r]||(mt.cssProps[r]=Jt(t.style,r)),(a=mt.cssHooks[e]||mt.cssHooks[r])&&"get"in a&&(o=a.get(t,!0,i)),o===k&&(o=jt(t,e,n)),"normal"===o&&e in Vt&&(o=Vt[e]),""===i||i?(s=parseFloat(o),!0===i||mt.isNumeric(s)?s||0:o):o},swap:function(t,e,i,n){var s,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in s=i.apply(t,n||[]),e)t.style[o]=a[o];return s}}),f.getComputedStyle?(Ot=function(t){return f.getComputedStyle(t,null)},jt=function(t,e,i){var n,s,o,a=i||Ot(t),r=a?a.getPropertyValue(e)||a[e]:k,l=t.style;return a&&(""!==r||mt.contains(t.ownerDocument,t)||(r=mt.style(t,e)),$t.test(r)&&qt.test(e)&&(n=l.width,s=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=r,r=a.width,l.width=n,l.minWidth=s,l.maxWidth=o)),r}):g.documentElement.currentStyle&&(Ot=function(t){return t.currentStyle},jt=function(t,e,i){var n,s,o,a=i||Ot(t),r=a?a[e]:k,l=t.style;return null==r&&l&&l[e]&&(r=l[e]),$t.test(r)&&!Rt.test(e)&&(n=l.left,(o=(s=t.runtimeStyle)&&s.left)&&(s.left=t.currentStyle.left),l.left="fontSize"===e?"1em":r,r=l.pixelLeft+"px",l.left=n,o&&(s.left=o)),""===r?"auto":r}),mt.each(["height","width"],function(t,s){mt.cssHooks[s]={get:function(t,e,i){if(e)return 0===t.offsetWidth&&Bt.test(mt.css(t,"display"))?mt.swap(t,Xt,function(){return ne(t,s,i)}):ne(t,s,i)},set:function(t,e,i){var n=i&&Ot(t);return ee(0,e,i?ie(t,s,i,mt.support.boxSizing&&"border-box"===mt.css(t,"boxSizing",!1,n),n):0)}}}),mt.support.opacity||(mt.cssHooks.opacity={get:function(t,e){return Lt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=mt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";((i.zoom=1)<=e||""===e)&&""===mt.trim(o.replace(Ft,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=Ft.test(o)?o.replace(Ft,s):o+" "+s)}}),mt(function(){mt.support.reliableMarginRight||(mt.cssHooks.marginRight={get:function(t,e){if(e)return mt.swap(t,{display:"inline-block"},jt,[t,"marginRight"])}}),!mt.support.pixelPosition&&mt.fn.position&&mt.each(["top","left"],function(t,i){mt.cssHooks[i]={get:function(t,e){if(e)return e=jt(t,i),$t.test(e)?mt(t).position()[i]+"px":e}}})}),mt.expr&&mt.expr.filters&&(mt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!mt.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||mt.css(t,"display"))},mt.expr.filters.visible=function(t){return!mt.expr.filters.hidden(t)}),mt.each({margin:"",padding:"",border:"Width"},function(s,o){mt.cssHooks[s+o]={expand:function(t){for(var e=0,i={},n="string"==typeof t?t.split(" "):[t];e<4;e++)i[s+Qt[e]+o]=n[e]||n[e-2]||n[0];return i}},qt.test(s)||(mt.cssHooks[s+o].set=ee)});var ae=/%20/g,re=/\[\]$/,le=/\r?\n/g,he=/^(?:submit|button|image|reset|file)$/i,ce=/^(?:input|select|textarea|keygen)/i;function ue(i,t,n,s){var e;if(mt.isArray(t))mt.each(t,function(t,e){n||re.test(i)?s(i,e):ue(i+"["+("object"==typeof e?t:"")+"]",e,n,s)});else if(n||"object"!==mt.type(t))s(i,t);else for(e in t)ue(i+"["+e+"]",t[e],n,s)}mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&ce.test(this.nodeName)&&!he.test(t)&&(this.checked||!xt.test(t))}).map(function(t,e){var i=mt(this).val();return null==i?null:mt.isArray(i)?mt.map(i,function(t){return{name:e.name,value:t.replace(le,"\r\n")}}):{name:e.name,value:i.replace(le,"\r\n")}}).get()}}),mt.param=function(t,e){var i,n=[],s=function(t,e){e=mt.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(e===k&&(e=mt.ajaxSettings&&mt.ajaxSettings.traditional),mt.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){s(this.name,this.value)});else for(i in t)ue(i,t[i],e,s);return n.join("&").replace(ae,"+")},mt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,i){mt.fn[i]=function(t,e){return 0<arguments.length?this.on(i,null,t,e):this.trigger(i)}}),mt.fn.hover=function(t,e){return this.mouseenter(t).mouseleave(e||t)};var de,pe,fe=mt.now(),ge=/\?/,me=/#.*$/,ve=/([?&])_=[^&]*/,be=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ye=/^(?:GET|HEAD)$/,_e=/^\/\//,we=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,xe=mt.fn.load,ke={},Ce={},De="*/".concat("*");try{pe=t.href}catch(t){(pe=g.createElement("a")).href="",pe=pe.href}function Te(o){return function(t,e){"string"!=typeof t&&(e=t,t="*");var i,n=0,s=t.toLowerCase().match(C)||[];if(mt.isFunction(e))for(;i=s[n++];)"+"===i[0]?(i=i.slice(1)||"*",(o[i]=o[i]||[]).unshift(e)):(o[i]=o[i]||[]).push(e)}}function Ne(e,s,o,a){var r={},l=e===Ce;function h(t){var n;return r[t]=!0,mt.each(e[t]||[],function(t,e){var i=e(s,o,a);return"string"!=typeof i||l||r[i]?l?!(n=i):void 0:(s.dataTypes.unshift(i),h(i),!1)}),n}return h(s.dataTypes[0])||!r["*"]&&h("*")}function Se(t,e){var i,n,s=mt.ajaxSettings.flatOptions||{};for(n in e)e[n]!==k&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&mt.extend(!0,t,i),t}de=we.exec(pe.toLowerCase())||[],mt.fn.load=function(t,e,i){if("string"!=typeof t&&xe)return xe.apply(this,arguments);var n,s,o,a=this,r=t.indexOf(" ");return 0<=r&&(n=t.slice(r,t.length),t=t.slice(0,r)),mt.isFunction(e)?(i=e,e=k):e&&"object"==typeof e&&(o="POST"),0<a.length&&mt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){s=arguments,a.html(n?mt("<div>").append(mt.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){a.each(i,s||[t.responseText,e,t])}),this},mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.each(["get","post"],function(t,s){mt[s]=function(t,e,i,n){return mt.isFunction(e)&&(n=n||i,i=e,e=k),mt.ajax({url:t,type:s,dataType:n,data:e,success:i})}}),mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pe,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(de[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":De,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":f.String,"text html":!0,"text json":mt.parseJSON,"text xml":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Se(Se(t,mt.ajaxSettings),e):Se(mt.ajaxSettings,t)},ajaxPrefilter:Te(ke),ajaxTransport:Te(Ce),ajax:function(t,e){"object"==typeof t&&(e=t,t=k),e=e||{};var i,n,c,u,d,p,f,s,g=mt.ajaxSetup({},e),m=g.context||g,v=g.context&&(m.nodeType||m.jquery)?mt(m):mt.event,b=mt.Deferred(),y=mt.Callbacks("once memory"),_=g.statusCode||{},o={},a={},w=0,r="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!s)for(s={};e=be.exec(u);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?u:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=a[i]=a[i]||t,o[t]=e),this},overrideMimeType:function(t){return w||(g.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)_[e]=[_[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||r;return f&&f.abort(e),l(0,e),this}};if(b.promise(x).complete=y.add,x.success=x.done,x.error=x.fail,g.url=((t||g.url||pe)+"").replace(me,"").replace(_e,de[1]+"//"),g.type=e.method||e.type||g.method||g.type,g.dataTypes=mt.trim(g.dataType||"*").toLowerCase().match(C)||[""],null==g.crossDomain&&(i=we.exec(g.url.toLowerCase()),g.crossDomain=!(!i||i[1]===de[1]&&i[2]===de[2]&&(i[3]||("http:"===i[1]?80:443))==(de[3]||("http:"===de[1]?80:443)))),g.data&&g.processData&&"string"!=typeof g.data&&(g.data=mt.param(g.data,g.traditional)),Ne(ke,g,e,x),2===w)return x;for(n in(p=g.global)&&0==mt.active++&&mt.event.trigger("ajaxStart"),g.type=g.type.toUpperCase(),g.hasContent=!ye.test(g.type),c=g.url,g.hasContent||(g.data&&(c=g.url+=(ge.test(c)?"&":"?")+g.data,delete g.data),!1===g.cache&&(g.url=ve.test(c)?c.replace(ve,"$1_="+fe++):c+(ge.test(c)?"&":"?")+"_="+fe++)),g.ifModified&&(mt.lastModified[c]&&x.setRequestHeader("If-Modified-Since",mt.lastModified[c]),mt.etag[c]&&x.setRequestHeader("If-None-Match",mt.etag[c])),(g.data&&g.hasContent&&!1!==g.contentType||e.contentType)&&x.setRequestHeader("Content-Type",g.contentType),x.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+("*"!==g.dataTypes[0]?", "+De+"; q=0.01":""):g.accepts["*"]),g.headers)x.setRequestHeader(n,g.headers[n]);if(g.beforeSend&&(!1===g.beforeSend.call(m,x,g)||2===w))return x.abort();for(n in r="abort",{success:1,error:1,complete:1})x[n](g[n]);if(f=Ne(Ce,g,e,x)){x.readyState=1,p&&v.trigger("ajaxSend",[x,g]),g.async&&0<g.timeout&&(d=setTimeout(function(){x.abort("timeout")},g.timeout));try{w=1,f.send(o,l)}catch(t){if(!(w<2))throw t;l(-1,t)}}else l(-1,"No Transport");function l(t,e,i,n){var s,o,a,r,l,h=e;2!==w&&(w=2,d&&clearTimeout(d),f=k,u=n||"",x.readyState=0<t?4:0,i&&(r=function(t,e,i){var n,s,o,a,r=t.contents,l=t.dataTypes,h=t.responseFields;for(a in h)a in i&&(e[h[a]]=i[a]);for(;"*"===l[0];)l.shift(),s===k&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(a in r)if(r[a]&&r[a].test(s)){l.unshift(a);break}if(l[0]in i)o=l[0];else{for(a in i){if(!l[0]||t.converters[a+" "+l[0]]){o=a;break}n||(n=a)}o=o||n}if(o)return o!==l[0]&&l.unshift(o),i[o]}(g,x,i)),200<=t&&t<300||304===t?(g.ifModified&&((l=x.getResponseHeader("Last-Modified"))&&(mt.lastModified[c]=l),(l=x.getResponseHeader("etag"))&&(mt.etag[c]=l)),204===t?(s=!0,h="nocontent"):304===t?(s=!0,h="notmodified"):(h=(s=function(t,e){var i,n,s,o,a={},r=0,l=t.dataTypes.slice(),h=l[0];t.dataFilter&&(e=t.dataFilter(e,t.dataType));if(l[1])for(s in t.converters)a[s.toLowerCase()]=t.converters[s];for(;n=l[++r];)if("*"!==n){if("*"!==h&&h!==n){if(!(s=a[h+" "+n]||a["* "+n]))for(i in a)if((o=i.split(" "))[1]===n&&(s=a[h+" "+o[0]]||a["* "+o[0]])){!0===s?s=a[i]:!0!==a[i]&&(n=o[0],l.splice(r--,0,n));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+h+" to "+n}}}h=n}return{state:"success",data:e}}(g,r)).state,o=s.data,s=!(a=s.error))):(a=h,!t&&h||(h="error",t<0&&(t=0))),x.status=t,x.statusText=(e||h)+"",s?b.resolveWith(m,[o,h,x]):b.rejectWith(m,[x,h,a]),x.statusCode(_),_=k,p&&v.trigger(s?"ajaxSuccess":"ajaxError",[x,g,s?o:a]),y.fireWith(m,[x,h]),p&&(v.trigger("ajaxComplete",[x,g]),--mt.active||mt.event.trigger("ajaxStop")))}return x},getScript:function(t,e){return mt.get(t,k,e,"script")},getJSON:function(t,e,i){return mt.get(t,e,i,"json")}}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){t.cache===k&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),mt.ajaxTransport("script",function(e){if(e.crossDomain){var n,s=g.head||mt("head")[0]||g.documentElement;return{send:function(t,i){(n=g.createElement("script")).async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(t,e){(e||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,e||i(200,"success"))},s.insertBefore(n,s.firstChild)},abort:function(){n&&n.onload(k,!0)}}}});var Me=[],Ie=/(=)\?(?=&|$)|\?\?/;mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Me.pop()||mt.expando+"_"+fe++;return this[t]=!0,t}}),mt.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,o,a=!1!==t.jsonp&&(Ie.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ie.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=mt.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ie,"$1"+n):!1!==t.jsonp&&(t.url+=(ge.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return o||mt.error(n+" was not called"),o[0]},t.dataTypes[0]="json",s=f[n],f[n]=function(){o=arguments},i.always(function(){f[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,Me.push(n)),o&&mt.isFunction(s)&&s(o[0]),o=s=k}),"script"});var Pe,Ee,Ae=0,He=f.ActiveXObject&&function(){var t;for(t in Pe)Pe[t](k,!0)};function ze(){try{return new f.XMLHttpRequest}catch(t){}}mt.ajaxSettings.xhr=f.ActiveXObject?function(){return!this.isLocal&&ze()||function(){try{return new f.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:ze,Ee=mt.ajaxSettings.xhr(),mt.support.cors=!!Ee&&"withCredentials"in Ee,(Ee=mt.support.ajax=!!Ee)&&mt.ajaxTransport(function(h){var c;if(!h.crossDomain||mt.support.cors)return{send:function(t,a){var r,e,l=h.xhr();if(h.username?l.open(h.type,h.url,h.async,h.username,h.password):l.open(h.type,h.url,h.async),h.xhrFields)for(e in h.xhrFields)l[e]=h.xhrFields[e];h.mimeType&&l.overrideMimeType&&l.overrideMimeType(h.mimeType),h.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest");try{for(e in t)l.setRequestHeader(e,t[e])}catch(t){}l.send(h.hasContent&&h.data||null),c=function(t,e){var i,n,s,o;try{if(c&&(e||4===l.readyState))if(c=k,r&&(l.onreadystatechange=mt.noop,He&&delete Pe[r]),e)4!==l.readyState&&l.abort();else{o={},i=l.status,n=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(o.text=l.responseText);try{s=l.statusText}catch(t){s=""}i||!h.isLocal||h.crossDomain?1223===i&&(i=204):i=o.text?200:404}}catch(t){e||a(-1,t)}o&&a(i,s,o,n)},h.async?4===l.readyState?setTimeout(c):(r=++Ae,He&&(Pe||(Pe={},mt(f).unload(He)),Pe[r]=c),l.onreadystatechange=c):c()},abort:function(){c&&c(k,!0)}}});var We,Oe,je=/^(?:toggle|show|hide)$/,Fe=new RegExp("^(?:([+-])=|)("+p+")([a-z%]*)$","i"),Le=/queueHooks$/,Re=[function(e,t,i){var n,s,o,a,r,l,h,c,u,d=this,p=e.style,f={},g=[],m=e.nodeType&&Zt(e);i.queue||(null==(c=mt._queueHooks(e,"fx")).unqueued&&(c.unqueued=0,u=c.empty.fire,c.empty.fire=function(){c.unqueued||u()}),c.unqueued++,d.always(function(){d.always(function(){c.unqueued--,mt.queue(e,"fx").length||c.empty.fire()})}));1===e.nodeType&&("height"in t||"width"in t)&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===mt.css(e,"display")&&"none"===mt.css(e,"float")&&(mt.support.inlineBlockNeedsLayout&&"inline"!==se(e.nodeName)?p.zoom=1:p.display="inline-block"));i.overflow&&(p.overflow="hidden",mt.support.shrinkWrapBlocks||d.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]}));for(s in t)if(a=t[s],je.exec(a)){if(delete t[s],l=l||"toggle"===a,a===(m?"hide":"show"))continue;g.push(s)}if(o=g.length){"hidden"in(r=mt._data(e,"fxshow")||mt._data(e,"fxshow",{}))&&(m=r.hidden),l&&(r.hidden=!m),m?mt(e).show():d.done(function(){mt(e).hide()}),d.done(function(){var t;for(t in mt._removeData(e,"fxshow"),f)mt.style(e,t,f[t])});for(s=0;s<o;s++)n=g[s],h=d.createTween(n,m?r[n]:0),f[n]=r[n]||mt.style(e,n),n in r||(r[n]=h.start,m&&(h.end=h.start,h.start="width"===n||"height"===n?1:0))}}],Be={"*":[function(t,e){var i,n,s=this.createTween(t,e),o=Fe.exec(e),a=s.cur(),r=+a||0,l=1,h=20;if(o){if(i=+o[2],"px"!==(n=o[3]||(mt.cssNumber[t]?"":"px"))&&r)for(r=mt.css(s.elem,t,!0)||i||1;r/=l=l||".5",mt.style(s.elem,t,r+n),l!==(l=s.cur()/a)&&1!==l&&--h;);s.unit=n,s.start=r,s.end=o[1]?r+(o[1]+1)*i:i}return s}]};function qe(){return setTimeout(function(){We=k}),We=mt.now()}function Ye(o,t,e){var i,a,r,n,s=0,l=Re.length,h=mt.Deferred().always(function(){delete c.elem}),c=function(){if(a)return!1;for(var t=We||qe(),e=Math.max(0,u.startTime+u.duration-t),i=1-(e/u.duration||0),n=0,s=u.tweens.length;n<s;n++)u.tweens[n].run(i);return h.notifyWith(o,[u,i,e]),i<1&&s?e:(h.resolveWith(o,[u]),!1)},u=h.promise({elem:o,props:mt.extend({},t),opts:mt.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:We||qe(),duration:e.duration,tweens:[],createTween:function(t,e){var i=mt.Tween(o,u.opts,t,e,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var e=0,i=t?u.tweens.length:0;if(a)return this;for(a=!0;e<i;e++)u.tweens[e].run(1);return t?h.resolveWith(o,[u,t]):h.rejectWith(o,[u,t]),this}}),d=u.props;for(!function(t,e){var i,n,s,o,a;for(s in t)if(n=mt.camelCase(s),o=e[n],i=t[s],mt.isArray(i)&&(o=i[1],i=t[s]=i[0]),s!==n&&(t[n]=i,delete t[s]),(a=mt.cssHooks[n])&&"expand"in a)for(s in i=a.expand(i),delete t[n],i)s in t||(t[s]=i[s],e[s]=o);else e[n]=o}(d,u.opts.specialEasing);s<l;s++)if(i=Re[s].call(u,o,d,u.opts))return i;return r=u,n=d,mt.each(n,function(t,e){for(var i=(Be[t]||[]).concat(Be["*"]),n=0,s=i.length;n<s;n++)if(i[n].call(r,t,e))return}),mt.isFunction(u.opts.start)&&u.opts.start.call(o,u),mt.fx.timer(mt.extend(c,{elem:o,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function $e(t,e,i,n,s){return new $e.prototype.init(t,e,i,n,s)}function Ue(t,e){var i,n={height:t},s=0;for(e=e?1:0;s<4;s+=2-e)n["margin"+(i=Qt[s])]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function Ke(t){return mt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}mt.Animation=mt.extend(Ye,{tweener:function(t,e){mt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,s=t.length;n<s;n++)i=t[n],Be[i]=Be[i]||[],Be[i].unshift(e)},prefilter:function(t,e){e?Re.unshift(t):Re.push(t)}}),((mt.Tween=$e).prototype={constructor:$e,init:function(t,e,i,n,s,o){this.elem=t,this.prop=i,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(mt.cssNumber[i]?"":"px")},cur:function(){var t=$e.propHooks[this.prop];return t&&t.get?t.get(this):$e.propHooks._default.get(this)},run:function(t){var e,i=$e.propHooks[this.prop];return this.options.duration?this.pos=e=mt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):$e.propHooks._default.set(this),this}}).init.prototype=$e.prototype,($e.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=mt.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[mt.cssProps[t.prop]]||mt.cssHooks[t.prop])?mt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=$e.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.each(["toggle","show","hide"],function(t,n){var s=mt.fn[n];mt.fn[n]=function(t,e,i){return null==t||"boolean"==typeof t?s.apply(this,arguments):this.animate(Ue(n,!0),t,e,i)}}),mt.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Zt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(e,t,i,n){var s=mt.isEmptyObject(e),o=mt.speed(t,i,n),a=function(){var t=Ye(this,mt.extend({},e),o);a.finish=function(){t.stop(!0)},(s||mt._data(this,"finish"))&&t.stop(!0)};return a.finish=a,s||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(s,t,o){var a=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof s&&(o=t,t=s,s=k),t&&!1!==s&&this.queue(s||"fx",[]),this.each(function(){var t=!0,e=null!=s&&s+"queueHooks",i=mt.timers,n=mt._data(this);if(e)n[e]&&n[e].stop&&a(n[e]);else for(e in n)n[e]&&n[e].stop&&Le.test(e)&&a(n[e]);for(e=i.length;e--;)i[e].elem!==this||null!=s&&i[e].queue!==s||(i[e].anim.stop(o),t=!1,i.splice(e,1));!t&&o||mt.dequeue(this,s)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var t,e=mt._data(this),i=e[a+"queue"],n=e[a+"queueHooks"],s=mt.timers,o=i?i.length:0;for(e.finish=!0,mt.queue(this,a,[]),n&&n.cur&&n.cur.finish&&n.cur.finish.call(this),t=s.length;t--;)s[t].elem===this&&s[t].queue===a&&(s[t].anim.stop(!0),s.splice(t,1));for(t=0;t<o;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete e.finish})}}),mt.each({slideDown:Ue("show"),slideUp:Ue("hide"),slideToggle:Ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,n){mt.fn[t]=function(t,e,i){return this.animate(n,t,e,i)}}),mt.speed=function(t,e,i){var n=t&&"object"==typeof t?mt.extend({},t):{complete:i||!i&&e||mt.isFunction(t)&&t,duration:t,easing:i&&e||e&&!mt.isFunction(e)&&e};return n.duration=mt.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in mt.fx.speeds?mt.fx.speeds[n.duration]:mt.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){mt.isFunction(n.old)&&n.old.call(this),n.queue&&mt.dequeue(this,n.queue)},n},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},mt.timers=[],mt.fx=$e.prototype.init,mt.fx.tick=function(){var t,e=mt.timers,i=0;for(We=mt.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||mt.fx.stop(),We=k},mt.fx.timer=function(t){t()&&mt.timers.push(t)&&mt.fx.start()},mt.fx.interval=13,mt.fx.start=function(){Oe||(Oe=setInterval(mt.fx.tick,mt.fx.interval))},mt.fx.stop=function(){clearInterval(Oe),Oe=null},mt.fx.speeds={slow:600,fast:200,_default:400},mt.fx.step={},mt.expr&&mt.expr.filters&&(mt.expr.filters.animated=function(e){return mt.grep(mt.timers,function(t){return e===t.elem}).length}),mt.fn.offset=function(e){if(arguments.length)return e===k?this:this.each(function(t){mt.offset.setOffset(this,e,t)});var t,i,n={top:0,left:0},s=this[0],o=s&&s.ownerDocument;return o?(t=o.documentElement,mt.contains(t,s)?(typeof s.getBoundingClientRect!==v&&(n=s.getBoundingClientRect()),i=Ke(o),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0},mt.offset={setOffset:function(t,e,i){var n=mt.css(t,"position");"static"===n&&(t.style.position="relative");var s,o,a=mt(t),r=a.offset(),l=mt.css(t,"top"),h=mt.css(t,"left"),c={},u={};("absolute"===n||"fixed"===n)&&-1<mt.inArray("auto",[l,h])?(s=(u=a.position()).top,o=u.left):(s=parseFloat(l)||0,o=parseFloat(h)||0),mt.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(c.top=e.top-r.top+s),null!=e.left&&(c.left=e.left-r.left+o),"using"in e?e.using.call(t,c):a.css(c)}},mt.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===mt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),mt.nodeName(t[0],"html")||(i=t.offset()),i.top+=mt.css(t[0],"borderTopWidth",!0),i.left+=mt.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-mt.css(n,"marginTop",!0),left:e.left-i.left-mt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||g.documentElement;t&&!mt.nodeName(t,"html")&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||g.documentElement})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var o=/Y/.test(s);mt.fn[e]=function(t){return mt.access(this,function(t,e,i){var n=Ke(t);if(i===k)return n?s in n?n[s]:n.document.documentElement[e]:t[e];n?n.scrollTo(o?mt(n).scrollLeft():i,o?i:mt(n).scrollTop()):t[e]=i},e,t,arguments.length,null)}}),mt.each({Height:"height",Width:"width"},function(o,a){mt.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,t){mt.fn[t]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return mt.access(this,function(t,e,i){var n;return mt.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):i===k?mt.css(t,e,s):mt.style(t,e,i,s)},a,i?t:k,i,null)}})}),f.jQuery=f.$=mt,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return mt})}(window),function(r,t){var n,e,i=0,s=/^ui-id-\d+$/;function o(t,e){var i,n,s,o=t.nodeName.toLowerCase();return"area"===o?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(!!(s=r("img[usemap=#"+n+"]")[0])&&a(s))):(/input|select|textarea|button|object/.test(o)?!t.disabled:"a"===o&&t.href||e)&&a(t)}function a(t){return r.expr.filters.visible(t)&&!r(t).parents().addBack().filter(function(){return"hidden"===r.css(this,"visibility")}).length}r.ui=r.ui||{},r.extend(r.ui,{version:"1.10.2",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}}),r.fn.extend({focus:(n=r.fn.focus,function(e,i){return"number"==typeof e?this.each(function(){var t=this;setTimeout(function(){r(t).focus(),i&&i.call(t)},e)}):n.apply(this,arguments)}),scrollParent:function(){var t;return t=r.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(r.css(this,"position"))&&/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(r.css(this,"overflow")+r.css(this,"overflow-y")+r.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?r(document):t},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var e,i,n=r(this[0]);n.length&&n[0]!==document;){if(("absolute"===(e=n.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(n.css("zIndex"),10),!isNaN(i)&&0!==i))return i;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++i)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&r(this).removeAttr("id")})}}),r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function(t){return o(t,!isNaN(r.attr(t,"tabindex")))},tabbable:function(t){var e=r.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&o(t,!i)}}),r("<a>").outerWidth(1).jquery||r.each(["Width","Height"],function(t,i){var s="Width"===i?["Left","Right"]:["Top","Bottom"],n=i.toLowerCase(),o={innerWidth:r.fn.innerWidth,innerHeight:r.fn.innerHeight,outerWidth:r.fn.outerWidth,outerHeight:r.fn.outerHeight};function a(t,e,i,n){return r.each(s,function(){e-=parseFloat(r.css(t,"padding"+this))||0,i&&(e-=parseFloat(r.css(t,"border"+this+"Width"))||0),n&&(e-=parseFloat(r.css(t,"margin"+this))||0)}),e}r.fn["inner"+i]=function(t){return void 0===t?o["inner"+i].call(this):this.each(function(){r(this).css(n,a(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){r(this).css(n,a(this,t,!0,e)+"px")})}}),r.fn.addBack||(r.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),r("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(r.fn.removeData=(e=r.fn.removeData,function(t){return arguments.length?e.call(this,r.camelCase(t)):e.call(this)})),r.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),r.support.selectstart="onselectstart"in document.createElement("div"),r.fn.extend({disableSelection:function(){return this.bind((r.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),r.extend(r.ui,{plugin:{add:function(t,e,i){var n,s=r.ui[t].prototype;for(n in i)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([e,i[n]])},call:function(t,e,i){var n,s=t.plugins[e];if(s&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(n=0;n<s.length;n++)t.options[s[n][0]]&&s[n][1].apply(t.element,i)}},hasScroll:function(t,e){if("hidden"===r(t).css("overflow"))return!1;var i,n=e&&"left"===e?"scrollLeft":"scrollTop";return 0<t[n]||(t[n]=1,i=0<t[n],t[n]=0,i)}})}(jQuery),function(c,r){var i=0,l=Array.prototype.slice,n=c.cleanData;c.cleanData=function(t){for(var e,i=0;null!=(e=t[i]);i++)try{c(e).triggerHandler("remove")}catch(t){}n(t)},c.widget=function(t,i,e){var n,s,o,a,r={},l=t.split(".")[0];t=t.split(".")[1],n=l+"-"+t,e||(e=i,i=c.Widget),c.expr[":"][n.toLowerCase()]=function(t){return!!c.data(t,n)},c[l]=c[l]||{},s=c[l][t],o=c[l][t]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},c.extend(o,s,{version:e.version,_proto:c.extend({},e),_childConstructors:[]}),(a=new i).options=c.widget.extend({},a.options),c.each(e,function(e,n){var s,o;c.isFunction(n)?r[e]=(s=function(){return i.prototype[e].apply(this,arguments)},o=function(t){return i.prototype[e].apply(this,t)},function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=o,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}):r[e]=n}),o.prototype=c.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix:t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:n}),s?(c.each(s._childConstructors,function(t,e){var i=e.prototype;c.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete s._childConstructors):i._childConstructors.push(o),c.widget.bridge(t,o)},c.widget.extend=function(t){for(var e,i,n=l.call(arguments,1),s=0,o=n.length;s<o;s++)for(e in n[s])i=n[s][e],n[s].hasOwnProperty(e)&&i!==r&&(c.isPlainObject(i)?t[e]=c.isPlainObject(t[e])?c.widget.extend({},t[e],i):c.widget.extend({},i):t[e]=i);return t},c.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;c.fn[o]=function(i){var t="string"==typeof i,n=l.call(arguments,1),s=this;return i=!t&&n.length?c.widget.extend.apply(null,[i].concat(n)):i,t?this.each(function(){var t,e=c.data(this,a);return e?c.isFunction(e[i])&&"_"!==i.charAt(0)?(t=e[i].apply(e,n))!==e&&t!==r?(s=t&&t.jquery?s.pushStack(t.get()):t,!1):void 0:c.error("no such method '"+i+"' for "+o+" widget instance"):c.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):this.each(function(){var t=c.data(this,a);t?t.option(i||{})._init():c.data(this,a,new e(i,this))}),s}},c.Widget=function(){},c.Widget._childConstructors=[],c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,e){e=c(e||this.defaultElement||this)[0],this.element=c(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=c.widget.extend({},this.options,this._getCreateOptions(),t),this.bindings=c(),this.hoverable=c(),this.focusable=c(),e!==this&&(c.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=c(e.style?e.ownerDocument:e.document||e),this.window=c(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:c.noop,_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(c.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:c.noop,widget:function(){return this.element},option:function(t,e){var i,n,s,o=t;if(0===arguments.length)return c.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(n=o[t]=c.widget.extend({},this.options[t]),s=0;s<i.length-1;s++)n[i[s]]=n[i[s]]||{},n=n[i[s]];if(t=i.pop(),e===r)return n[t]===r?null:n[t];n[t]=e}else{if(e===r)return this.options[t]===r?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(a,r,t){var l,h=this;"boolean"!=typeof a&&(t=r,r=a,a=!1),t?(r=l=c(r),this.bindings=this.bindings.add(r)):(t=r,r=this.element,l=this.widget()),c.each(t,function(t,e){function i(){if(a||!0!==h.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"==typeof e?h[e]:e).apply(h,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||c.guid++);var n=t.match(/^(\w+)\s*(.*)$/),s=n[1]+h.eventNamespace,o=n[2];o?l.delegate(o,s,i):r.bind(s,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){c(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){c(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){c(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){c(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,e,i){var n,s,o=this.options[t];if(i=i||{},(e=c.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],s=e.originalEvent)for(n in s)n in e||(e[n]=s[n]);return this.element.trigger(e,i),!(c.isFunction(o)&&!1===o.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},c.each({show:"fadeIn",hide:"fadeOut"},function(o,a){c.Widget.prototype["_"+o]=function(e,t,i){"string"==typeof t&&(t={effect:t});var n,s=t?!0===t||"number"==typeof t?a:t.effect||a:o;"number"==typeof(t=t||{})&&(t={duration:t}),n=!c.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&c.effects&&c.effects.effect[s]?e[o](t):s!==o&&e[s]?e[s](t.duration,t.easing,i):e.queue(function(t){c(this)[o](),i&&i.call(e[0]),t()})}})}(jQuery),function(s,t){var o=!1;s(document).mouseup(function(){o=!1}),s.widget("ui.mouse",{version:"1.10.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(t){if(!0===s.data(t.target,e.widgetName+".preventClickEvent"))return s.removeData(t.target,e.widgetName+".preventClickEvent"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&s(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!o){this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,n=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&s(t.target).closest(this.options.cancel).length;return!(i&&!n&&this._mouseCapture(t))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===s.data(t.target,this.widgetName+".preventClickEvent")&&s.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},s(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),o=!0))}},_mouseMove:function(t){return s.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button?this._mouseUp(t):this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){return s(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&s.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})}(jQuery),function(y,t){y.widget("ui.draggable",y.ui.mouse,{version:"1.10.2",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"!==this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},_destroy:function(){this.element.removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy()},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||0<y(t.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(t),!!this.handle&&(y(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){y("<div class='ui-draggable-iframeFix' style='background: #fff;'></div>").css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(y(this).offset()).appendTo("body")}),!0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),y.ui.ddmanager&&(y.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},y.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),y.ui.ddmanager&&!e.dropBehaviour&&y.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),y.ui.ddmanager&&y.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){var i=this._uiHash();if(!1===this._trigger("drag",t,i))return this._mouseUp({}),!1;this.position=i.position}return this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),y.ui.ddmanager&&y.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){var e,i=this,n=!1,s=!1;for(y.ui.ddmanager&&!this.options.dropBehaviour&&(s=y.ui.ddmanager.drop(this,t)),this.dropped&&(s=this.dropped,this.dropped=!1),e=this.element[0];e&&(e=e.parentNode);)e===document&&(n=!0);return(n||"original"!==this.options.helper)&&("invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||!0===this.options.revert||y.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?y(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==i._trigger("stop",t)&&i._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return y("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),y.ui.ddmanager&&y.ui.ddmanager.dragStop(this,t),y.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){return!this.options.handle||!!y(t.target).closest(this.element.find(this.options.handle)).length},_createHelper:function(t){var e=this.options,i=y.isFunction(e.helper)?y(e.helper.apply(this.element[0],[t])):"clone"===e.helper?this.element.clone().removeAttr("id"):this.element;return i.parents("body").length||i.appendTo("parent"===e.appendTo?this.element[0].parentNode:e.appendTo),i[0]===this.element[0]||/(fixed|absolute)/.test(i.css("position"))||i.css("position","absolute"),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),y.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&y.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&y.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.element.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,n=this.options;if("parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=["document"===n.containment?0:y(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"===n.containment?0:y(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"===n.containment?0:y(window).scrollLeft())+y("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"===n.containment?0:y(window).scrollTop())+(y("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||n.containment.constructor===Array)n.containment.constructor===Array&&(this.containment=n.containment);else{if(!(i=(e=y(n.containment))[0]))return;t="hidden"!==y(i).css("overflow"),this.containment=[(parseInt(y(i).css("borderLeftWidth"),10)||0)+(parseInt(y(i).css("paddingLeft"),10)||0),(parseInt(y(i).css("borderTopWidth"),10)||0)+(parseInt(y(i).css("paddingTop"),10)||0),(t?Math.max(i.scrollWidth,i.offsetWidth):i.offsetWidth)-(parseInt(y(i).css("borderRightWidth"),10)||0)-(parseInt(y(i).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(t?Math.max(i.scrollHeight,i.offsetHeight):i.offsetHeight)-(parseInt(y(i).css("borderBottomWidth"),10)||0)-(parseInt(y(i).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=e}},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(n[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:n.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:n.scrollLeft())*i}},_generatePosition:function(t){var e,i,n,s,o=this.options,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(a[0].tagName),l=t.pageX,h=t.pageY;return this.originalPosition&&(this.containment&&(this.relative_container?(i=this.relative_container.offset(),e=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]):e=this.containment,t.pageX-this.offset.click.left<e[0]&&(l=e[0]+this.offset.click.left),t.pageY-this.offset.click.top<e[1]&&(h=e[1]+this.offset.click.top),t.pageX-this.offset.click.left>e[2]&&(l=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(h=e[3]+this.offset.click.top)),o.grid&&(n=o.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,h=e?n-this.offset.click.top>=e[1]||n-this.offset.click.top>e[3]?n:n-this.offset.click.top>=e[1]?n-o.grid[1]:n+o.grid[1]:n,s=o.grid[0]?this.originalPageX+Math.round((l-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,l=e?s-this.offset.click.left>=e[0]||s-this.offset.click.left>e[2]?s:s-this.offset.click.left>=e[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:a.scrollTop()),left:l-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:a.scrollLeft())}},_clear:function(){this.helper.removeClass("ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(t,e,i){return i=i||this._uiHash(),y.ui.plugin.call(this,t,[e,i]),"drag"===t&&(this.positionAbs=this._convertPositionTo("absolute")),y.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),y.ui.plugin.add("draggable","connectToSortable",{start:function(e,t){var i=y(this).data("ui-draggable"),n=i.options,s=y.extend({},t,{item:i.element});i.sortables=[],y(n.connectToSortable).each(function(){var t=y.data(this,"ui-sortable");t&&!t.options.disabled&&(i.sortables.push({instance:t,shouldRevert:t.options.revert}),t.refreshPositions(),t._trigger("activate",e,s))})},stop:function(t,e){var i=y(this).data("ui-draggable"),n=y.extend({},e,{item:i.element});y.each(i.sortables,function(){this.instance.isOver?(this.instance.isOver=0,i.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=this.shouldRevert),this.instance._mouseStop(t),this.instance.options.helper=this.instance.options._helper,"original"===i.options.helper&&this.instance.currentItem.css({top:"auto",left:"auto"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger("deactivate",t,n))})},drag:function(i,n){var s=y(this).data("ui-draggable"),o=this;y.each(s.sortables,function(){var t=!1,e=this;this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this.instance._intersectsWith(this.instance.containerCache)&&(t=!0,y.each(s.sortables,function(){return this.instance.positionAbs=s.positionAbs,this.instance.helperProportions=s.helperProportions,this.instance.offset.click=s.offset.click,this!==e&&this.instance._intersectsWith(this.instance.containerCache)&&y.contains(e.instance.element[0],this.instance.element[0])&&(t=!1),t})),t?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=y(o).clone().removeAttr("id").appendTo(this.instance.element).data("ui-sortable-item",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return n.helper[0]},i.target=this.instance.currentItem[0],this.instance._mouseCapture(i,!0),this.instance._mouseStart(i,!0,!0),this.instance.offset.click.top=s.offset.click.top,this.instance.offset.click.left=s.offset.click.left,this.instance.offset.parent.left-=s.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=s.offset.parent.top-this.instance.offset.parent.top,s._trigger("toSortable",i),s.dropped=this.instance.element,s.currentItem=s.element,this.instance.fromOutside=s),this.instance.currentItem&&this.instance._mouseDrag(i)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger("out",i,this.instance._uiHash(this.instance)),this.instance._mouseStop(i,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),s._trigger("fromSortable",i),s.dropped=!1)})}}),y.ui.plugin.add("draggable","cursor",{start:function(){var t=y("body"),e=y(this).data("ui-draggable").options;t.css("cursor")&&(e._cursor=t.css("cursor")),t.css("cursor",e.cursor)},stop:function(){var t=y(this).data("ui-draggable").options;t._cursor&&y("body").css("cursor",t._cursor)}}),y.ui.plugin.add("draggable","opacity",{start:function(t,e){var i=y(e.helper),n=y(this).data("ui-draggable").options;i.css("opacity")&&(n._opacity=i.css("opacity")),i.css("opacity",n.opacity)},stop:function(t,e){var i=y(this).data("ui-draggable").options;i._opacity&&y(e.helper).css("opacity",i._opacity)}}),y.ui.plugin.add("draggable","scroll",{start:function(){var t=y(this).data("ui-draggable");t.scrollParent[0]!==document&&"HTML"!==t.scrollParent[0].tagName&&(t.overflowOffset=t.scrollParent.offset())},drag:function(t){var e=y(this).data("ui-draggable"),i=e.options,n=!1;e.scrollParent[0]!==document&&"HTML"!==e.scrollParent[0].tagName?(i.axis&&"x"===i.axis||(e.overflowOffset.top+e.scrollParent[0].offsetHeight-t.pageY<i.scrollSensitivity?e.scrollParent[0].scrollTop=n=e.scrollParent[0].scrollTop+i.scrollSpeed:t.pageY-e.overflowOffset.top<i.scrollSensitivity&&(e.scrollParent[0].scrollTop=n=e.scrollParent[0].scrollTop-i.scrollSpeed)),i.axis&&"y"===i.axis||(e.overflowOffset.left+e.scrollParent[0].offsetWidth-t.pageX<i.scrollSensitivity?e.scrollParent[0].scrollLeft=n=e.scrollParent[0].scrollLeft+i.scrollSpeed:t.pageX-e.overflowOffset.left<i.scrollSensitivity&&(e.scrollParent[0].scrollLeft=n=e.scrollParent[0].scrollLeft-i.scrollSpeed))):(i.axis&&"x"===i.axis||(t.pageY-y(document).scrollTop()<i.scrollSensitivity?n=y(document).scrollTop(y(document).scrollTop()-i.scrollSpeed):y(window).height()-(t.pageY-y(document).scrollTop())<i.scrollSensitivity&&(n=y(document).scrollTop(y(document).scrollTop()+i.scrollSpeed))),i.axis&&"y"===i.axis||(t.pageX-y(document).scrollLeft()<i.scrollSensitivity?n=y(document).scrollLeft(y(document).scrollLeft()-i.scrollSpeed):y(window).width()-(t.pageX-y(document).scrollLeft())<i.scrollSensitivity&&(n=y(document).scrollLeft(y(document).scrollLeft()+i.scrollSpeed)))),!1!==n&&y.ui.ddmanager&&!i.dropBehaviour&&y.ui.ddmanager.prepareOffsets(e,t)}}),y.ui.plugin.add("draggable","snap",{start:function(){var i=y(this).data("ui-draggable"),t=i.options;i.snapElements=[],y(t.snap.constructor!==String?t.snap.items||":data(ui-draggable)":t.snap).each(function(){var t=y(this),e=t.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:t.outerWidth(),height:t.outerHeight(),top:e.top,left:e.left})})},drag:function(t,e){var i,n,s,o,a,r,l,h,c,u,d=y(this).data("ui-draggable"),p=d.options,f=p.snapTolerance,g=e.offset.left,m=g+d.helperProportions.width,v=e.offset.top,b=v+d.helperProportions.height;for(c=d.snapElements.length-1;0<=c;c--)r=(a=d.snapElements[c].left)+d.snapElements[c].width,h=(l=d.snapElements[c].top)+d.snapElements[c].height,a-f<g&&g<r+f&&l-f<v&&v<h+f||a-f<g&&g<r+f&&l-f<b&&b<h+f||a-f<m&&m<r+f&&l-f<v&&v<h+f||a-f<m&&m<r+f&&l-f<b&&b<h+f?("inner"!==p.snapMode&&(i=Math.abs(l-b)<=f,n=Math.abs(h-v)<=f,s=Math.abs(a-m)<=f,o=Math.abs(r-g)<=f,i&&(e.position.top=d._convertPositionTo("relative",{top:l-d.helperProportions.height,left:0}).top-d.margins.top),n&&(e.position.top=d._convertPositionTo("relative",{top:h,left:0}).top-d.margins.top),s&&(e.position.left=d._convertPositionTo("relative",{top:0,left:a-d.helperProportions.width}).left-d.margins.left),o&&(e.position.left=d._convertPositionTo("relative",{top:0,left:r}).left-d.margins.left)),u=i||n||s||o,"outer"!==p.snapMode&&(i=Math.abs(l-v)<=f,n=Math.abs(h-b)<=f,s=Math.abs(a-g)<=f,o=Math.abs(r-m)<=f,i&&(e.position.top=d._convertPositionTo("relative",{top:l,left:0}).top-d.margins.top),n&&(e.position.top=d._convertPositionTo("relative",{top:h-d.helperProportions.height,left:0}).top-d.margins.top),s&&(e.position.left=d._convertPositionTo("relative",{top:0,left:a}).left-d.margins.left),o&&(e.position.left=d._convertPositionTo("relative",{top:0,left:r-d.helperProportions.width}).left-d.margins.left)),!d.snapElements[c].snapping&&(i||n||s||o||u)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,t,y.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=i||n||s||o||u):(d.snapElements[c].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,t,y.extend(d._uiHash(),{snapItem:d.snapElements[c].item})),d.snapElements[c].snapping=!1)}}),y.ui.plugin.add("draggable","stack",{start:function(){var e,t=this.data("ui-draggable").options,i=y.makeArray(y(t.stack)).sort(function(t,e){return(parseInt(y(t).css("zIndex"),10)||0)-(parseInt(y(e).css("zIndex"),10)||0)});i.length&&(e=parseInt(y(i[0]).css("zIndex"),10)||0,y(i).each(function(t){y(this).css("zIndex",e+t)}),this.css("zIndex",e+i.length))}}),y.ui.plugin.add("draggable","zIndex",{start:function(t,e){var i=y(e.helper),n=y(this).data("ui-draggable").options;i.css("zIndex")&&(n._zIndex=i.css("zIndex")),i.css("zIndex",n.zIndex)},stop:function(t,e){var i=y(this).data("ui-draggable").options;i._zIndex&&y(e.helper).css("zIndex",i._zIndex)}})}(jQuery),function(r,t){function d(t,e,i){return e<t&&t<e+i}r.widget("ui.droppable",{version:"1.10.2",widgetEventPrefix:"drop",options:{accept:"*",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var t=this.options,e=t.accept;this.isover=!1,this.isout=!0,this.accept=r.isFunction(e)?e:function(t){return t.is(e)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},r.ui.ddmanager.droppables[t.scope]=r.ui.ddmanager.droppables[t.scope]||[],r.ui.ddmanager.droppables[t.scope].push(this),t.addClasses&&this.element.addClass("ui-droppable")},_destroy:function(){for(var t=0,e=r.ui.ddmanager.droppables[this.options.scope];t<e.length;t++)e[t]===this&&e.splice(t,1);this.element.removeClass("ui-droppable ui-droppable-disabled")},_setOption:function(t,e){"accept"===t&&(this.accept=r.isFunction(e)?e:function(t){return t.is(e)}),r.Widget.prototype._setOption.apply(this,arguments)},_activate:function(t){var e=r.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),e&&this._trigger("activate",t,this.ui(e))},_deactivate:function(t){var e=r.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),e&&this._trigger("deactivate",t,this.ui(e))},_over:function(t){var e=r.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger("over",t,this.ui(e)))},_out:function(t){var e=r.ui.ddmanager.current;e&&(e.currentItem||e.element)[0]!==this.element[0]&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("out",t,this.ui(e)))},_drop:function(t,e){var i=e||r.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var t=r.data(this,"ui-droppable");if(t.options.greedy&&!t.options.disabled&&t.options.scope===i.options.scope&&t.accept.call(t.element[0],i.currentItem||i.element)&&r.ui.intersect(i,r.extend(t,{offset:t.element.offset()}),t.options.tolerance))return!(n=!0)}),!n&&(!!this.accept.call(this.element[0],i.currentItem||i.element)&&(this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger("drop",t,this.ui(i)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}}}),r.ui.intersect=function(t,e,i){if(!e.offset)return!1;var n,s=(t.positionAbs||t.position.absolute).left,o=s+t.helperProportions.width,a=(t.positionAbs||t.position.absolute).top,r=a+t.helperProportions.height,l=e.offset.left,h=l+e.proportions.width,c=e.offset.top,u=c+e.proportions.height;switch(i){case"fit":return l<=s&&o<=h&&c<=a&&r<=u;case"intersect":return l<s+t.helperProportions.width/2&&o-t.helperProportions.width/2<h&&c<a+t.helperProportions.height/2&&r-t.helperProportions.height/2<u;case"pointer":return n=(t.positionAbs||t.position.absolute).left+(t.clickOffset||t.offset.click).left,d((t.positionAbs||t.position.absolute).top+(t.clickOffset||t.offset.click).top,c,e.proportions.height)&&d(n,l,e.proportions.width);case"touch":return(c<=a&&a<=u||c<=r&&r<=u||a<c&&u<r)&&(l<=s&&s<=h||l<=o&&o<=h||s<l&&h<o);default:return!1}},r.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(t,e){var i,n,s=r.ui.ddmanager.droppables[t.options.scope]||[],o=e?e.type:null,a=(t.currentItem||t.element).find(":data(ui-droppable)").addBack();t:for(i=0;i<s.length;i++)if(!(s[i].options.disabled||t&&!s[i].accept.call(s[i].element[0],t.currentItem||t.element))){for(n=0;n<a.length;n++)if(a[n]===s[i].element[0]){s[i].proportions.height=0;continue t}s[i].visible="none"!==s[i].element.css("display"),s[i].visible&&("mousedown"===o&&s[i]._activate.call(s[i],e),s[i].offset=s[i].element.offset(),s[i].proportions={width:s[i].element[0].offsetWidth,height:s[i].element[0].offsetHeight})}},drop:function(t,e){var i=!1;return r.each((r.ui.ddmanager.droppables[t.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&r.ui.intersect(t,this,this.options.tolerance)&&(i=this._drop.call(this,e)||i),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,e)))}),i},dragStart:function(t,e){t.element.parentsUntil("body").bind("scroll.droppable",function(){t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,e)})},drag:function(o,a){o.options.refreshPositions&&r.ui.ddmanager.prepareOffsets(o,a),r.each(r.ui.ddmanager.droppables[o.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var t,e,i,n=r.ui.intersect(o,this,this.options.tolerance),s=!n&&this.isover?"isout":n&&!this.isover?"isover":null;s&&(this.options.greedy&&(e=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return r.data(this,"ui-droppable").options.scope===e})).length&&((t=r.data(i[0],"ui-droppable")).greedyChild="isover"===s)),t&&"isover"===s&&(t.isover=!1,t.isout=!0,t._out.call(t,a)),this[s]=!0,this["isout"===s?"isover":"isout"]=!1,this["isover"===s?"_over":"_out"].call(this,a),t&&"isout"===s&&(t.isout=!1,t.isover=!0,t._over.call(t,a)))}})},dragStop:function(t,e){t.element.parentsUntil("body").unbind("scroll.droppable"),t.options.refreshPositions||r.ui.ddmanager.prepareOffsets(t,e)}}}(jQuery),function(v,t){function d(t){return parseInt(t,10)||0}function u(t){return!isNaN(parseInt(t,10))}v.widget("ui.resizable",v.ui.mouse,{version:"1.10.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_create:function(){var t,e,i,n,s=this,o=this.options;if(this.element.addClass("ui-resizable"),v.extend(this,{_aspectRatio:!!o.aspectRatio,aspectRatio:o.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:o.helper||o.ghost||o.animate?o.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(v("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.data("ui-resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=o.handles||(v(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),t=this.handles.split(","),this.handles={},e=0;e<t.length;e++)i=v.trim(t[e]),(n=v("<div class='ui-resizable-handle "+("ui-resizable-"+i)+"'></div>")).css({zIndex:o.zIndex}),"se"===i&&n.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[i]=".ui-resizable-"+i,this.element.append(n);this._renderAxis=function(t){var e,i,n,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String&&(this.handles[e]=v(this.handles[e],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(i=v(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),n=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(n,s),this._proportionallyResize()),v(this.handles[e]).length},this._renderAxis(this.element),this._handles=v(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){s.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),s.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),v(this.element).addClass("ui-resizable-autohide").mouseenter(function(){o.disabled||(v(this).removeClass("ui-resizable-autohide"),s._handles.show())}).mouseleave(function(){o.disabled||s.resizing||(v(this).addClass("ui-resizable-autohide"),s._handles.hide())})),this._mouseInit()},_destroy:function(){this._mouseDestroy();var t,e=function(t){v(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(t){var e,i,n=!1;for(e in this.handles)((i=v(this.handles[e])[0])===t.target||v.contains(i,t.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(t){var e,i,n,s=this.options,o=this.element.position(),a=this.element;return this.resizing=!0,/absolute/.test(a.css("position"))?a.css({position:"absolute",top:a.css("top"),left:a.css("left")}):a.is(".ui-draggable")&&a.css({position:"absolute",top:o.top,left:o.left}),this._renderProxy(),e=d(this.helper.css("left")),i=d(this.helper.css("top")),s.containment&&(e+=v(s.containment).scrollLeft()||0,i+=v(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.originalPosition={left:e,top:i},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=v(".ui-resizable-"+this.axis).css("cursor"),v("body").css("cursor","auto"===n?this.axis+"-resize":n),a.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e,i=this.helper,n={},s=this.originalMousePosition,o=this.axis,a=this.position.top,r=this.position.left,l=this.size.width,h=this.size.height,c=t.pageX-s.left||0,u=t.pageY-s.top||0,d=this._change[o];return d&&(e=d.apply(this,[t,c,u]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),this.position.top!==a&&(n.top=this.position.top+"px"),this.position.left!==r&&(n.left=this.position.left+"px"),this.size.width!==l&&(n.width=this.size.width+"px"),this.size.height!==h&&(n.height=this.size.height+"px"),i.css(n),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),v.isEmptyObject(n)||this._trigger("resize",t,this.ui())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,n,s,o,a,r,l=this.options,h=this;return this._helper&&(n=(i=(e=this._proportionallyResizeElements).length&&/textarea/i.test(e[0].nodeName))&&v.ui.hasScroll(e[0],"left")?0:h.sizeDiff.height,s=i?0:h.sizeDiff.width,o={width:h.helper.width()-s,height:h.helper.height()-n},a=parseInt(h.element.css("left"),10)+(h.position.left-h.originalPosition.left)||null,r=parseInt(h.element.css("top"),10)+(h.position.top-h.originalPosition.top)||null,l.animate||this.element.css(v.extend(o,{top:r,left:a})),h.helper.height(h.size.height),h.helper.width(h.size.width),this._helper&&!l.animate&&this._proportionallyResize()),v("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,n,s,o,a=this.options;o={minWidth:u(a.minWidth)?a.minWidth:0,maxWidth:u(a.maxWidth)?a.maxWidth:1/0,minHeight:u(a.minHeight)?a.minHeight:0,maxHeight:u(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,n=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,s=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),n>o.minHeight&&(o.minHeight=n),i<o.maxWidth&&(o.maxWidth=i),s<o.maxHeight&&(o.maxHeight=s)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),u(t.left)&&(this.position.left=t.left),u(t.top)&&(this.position.top=t.top),u(t.height)&&(this.size.height=t.height),u(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,n=this.axis;return u(t.height)?t.width=t.height*this.aspectRatio:u(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===n&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===n&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,n=u(t.width)&&e.maxWidth&&e.maxWidth<t.width,s=u(t.height)&&e.maxHeight&&e.maxHeight<t.height,o=u(t.width)&&e.minWidth&&e.minWidth>t.width,a=u(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,l=this.position.top+this.size.height,h=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),n&&(t.width=e.maxWidth),s&&(t.height=e.maxHeight),o&&h&&(t.left=r-e.minWidth),n&&h&&(t.left=r-e.maxWidth),a&&c&&(t.top=l-e.minHeight),s&&c&&(t.top=l-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_proportionallyResize:function(){if(this._proportionallyResizeElements.length){var t,e,i,n,s,o=this.helper||this.element;for(t=0;t<this._proportionallyResizeElements.length;t++){if(s=this._proportionallyResizeElements[t],!this.borderDif)for(this.borderDif=[],i=[s.css("borderTopWidth"),s.css("borderRightWidth"),s.css("borderBottomWidth"),s.css("borderLeftWidth")],n=[s.css("paddingTop"),s.css("paddingRight"),s.css("paddingBottom"),s.css("paddingLeft")],e=0;e<i.length;e++)this.borderDif[e]=(parseInt(i[e],10)||0)+(parseInt(n[e],10)||0);s.css({height:o.height()-this.borderDif[0]-this.borderDif[2]||0,width:o.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var t=this.element,e=this.options;this.elementOffset=t.offset(),this._helper?(this.helper=this.helper||v("<div style='overflow:hidden;'></div>"),this.helper.addClass(this._helper).css({width:this.element.outerWidth()-1,height:this.element.outerHeight()-1,position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return v.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return v.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return v.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return v.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){v.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),v.ui.plugin.add("resizable","animate",{stop:function(e){var i=v(this).data("ui-resizable"),t=i.options,n=i._proportionallyResizeElements,s=n.length&&/textarea/i.test(n[0].nodeName),o=s&&v.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,a=s?0:i.sizeDiff.width,r={width:i.size.width-a,height:i.size.height-o},l=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,h=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(v.extend(r,h&&l?{top:h,left:l}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&v(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),v.ui.plugin.add("resizable","containment",{start:function(){var i,n,t,e,s,o,a,r=v(this).data("ui-resizable"),l=r.options,h=r.element,c=l.containment,u=c instanceof v?c.get(0):/parent/.test(c)?h.parent().get(0):c;u&&(r.containerElement=v(u),/document/.test(c)||c===document?(r.containerOffset={left:0,top:0},r.containerPosition={left:0,top:0},r.parentData={element:v(document),left:0,top:0,width:v(document).width(),height:v(document).height()||document.body.parentNode.scrollHeight}):(i=v(u),n=[],v(["Top","Right","Left","Bottom"]).each(function(t,e){n[t]=d(i.css("padding"+e))}),r.containerOffset=i.offset(),r.containerPosition=i.position(),r.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},t=r.containerOffset,e=r.containerSize.height,s=r.containerSize.width,o=v.ui.hasScroll(u,"left")?u.scrollWidth:s,a=v.ui.hasScroll(u)?u.scrollHeight:e,r.parentData={element:u,left:t.left,top:t.top,width:o,height:a}))},resize:function(t){var e,i,n,s,o=v(this).data("ui-resizable"),a=o.options,r=o.containerOffset,l=o.position,h=o._aspectRatio||t.shiftKey,c={top:0,left:0},u=o.containerElement;u[0]!==document&&/static/.test(u.css("position"))&&(c=r),l.left<(o._helper?r.left:0)&&(o.size.width=o.size.width+(o._helper?o.position.left-r.left:o.position.left-c.left),h&&(o.size.height=o.size.width/o.aspectRatio),o.position.left=a.helper?r.left:0),l.top<(o._helper?r.top:0)&&(o.size.height=o.size.height+(o._helper?o.position.top-r.top:o.position.top),h&&(o.size.width=o.size.height*o.aspectRatio),o.position.top=o._helper?r.top:0),o.offset.left=o.parentData.left+o.position.left,o.offset.top=o.parentData.top+o.position.top,e=Math.abs((o._helper,o.offset.left-c.left+o.sizeDiff.width)),i=Math.abs((o._helper?o.offset.top-c.top:o.offset.top-r.top)+o.sizeDiff.height),n=o.containerElement.get(0)===o.element.parent().get(0),s=/relative|absolute/.test(o.containerElement.css("position")),n&&s&&(e-=o.parentData.left),e+o.size.width>=o.parentData.width&&(o.size.width=o.parentData.width-e,h&&(o.size.height=o.size.width/o.aspectRatio)),i+o.size.height>=o.parentData.height&&(o.size.height=o.parentData.height-i,h&&(o.size.width=o.size.height*o.aspectRatio))},stop:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.containerOffset,n=t.containerPosition,s=t.containerElement,o=v(t.helper),a=o.offset(),r=o.outerWidth()-t.sizeDiff.width,l=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(s.css("position"))&&v(this).css({left:a.left-n.left-i.left,width:r,height:l}),t._helper&&!e.animate&&/static/.test(s.css("position"))&&v(this).css({left:a.left-n.left-i.left,width:r,height:l})}}),v.ui.plugin.add("resizable","alsoResize",{start:function(){var t=v(this).data("ui-resizable").options,e=function(t){v(t).each(function(){var t=v(this);t.data("ui-resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})};"object"!=typeof t.alsoResize||t.alsoResize.parentNode?e(t.alsoResize):t.alsoResize.length?(t.alsoResize=t.alsoResize[0],e(t.alsoResize)):v.each(t.alsoResize,function(t){e(t)})},resize:function(t,o){var e=v(this).data("ui-resizable"),i=e.options,n=e.originalSize,s=e.originalPosition,a={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-s.top||0,left:e.position.left-s.left||0},r=function(t,i){v(t).each(function(){var t=v(this),n=v(this).data("ui-resizable-alsoresize"),s={},e=i&&i.length?i:t.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];v.each(e,function(t,e){var i=(n[e]||0)+(a[e]||0);i&&0<=i&&(s[e]=i||null)}),t.css(s)})};"object"!=typeof i.alsoResize||i.alsoResize.nodeType?r(i.alsoResize):v.each(i.alsoResize,function(t,e){r(t,e)})},stop:function(){v(this).removeData("resizable-alsoresize")}}),v.ui.plugin.add("resizable","ghost",{start:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof e.ghost?e.ghost:""),t.ghost.appendTo(t.helper)},resize:function(){var t=v(this).data("ui-resizable");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=v(this).data("ui-resizable");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),v.ui.plugin.add("resizable","grid",{resize:function(){var t=v(this).data("ui-resizable"),e=t.options,i=t.size,n=t.originalSize,s=t.originalPosition,o=t.axis,a="number"==typeof e.grid?[e.grid,e.grid]:e.grid,r=a[0]||1,l=a[1]||1,h=Math.round((i.width-n.width)/r)*r,c=Math.round((i.height-n.height)/l)*l,u=n.width+h,d=n.height+c,p=e.maxWidth&&e.maxWidth<u,f=e.maxHeight&&e.maxHeight<d,g=e.minWidth&&e.minWidth>u,m=e.minHeight&&e.minHeight>d;e.grid=a,g&&(u+=r),m&&(d+=l),p&&(u-=r),f&&(d-=l),/^(se|s|e)$/.test(o)?(t.size.width=u,t.size.height=d):/^(ne)$/.test(o)?(t.size.width=u,t.size.height=d,t.position.top=s.top-c):(/^(sw)$/.test(o)?(t.size.width=u,t.size.height=d):(t.size.width=u,t.size.height=d,t.position.top=s.top-c),t.position.left=s.left-h)}})}(jQuery),function(h,t){h.widget("ui.selectable",h.ui.mouse,{version:"1.10.2",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var t,e=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(t=h(e.options.filter,e.element[0])).addClass("ui-selectee"),t.each(function(){var t=h(this),e=t.offset();h.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=h("<div class='ui-selectable-helper'></div>")},_destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled"),this._mouseDestroy()},_mouseStart:function(i){var n=this,t=this.options;this.opos=[i.pageX,i.pageY],this.options.disabled||(this.selectees=h(t.filter,this.element[0]),this._trigger("start",i),h(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=h.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",i,{unselecting:t.element}))}),h(i.target).parents().addBack().each(function(){var t,e=h.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),e.$element.removeClass(t?"ui-unselecting":"ui-selected").addClass(t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?n._trigger("selecting",i,{selecting:e.element}):n._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(i){if(this.dragged=!0,!this.options.disabled){var t,n=this,s=this.options,o=this.opos[0],a=this.opos[1],r=i.pageX,l=i.pageY;return r<o&&(t=r,r=o,o=t),l<a&&(t=l,l=a,a=t),this.helper.css({left:o,top:a,width:r-o,height:l-a}),this.selectees.each(function(){var t=h.data(this,"selectable-item"),e=!1;t&&t.element!==n.element[0]&&("touch"===s.tolerance?e=!(t.left>r||t.right<o||t.top>l||t.bottom<a):"fit"===s.tolerance&&(e=t.left>o&&t.right<r&&t.top>a&&t.bottom<l),e?(t.selected&&(t.$element.removeClass("ui-selected"),t.selected=!1),t.unselecting&&(t.$element.removeClass("ui-unselecting"),t.unselecting=!1),t.selecting||(t.$element.addClass("ui-selecting"),t.selecting=!0,n._trigger("selecting",i,{selecting:t.element}))):(t.selecting&&((i.metaKey||i.ctrlKey)&&t.startselected?(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.$element.addClass("ui-selected"),t.selected=!0):(t.$element.removeClass("ui-selecting"),t.selecting=!1,t.startselected&&(t.$element.addClass("ui-unselecting"),t.unselecting=!0),n._trigger("unselecting",i,{unselecting:t.element}))),t.selected&&(i.metaKey||i.ctrlKey||t.startselected||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,n._trigger("unselecting",i,{unselecting:t.element})))))}),!1}},_mouseStop:function(e){var i=this;return this.dragged=!1,h(".ui-unselecting",this.element[0]).each(function(){var t=h.data(this,"selectable-item");t.$element.removeClass("ui-unselecting"),t.unselecting=!1,t.startselected=!1,i._trigger("unselected",e,{unselected:t.element})}),h(".ui-selecting",this.element[0]).each(function(){var t=h.data(this,"selectable-item");t.$element.removeClass("ui-selecting").addClass("ui-selected"),t.selecting=!1,t.selected=!0,t.startselected=!0,i._trigger("selected",e,{selected:t.element})}),this._trigger("stop",e),this.helper.remove(),!1}})}(jQuery),function(p,t){function f(t,e,i){return e<t&&t<e+i}function g(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))}p.widget("ui.sortable",p.ui.mouse,{version:"1.10.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||g(this.items[0].item)),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},_destroy:function(){this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,e){"disabled"===t?(this.options[t]=e,this.widget().toggleClass("ui-sortable-disabled",!!e)):p.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,e){var i=null,n=!1,s=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),p(t.target).parents().each(function(){if(p.data(this,s.widgetName+"-item")===s)return i=p(this),!1}),p.data(t.target,s.widgetName+"-item")===s&&(i=p(t.target)),!!i&&(!(this.options.handle&&!e&&(p(this.options.handle,i).find("*").addBack().each(function(){this===t.target&&(n=!0)}),!n))&&(this.currentItem=i,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,e,i){var n,s,o=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},p.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(s=this.document.find("body"),this.storedCursor=s.css("cursor"),s.css("cursor",o.cursor),this.storedStylesheet=p("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(s)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",o.zIndex)),this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return p.ui.ddmanager&&(p.ui.ddmanager.current=this),p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,n,s,o=this.options,a=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==document&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<o.scrollSensitivity?this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop+o.scrollSpeed:t.pageY-this.overflowOffset.top<o.scrollSensitivity&&(this.scrollParent[0].scrollTop=a=this.scrollParent[0].scrollTop-o.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<o.scrollSensitivity?this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft+o.scrollSpeed:t.pageX-this.overflowOffset.left<o.scrollSensitivity&&(this.scrollParent[0].scrollLeft=a=this.scrollParent[0].scrollLeft-o.scrollSpeed)):(t.pageY-p(document).scrollTop()<o.scrollSensitivity?a=p(document).scrollTop(p(document).scrollTop()-o.scrollSpeed):p(window).height()-(t.pageY-p(document).scrollTop())<o.scrollSensitivity&&(a=p(document).scrollTop(p(document).scrollTop()+o.scrollSpeed)),t.pageX-p(document).scrollLeft()<o.scrollSensitivity?a=p(document).scrollLeft(p(document).scrollLeft()-o.scrollSpeed):p(window).width()-(t.pageX-p(document).scrollLeft())<o.scrollSensitivity&&(a=p(document).scrollLeft(p(document).scrollLeft()+o.scrollSpeed))),!1!==a&&p.ui.ddmanager&&!o.dropBehaviour&&p.ui.ddmanager.prepareOffsets(this,t)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),e=this.items.length-1;0<=e;e--)if(n=(i=this.items[e]).item[0],(s=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(n===this.currentItem[0]||this.placeholder[1===s?"next":"prev"]()[0]===n||p.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&p.contains(this.element[0],n))){if(this.direction=1===s?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(t,i),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),p.ui.ddmanager&&p.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,e){if(t){if(p.ui.ddmanager&&!this.options.dropBehaviour&&p.ui.ddmanager.drop(this,t),this.options.revert){var i=this,n=this.placeholder.offset(),s=this.options.axis,o={};s&&"x"!==s||(o.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollLeft)),s&&"y"!==s||(o.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===document.body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,p(this.helper).animate(o,parseInt(this.options.revert,10)||500,function(){i._clear(t)})}else this._clear(t,e);return!1}},cancel:function(){if(this.dragging){this._mouseUp({target:null}),"original"===this.options.helper?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var t=this.containers.length-1;0<=t;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),p.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?p(this.domPosition.prev).after(this.currentItem):p(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},p(t).each(function(){var t=(p(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);t&&i.push((e.key||t[1]+"[]")+"="+(e.key&&e.expression?t[1]:t[2]))}),!i.length&&e.key&&i.push(e.key+"="),i.join("&")},toArray:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},e.each(function(){i.push(p(t.item||this).attr(t.attribute||"id")||"")}),i},_intersectsWith:function(t){var e=this.positionAbs.left,i=e+this.helperProportions.width,n=this.positionAbs.top,s=n+this.helperProportions.height,o=t.left,a=o+t.width,r=t.top,l=r+t.height,h=this.offset.click.top,c=this.offset.click.left,u=r<n+h&&n+h<l&&o<e+c&&e+c<a;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?u:o<e+this.helperProportions.width/2&&i-this.helperProportions.width/2<a&&r<n+this.helperProportions.height/2&&s-this.helperProportions.height/2<l},_intersectsWithPointer:function(t){var e="x"===this.options.axis||f(this.positionAbs.top+this.offset.click.top,t.top,t.height),i="y"===this.options.axis||f(this.positionAbs.left+this.offset.click.left,t.left,t.width),n=e&&i,s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return!!n&&(this.floating?o&&"right"===o||"down"===s?2:1:s&&("down"===s?2:1))},_intersectsWithSides:function(t){var e=f(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),i=f(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),n=this._getDragVerticalDirection(),s=this._getDragHorizontalDirection();return this.floating&&s?"right"===s&&i||"left"===s&&!i:n&&("down"===n&&e||"up"===n&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(0<t?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(0<t?"right":"left")},refresh:function(t){return this._refreshItems(t),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(t){var e,i,n,s,o=[],a=[],r=this._connectWith();if(r&&t)for(e=r.length-1;0<=e;e--)for(i=(n=p(r[e])).length-1;0<=i;i--)(s=p.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&a.push([p.isFunction(s.options.items)?s.options.items.call(s.element):p(s.options.items,s.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),s]);for(a.push([p.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):p(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),e=a.length-1;0<=e;e--)a[e][0].each(function(){o.push(this)});return p(o)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=p.grep(this.items,function(t){for(var e=0;e<i.length;e++)if(i[e]===t.item[0])return!1;return!0})},_refreshItems:function(t){this.items=[],this.containers=[this];var e,i,n,s,o,a,r,l,h=this.items,c=[[p.isFunction(this.options.items)?this.options.items.call(this.element[0],t,{item:this.currentItem}):p(this.options.items,this.element),this]],u=this._connectWith();if(u&&this.ready)for(e=u.length-1;0<=e;e--)for(i=(n=p(u[e])).length-1;0<=i;i--)(s=p.data(n[i],this.widgetFullName))&&s!==this&&!s.options.disabled&&(c.push([p.isFunction(s.options.items)?s.options.items.call(s.element[0],t,{item:this.currentItem}):p(s.options.items,s.element),s]),this.containers.push(s));for(e=c.length-1;0<=e;e--)for(o=c[e][1],i=0,l=(a=c[e][0]).length;i<l;i++)(r=p(a[i])).data(this.widgetName+"-item",o),h.push({item:r,instance:o,width:0,height:0,left:0,top:0})},refreshPositions:function(t){var e,i,n,s;for(this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),e=this.items.length-1;0<=e;e--)(i=this.items[e]).instance!==this.currentContainer&&this.currentContainer&&i.item[0]!==this.currentItem[0]||(n=this.options.toleranceElement?p(this.options.toleranceElement,i.item):i.item,t||(i.width=n.outerWidth(),i.height=n.outerHeight()),s=n.offset(),i.left=s.left,i.top=s.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;0<=e;e--)s=this.containers[e].element.offset(),this.containers[e].containerCache.left=s.left,this.containers[e].containerCache.top=s.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(i){var n,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var t=i.currentItem[0].nodeName.toLowerCase(),e=p(i.document[0].createElement(t)).addClass(n||i.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper");return"tr"===t?e.append("<td colspan='99'> </td>"):"img"===t&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(t,e){n&&!s.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10)))}}),i.placeholder=p(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_contactContainers:function(t){var e,i,n,s,o,a,r,l,h,c,u=null,d=null;for(e=this.containers.length-1;0<=e;e--)if(!p.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(u&&p.contains(this.containers[e].element[0],u.element[0]))continue;u=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",t,this._uiHash(this)),this.containers[e].containerCache.over=0);if(u)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(n=1e4,s=null,o=(c=u.floating||g(this.currentItem))?"left":"top",a=c?"width":"height",r=this.positionAbs[o]+this.offset.click[o],i=this.items.length-1;0<=i;i--)p.contains(this.containers[d].element[0],this.items[i].item[0])&&this.items[i].item[0]!==this.currentItem[0]&&(c&&!f(this.positionAbs.top+this.offset.click.top,this.items[i].top,this.items[i].height)||(l=this.items[i].item.offset()[o],h=!1,Math.abs(l-r)>Math.abs(l+this.items[i][a]-r)&&(h=!0,l+=this.items[i][a]),Math.abs(l-r)<n&&(n=Math.abs(l-r),s=this.items[i],this.direction=h?"up":"down")));if(!s&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return;s?this._rearrange(t,s,null,!0):this._rearrange(t,null,this.containers[d].element,!0),this._trigger("change",t,this._uiHash()),this.containers[d]._trigger("change",t,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",t,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(t){var e=this.options,i=p.isFunction(e.helper)?p(e.helper.apply(this.element[0],[t,this.currentItem])):"clone"===e.helper?this.currentItem.clone():this.currentItem;return i.parents("body").length||p("parent"!==e.appendTo?e.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0]),i[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),i[0].style.width&&!e.forceHelperSize||i.width(this.currentItem.width()),i[0].style.height&&!e.forceHelperSize||i.height(this.currentItem.height()),i},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),p.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===document.body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&p.ui.ie)&&(t={top:0,left:0}),{top:t.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i,n=this.options;"parent"===n.containment&&(n.containment=this.helper[0].parentNode),"document"!==n.containment&&"window"!==n.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,p("document"===n.containment?document:window).width()-this.helperProportions.width-this.margins.left,(p("document"===n.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(n.containment)||(t=p(n.containment)[0],e=p(n.containment).offset(),i="hidden"!==p(t).css("overflow"),this.containment=[e.left+(parseInt(p(t).css("borderLeftWidth"),10)||0)+(parseInt(p(t).css("paddingLeft"),10)||0)-this.margins.left,e.top+(parseInt(p(t).css("borderTopWidth"),10)||0)+(parseInt(p(t).css("paddingTop"),10)||0)-this.margins.top,e.left+(i?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(p(t).css("borderLeftWidth"),10)||0)-(parseInt(p(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,e.top+(i?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(p(t).css("borderTopWidth"),10)||0)-(parseInt(p(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(t,e){e||(e=this.position);var i="absolute"===t?1:-1,n="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(n[0].tagName);return{top:e.top+this.offset.relative.top*i+this.offset.parent.top*i-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:n.scrollTop())*i,left:e.left+this.offset.relative.left*i+this.offset.parent.left*i-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:n.scrollLeft())*i}},_generatePosition:function(t){var e,i,n=this.options,s=t.pageX,o=t.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==document&&p.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,r=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==document&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(t.pageX-this.offset.click.left<this.containment[0]&&(s=this.containment[0]+this.offset.click.left),t.pageY-this.offset.click.top<this.containment[1]&&(o=this.containment[1]+this.offset.click.top),t.pageX-this.offset.click.left>this.containment[2]&&(s=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),n.grid&&(e=this.originalPageY+Math.round((o-this.originalPageY)/n.grid[1])*n.grid[1],o=this.containment?e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-n.grid[1]:e+n.grid[1]:e,i=this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0],s=this.containment?i-this.offset.click.left>=this.containment[0]&&i-this.offset.click.left<=this.containment[2]?i:i-this.offset.click.left>=this.containment[0]?i-n.grid[0]:i+n.grid[0]:i)),{top:o-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():r?0:a.scrollTop()),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():r?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var s=this.counter;this._delay(function(){s===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&n.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||n.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(n.push(function(t){this._trigger("remove",t,this._uiHash())}),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||n.push(function(e){return function(t){e._trigger("deactivate",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(function(e){return function(t){e._trigger("out",t,this._uiHash(this))}}.call(this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,this.cancelHelperRemoval){if(!e){for(this._trigger("beforeStop",t,this._uiHash()),i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1}if(e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null,!e){for(i=0;i<n.length;i++)n[i].call(this,t);this._trigger("stop",t,this._uiHash())}return!(this.fromOutside=!1)},_trigger:function(){!1===p.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(t){var e=t||this;return{helper:e.helper,placeholder:e.placeholder||p([]),position:e.position,originalPosition:e.originalPosition,offset:e.positionAbs,item:e.currentItem,sender:t?t.element:null}}})}(jQuery),function(c,t){var i,r="ui-effects-";c.effects={effect:{}},function(c,u){var h,d=/^([\-+])=\s*(\d+\.?\d*)/,t=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],p=c.Color=function(t,e,i,n){return new c.Color.fn.parse(t,e,i,n)},f={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},g={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},a=p.support={},e=c("<p>")[0],m=c.each;function v(t,e,i){var n=g[e.type]||{};return null==t?i||!e.def?null:e.def:(t=n.floor?~~t:parseFloat(t),isNaN(t)?e.def:n.mod?(t+n.mod)%n.mod:t<0?0:n.max<t?n.max:t)}function r(a){var r=p(),l=r._rgba=[];return a=a.toLowerCase(),m(t,function(t,e){var i,n=e.re.exec(a),s=n&&e.parse(n),o=e.space||"rgba";if(s)return i=r[o](s),r[f[o].cache]=i[f[o].cache],l=r._rgba=i._rgba,!1}),l.length?("0,0,0,0"===l.join()&&c.extend(l,h.transparent),r):h[a]}function l(t,e,i){return 6*(i=(i+1)%1)<1?t+(e-t)*i*6:2*i<1?e:3*i<2?t+(e-t)*(2/3-i)*6:t}e.style.cssText="background-color:rgba(1,1,1,.5)",a.rgba=-1<e.style.backgroundColor.indexOf("rgba"),m(f,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),p.fn=c.extend(p.prototype,{parse:function(s,t,e,i){if(s===u)return this._rgba=[null,null,null,null],this;(s.jquery||s.nodeType)&&(s=c(s).css(t),t=u);var o=this,n=c.type(s),a=this._rgba=[];return t!==u&&(s=[s,t,e,i],n="array"),"string"===n?this.parse(r(s)||h._default):"array"===n?(m(f.rgba.props,function(t,e){a[e.idx]=v(s[e.idx],e)}),this):"object"===n?(m(f,s instanceof p?function(t,e){s[e.cache]&&(o[e.cache]=s[e.cache].slice())}:function(t,i){var n=i.cache;m(i.props,function(t,e){if(!o[n]&&i.to){if("alpha"===t||null==s[t])return;o[n]=i.to(o._rgba)}o[n][e.idx]=v(s[t],e,!0)}),o[n]&&c.inArray(null,o[n].slice(0,3))<0&&(o[n][3]=1,i.from&&(o._rgba=i.from(o[n])))}),this):void 0},is:function(t){var s=p(t),o=!0,a=this;return m(f,function(t,e){var i,n=s[e.cache];return n&&(i=a[e.cache]||e.to&&e.to(a._rgba)||[],m(e.props,function(t,e){if(null!=n[e.idx])return o=n[e.idx]===i[e.idx]})),o}),o},_space:function(){var i=[],n=this;return m(f,function(t,e){n[e.cache]&&i.push(t)}),i.pop()},transition:function(t,a){var r=p(t),e=r._space(),i=f[e],n=0===this.alpha()?p("transparent"):this,l=n[i.cache]||i.to(n._rgba),h=l.slice();return r=r[i.cache],m(i.props,function(t,e){var i=e.idx,n=l[i],s=r[i],o=g[e.type]||{};null!==s&&(null===n?h[i]=s:(o.mod&&(s-n>o.mod/2?n+=o.mod:n-s>o.mod/2&&(n-=o.mod)),h[i]=v((s-n)*a+n,e)))}),this[e](h)},blend:function(t){if(1===this._rgba[3])return this;var e=this._rgba.slice(),i=e.pop(),n=p(t)._rgba;return p(c.map(e,function(t,e){return(1-i)*n[e]+i*t}))},toRgbaString:function(){var t="rgba(",e=c.map(this._rgba,function(t,e){return null==t?2<e?1:0:t});return 1===e[3]&&(e.pop(),t="rgb("),t+e.join()+")"},toHslaString:function(){var t="hsla(",e=c.map(this.hsla(),function(t,e){return null==t&&(t=2<e?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1===e[3]&&(e.pop(),t="hsl("),t+e.join()+")"},toHexString:function(t){var e=this._rgba.slice(),i=e.pop();return t&&e.push(~~(255*i)),"#"+c.map(e,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),p.fn.parse.prototype=p.fn,f.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,i,n=t[0]/255,s=t[1]/255,o=t[2]/255,a=t[3],r=Math.max(n,s,o),l=Math.min(n,s,o),h=r-l,c=r+l,u=.5*c;return e=l===r?0:n===r?60*(s-o)/h+360:s===r?60*(o-n)/h+120:60*(n-s)/h+240,i=0===h?0:u<=.5?h/c:h/(2-c),[Math.round(e)%360,i,u,null==a?1:a]},f.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,i=t[1],n=t[2],s=t[3],o=n<=.5?n*(1+i):n+i-n*i,a=2*n-o;return[Math.round(255*l(a,o,e+1/3)),Math.round(255*l(a,o,e)),Math.round(255*l(a,o,e-1/3)),s]},m(f,function(l,t){var i=t.props,a=t.cache,r=t.to,h=t.from;p.fn[l]=function(t){if(r&&!this[a]&&(this[a]=r(this._rgba)),t===u)return this[a].slice();var e,n=c.type(t),s="array"===n||"object"===n?t:arguments,o=this[a].slice();return m(i,function(t,e){var i=s["object"===n?t:e.idx];null==i&&(i=o[e.idx]),o[e.idx]=v(i,e)}),h?((e=p(h(o)))[a]=o,e):p(o)},m(i,function(a,r){p.fn[a]||(p.fn[a]=function(t){var e,i=c.type(t),n="alpha"===a?this._hsla?"hsla":"rgba":l,s=this[n](),o=s[r.idx];return"undefined"===i?o:("function"===i&&(t=t.call(this,o),i=c.type(t)),null==t&&r.empty?this:("string"===i&&(e=d.exec(t))&&(t=o+parseFloat(e[2])*("+"===e[1]?1:-1)),s[r.idx]=t,this[n](s)))})})}),p.hook=function(t){var e=t.split(" ");m(e,function(t,o){c.cssHooks[o]={set:function(t,e){var i,n,s="";if("transparent"!==e&&("string"!==c.type(e)||(i=r(e)))){if(e=p(i||e),!a.rgba&&1!==e._rgba[3]){for(n="backgroundColor"===o?t.parentNode:t;(""===s||"transparent"===s)&&n&&n.style;)try{s=c.css(n,"backgroundColor"),n=n.parentNode}catch(t){}e=e.blend(s&&"transparent"!==s?s:"_default")}e=e.toRgbaString()}try{t.style[o]=e}catch(t){}}},c.fx.step[o]=function(t){t.colorInit||(t.start=p(t.elem,o),t.end=p(t.end),t.colorInit=!0),c.cssHooks[o].set(t.elem,t.start.transition(t.end,t.pos))}})},p.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),c.cssHooks.borderColor={expand:function(i){var n={};return m(["Top","Right","Bottom","Left"],function(t,e){n["border"+e+"Color"]=i}),n}},h=c.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(){var o,s,a,r=["add","remove","toggle"],l={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function h(t){var e,i,n=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,s={};if(n&&n.length&&n[0]&&n[n[0]])for(i=n.length;i--;)"string"==typeof n[e=n[i]]&&(s[c.camelCase(e)]=n[e]);else for(e in n)"string"==typeof n[e]&&(s[e]=n[e]);return s}c.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,e){c.fx.step[e]=function(t){("none"!==t.end&&!t.setAttr||1===t.pos&&!t.setAttr)&&(jQuery.style(t.elem,e,t.end),t.setAttr=!0)}}),c.fn.addBack||(c.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),c.effects.animateClass=function(s,t,e,i){var o=c.speed(t,e,i);return this.queue(function(){var t,i=c(this),e=i.attr("class")||"",n=o.children?i.find("*").addBack():i;n=n.map(function(){return{el:c(this),start:h(this)}}),(t=function(){c.each(r,function(t,e){s[e]&&i[e+"Class"](s[e])})})(),n=n.map(function(){return this.end=h(this.el[0]),this.diff=function(t,e){var i,n,s={};for(i in e)n=e[i],t[i]!==n&&(l[i]||!c.fx.step[i]&&isNaN(parseFloat(n))||(s[i]=n));return s}(this.start,this.end),this}),i.attr("class",e),n=n.map(function(){var t=this,e=c.Deferred(),i=c.extend({},o,{queue:!1,complete:function(){e.resolve(t)}});return this.el.animate(this.diff,i),e.promise()}),c.when.apply(c,n.get()).done(function(){t(),c.each(arguments,function(){var e=this.el;c.each(this.diff,function(t){e.css(t,"")})}),o.complete.call(i[0])})})},c.fn.extend({addClass:(a=c.fn.addClass,function(t,e,i,n){return e?c.effects.animateClass.call(this,{add:t},e,i,n):a.apply(this,arguments)}),removeClass:(s=c.fn.removeClass,function(t,e,i,n){return 1<arguments.length?c.effects.animateClass.call(this,{remove:t},e,i,n):s.apply(this,arguments)}),toggleClass:(o=c.fn.toggleClass,function(t,e,i,n,s){return"boolean"==typeof e||void 0===e?i?c.effects.animateClass.call(this,e?{add:t}:{remove:t},i,n,s):o.apply(this,arguments):c.effects.animateClass.call(this,{toggle:t},e,i,n)}),switchClass:function(t,e,i,n,s){return c.effects.animateClass.call(this,{add:e,remove:t},i,n,s)}})}(),function(){function n(t,e,i,n){return c.isPlainObject(t)&&(t=(e=t).effect),t={effect:t},null==e&&(e={}),c.isFunction(e)&&(n=e,i=null,e={}),("number"==typeof e||c.fx.speeds[e])&&(n=i,i=e,e={}),c.isFunction(i)&&(n=i,i=null),e&&c.extend(t,e),i=i||e.duration,t.duration=c.fx.off?0:"number"==typeof i?i:i in c.fx.speeds?c.fx.speeds[i]:c.fx.speeds._default,t.complete=n||e.complete,t}function i(t){return!(t&&"number"!=typeof t&&!c.fx.speeds[t])||("string"==typeof t&&!c.effects.effect[t]||(!!c.isFunction(t)||"object"==typeof t&&!t.effect))}var s,o,a;c.extend(c.effects,{version:"1.10.2",save:function(t,e){for(var i=0;i<e.length;i++)null!==e[i]&&t.data(r+e[i],t[0].style[e[i]])},restore:function(t,e){var i,n;for(n=0;n<e.length;n++)null!==e[n]&&(void 0===(i=t.data(r+e[n]))&&(i=""),t.css(e[n],i))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},getBaseline:function(t,e){var i,n;switch(t[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=t[0]/e.height}switch(t[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=t[1]/e.width}return{x:n,y:i}},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},t=c("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e={width:i.width(),height:i.height()},s=document.activeElement;try{s.id}catch(t){s=document.body}return i.wrap(t),(i[0]===s||c.contains(i[0],s))&&c(s).focus(),t=i.parent(),"static"===i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(c.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),c.each(["top","left","bottom","right"],function(t,e){n[e]=i.css(e),isNaN(parseInt(n[e],10))&&(n[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(e),t.css(n).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===e||c.contains(t[0],e))&&c(e).focus()),t},setTransition:function(n,t,s,o){return o=o||{},c.each(t,function(t,e){var i=n.cssUnit(e);0<i[0]&&(o[e]=i[0]*s+i[1])}),o}}),c.fn.extend({effect:function(){var o=n.apply(this,arguments),t=o.mode,e=o.queue,a=c.effects.effect[o.effect];if(c.fx.off||!a)return t?this[t](o.duration,o.complete):this.each(function(){o.complete&&o.complete.call(this)});function i(t){var e=c(this),i=o.complete,n=o.mode;function s(){c.isFunction(i)&&i.call(e[0]),c.isFunction(t)&&t()}(e.is(":hidden")?"hide"===n:"show"===n)?(e[n](),s()):a.call(e[0],o,s)}return!1===e?this.each(i):this.queue(e||"fx",i)},show:(a=c.fn.show,function(t){if(i(t))return a.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(o=c.fn.hide,function(t){if(i(t))return o.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(s=c.fn.toggle,function(t){if(i(t)||"boolean"==typeof t)return s.apply(this,arguments);var e=n.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(t){var i=this.css(t),n=[];return c.each(["em","px","%","pt"],function(t,e){0<i.indexOf(e)&&(n=[parseFloat(i),e])}),n}})}(),i={},c.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,t){i[t]=function(t){return Math.pow(t,e+2)}}),c.extend(i,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),c.each(i,function(t,e){c.easing["easeIn"+t]=e,c.easing["easeOut"+t]=function(t){return 1-e(1-t)},c.easing["easeInOut"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}})}(jQuery),function(h,t){var s=0,d={},p={};d.height=d.paddingTop=d.paddingBottom=d.borderTopWidth=d.borderBottomWidth="hide",p.height=p.paddingTop=p.paddingBottom=p.borderTopWidth=p.borderBottomWidth="show",h.widget("ui.accordion",{version:"1.10.2",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var t=this.options;this.prevShow=this.prevHide=h(),this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():h(),content:this.active.length?this.active.next():h()}},_createIcons:function(){var t=this.options.icons;t&&(h("<span>").addClass("ui-accordion-header-icon ui-icon "+t.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(t.header).addClass(t.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")}),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){"active"!==t?("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),"icons"===t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"===t&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!e)):this._activate(e)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=h.ui.keyCode,i=this.headers.length,n=this.headers.index(t.target),s=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:s=this.headers[(n+1)%i];break;case e.LEFT:case e.UP:s=this.headers[(n-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:s=this.headers[0];break;case e.END:s=this.headers[i-1]}s&&(h(t.target).attr("tabIndex",-1),h(s).attr("tabIndex",0),s.focus(),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===h.ui.keyCode.UP&&t.ctrlKey&&h(t.currentTarget).prev().focus()},refresh:function(){var t=this.options;this._processPanels(),(!1===t.active&&!0===t.collapsible||!this.headers.length)&&(t.active=!1,this.active=h()),!1===t.active?this._activate(0):this.active.length&&!h.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(t.active=!1,this.active=h()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"),this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()},_refresh:function(){var i,t=this.options,e=t.heightStyle,n=this.element.parent(),o=this.accordionId="ui-accordion-"+(this.element.attr("id")||++s);this.active=this._findActive(t.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all"),this.active.next().addClass("ui-accordion-content-active").show(),this.headers.attr("role","tab").each(function(t){var e=h(this),i=e.attr("id"),n=e.next(),s=n.attr("id");i||(i=o+"-header-"+t,e.attr("id",i)),s||(s=o+"-panel-"+t,n.attr("id",s)),e.attr("aria-controls",s),n.attr("aria-labelledby",i)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(t.event),"fill"===e?(i=n.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=h(this).outerHeight(!0)}),this.headers.next().each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.headers.next().each(function(){i=Math.max(i,h(this).css("height","").height())}).height(i))},_activate:function(t){var e=this._findActive(t)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:h.noop}))},_findActive:function(t){return"number"==typeof t?this.headers.eq(t):h()},_setupEvents:function(t){var i={keydown:"_keydown"};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,n=h(t.currentTarget),s=n[0]===i[0],o=s&&e.collapsible,a=o?h():n.next(),r=i.next(),l={oldHeader:i,oldPanel:r,newHeader:o?h():n,newPanel:a};t.preventDefault(),s&&!e.collapsible||!1===this._trigger("beforeActivate",t,l)||(e.active=!o&&this.headers.index(n),this.active=s?h():n,this._toggle(l),i.removeClass("ui-accordion-header-active ui-state-active"),e.icons&&i.children(".ui-accordion-header-icon").removeClass(e.icons.activeHeader).addClass(e.icons.header),s||(n.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"),e.icons&&n.children(".ui-accordion-header-icon").removeClass(e.icons.header).addClass(e.icons.activeHeader),n.next().addClass("ui-accordion-content-active")))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({"aria-expanded":"false","aria-hidden":"true"}),i.prev().attr("aria-selected","false"),e.length&&i.length?i.prev().attr("tabIndex",-1):e.length&&this.headers.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),e.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(t,i,e){var n,s,o,a=this,r=0,l=t.length&&(!i.length||t.index()<i.index()),h=this.options.animate||{},c=l&&h.down||h,u=function(){a._toggleComplete(e)};return"number"==typeof c&&(o=c),"string"==typeof c&&(s=c),s=s||c.easing||h.easing,o=o||c.duration||h.duration,i.length?t.length?(n=t.show().outerHeight(),i.animate(d,{duration:o,easing:s,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(p,{duration:o,easing:s,complete:u,step:function(t,e){e.now=Math.round(t),"height"!==e.prop?r+=e.now:"content"!==a.options.heightStyle&&(e.now=Math.round(n-i.outerHeight()-r),r=0)}})):i.animate(d,o,s,u):t.animate(p,o,s,u)},_toggleComplete:function(t){var e=t.oldPanel;e.removeClass("ui-accordion-content-active").prev().removeClass("ui-corner-top").addClass("ui-corner-all"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}})}(jQuery),function(a,t){var n=0;a.widget("ui.autocomplete",{version:"1.10.2",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var i,n,s,t=this.element[0].nodeName.toLowerCase(),e="textarea"===t,o="input"===t;this.isMultiLine=!!e||!o&&this.element.prop("isContentEditable"),this.valueMethod=this.element[e||o?"val":"text"],this.isNewMenu=!0,this.element.addClass("ui-autocomplete-input").attr("autocomplete","off"),this._on(this.element,{keydown:function(t){if(this.element.prop("readOnly"))n=s=i=!0;else{n=s=i=!1;var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move("previousPage",t);break;case e.PAGE_DOWN:i=!0,this._move("nextPage",t);break;case e.UP:i=!0,this._keyEvent("previous",t);break;case e.DOWN:i=!0,this._keyEvent("next",t);break;case e.ENTER:case e.NUMPAD_ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(t),t.preventDefault());break;default:n=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void t.preventDefault();if(!n){var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move("previousPage",t);break;case e.PAGE_DOWN:this._move("nextPage",t);break;case e.UP:this._keyEvent("previous",t);break;case e.DOWN:this._keyEvent("next",t)}}},input:function(t){if(s)return s=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=a("<ul>").addClass("ui-autocomplete ui-front").appendTo(this._appendTo()).menu({input:a(),role:null}).hide().data("ui-menu"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur});var i=this.menu.element[0];a(t.target).closest(".ui-menu-item").length||this._delay(function(){var e=this;this.document.one("mousedown",function(t){t.target===e.element[0]||t.target===i||a.contains(i,t.target)||e.close()})})},menufocus:function(t,e){if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){a(t.target).trigger(t.originalEvent)});var i=e.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:i})?t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value):this.liveRegion.text(i.value)},menuselect:function(t,e){var i=e.item.data("ui-autocomplete-item"),n=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.focus(),this.previous=n,this._delay(function(){this.previous=n,this.selectedItem=i})),!1!==this._trigger("select",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("ui-helper-hidden-accessible").insertAfter(this.element),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_appendTo:function(){var t=this.options.appendTo;return t&&(t=t.jquery||t.nodeType?a(t):this.document.find(t).eq(0)),t||(t=this.element.closest(".ui-front")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,n,s=this;a.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(a.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(t,e){s.xhr&&s.xhr.abort(),s.xhr=a.ajax({url:n,data:t,dataType:"json",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){this.term!==this._value()&&(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this.element.addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=this,i=++n;return function(t){i===n&&e.__response(t),e.pending--,e.pending||e.element.removeClass("ui-autocomplete-loading")}},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:a.map(t,function(t){return"string"==typeof t?{label:t,value:t}:a.extend({label:t.label||t.value,value:t.value||t.label},t)})},_suggest:function(t){var e=this.menu.element.empty();this._renderMenu(e,t),this.isNewMenu=!0,this.menu.refresh(),e.show(),this._resizeMenu(),e.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next()},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,t){var n=this;a.each(t,function(t,e){n._renderItemData(i,e)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(t,e){return a("<li>").append(a("<a>").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),a.extend(a.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(a.ui.autocomplete.escapeRegex(e),"i");return a.grep(t,function(t){return i.test(t.label||t.value||t)})}}),a.widget("ui.autocomplete",a.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(1<t?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var e;this._superApply(arguments),this.options.disabled||this.cancelSearch||(e=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.text(e))}})}(jQuery),function(o,t){var a,r,l,h,c="ui-button ui-widget ui-state-default ui-corner-all",u="ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",d=function(){var t=o(this).find(":ui-button");setTimeout(function(){t.button("refresh")},1)},p=function(t){var e=t.name,i=t.form,n=o([]);return e&&(e=e.replace(/'/g,"\\'"),n=i?o(i).find("[name='"+e+"']"):o("[name='"+e+"']",t.ownerDocument).filter(function(){return!this.form})),n};o.widget("ui.button",{version:"1.10.2",defaultElement:"<button>",options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest("form").unbind("reset"+this.eventNamespace).bind("reset"+this.eventNamespace,d),"boolean"!=typeof this.options.disabled?this.options.disabled=!!this.element.prop("disabled"):this.element.prop("disabled",this.options.disabled),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr("title");var e=this,i=this.options,t="checkbox"===this.type||"radio"===this.type,n=t?"":"ui-state-active",s="ui-state-focus";null===i.label&&(i.label="input"===this.type?this.buttonElement.val():this.buttonElement.html()),this._hoverable(this.buttonElement),this.buttonElement.addClass(c).attr("role","button").bind("mouseenter"+this.eventNamespace,function(){i.disabled||this===a&&o(this).addClass("ui-state-active")}).bind("mouseleave"+this.eventNamespace,function(){i.disabled||o(this).removeClass(n)}).bind("click"+this.eventNamespace,function(t){i.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}),this.element.bind("focus"+this.eventNamespace,function(){e.buttonElement.addClass(s)}).bind("blur"+this.eventNamespace,function(){e.buttonElement.removeClass(s)}),t&&(this.element.bind("change"+this.eventNamespace,function(){h||e.refresh()}),this.buttonElement.bind("mousedown"+this.eventNamespace,function(t){i.disabled||(h=!1,r=t.pageX,l=t.pageY)}).bind("mouseup"+this.eventNamespace,function(t){i.disabled||r===t.pageX&&l===t.pageY||(h=!0)})),"checkbox"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||h)return!1}):"radio"===this.type?this.buttonElement.bind("click"+this.eventNamespace,function(){if(i.disabled||h)return!1;o(this).addClass("ui-state-active"),e.buttonElement.attr("aria-pressed","true");var t=e.element[0];p(t).not(t).map(function(){return o(this).button("widget")[0]}).removeClass("ui-state-active").attr("aria-pressed","false")}):(this.buttonElement.bind("mousedown"+this.eventNamespace,function(){if(i.disabled)return!1;o(this).addClass("ui-state-active"),a=this,e.document.one("mouseup",function(){a=null})}).bind("mouseup"+this.eventNamespace,function(){if(i.disabled)return!1;o(this).removeClass("ui-state-active")}).bind("keydown"+this.eventNamespace,function(t){if(i.disabled)return!1;t.keyCode!==o.ui.keyCode.SPACE&&t.keyCode!==o.ui.keyCode.ENTER||o(this).addClass("ui-state-active")}).bind("keyup"+this.eventNamespace+" blur"+this.eventNamespace,function(){o(this).removeClass("ui-state-active")}),this.buttonElement.is("a")&&this.buttonElement.keyup(function(t){t.keyCode===o.ui.keyCode.SPACE&&o(this).click()})),this._setOption("disabled",i.disabled),this._resetButton()},_determineButtonType:function(){var t,e,i;this.element.is("[type=checkbox]")?this.type="checkbox":this.element.is("[type=radio]")?this.type="radio":this.element.is("input")?this.type="input":this.type="button","checkbox"===this.type||"radio"===this.type?(t=this.element.parents().last(),e="label[for='"+this.element.attr("id")+"']",this.buttonElement=t.find(e),this.buttonElement.length||(t=t.length?t.siblings():this.element.siblings(),this.buttonElement=t.filter(e),this.buttonElement.length||(this.buttonElement=t.find(e))),this.element.addClass("ui-helper-hidden-accessible"),(i=this.element.is(":checked"))&&this.buttonElement.addClass("ui-state-active"),this.buttonElement.prop("aria-pressed",i)):this.buttonElement=this.element},widget:function(){return this.buttonElement},_destroy:function(){this.element.removeClass("ui-helper-hidden-accessible"),this.buttonElement.removeClass(c+" ui-state-hover ui-state-active "+u).removeAttr("role").removeAttr("aria-pressed").html(this.buttonElement.find(".ui-button-text").html()),this.hasTitle||this.buttonElement.removeAttr("title")},_setOption:function(t,e){this._super(t,e),"disabled"!==t?this._resetButton():e?this.element.prop("disabled",!0):this.element.prop("disabled",!1)},refresh:function(){var t=this.element.is("input, button")?this.element.is(":disabled"):this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOption("disabled",t),"radio"===this.type?p(this.element[0]).each(function(){o(this).is(":checked")?o(this).button("widget").addClass("ui-state-active").attr("aria-pressed","true"):o(this).button("widget").removeClass("ui-state-active").attr("aria-pressed","false")}):"checkbox"===this.type&&(this.element.is(":checked")?this.buttonElement.addClass("ui-state-active").attr("aria-pressed","true"):this.buttonElement.removeClass("ui-state-active").attr("aria-pressed","false"))},_resetButton:function(){if("input"!==this.type){var t=this.buttonElement.removeClass(u),e=o("<span></span>",this.document[0]).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),i=this.options.icons,n=i.primary&&i.secondary,s=[];i.primary||i.secondary?(this.options.text&&s.push("ui-button-text-icon"+(n?"s":i.primary?"-primary":"-secondary")),i.primary&&t.prepend("<span class='ui-button-icon-primary ui-icon "+i.primary+"'></span>"),i.secondary&&t.append("<span class='ui-button-icon-secondary ui-icon "+i.secondary+"'></span>"),this.options.text||(s.push(n?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",o.trim(e)))):s.push("ui-button-text-only"),t.addClass(s.join(" "))}else this.options.label&&this.element.val(this.options.label)}}),o.widget("ui.buttonset",{version:"1.10.2",options:{items:"button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),this._super(t,e)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},_destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy")}})}(jQuery),function(k,l){k.extend(k.ui,{datepicker:{version:"1.10.2"}});var s,u="datepicker",n=(new Date).getTime();function t(){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},k.extend(this._defaults,this.regional[""]),this.dpDiv=i(k("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function i(t){var e="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.delegate(e,"mouseout",function(){k(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).removeClass("ui-datepicker-next-hover")}).delegate(e,"mouseover",function(){k.datepicker._isDisabledDatepicker(s.inline?t.parent()[0]:s.input[0])||(k(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),k(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&k(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&k(this).addClass("ui-datepicker-next-hover"))})}function d(t,e){for(var i in k.extend(t,e),e)null==e[i]&&(t[i]=e[i]);return t}k.extend(t.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return d(this._defaults,t||{}),this},_attachDatepicker:function(t,e){var i,n,s;n="div"===(i=t.nodeName.toLowerCase())||"span"===i,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(s=this._newInst(k(t),n)).settings=k.extend({},e||{}),"input"===i?this._connectDatepicker(t,s):n&&this._inlineDatepicker(t,s)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?i(k("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(t,e){var i=k(t);e.append=k([]),e.trigger=k([]),i.hasClass(this.markerClassName)||(this._attachments(i,e),i.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(e),k.data(t,u,e),e.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,n,s,o=this._get(e,"appendText"),a=this._get(e,"isRTL");e.append&&e.append.remove(),o&&(e.append=k("<span class='"+this._appendClass+"'>"+o+"</span>"),t[a?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),"focus"!==(i=this._get(e,"showOn"))&&"both"!==i||t.focus(this._showDatepicker),"button"!==i&&"both"!==i||(n=this._get(e,"buttonText"),s=this._get(e,"buttonImage"),e.trigger=k(this._get(e,"buttonImageOnly")?k("<img/>").addClass(this._triggerClass).attr({src:s,alt:n,title:n}):k("<button type='button'></button>").addClass(this._triggerClass).html(s?k("<img/>").attr({src:s,alt:n,title:n}):n)),t[a?"before":"after"](e.trigger),e.trigger.click(function(){return k.datepicker._datepickerShowing&&k.datepicker._lastInput===t[0]?k.datepicker._hideDatepicker():(k.datepicker._datepickerShowing&&k.datepicker._lastInput!==t[0]&&k.datepicker._hideDatepicker(),k.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,s,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(s=n=i=0;s<t.length;s++)t[s].length>i&&(i=t[s].length,n=s);return n},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(t,e){var i=k(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),k.data(t,u,e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,n,s){var o,a,r,l,h,c=this._dialogInst;return c||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=k("<input type='text' id='"+o+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.keydown(this._doKeyDown),k("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},k.data(this._dialogInput[0],u,c)),d(c.settings,n||{}),e=e&&e.constructor===Date?this._formatDate(c,e):e,this._dialogInput.val(e),this._pos=s?s.length?s:[s.pageX,s.pageY]:null,this._pos||(a=document.documentElement.clientWidth,r=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,h=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[a/2-100+l,r/2-150+h]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),k.blockUI&&k.blockUI(this.dpDiv),k.data(this._dialogInput[0],u,c),this},_destroyDatepicker:function(t){var e,i=k(t),n=k.data(t,u);i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),k.removeData(t,u),"input"===e?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==e&&"span"!==e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,i,n=k(e),s=k.data(e,u);n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i,n=k(e),s=k.data(e,u);n.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((i=n.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e<this._disabledInputs.length;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(t){try{return k.data(t,u)}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(t,e,i){var n,s,o,a,r=this._getInst(t);if(2===arguments.length&&"string"==typeof e)return"defaults"===e?k.extend({},k.datepicker._defaults):r?"all"===e?k.extend({},r.settings):this._get(r,e):null;n=e||{},"string"==typeof e&&((n={})[e]=i),r&&(this._curInst===r&&this._hideDatepicker(),s=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(r,"min"),a=this._getMinMaxDate(r,"max"),d(r.settings,n),null!==o&&n.dateFormat!==l&&n.minDate===l&&(r.settings.minDate=this._formatDate(r,o)),null!==a&&n.dateFormat!==l&&n.maxDate===l&&(r.settings.maxDate=this._formatDate(r,a)),"disabled"in n&&(n.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(k(t),r),this._autoSize(r),this._setDate(r,s),this._updateAlternate(r),this._updateDatepicker(r))},_changeDatepicker:function(t,e,i){this._optionDatepicker(t,e,i)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var i=this._getInst(t);i&&(this._setDate(i,e),this._updateDatepicker(i),this._updateAlternate(i))},_getDateDatepicker:function(t,e){var i=this._getInst(t);return i&&!i.inline&&this._setDateFromField(i,e),i?this._getDate(i):null},_doKeyDown:function(t){var e,i,n,s=k.datepicker._getInst(t.target),o=!0,a=s.dpDiv.is(".ui-datepicker-rtl");if(s._keyEvent=!0,k.datepicker._datepickerShowing)switch(t.keyCode){case 9:k.datepicker._hideDatepicker(),o=!1;break;case 13:return(n=k("td."+k.datepicker._dayOverClass+":not(."+k.datepicker._currentClass+")",s.dpDiv))[0]&&k.datepicker._selectDay(t.target,s.selectedMonth,s.selectedYear,n[0]),(e=k.datepicker._get(s,"onSelect"))?(i=k.datepicker._formatDate(s),e.apply(s.input?s.input[0]:null,[i,s])):k.datepicker._hideDatepicker(),!1;case 27:k.datepicker._hideDatepicker();break;case 33:k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(s,"stepBigMonths"):-k.datepicker._get(s,"stepMonths"),"M");break;case 34:k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(s,"stepBigMonths"):+k.datepicker._get(s,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&k.datepicker._clearDate(t.target),o=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&k.datepicker._gotoToday(t.target),o=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,a?1:-1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?-k.datepicker._get(s,"stepBigMonths"):-k.datepicker._get(s,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,-7,"D"),o=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,a?-1:1,"D"),o=t.ctrlKey||t.metaKey,t.originalEvent.altKey&&k.datepicker._adjustDate(t.target,t.ctrlKey?+k.datepicker._get(s,"stepBigMonths"):+k.datepicker._get(s,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&k.datepicker._adjustDate(t.target,7,"D"),o=t.ctrlKey||t.metaKey;break;default:o=!1}else 36===t.keyCode&&t.ctrlKey?k.datepicker._showDatepicker(this):o=!1;o&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var e,i,n=k.datepicker._getInst(t.target);if(k.datepicker._get(n,"constrainInput"))return e=k.datepicker._possibleChars(k.datepicker._get(n,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!e||-1<e.indexOf(i)},_doKeyUp:function(t){var e=k.datepicker._getInst(t.target);if(e.input.val()!==e.lastVal)try{k.datepicker.parseDate(k.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,k.datepicker._getFormatConfig(e))&&(k.datepicker._setDateFromField(e),k.datepicker._updateAlternate(e),k.datepicker._updateDatepicker(e))}catch(t){}return!0},_showDatepicker:function(t){var e,i,n,s,o,a,r;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=k("input",t.parentNode)[0]),k.datepicker._isDisabledDatepicker(t)||k.datepicker._lastInput===t)||(e=k.datepicker._getInst(t),k.datepicker._curInst&&k.datepicker._curInst!==e&&(k.datepicker._curInst.dpDiv.stop(!0,!0),e&&k.datepicker._datepickerShowing&&k.datepicker._hideDatepicker(k.datepicker._curInst.input[0])),!1!==(n=(i=k.datepicker._get(e,"beforeShow"))?i.apply(t,[t,e]):{})&&(d(e.settings,n),e.lastVal=null,k.datepicker._lastInput=t,k.datepicker._setDateFromField(e),k.datepicker._inDialog&&(t.value=""),k.datepicker._pos||(k.datepicker._pos=k.datepicker._findPos(t),k.datepicker._pos[1]+=t.offsetHeight),s=!1,k(t).parents().each(function(){return!(s|="fixed"===k(this).css("position"))}),o={left:k.datepicker._pos[0],top:k.datepicker._pos[1]},k.datepicker._pos=null,e.dpDiv.empty(),e.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),k.datepicker._updateDatepicker(e),o=k.datepicker._checkOffset(e,o,s),e.dpDiv.css({position:k.datepicker._inDialog&&k.blockUI?"static":s?"fixed":"absolute",display:"none",left:o.left+"px",top:o.top+"px"}),e.inline||(a=k.datepicker._get(e,"showAnim"),r=k.datepicker._get(e,"duration"),e.dpDiv.zIndex(k(t).zIndex()+1),k.datepicker._datepickerShowing=!0,k.effects&&k.effects.effect[a]?e.dpDiv.show(a,k.datepicker._get(e,"showOptions"),r):e.dpDiv[a||"show"](a?r:null),e.input.is(":visible")&&!e.input.is(":disabled")&&e.input.focus(),k.datepicker._curInst=e)))},_updateDatepicker:function(t){this.maxRows=4,(s=t).dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t),t.dpDiv.find("."+this._dayOverClass+" a").mouseover();var e,i=this._getNumberOfMonths(t),n=i[1];t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&t.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),t.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===k.datepicker._curInst&&k.datepicker._datepickerShowing&&t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&t.input[0]!==document.activeElement&&t.input.focus(),t.yearshtml&&(e=t.yearshtml,setTimeout(function(){e===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),e=t.yearshtml=null},0))},_getBorders:function(t){var e=function(t){return{thin:1,medium:2,thick:3}[t]||t};return[parseFloat(e(t.css("border-left-width"))),parseFloat(e(t.css("border-top-width")))]},_checkOffset:function(t,e,i){var n=t.dpDiv.outerWidth(),s=t.dpDiv.outerHeight(),o=t.input?t.input.outerWidth():0,a=t.input?t.input.outerHeight():0,r=document.documentElement.clientWidth+(i?0:k(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:k(document).scrollTop());return e.left-=this._get(t,"isRTL")?n-o:0,e.left-=i&&e.left===t.input.offset().left?k(document).scrollLeft():0,e.top-=i&&e.top===t.input.offset().top+a?k(document).scrollTop():0,e.left-=Math.min(e.left,e.left+n>r&&n<r?Math.abs(e.left+n-r):0),e.top-=Math.min(e.top,e.top+s>l&&s<l?Math.abs(s+a):0),e},_findPos:function(t){for(var e,i=this._getInst(t),n=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||k.expr.filters.hidden(t));)t=t[n?"previousSibling":"nextSibling"];return[(e=k(t).offset()).left,e.top]},_hideDatepicker:function(t){var e,i,n,s,o=this._curInst;!o||t&&o!==k.data(t,u)||this._datepickerShowing&&(e=this._get(o,"showAnim"),i=this._get(o,"duration"),n=function(){k.datepicker._tidyDialog(o)},k.effects&&(k.effects.effect[e]||k.effects[e])?o.dpDiv.hide(e,k.datepicker._get(o,"showOptions"),i,n):o.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,n),e||n(),this._datepickerShowing=!1,(s=this._get(o,"onClose"))&&s.apply(o.input?o.input[0]:null,[o.input?o.input.val():"",o]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),k.blockUI&&(k.unblockUI(),k("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(k.datepicker._curInst){var e=k(t.target),i=k.datepicker._getInst(e[0]);(e[0].id===k.datepicker._mainDivId||0!==e.parents("#"+k.datepicker._mainDivId).length||e.hasClass(k.datepicker.markerClassName)||e.closest("."+k.datepicker._triggerClass).length||!k.datepicker._datepickerShowing||k.datepicker._inDialog&&k.blockUI)&&(!e.hasClass(k.datepicker.markerClassName)||k.datepicker._curInst===i)||k.datepicker._hideDatepicker()}},_adjustDate:function(t,e,i){var n=k(t),s=this._getInst(n[0]);this._isDisabledDatepicker(n[0])||(this._adjustInstDate(s,e+("M"===i?this._get(s,"showCurrentAtPos"):0),i),this._updateDatepicker(s))},_gotoToday:function(t){var e,i=k(t),n=this._getInst(i[0]);this._get(n,"gotoCurrent")&&n.currentDay?(n.selectedDay=n.currentDay,n.drawMonth=n.selectedMonth=n.currentMonth,n.drawYear=n.selectedYear=n.currentYear):(e=new Date,n.selectedDay=e.getDate(),n.drawMonth=n.selectedMonth=e.getMonth(),n.drawYear=n.selectedYear=e.getFullYear()),this._notifyChange(n),this._adjustDate(i)},_selectMonthYear:function(t,e,i){var n=k(t),s=this._getInst(n[0]);s["selected"+("M"===i?"Month":"Year")]=s["draw"+("M"===i?"Month":"Year")]=parseInt(e.options[e.selectedIndex].value,10),this._notifyChange(s),this._adjustDate(n)},_selectDay:function(t,e,i,n){var s,o=k(t);k(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((s=this._getInst(o[0])).selectedDay=s.currentDay=k("a",n).html(),s.selectedMonth=s.currentMonth=e,s.selectedYear=s.currentYear=i,this._selectDate(t,this._formatDate(s,s.currentDay,s.currentMonth,s.currentYear)))},_clearDate:function(t){var e=k(t);this._selectDate(e,"")},_selectDate:function(t,e){var i,n=k(t),s=this._getInst(n[0]);e=null!=e?e:this._formatDate(s),s.input&&s.input.val(e),this._updateAlternate(s),(i=this._get(s,"onSelect"))?i.apply(s.input?s.input[0]:null,[e,s]):s.input&&s.input.trigger("change"),s.inline?this._updateDatepicker(s):(this._hideDatepicker(),this._lastInput=s.input[0],"object"!=typeof s.input[0]&&s.input.focus(),this._lastInput=null)},_updateAlternate:function(t){var e,i,n,s=this._get(t,"altField");s&&(e=this._get(t,"altFormat")||this._get(t,"dateFormat"),i=this._getDate(t),n=this.formatDate(e,i,this._getFormatConfig(t)),k(s).each(function(){k(this).val(n)}))},noWeekends:function(t){var e=t.getDay();return[0<e&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(i,o,t){if(null==i||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?o.toString():o+""))return null;var n,e,s,a,r=0,l=(t?t.shortYearCutoff:null)||this._defaults.shortYearCutoff,h="string"!=typeof l?l:(new Date).getFullYear()%100+parseInt(l,10),c=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,u=(t?t.dayNames:null)||this._defaults.dayNames,d=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,p=(t?t.monthNames:null)||this._defaults.monthNames,f=-1,g=-1,m=-1,v=-1,b=!1,y=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e},_=function(t){var e=y(t),i=new RegExp("^\\d{1,"+("@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2)+"}"),n=o.substring(r).match(i);if(!n)throw"Missing number at position "+r;return r+=n[0].length,parseInt(n[0],10)},w=function(t,e,i){var n=-1,s=k.map(y(t)?i:e,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(k.each(s,function(t,e){var i=e[1];if(o.substr(r,i.length).toLowerCase()===i.toLowerCase())return n=e[0],r+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+r},x=function(){if(o.charAt(r)!==i.charAt(n))throw"Unexpected literal at position "+r;r++};for(n=0;n<i.length;n++)if(b)"'"!==i.charAt(n)||y("'")?x():b=!1;else switch(i.charAt(n)){case"d":m=_("d");break;case"D":w("D",c,u);break;case"o":v=_("o");break;case"m":g=_("m");break;case"M":g=w("M",d,p);break;case"y":f=_("y");break;case"@":f=(a=new Date(_("@"))).getFullYear(),g=a.getMonth()+1,m=a.getDate();break;case"!":f=(a=new Date((_("!")-this._ticksTo1970)/1e4)).getFullYear(),g=a.getMonth()+1,m=a.getDate();break;case"'":y("'")?x():b=!0;break;default:x()}if(r<o.length&&(s=o.substr(r),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=h?0:-100)),-1<v)for(g=1,m=v;;){if(m<=(e=this._getDaysInMonth(f,g-1)))break;g++,m-=e}if((a=this._daylightSavingAdjust(new Date(f,g-1,m))).getFullYear()!==f||a.getMonth()+1!==g||a.getDate()!==m)throw"Invalid date";return a},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(i,t,e){if(!t)return"";var n,s=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,o=(e?e.dayNames:null)||this._defaults.dayNames,a=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,r=(e?e.monthNames:null)||this._defaults.monthNames,l=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e},h=function(t,e,i){var n=""+e;if(l(t))for(;n.length<i;)n="0"+n;return n},c=function(t,e,i,n){return l(t)?n[e]:i[e]},u="",d=!1;if(t)for(n=0;n<i.length;n++)if(d)"'"!==i.charAt(n)||l("'")?u+=i.charAt(n):d=!1;else switch(i.charAt(n)){case"d":u+=h("d",t.getDate(),2);break;case"D":u+=c("D",t.getDay(),s,o);break;case"o":u+=h("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":u+=h("m",t.getMonth()+1,2);break;case"M":u+=c("M",t.getMonth(),a,r);break;case"y":u+=l("y")?t.getFullYear():(t.getYear()%100<10?"0":"")+t.getYear()%100;break;case"@":u+=t.getTime();break;case"!":u+=1e4*t.getTime()+this._ticksTo1970;break;case"'":l("'")?u+="'":d=!0;break;default:u+=i.charAt(n)}return u},_possibleChars:function(i){var n,t="",e=!1,s=function(t){var e=n+1<i.length&&i.charAt(n+1)===t;return e&&n++,e};for(n=0;n<i.length;n++)if(e)"'"!==i.charAt(n)||s("'")?t+=i.charAt(n):e=!1;else switch(i.charAt(n)){case"d":case"m":case"y":case"@":t+="0123456789";break;case"D":case"M":return null;case"'":s("'")?t+="'":e=!0;break;default:t+=i.charAt(n)}return t},_get:function(t,e){return t.settings[e]!==l?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var i=this._get(t,"dateFormat"),n=t.lastVal=t.input?t.input.val():null,s=this._getDefaultDate(t),o=s,a=this._getFormatConfig(t);try{o=this.parseDate(i,n,a)||s}catch(t){n=e?"":n}t.selectedDay=o.getDate(),t.drawMonth=t.selectedMonth=o.getMonth(),t.drawYear=t.selectedYear=o.getFullYear(),t.currentDay=n?o.getDate():0,t.currentMonth=n?o.getMonth():0,t.currentYear=n?o.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(r,t,e){var i,n,s=null==t||""===t?e:"string"==typeof t?function(t){try{return k.datepicker.parseDate(k.datepicker._get(r,"dateFormat"),t,k.datepicker._getFormatConfig(r))}catch(t){}for(var e=(t.toLowerCase().match(/^c/)?k.datepicker._getDate(r):null)||new Date,i=e.getFullYear(),n=e.getMonth(),s=e.getDate(),o=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,a=o.exec(t);a;){switch(a[2]||"d"){case"d":case"D":s+=parseInt(a[1],10);break;case"w":case"W":s+=7*parseInt(a[1],10);break;case"m":case"M":n+=parseInt(a[1],10),s=Math.min(s,k.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(a[1],10),s=Math.min(s,k.datepicker._getDaysInMonth(i,n))}a=o.exec(t)}return new Date(i,n,s)}(t):"number"==typeof t?isNaN(t)?e:(i=t,(n=new Date).setDate(n.getDate()+i),n):new Date(t.getTime());return(s=s&&"Invalid Date"===s.toString()?e:s)&&(s.setHours(0),s.setMinutes(0),s.setSeconds(0),s.setMilliseconds(0)),this._daylightSavingAdjust(s)},_daylightSavingAdjust:function(t){return t?(t.setHours(12<t.getHours()?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),s===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(t){var e=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){window["DP_jQuery_"+n].datepicker._adjustDate(i,-e,"M")},next:function(){window["DP_jQuery_"+n].datepicker._adjustDate(i,+e,"M")},hide:function(){window["DP_jQuery_"+n].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+n].datepicker._gotoToday(i)},selectDay:function(){return window["DP_jQuery_"+n].datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return window["DP_jQuery_"+n].datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return window["DP_jQuery_"+n].datepicker._selectMonthYear(i,this,"Y"),!1}};k(this).bind(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,s,o,a,r,l,h,c,u,d,p,f,g,m,v,b,y,_,w,x,k,C,D,T,N,S,M,I,P,E,A,H,z,W,O,j,F,L=new Date,R=this._daylightSavingAdjust(new Date(L.getFullYear(),L.getMonth(),L.getDate())),B=this._get(t,"isRTL"),q=this._get(t,"showButtonPanel"),Y=this._get(t,"hideIfNoPrevNext"),$=this._get(t,"navigationAsDateFormat"),U=this._getNumberOfMonths(t),K=this._get(t,"showCurrentAtPos"),X=this._get(t,"stepMonths"),V=1!==U[0]||1!==U[1],Q=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),Z=t.drawMonth-K,tt=t.drawYear;if(Z<0&&(Z+=12,tt--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=G&&e<G?G:e;this._daylightSavingAdjust(new Date(tt,Z,1))>e;)--Z<0&&(Z=11,tt--);for(t.drawMonth=Z,t.drawYear=tt,i=this._get(t,"prevText"),i=$?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,Z-X,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,Z)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"e":"w")+"'>"+i+"</span></a>":Y?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"e":"w")+"'>"+i+"</span></a>",s=this._get(t,"nextText"),s=$?this.formatDate(s,this._daylightSavingAdjust(new Date(tt,Z+X,1)),this._getFormatConfig(t)):s,o=this._canAdjustMonth(t,1,tt,Z)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"w":"e")+"'>"+s+"</span></a>":Y?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+s+"'><span class='ui-icon ui-icon-circle-triangle-"+(B?"w":"e")+"'>"+s+"</span></a>",a=this._get(t,"currentText"),r=this._get(t,"gotoCurrent")&&t.currentDay?Q:R,a=$?this.formatDate(a,r,this._getFormatConfig(t)):a,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",h=q?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(B?l:"")+(this._isInRange(t,r)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"</button>":"")+(B?"":l)+"</div>":"",c=parseInt(this._get(t,"firstDay"),10),c=isNaN(c)?0:c,u=this._get(t,"showWeek"),d=this._get(t,"dayNames"),p=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),b=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),_="",x=0;x<U[0];x++){for(k="",this.maxRows=4,C=0;C<U[1];C++){if(D=this._daylightSavingAdjust(new Date(tt,Z,t.selectedDay)),T=" ui-corner-all",N="",V){if(N+="<div class='ui-datepicker-group",1<U[1])switch(C){case 0:N+=" ui-datepicker-group-first",T=" ui-corner-"+(B?"right":"left");break;case U[1]-1:N+=" ui-datepicker-group-last",T=" ui-corner-"+(B?"left":"right");break;default:N+=" ui-datepicker-group-middle",T=""}N+="'>"}for(N+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+T+"'>"+(/all|left/.test(T)&&0===x?B?o:n:"")+(/all|right/.test(T)&&0===x?B?n:o:"")+this._generateMonthYearHeader(t,Z,tt,G,J,0<x||0<C,f,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",S=u?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",w=0;w<7;w++)S+="<th"+(5<=(w+c+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[M=(w+c)%7]+"'>"+p[M]+"</span></th>";for(N+=S+"</tr></thead><tbody>",I=this._getDaysInMonth(tt,Z),tt===t.selectedYear&&Z===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,I)),P=(this._getFirstDayOfMonth(tt,Z)-c+7)%7,E=Math.ceil((P+I)/7),A=V&&this.maxRows>E?this.maxRows:E,this.maxRows=A,H=this._daylightSavingAdjust(new Date(tt,Z,1-P)),z=0;z<A;z++){for(N+="<tr>",W=u?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(H)+"</td>":"",w=0;w<7;w++)O=m?m.apply(t.input?t.input[0]:null,[H]):[!0,""],F=(j=H.getMonth()!==Z)&&!b||!O[0]||G&&H<G||J&&J<H,W+="<td class='"+(5<=(w+c+6)%7?" ui-datepicker-week-end":"")+(j?" ui-datepicker-other-month":"")+(H.getTime()===D.getTime()&&Z===t.selectedMonth&&t._keyEvent||y.getTime()===H.getTime()&&y.getTime()===D.getTime()?" "+this._dayOverClass:"")+(F?" "+this._unselectableClass+" ui-state-disabled":"")+(j&&!v?"":" "+O[1]+(H.getTime()===Q.getTime()?" "+this._currentClass:"")+(H.getTime()===R.getTime()?" ui-datepicker-today":""))+"'"+(j&&!v||!O[2]?"":" title='"+O[2].replace(/'/g,"'")+"'")+(F?"":" data-handler='selectDay' data-event='click' data-month='"+H.getMonth()+"' data-year='"+H.getFullYear()+"'")+">"+(j&&!v?" ":F?"<span class='ui-state-default'>"+H.getDate()+"</span>":"<a class='ui-state-default"+(H.getTime()===R.getTime()?" ui-state-highlight":"")+(H.getTime()===Q.getTime()?" ui-state-active":"")+(j?" ui-priority-secondary":"")+"' href='#'>"+H.getDate()+"</a>")+"</td>",H.setDate(H.getDate()+1),H=this._daylightSavingAdjust(H);N+=W+"</tr>"}11<++Z&&(Z=0,tt++),k+=N+="</tbody></table>"+(V?"</div>"+(0<U[0]&&C===U[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}_+=k}return _+=h,t._keyEvent=!1,_},_generateMonthYearHeader:function(t,e,i,n,s,o,a,r){var l,h,c,u,d,p,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),b=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",_="";if(o||!m)_+="<span class='ui-datepicker-month'>"+a[e]+"</span>";else{for(l=n&&n.getFullYear()===i,h=s&&s.getFullYear()===i,_+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",c=0;c<12;c++)(!l||c>=n.getMonth())&&(!h||c<=s.getMonth())&&(_+="<option value='"+c+"'"+(c===e?" selected='selected'":"")+">"+r[c]+"</option>");_+="</select>"}if(b||(y+=_+(!o&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!v)y+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(u=this._get(t,"yearRange").split(":"),d=(new Date).getFullYear(),f=(p=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(e)?d:e})(u[0]),g=Math.max(f,p(u[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=s?Math.min(g,s.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";f<=g;f++)t.yearshtml+="<option value='"+f+"'"+(f===i?" selected='selected'":"")+">"+f+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}return y+=this._get(t,"yearSuffix"),b&&(y+=(!o&&m&&v?"":" ")+_),y+="</div>"},_adjustInstDate:function(t,e,i){var n=t.drawYear+("Y"===i?e:0),s=t.drawMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,s))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,s,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),s=i&&e<i?i:e;return n&&n<s?n:s},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var s=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(e<0?e:s[0]*s[1]),1));return e<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,s=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,r=null,l=this._get(t,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),r=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(r+=n)),(!s||e.getTime()>=s.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!r||e.getFullYear()<=r)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),k.fn.datepicker=function(t){if(!this.length)return this;k.datepicker.initialized||(k(document).mousedown(k.datepicker._checkExternalClick),k.datepicker.initialized=!0),0===k("#"+k.datepicker._mainDivId).length&&k("body").append(k.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this].concat(e)):k.datepicker._attachDatepicker(this,t)}):k.datepicker["_"+t+"Datepicker"].apply(k.datepicker,[this[0]].concat(e))},k.datepicker=new t,k.datepicker.initialized=!1,k.datepicker.uuid=(new Date).getTime(),k.datepicker.version="1.10.2",window["DP_jQuery_"+n]=k}(jQuery),function(a,t){var o={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},r={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};a.widget("ui.dialog",{version:"1.10.2",options:{appendTo:"body",autoOpen:!0,buttons:[],closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(t){var e=a(this).css(t).offset().top;e<0&&a(this).css("top",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),this.options.title=this.options.title||this.originalTitle,this._createWrapper(),this.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(this.uiDialog),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&a.fn.draggable&&this._makeDraggable(),this.options.resizable&&a.fn.resizable&&this._makeResizable(),this._isOpen=!1},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?a(t):this.document.find(t||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._destroyOverlay(),this.element.removeUniqueId().removeClass("ui-dialog-content ui-widget-content").css(this.originalCss).detach(),this.uiDialog.stop(!0,!0).remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:a.noop,enable:a.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger("beforeClose",t)&&(this._isOpen=!1,this._destroyOverlay(),this.opener.filter(":focusable").focus().length||a(this.document[0].activeElement).blur(),this._hide(this.uiDialog,this.options.hide,function(){e._trigger("close",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!!this.uiDialog.nextAll(":visible").insertBefore(this.uiDialog).length;return i&&!e&&this._trigger("focus",t),i},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=a(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger("focus")}),this._trigger("open"))},_focusTabbable:function(){var t=this.element.find("[autofocus]");t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).focus()},_keepFocus:function(t){function e(){var t=this.document[0].activeElement;this.uiDialog[0]===t||a.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=a("<div>").addClass("ui-dialog ui-widget ui-widget-content ui-corner-all ui-front "+this.options.dialogClass).hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===a.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);if(t.keyCode===a.ui.keyCode.TAB){var e=this.uiDialog.find(":tabbable"),i=e.filter(":first"),n=e.filter(":last");t.target!==n[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(n.focus(1),t.preventDefault()):(i.focus(1),t.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=a("<div>").addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(this.uiDialog),this._on(this.uiDialogTitlebar,{mousedown:function(t){a(t.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.focus()}}),this.uiDialogTitlebarClose=a("<button></button>").button({label:this.options.closeText,icons:{primary:"ui-icon-closethick"},text:!1}).addClass("ui-dialog-titlebar-close").appendTo(this.uiDialogTitlebar),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=a("<span>").uniqueId().addClass("ui-dialog-title").prependTo(this.uiDialogTitlebar),this._title(t),this.uiDialog.attr({"aria-labelledby":t.attr("id")})},_title:function(t){this.options.title||t.html(" "),t.text(this.options.title)},_createButtonPane:function(){this.uiDialogButtonPane=a("<div>").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),this.uiButtonSet=a("<div>").addClass("ui-dialog-buttonset").appendTo(this.uiDialogButtonPane),this._createButtons()},_createButtons:function(){var s=this,t=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),a.isEmptyObject(t)||a.isArray(t)&&!t.length?this.uiDialog.removeClass("ui-dialog-buttons"):(a.each(t,function(t,e){var i,n;e=a.isFunction(e)?{click:e,text:t}:e,e=a.extend({type:"button"},e),i=e.click,e.click=function(){i.apply(s.element[0],arguments)},n={icons:e.icons,text:e.showText},delete e.icons,delete e.showText,a("<button></button>",e).button(n).appendTo(s.uiButtonSet)}),this.uiDialog.addClass("ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var i=this,n=this.options;function s(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){a(this).addClass("ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",t,s(e))},drag:function(t,e){i._trigger("drag",t,s(e))},stop:function(t,e){n.position=[e.position.left-i.document.scrollLeft(),e.position.top-i.document.scrollTop()],a(this).removeClass("ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",t,s(e))}})},_makeResizable:function(){var i=this,n=this.options,t=n.resizable,e=this.uiDialog.css("position"),s="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";function o(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:n.maxWidth,maxHeight:n.maxHeight,minWidth:n.minWidth,minHeight:this._minHeight(),handles:s,start:function(t,e){a(this).addClass("ui-dialog-resizing"),i._blockFrames(),i._trigger("resizeStart",t,o(e))},resize:function(t,e){i._trigger("resize",t,o(e))},stop:function(t,e){n.height=a(this).height(),n.width=a(this).width(),a(this).removeClass("ui-dialog-resizing"),i._unblockFrames(),i._trigger("resizeStop",t,o(e))}}).css("position",e)},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,n=!1,s={};a.each(t,function(t,e){i._setOption(t,e),t in o&&(n=!0),t in r&&(s[t]=e)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i,n,s=this.uiDialog;"dialogClass"===t&&s.removeClass(this.options.dialogClass).addClass(e),"disabled"!==t&&(this._super(t,e),"appendTo"===t&&this.uiDialog.appendTo(this._appendTo()),"buttons"===t&&this._createButtons(),"closeText"===t&&this.uiDialogTitlebarClose.button({label:""+e}),"draggable"===t&&((i=s.is(":data(ui-draggable)"))&&!e&&s.draggable("destroy"),!i&&e&&this._makeDraggable()),"position"===t&&this._position(),"resizable"===t&&((n=s.is(":data(ui-resizable)"))&&!e&&s.resizable("destroy"),n&&"string"==typeof e&&s.resizable("option","handles",e),n||!1===e||this._makeResizable()),"title"===t&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),t=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),e=Math.max(0,n.minHeight-t),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-t):"none","auto"===n.height?this.element.css({minHeight:e,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var t=a(this);return a("<div>").css({position:"absolute",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!a(t.target).closest(".ui-dialog").length||!!a(t.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=this,i=this.widgetFullName;a.ui.dialog.overlayInstances||this._delay(function(){a.ui.dialog.overlayInstances&&this.document.bind("focusin.dialog",function(t){e._allowInteraction(t)||(t.preventDefault(),a(".ui-dialog:visible:last .ui-dialog-content").data(i)._focusTabbable())})}),this.overlay=a("<div>").addClass("ui-widget-overlay ui-front").appendTo(this._appendTo()),this._on(this.overlay,{mousedown:"_keepFocus"}),a.ui.dialog.overlayInstances++}},_destroyOverlay:function(){this.options.modal&&this.overlay&&(a.ui.dialog.overlayInstances--,a.ui.dialog.overlayInstances||this.document.unbind("focusin.dialog"),this.overlay.remove(),this.overlay=null)}}),a.ui.dialog.overlayInstances=0,!1!==a.uiBackCompat&&a.widget("ui.dialog",a.ui.dialog,{_position:function(){var t,e=this.options.position,i=[],n=[0,0];e?(("string"==typeof e||"object"==typeof e&&"0"in e)&&(1===(i=e.split?e.split(" "):[e[0],e[1]]).length&&(i[1]=i[0]),a.each(["left","top"],function(t,e){+i[t]===i[t]&&(n[t]=i[t],i[t]=e)}),e={my:i[0]+(n[0]<0?n[0]:"+"+n[0])+" "+i[1]+(n[1]<0?n[1]:"+"+n[1]),at:i.join(" ")}),e=a.extend({},a.ui.dialog.prototype.options.position,e)):e=a.ui.dialog.prototype.options.position,(t=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.position(e),t||this.uiDialog.hide()}})}(jQuery),function(g,t){var m=/up|down|vertical/,v=/up|left|vertical|horizontal/;g.effects.effect.blind=function(t,e){var i,n,s,o=g(this),a=["position","top","bottom","left","right","height","width"],r=g.effects.setMode(o,t.mode||"hide"),l=t.direction||"up",h=m.test(l),c=h?"height":"width",u=h?"top":"left",d=v.test(l),p={},f="show"===r;o.parent().is(".ui-effects-wrapper")?g.effects.save(o.parent(),a):g.effects.save(o,a),o.show(),n=(i=g.effects.createWrapper(o).css({overflow:"hidden"}))[c](),s=parseFloat(i.css(u))||0,p[c]=f?n:0,d||(o.css(h?"bottom":"right",0).css(h?"top":"left","auto").css({position:"absolute"}),p[u]=f?s:n+s),f&&(i.css(c,0),d||i.css(u,s+n)),i.animate(p,{duration:t.duration,easing:t.easing,queue:!1,complete:function(){"hide"===r&&o.hide(),g.effects.restore(o,a),g.effects.removeWrapper(o),e()}})}}(jQuery),function(_,t){_.effects.effect.bounce=function(t,e){var i,n,s,o=_(this),a=["position","top","bottom","left","right","height","width"],r=_.effects.setMode(o,t.mode||"effect"),l="hide"===r,h="show"===r,c=t.direction||"up",u=t.distance,d=t.times||5,p=2*d+(h||l?1:0),f=t.duration/p,g=t.easing,m="up"===c||"down"===c?"top":"left",v="up"===c||"left"===c,b=o.queue(),y=b.length;for((h||l)&&a.push("opacity"),_.effects.save(o,a),o.show(),_.effects.createWrapper(o),u||(u=o["top"===m?"outerHeight":"outerWidth"]()/3),h&&((s={opacity:1})[m]=0,o.css("opacity",0).css(m,v?2*-u:2*u).animate(s,f,g)),l&&(u/=Math.pow(2,d-1)),i=(s={})[m]=0;i<d;i++)(n={})[m]=(v?"-=":"+=")+u,o.animate(n,f,g).animate(s,f,g),u=l?2*u:u/2;l&&((n={opacity:0})[m]=(v?"-=":"+=")+u,o.animate(n,f,g)),o.queue(function(){l&&o.hide(),_.effects.restore(o,a),_.effects.removeWrapper(o),e()}),1<y&&b.splice.apply(b,[1,0].concat(b.splice(y,p+1))),o.dequeue()}}(jQuery),function(d,t){d.effects.effect.clip=function(t,e){var i,n,s,o=d(this),a=["position","top","bottom","left","right","height","width"],r="show"===d.effects.setMode(o,t.mode||"hide"),l="vertical"===(t.direction||"vertical"),h=l?"height":"width",c=l?"top":"left",u={};d.effects.save(o,a),o.show(),i=d.effects.createWrapper(o).css({overflow:"hidden"}),s=(n="IMG"===o[0].tagName?i:o)[h](),r&&(n.css(h,0),n.css(c,s/2)),u[h]=r?s:0,u[c]=r?0:s/2,n.animate(u,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){r||o.hide(),d.effects.restore(o,a),d.effects.removeWrapper(o),e()}})}}(jQuery),function(u,t){u.effects.effect.drop=function(t,e){var i,n=u(this),s=["position","top","bottom","left","right","opacity","height","width"],o=u.effects.setMode(n,t.mode||"hide"),a="show"===o,r=t.direction||"left",l="up"===r||"down"===r?"top":"left",h="up"===r||"left"===r?"pos":"neg",c={opacity:a?1:0};u.effects.save(n,s),n.show(),u.effects.createWrapper(n),i=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0)/2,a&&n.css("opacity",0).css(l,"pos"===h?-i:i),c[l]=(a?"pos"===h?"+=":"-=":"pos"===h?"-=":"+=")+i,n.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),u.effects.restore(n,s),u.effects.removeWrapper(n),e()}})}}(jQuery),function(v,t){v.effects.effect.explode=function(t,e){var i,n,s,o,a,r,l=t.pieces?Math.round(Math.sqrt(t.pieces)):3,h=l,c=v(this),u="show"===v.effects.setMode(c,t.mode||"hide"),d=c.show().css("visibility","hidden").offset(),p=Math.ceil(c.outerWidth()/h),f=Math.ceil(c.outerHeight()/l),g=[];function m(){g.push(this),g.length===l*h&&function(){c.css({visibility:"visible"}),v(g).remove(),u||c.hide();e()}()}for(i=0;i<l;i++)for(o=d.top+i*f,r=i-(l-1)/2,n=0;n<h;n++)s=d.left+n*p,a=n-(h-1)/2,c.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:s+(u?a*p:0),top:o+(u?r*f:0),opacity:u?0:1}).animate({left:s+(u?0:a*p),top:o+(u?0:r*f),opacity:u?1:0},t.duration||500,t.easing,m)}}(jQuery),function(s,t){s.effects.effect.fade=function(t,e){var i=s(this),n=s.effects.setMode(i,t.mode||"toggle");i.animate({opacity:n},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}}(jQuery),function(v,t){v.effects.effect.fold=function(t,e){var i,n,s=v(this),o=["position","top","bottom","left","right","height","width"],a=v.effects.setMode(s,t.mode||"hide"),r="show"===a,l="hide"===a,h=t.size||15,c=/([0-9]+)%/.exec(h),u=!!t.horizFirst,d=r!==u,p=d?["width","height"]:["height","width"],f=t.duration/2,g={},m={};v.effects.save(s,o),s.show(),i=v.effects.createWrapper(s).css({overflow:"hidden"}),n=d?[i.width(),i.height()]:[i.height(),i.width()],c&&(h=parseInt(c[1],10)/100*n[l?0:1]),r&&i.css(u?{height:0,width:h}:{height:h,width:0}),g[p[0]]=r?n[0]:h,m[p[1]]=r?n[1]:0,i.animate(g,f,t.easing).animate(m,f,t.easing,function(){l&&s.hide(),v.effects.restore(s,o),v.effects.removeWrapper(s),e()})}}(jQuery),function(a,t){a.effects.effect.highlight=function(t,e){var i=a(this),n=["backgroundImage","backgroundColor","opacity"],s=a.effects.setMode(i,t.mode||"show"),o={backgroundColor:i.css("backgroundColor")};"hide"===s&&(o.opacity=0),a.effects.save(i,n),i.show().css({backgroundImage:"none",backgroundColor:t.color||"#ffff99"}).animate(o,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===s&&i.hide(),a.effects.restore(i,n),e()}})}}(jQuery),function(p,t){p.effects.effect.pulsate=function(t,e){var i,n=p(this),s=p.effects.setMode(n,t.mode||"show"),o="show"===s,a="hide"===s,r=o||"hide"===s,l=2*(t.times||5)+(r?1:0),h=t.duration/l,c=0,u=n.queue(),d=u.length;for(!o&&n.is(":visible")||(n.css("opacity",0).show(),c=1),i=1;i<l;i++)n.animate({opacity:c},h,t.easing),c=1-c;n.animate({opacity:c},h,t.easing),n.queue(function(){a&&n.hide(),e()}),1<d&&u.splice.apply(u,[1,0].concat(u.splice(d,l+1))),n.dequeue()}}(jQuery),function(b,t){b.effects.effect.puff=function(t,e){var i=b(this),n=b.effects.setMode(i,t.mode||"hide"),s="hide"===n,o=parseInt(t.percent,10)||150,a=o/100,r={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()};b.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:e,percent:s?o:100,from:s?r:{height:r.height*a,width:r.width*a,outerHeight:r.outerHeight*a,outerWidth:r.outerWidth*a}}),i.effect(t)},b.effects.effect.scale=function(t,e){var i=b(this),n=b.extend(!0,{},t),s=b.effects.setMode(i,t.mode||"effect"),o=parseInt(t.percent,10)||(0===parseInt(t.percent,10)?0:"hide"===s?0:100),a=t.direction||"both",r=t.origin,l={height:i.height(),width:i.width(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth()},h="horizontal"!==a?o/100:1,c="vertical"!==a?o/100:1;n.effect="size",n.queue=!1,n.complete=e,"effect"!==s&&(n.origin=r||["middle","center"],n.restore=!0),n.from=t.from||("show"===s?{height:0,width:0,outerHeight:0,outerWidth:0}:l),n.to={height:l.height*h,width:l.width*c,outerHeight:l.outerHeight*h,outerWidth:l.outerWidth*c},n.fade&&("show"===s&&(n.from.opacity=0,n.to.opacity=1),"hide"===s&&(n.from.opacity=1,n.to.opacity=0)),i.effect(n)},b.effects.effect.size=function(o,t){var e,i,a,r=b(this),n=["position","top","bottom","left","right","width","height","overflow","opacity"],l=["width","height","overflow"],s=["fontSize"],h=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=b.effects.setMode(r,o.mode||"effect"),d=o.restore||"effect"!==u,p=o.scale||"both",f=o.origin||["middle","center"],g=r.css("position"),m=d?n:["position","top","bottom","left","right","overflow","opacity"],v={height:0,width:0,outerHeight:0,outerWidth:0};"show"===u&&r.show(),e={height:r.height(),width:r.width(),outerHeight:r.outerHeight(),outerWidth:r.outerWidth()},"toggle"===o.mode&&"show"===u?(r.from=o.to||v,r.to=o.from||e):(r.from=o.from||("show"===u?v:e),r.to=o.to||("hide"===u?v:e)),a={from:{y:r.from.height/e.height,x:r.from.width/e.width},to:{y:r.to.height/e.height,x:r.to.width/e.width}},"box"!==p&&"both"!==p||(a.from.y!==a.to.y&&(m=m.concat(h),r.from=b.effects.setTransition(r,h,a.from.y,r.from),r.to=b.effects.setTransition(r,h,a.to.y,r.to)),a.from.x!==a.to.x&&(m=m.concat(c),r.from=b.effects.setTransition(r,c,a.from.x,r.from),r.to=b.effects.setTransition(r,c,a.to.x,r.to))),"content"!==p&&"both"!==p||a.from.y!==a.to.y&&(m=m.concat(s).concat(l),r.from=b.effects.setTransition(r,s,a.from.y,r.from),r.to=b.effects.setTransition(r,s,a.to.y,r.to)),b.effects.save(r,m),r.show(),b.effects.createWrapper(r),r.css("overflow","hidden").css(r.from),f&&(i=b.effects.getBaseline(f,e),r.from.top=(e.outerHeight-r.outerHeight())*i.y,r.from.left=(e.outerWidth-r.outerWidth())*i.x,r.to.top=(e.outerHeight-r.to.outerHeight)*i.y,r.to.left=(e.outerWidth-r.to.outerWidth)*i.x),r.css(r.from),"content"!==p&&"both"!==p||(h=h.concat(["marginTop","marginBottom"]).concat(s),c=c.concat(["marginLeft","marginRight"]),l=n.concat(h).concat(c),r.find("*[width]").each(function(){var t=b(this),e=t.height(),i=t.width(),n=t.outerHeight(),s=t.outerWidth();d&&b.effects.save(t,l),t.from={height:e*a.from.y,width:i*a.from.x,outerHeight:n*a.from.y,outerWidth:s*a.from.x},t.to={height:e*a.to.y,width:i*a.to.x,outerHeight:e*a.to.y,outerWidth:i*a.to.x},a.from.y!==a.to.y&&(t.from=b.effects.setTransition(t,h,a.from.y,t.from),t.to=b.effects.setTransition(t,h,a.to.y,t.to)),a.from.x!==a.to.x&&(t.from=b.effects.setTransition(t,c,a.from.x,t.from),t.to=b.effects.setTransition(t,c,a.to.x,t.to)),t.css(t.from),t.animate(t.to,o.duration,o.easing,function(){d&&b.effects.restore(t,l)})})),r.animate(r.to,{queue:!1,duration:o.duration,easing:o.easing,complete:function(){0===r.to.opacity&&r.css("opacity",r.from.opacity),"hide"===u&&r.hide(),b.effects.restore(r,m),d||("static"===g?r.css({position:"relative",top:r.to.top,left:r.to.left}):b.each(["top","left"],function(s,t){r.css(t,function(t,e){var i=parseInt(e,10),n=s?r.to.left:r.to.top;return"auto"===e?n+"px":i+n+"px"})})),b.effects.removeWrapper(r),t()}})}}(jQuery),function(b,t){b.effects.effect.shake=function(t,e){var i,n=b(this),s=["position","top","bottom","left","right","height","width"],o=b.effects.setMode(n,t.mode||"effect"),a=t.direction||"left",r=t.distance||20,l=t.times||3,h=2*l+1,c=Math.round(t.duration/h),u="up"===a||"down"===a?"top":"left",d="up"===a||"left"===a,p={},f={},g={},m=n.queue(),v=m.length;for(b.effects.save(n,s),n.show(),b.effects.createWrapper(n),p[u]=(d?"-=":"+=")+r,f[u]=(d?"+=":"-=")+2*r,g[u]=(d?"-=":"+=")+2*r,n.animate(p,c,t.easing),i=1;i<l;i++)n.animate(f,c,t.easing).animate(g,c,t.easing);n.animate(f,c,t.easing).animate(p,c/2,t.easing).queue(function(){"hide"===o&&n.hide(),b.effects.restore(n,s),b.effects.removeWrapper(n),e()}),1<v&&m.splice.apply(m,[1,0].concat(m.splice(v,h+1))),n.dequeue()}}(jQuery),function(u,t){u.effects.effect.slide=function(t,e){var i,n=u(this),s=["position","top","bottom","left","right","width","height"],o=u.effects.setMode(n,t.mode||"show"),a="show"===o,r=t.direction||"left",l="up"===r||"down"===r?"top":"left",h="up"===r||"left"===r,c={};u.effects.save(n,s),n.show(),i=t.distance||n["top"===l?"outerHeight":"outerWidth"](!0),u.effects.createWrapper(n).css({overflow:"hidden"}),a&&n.css(l,h?isNaN(i)?"-"+i:-i:i),c[l]=(a?h?"+=":"-=":h?"-=":"+=")+i,n.animate(c,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){"hide"===o&&n.hide(),u.effects.restore(n,s),u.effects.removeWrapper(n),e()}})}}(jQuery),function(d,t){d.effects.effect.transfer=function(t,e){var i=d(this),n=d(t.to),s="fixed"===n.css("position"),o=d("body"),a=s?o.scrollTop():0,r=s?o.scrollLeft():0,l=n.offset(),h={top:l.top-a,left:l.left-r,height:n.innerHeight(),width:n.innerWidth()},c=i.offset(),u=d("<div class='ui-effects-transfer'></div>").appendTo(document.body).addClass(t.className).css({top:c.top-a,left:c.left-r,height:i.innerHeight(),width:i.innerWidth(),position:s?"fixed":"absolute"}).animate(h,t.duration,t.easing,function(){u.remove(),e()})}}(jQuery),function(l,t){l.widget("ui.menu",{version:"1.10.2",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-carat-1-e"},menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().addClass("ui-menu ui-widget ui-widget-content ui-corner-all").toggleClass("ui-menu-icons",!!this.element.find(".ui-icon").length).attr({role:this.options.role,tabIndex:0}).bind("click"+this.eventNamespace,l.proxy(function(t){this.options.disabled&&t.preventDefault()},this)),this.options.disabled&&this.element.addClass("ui-state-disabled").attr("aria-disabled","true"),this._on({"mousedown .ui-menu-item > a":function(t){t.preventDefault()},"click .ui-state-disabled > a":function(t){t.preventDefault()},"click .ui-menu-item:has(a)":function(t){var e=l(t.target).closest(".ui-menu-item");!this.mouseHandled&&e.not(".ui-state-disabled").length&&(this.mouseHandled=!0,this.select(t),e.has(".ui-menu").length?this.expand(t):this.element.is(":focus")||(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var e=l(t.currentTarget);e.siblings().children(".ui-state-active").removeClass("ui-state-active"),this.focus(t,e)},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var i=this.active||this.element.children(".ui-menu-item").eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){l.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(t)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){l(t.target).closest(".ui-menu").length||this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeClass("ui-menu ui-widget ui-widget-content ui-corner-all ui-menu-icons").removeAttr("role").removeAttr("tabIndex").removeAttr("aria-labelledby").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-disabled").removeUniqueId().show(),this.element.find(".ui-menu-item").removeClass("ui-menu-item").removeAttr("role").removeAttr("aria-disabled").children("a").removeUniqueId().removeClass("ui-corner-all ui-state-hover").removeAttr("tabIndex").removeAttr("role").removeAttr("aria-haspopup").children().each(function(){var t=l(this);t.data("ui-menu-submenu-carat")&&t.remove()}),this.element.find(".ui-menu-divider").removeClass("ui-menu-divider ui-widget-content")},_keydown:function(t){var e,i,n,s,o,a=!0;function r(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}switch(t.keyCode){case l.ui.keyCode.PAGE_UP:this.previousPage(t);break;case l.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case l.ui.keyCode.HOME:this._move("first","first",t);break;case l.ui.keyCode.END:this._move("last","last",t);break;case l.ui.keyCode.UP:this.previous(t);break;case l.ui.keyCode.DOWN:this.next(t);break;case l.ui.keyCode.LEFT:this.collapse(t);break;case l.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case l.ui.keyCode.ENTER:case l.ui.keyCode.SPACE:this._activate(t);break;case l.ui.keyCode.ESCAPE:this.collapse(t);break;default:a=!1,i=this.previousFilter||"",n=String.fromCharCode(t.keyCode),s=!1,clearTimeout(this.filterTimer),n===i?s=!0:n=i+n,o=new RegExp("^"+r(n),"i"),e=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(l(this).children("a").text())}),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(".ui-menu-item"):e).length||(n=String.fromCharCode(t.keyCode),o=new RegExp("^"+r(n),"i"),e=this.activeMenu.children(".ui-menu-item").filter(function(){return o.test(l(this).children("a").text())})),e.length?(this.focus(t,e),1<e.length?(this.previousFilter=n,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter):delete this.previousFilter}a&&t.preventDefault()},_activate:function(t){this.active.is(".ui-state-disabled")||(this.active.children("a[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var t,n=this.options.icons.submenu,e=this.element.find(this.options.menus);e.filter(":not(.ui-menu)").addClass("ui-menu ui-widget ui-widget-content ui-corner-all").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=l(this),e=t.prev("a"),i=l("<span>").addClass("ui-menu-icon ui-icon "+n).data("ui-menu-submenu-carat",!0);e.attr("aria-haspopup","true").prepend(i),t.attr("aria-labelledby",e.attr("id"))}),(t=e.add(this.element)).children(":not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","presentation").children("a").uniqueId().addClass("ui-corner-all").attr({tabIndex:-1,role:this._itemRole()}),t.children(":not(.ui-menu-item)").each(function(){var t=l(this);/[^\-\u2014\u2013\s]/.test(t.text())||t.addClass("ui-widget-content ui-menu-divider")}),t.children(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!l.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(t,e){"icons"===t&&this.element.find(".ui-menu-icon").removeClass(this.options.icons.submenu).addClass(e.submenu),this._super(t,e)},focus:function(t,e){var i,n;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),n=this.active.children("a").addClass("ui-state-focus"),this.options.role&&this.element.attr("aria-activedescendant",n.attr("id")),this.active.parent().closest(".ui-menu-item").children("a:first").addClass("ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(".ui-menu")).length&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(t){var e,i,n,s,o,a;this._hasScroll()&&(e=parseFloat(l.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(l.css(this.activeMenu[0],"paddingTop"))||0,n=t.offset().top-this.activeMenu.offset().top-e-i,s=this.activeMenu.scrollTop(),o=this.activeMenu.height(),a=t.height(),n<0?this.activeMenu.scrollTop(s+n):o<n+a&&this.activeMenu.scrollTop(s+n-o+a))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this.active.children("a").removeClass("ui-state-focus"),this.active=null,this._trigger("blur",t,{item:this.active}))},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(t){var e=l.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true"),t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(e)},collapseAll:function(e,i){clearTimeout(this.timer),this.timer=this._delay(function(){var t=i?this.element:l(e&&e.target).closest(this.element.find(".ui-menu"));t.length||(t=this.element),this._close(t),this.blur(e),this.activeMenu=t},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false").end().find("a.ui-state-active").removeClass("ui-state-active")},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").children(".ui-menu-item").first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,i){var n;this.active&&(n="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),n&&n.length&&this.active||(n=this.activeMenu.children(".ui-menu-item")[e]()),this.focus(i,n)},nextPage:function(t){var e,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(e=l(this)).offset().top-i-n<0}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item")[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var e,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(e=l(this)).offset().top-i+n}),this.focus(t,e)):this.focus(t,this.activeMenu.children(".ui-menu-item").first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||l(t.target).closest(".ui-menu-item");var e={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0),this._trigger("select",t,e)}})}(jQuery),function(x,t){x.ui=x.ui||{};var s,k=Math.max,C=Math.abs,D=Math.round,n=/left|center|right/,o=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,l=/%$/,h=x.fn.position;function T(t,e,i){return[parseFloat(t[0])*(l.test(t[0])?e/100:1),parseFloat(t[1])*(l.test(t[1])?i/100:1)]}function N(t,e){return parseInt(x.css(t,e),10)||0}x.position={scrollbarWidth:function(){if(void 0!==s)return s;var t,e,i=x("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),n=i.children()[0];return x("body").append(i),t=n.offsetWidth,i.css("overflow","scroll"),t===(e=n.offsetWidth)&&(e=i[0].clientWidth),i.remove(),s=t-e},getScrollInfo:function(t){var e=t.isWindow?"":t.element.css("overflow-x"),i=t.isWindow?"":t.element.css("overflow-y"),n="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:n?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=x.isWindow(e[0]);return{element:e,isWindow:i,offset:e.offset()||{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:i?e.width():e.outerWidth(),height:i?e.height():e.outerHeight()}}},x.fn.position=function(u){if(!u||!u.of)return h.apply(this,arguments);u=x.extend({},u);var d,p,f,g,m,t,e,i,v=x(u.of),b=x.position.getWithinInfo(u.within),y=x.position.getScrollInfo(b),_=(u.collision||"flip").split(" "),w={};return t=9===(i=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:x.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()},v[0].preventDefault&&(u.at="left top"),p=t.width,f=t.height,g=t.offset,m=x.extend({},g),x.each(["my","at"],function(){var t,e,i=(u[this]||"").split(" ");1===i.length&&(i=n.test(i[0])?i.concat(["center"]):o.test(i[0])?["center"].concat(i):["center","center"]),i[0]=n.test(i[0])?i[0]:"center",i[1]=o.test(i[1])?i[1]:"center",t=a.exec(i[0]),e=a.exec(i[1]),w[this]=[t?t[0]:0,e?e[0]:0],u[this]=[r.exec(i[0])[0],r.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===u.at[0]?m.left+=p:"center"===u.at[0]&&(m.left+=p/2),"bottom"===u.at[1]?m.top+=f:"center"===u.at[1]&&(m.top+=f/2),d=T(w.at,p,f),m.left+=d[0],m.top+=d[1],this.each(function(){var i,t,a=x(this),r=a.outerWidth(),l=a.outerHeight(),e=N(this,"marginLeft"),n=N(this,"marginTop"),s=r+e+N(this,"marginRight")+y.width,o=l+n+N(this,"marginBottom")+y.height,h=x.extend({},m),c=T(w.my,a.outerWidth(),a.outerHeight());"right"===u.my[0]?h.left-=r:"center"===u.my[0]&&(h.left-=r/2),"bottom"===u.my[1]?h.top-=l:"center"===u.my[1]&&(h.top-=l/2),h.left+=c[0],h.top+=c[1],x.support.offsetFractions||(h.left=D(h.left),h.top=D(h.top)),i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[_[t]]&&x.ui.position[_[t]][e](h,{targetWidth:p,targetHeight:f,elemWidth:r,elemHeight:l,collisionPosition:i,collisionWidth:s,collisionHeight:o,offset:[d[0]+c[0],d[1]+c[1]],my:u.my,at:u.at,within:b,elem:a})}),u.using&&(t=function(t){var e=g.left-h.left,i=e+p-r,n=g.top-h.top,s=n+f-l,o={target:{element:v,left:g.left,top:g.top,width:p,height:f},element:{element:a,left:h.left,top:h.top,width:r,height:l},horizontal:i<0?"left":0<e?"right":"center",vertical:s<0?"top":0<n?"bottom":"middle"};p<r&&C(e+i)<p&&(o.horizontal="center"),f<l&&C(n+s)<f&&(o.vertical="middle"),k(C(e),C(i))>k(C(n),C(s))?o.important="horizontal":o.important="vertical",u.using.call(this,t,o)}),a.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollLeft:n.offset.left,o=n.width,a=t.left-e.collisionPosition.marginLeft,r=s-a,l=a+e.collisionWidth-o-s;e.collisionWidth>o?0<r&&l<=0?(i=t.left+r+e.collisionWidth-o-s,t.left+=r-i):t.left=0<l&&r<=0?s:l<r?s+o-e.collisionWidth:s:0<r?t.left+=r:0<l?t.left-=l:t.left=k(t.left-a,t.left)},top:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,a=t.top-e.collisionPosition.marginTop,r=s-a,l=a+e.collisionHeight-o-s;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-s,t.top+=r-i):t.top=0<l&&r<=0?s:l<r?s+o-e.collisionHeight:s:0<r?t.top+=r:0<l?t.top-=l:t.top=k(t.top-a,t.top)}},flip:{left:function(t,e){var i,n,s=e.within,o=s.offset.left+s.scrollLeft,a=s.width,r=s.isWindow?s.scrollLeft:s.offset.left,l=t.left-e.collisionPosition.marginLeft,h=l-r,c=l+e.collisionWidth-a-r,u="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];h<0?((i=t.left+u+d+p+e.collisionWidth-a-o)<0||i<C(h))&&(t.left+=u+d+p):0<c&&(0<(n=t.left-e.collisionPosition.marginLeft+u+d+p-r)||C(n)<c)&&(t.left+=u+d+p)},top:function(t,e){var i,n,s=e.within,o=s.offset.top+s.scrollTop,a=s.height,r=s.isWindow?s.scrollTop:s.offset.top,l=t.top-e.collisionPosition.marginTop,h=l-r,c=l+e.collisionHeight-a-r,u="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,d="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,p=-2*e.offset[1];h<0?(n=t.top+u+d+p+e.collisionHeight-a-o,t.top+u+d+p>h&&(n<0||n<C(h))&&(t.top+=u+d+p)):0<c&&(i=t.top-e.collisionPosition.marginTop+u+d+p-r,t.top+u+d+p>c&&(0<i||C(i)<c)&&(t.top+=u+d+p))}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},function(){var t,e,i,n,s,o=document.getElementsByTagName("body")[0],a=document.createElement("div");for(s in t=document.createElement(o?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},o&&x.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"}),i)t.style[s]=i[s];t.appendChild(a),(e=o||document.documentElement).insertBefore(t,e.firstChild),a.style.cssText="position: absolute; left: 10.7432222px;",n=x(a).offset().left,x.support.offsetFractions=10<n&&n<11,t.innerHTML="",e.removeChild(t)}()}(jQuery),function(i,t){i.widget("ui.progressbar",{version:"1.10.2",options:{max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min}),this.valueDiv=i("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=i("<div class='ui-progressbar-overlay'></div>").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}(jQuery),function(c,t){c.widget("ui.slider",c.ui.mouse,{version:"1.10.2",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 t,e,i=this.options,n=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),s=[];for(e=i.values&&i.values.length||1,n.length>e&&(n.slice(e).remove(),n=n.slice(0,e)),t=n.length;t<e;t++)s.push("<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>");this.handles=n.add(c(s.join("")).appendTo(this.element)),this.handle=this.handles.eq(0),this.handles.each(function(t){c(this).data("ui-slider-handle-index",t)})},_createRange:function(){var t=this.options,e="";t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:c.isArray(t.values)&&(t.values=t.values.slice(0)):t.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=c("<div></div>").appendTo(this.element),e="ui-slider-range ui-widget-header ui-corner-all"),this.range.addClass(e+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:""))):this.range=c([])},_setupEvents:function(){var t=this.handles.add(this.range).filter("a");this._off(t),this._on(t,this._handleEvents),this._hoverable(t),this._focusable(t)},_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(t){var e,i,n,s,o,a,r,l=this,h=this.options;return!h.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(t){var e=Math.abs(i-l.values(t));(e<n||n===e&&(t===l._lastChangedValue||l.values(t)===h.min))&&(n=e,s=c(this),o=t)}),!1!==this._start(t,o)&&(this._mouseSliding=!0,this._handleIndex=o,s.addClass("ui-state-active").focus(),a=s.offset(),r=!c(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:t.pageX-a.left-s.width()/2,top:t.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,o,i),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,n,s,o;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),1<(n=i/e)&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),s=this._valueMax()-this._valueMin(),o=this._valueMin()+n*s,this._trimAlignValue(o)},_start:function(t,e){var i={handle:this.handles[e],value:this.value()};return this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("start",t,i)},_slide:function(t,e,i){var n,s,o;this.options.values&&this.options.values.length?(n=this.values(e?0:1),2===this.options.values.length&&!0===this.options.range&&(0===e&&n<i||1===e&&i<n)&&(i=n),i!==this.values(e)&&((s=this.values())[e]=i,o=this._trigger("slide",t,{handle:this.handles[e],value:i,values:s}),n=this.values(e?0:1),!1!==o&&this.values(e,i,!0))):i!==this.value()&&!1!==(o=this._trigger("slide",t,{handle:this.handles[e],value:i}))&&this.value(i)},_stop:function(t,e){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._trigger("stop",t,i)},_change:function(t,e){if(!this._keySliding&&!this._mouseSliding){var i={handle:this.handles[e],value:this.value()};this.options.values&&this.options.values.length&&(i.value=this.values(e),i.values=this.values()),this._lastChangedValue=e,this._trigger("change",t,i)}},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,e){var i,n,s;if(1<arguments.length)return this.options.values[t]=this._trimAlignValue(e),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!c.isArray(t))return this.options.values&&this.options.values.length?this._values(t):this.value();for(i=this.options.values,n=t,s=0;s<i.length;s+=1)i[s]=this._trimAlignValue(n[s]),this._change(null,s);this._refreshValue()},_setOption:function(t,e){var i,n=0;switch("range"===t&&!0===this.options.range&&("min"===e?(this.options.value=this._values(0),this.options.values=null):"max"===e&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),c.isArray(this.options.values)&&(n=this.options.values.length),c.Widget.prototype._setOption.apply(this,arguments),t){case"orientation":this._detectOrientation(),this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation),this._refreshValue();break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=0;i<n;i+=1)this._change(null,i);this._animateOff=!1;break;case"min":case"max":this._animateOff=!0,this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,n;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this.options.values&&this.options.values.length){for(i=this.options.values.slice(),n=0;n<i.length;n+=1)i[n]=this._trimAlignValue(i[n]);return i}return[]},_trimAlignValue:function(t){if(t<=this._valueMin())return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=0<this.options.step?this.options.step:1,i=(t-this._valueMin())%e,n=t-i;return 2*Math.abs(i)>=e&&(n+=0<i?e:-e),parseFloat(n.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var e,i,t,n,s,o=this.options.range,a=this.options,r=this,l=!this._animateOff&&a.animate,h={};this.options.values&&this.options.values.length?this.handles.each(function(t){i=(r.values(t)-r._valueMin())/(r._valueMax()-r._valueMin())*100,h["horizontal"===r.orientation?"left":"bottom"]=i+"%",c(this).stop(1,1)[l?"animate":"css"](h,a.animate),!0===r.options.range&&("horizontal"===r.orientation?(0===t&&r.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},a.animate),1===t&&r.range[l?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===t&&r.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},a.animate),1===t&&r.range[l?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(t=this.value(),n=this._valueMin(),s=this._valueMax(),i=s!==n?(t-n)/(s-n)*100:0,h["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](h,a.animate),"min"===o&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},a.animate),"max"===o&&"horizontal"===this.orientation&&this.range[l?"animate":"css"]({width:100-i+"%"},{queue:!1,duration:a.animate}),"min"===o&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},a.animate),"max"===o&&"vertical"===this.orientation&&this.range[l?"animate":"css"]({height:100-i+"%"},{queue:!1,duration:a.animate}))},_handleEvents:{keydown:function(t){var e,i,n,s=c(t.target).data("ui-slider-handle-index");switch(t.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,c(t.target).addClass("ui-state-active"),!1===this._start(t,s)))return}switch(n=this.options.step,e=i=this.options.values&&this.options.values.length?this.values(s):this.value(),t.keyCode){case c.ui.keyCode.HOME:i=this._valueMin();break;case c.ui.keyCode.END:i=this._valueMax();break;case c.ui.keyCode.PAGE_UP:i=this._trimAlignValue(e+(this._valueMax()-this._valueMin())/5);break;case c.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(e-(this._valueMax()-this._valueMin())/5);break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(e===this._valueMax())return;i=this._trimAlignValue(e+n);break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(e===this._valueMin())return;i=this._trimAlignValue(e-n)}this._slide(t,s,i)},click:function(t){t.preventDefault()},keyup:function(t){var e=c(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,e),this._change(t,e),c(t.target).removeClass("ui-state-active"))}}})}(jQuery),function(o){function e(e){return function(){var t=this.element.val();e.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}o.widget("ui.spinner",{version:"1.10.2",defaultElement:"<input>",widgetEventPrefix:"spin",options:{culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n={},s=this.element;return o.each(["min","max","step"],function(t,e){var i=s.attr(e);void 0!==i&&i.length&&(n[e]=i)}),n},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0<e?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var e;function i(){this.element[0]===this.document[0].activeElement||(this.element.focus(),this.previous=e,this._delay(function(){this.previous=e}))}e=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),t.preventDefault(),i.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,i.call(this)}),!1!==this._start(t)&&this._repeat(null,o(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(o(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,o(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_draw:function(){var t=this.uiSpinner=this.element.addClass("ui-spinner-input").attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml());this.element.attr("role","spinbutton"),this.buttons=t.find(".ui-spinner-button").attr("tabIndex",-1).button().removeClass("ui-corner-all"),this.buttons.height()>Math.ceil(.5*t.height())&&0<t.height()&&t.height(t.height()),this.options.disabled&&this.disable()},_keydown:function(t){var e=this.options,i=o.ui.keyCode;switch(t.keyCode){case i.UP:return this._repeat(null,1,t),!0;case i.DOWN:return this._repeat(null,-1,t),!0;case i.PAGE_UP:return this._repeat(null,e.page,t),!0;case i.PAGE_DOWN:return this._repeat(null,-e.page,t),!0}return!1},_uiSpinnerHtml:function(){return"<span class='ui-spinner ui-widget ui-widget-content ui-corner-all'></span>"},_buttonHtml:function(){return"<a class='ui-spinner-button ui-spinner-up ui-corner-tr'><span class='ui-icon "+this.options.icons.up+"'>▲</span></a><a class='ui-spinner-button ui-spinner-down ui-corner-br'><span class='ui-icon "+this.options.icons.down+"'>▼</span></a>"},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,e,i){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,i)},t),this._spin(e*this.options.step,i)},_spin:function(t,e){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:i})||(this._value(i),this.counter++)},_increment:function(t){var e=this.options.incremental;return e?o.isFunction(e)?e(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_adjustValue:function(t){var e,i,n=this.options;return i=t-(e=null!==n.min?n.min:0),t=e+(i=Math.round(i/n.step)*n.step),t=parseFloat(t.toFixed(this._precision())),null!==n.max&&t>n.max?n.max:null!==n.min&&t<n.min?n.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){if("culture"===t||"numberFormat"===t){var i=this._parse(this.element.val());return this.options[t]=e,void this.element.val(this._format(i))}"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(this.buttons.first().find(".ui-icon").removeClass(this.options.icons.up).addClass(e.up),this.buttons.last().find(".ui-icon").removeClass(this.options.icons.down).addClass(e.down)),this._super(t,e),"disabled"===t&&(e?(this.element.prop("disabled",!0),this.buttons.button("disable")):(this.element.prop("disabled",!1),this.buttons.button("enable")))},_setOptions:e(function(t){this._super(t),this._value(this.element.val())}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},_value:function(t,e){var i;""!==t&&null!==(i=this._parse(t))&&(e||(i=this._adjustValue(i)),t=this._format(i)),this.element.val(t),this._refresh()},_destroy:function(){this.element.removeClass("ui-spinner-input").prop("disabled",!1).removeAttr("autocomplete").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:e(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:e(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:e(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:e(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());e(this._value).call(this,t)},widget:function(){return this.uiSpinner}})}(jQuery),function(h,t){var e=0,i=/#.*$/;function c(t){return 1<t.hash.length&&decodeURIComponent(t.href.replace(i,""))===decodeURIComponent(location.href.replace(i,""))}h.widget("ui.tabs",{version:"1.10.2",delay:300,options:{active:null,collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_create:function(){var e=this,t=this.options;this.running=!1,this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all").toggleClass("ui-tabs-collapsible",t.collapsible).delegate(".ui-tabs-nav > li","mousedown"+this.eventNamespace,function(t){h(this).is(".ui-state-disabled")&&t.preventDefault()}).delegate(".ui-tabs-anchor","focus"+this.eventNamespace,function(){h(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this._processTabs(),t.active=this._initialActive(),h.isArray(t.disabled)&&(t.disabled=h.unique(t.disabled.concat(h.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(t.active):this.active=h(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,n=location.hash.substring(1);return null===i&&(n&&this.tabs.each(function(t,e){if(h(e).attr("aria-controls")===n)return i=t,!1}),null===i&&(i=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==i&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),!t&&!1===i&&this.anchors.length&&(i=0),i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):h()}},_tabKeydown:function(t){var e=h(this.document[0].activeElement).closest("li"),i=this.tabs.index(e),n=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case h.ui.keyCode.RIGHT:case h.ui.keyCode.DOWN:i++;break;case h.ui.keyCode.UP:case h.ui.keyCode.LEFT:n=!1,i--;break;case h.ui.keyCode.END:i=this.anchors.length-1;break;case h.ui.keyCode.HOME:i=0;break;case h.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case h.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),t.ctrlKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===h.ui.keyCode.UP&&(t.preventDefault(),this.active.focus())},_handlePageNav:function(t){return t.altKey&&t.keyCode===h.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===h.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){var i=this.tabs.length-1;for(;-1!==h.inArray((i<t&&(t=0),t<0&&(t=i),t),this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).focus(),t},_setOption:function(t,e){"active"!==t?"disabled"!==t?(this._super(t,e),"collapsible"===t&&(this.element.toggleClass("ui-tabs-collapsible",e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e)):this._setupDisabled(e):this._activate(e)},_tabId:function(t){return t.attr("aria-controls")||"ui-tabs-"+ ++e},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=h.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!h.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=h()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=h()),this._refresh()},_refresh:function(){this._setupDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-expanded":"false","aria-hidden":"true"}),this.active.length?(this.active.addClass("ui-tabs-active ui-state-active").attr({"aria-selected":"true",tabIndex:0}),this._getPanelForTab(this.active).show().attr({"aria-expanded":"true","aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var l=this;this.tablist=this._getList().addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").attr("role","tablist"),this.tabs=this.tablist.find("> li:has(a[href])").addClass("ui-state-default ui-corner-top").attr({role:"tab",tabIndex:-1}),this.anchors=this.tabs.map(function(){return h("a",this)[0]}).addClass("ui-tabs-anchor").attr({role:"presentation",tabIndex:-1}),this.panels=h(),this.anchors.each(function(t,e){var i,n,s,o=h(e).uniqueId().attr("id"),a=h(e).closest("li"),r=a.attr("aria-controls");c(e)?(i=e.hash,n=l.element.find(l._sanitizeSelector(i))):(i="#"+(s=l._tabId(a)),(n=l.element.find(i)).length||(n=l._createPanel(s)).insertAfter(l.panels[t-1]||l.tablist),n.attr("aria-live","polite")),n.length&&(l.panels=l.panels.add(n)),r&&a.data("ui-tabs-aria-controls",r),a.attr({"aria-controls":i.substring(1),"aria-labelledby":o}),n.attr("aria-labelledby",o)}),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").attr("role","tabpanel")},_getList:function(){return this.element.find("ol,ul").eq(0)},_createPanel:function(t){return h("<div>").attr("id",t).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").data("ui-tabs-destroy",!0)},_setupDisabled:function(t){h.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1);for(var e,i=0;e=this.tabs[i];i++)!0===t||-1!==h.inArray(i,t)?h(e).addClass("ui-state-disabled").attr("aria-disabled","true"):h(e).removeClass("ui-state-disabled").removeAttr("aria-disabled");this.options.disabled=t},_setupEvents:function(t){var i={click:function(t){t.preventDefault()}};t&&h.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=h(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=h(this).outerHeight(!0)}),this.panels.each(function(){h(this).height(Math.max(0,i-h(this).innerHeight()+h(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,h(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,n=h(t.currentTarget).closest("li"),s=n[0]===i[0],o=s&&e.collapsible,a=o?h():this._getPanelForTab(n),r=i.length?this._getPanelForTab(i):h(),l={oldTab:i,oldPanel:r,newTab:o?h():n,newPanel:a};t.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||s&&!e.collapsible||!1===this._trigger("beforeActivate",t,l)||(e.active=!o&&this.tabs.index(n),this.active=s?h():n,this.xhr&&this.xhr.abort(),r.length||a.length||h.error("jQuery UI Tabs: Mismatching fragment identifier."),a.length&&this.load(this.tabs.index(n),t),this._toggle(t,l))},_toggle:function(t,e){var i=this,n=e.newPanel,s=e.oldPanel;function o(){i.running=!1,i._trigger("activate",t,e)}function a(){e.newTab.closest("li").addClass("ui-tabs-active ui-state-active"),n.length&&i.options.show?i._show(n,i.options.show,o):(n.show(),o())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),a()}):(e.oldTab.closest("li").removeClass("ui-tabs-active ui-state-active"),s.hide(),a()),s.attr({"aria-expanded":"false","aria-hidden":"true"}),e.oldTab.attr("aria-selected","false"),n.length&&s.length?e.oldTab.attr("tabIndex",-1):n.length&&this.tabs.filter(function(){return 0===h(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr({"aria-expanded":"true","aria-hidden":"false"}),e.newTab.attr({"aria-selected":"true",tabIndex:0})},_activate:function(t){var e,i=this._findActive(t);i[0]!==this.active[0]&&(i.length||(i=this.active),e=i.find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:h.noop}))},_findActive:function(t){return!1===t?h():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+t+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.element.removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible"),this.tablist.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all").removeAttr("role"),this.anchors.removeClass("ui-tabs-anchor").removeAttr("role").removeAttr("tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){h.data(this,"ui-tabs-destroy")?h(this).remove():h(this).removeClass("ui-state-default ui-state-active ui-state-disabled ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel").removeAttr("tabIndex").removeAttr("aria-live").removeAttr("aria-busy").removeAttr("aria-selected").removeAttr("aria-labelledby").removeAttr("aria-hidden").removeAttr("aria-expanded").removeAttr("role")}),this.tabs.each(function(){var t=h(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(void 0===i?t=!1:(i=this._getIndex(i),t=h.isArray(t)?h.map(t,function(t){return t!==i?t:null}):h.map(this.tabs,function(t,e){return e!==i?e:null})),this._setupDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==h.inArray(t,e))return;e=h.isArray(e)?h.merge([t],e).sort():[t]}this._setupDisabled(e)}},load:function(t,e){t=this._getIndex(t);var i=this,n=this.tabs.eq(t),s=n.find(".ui-tabs-anchor"),o=this._getPanelForTab(n),a={tab:n,panel:o};c(s[0])||(this.xhr=h.ajax(this._ajaxSettings(s,e,a)),this.xhr&&"canceled"!==this.xhr.statusText&&(n.addClass("ui-tabs-loading"),o.attr("aria-busy","true"),this.xhr.success(function(t){setTimeout(function(){o.html(t),i._trigger("load",e,a)},1)}).complete(function(t,e){setTimeout(function(){"abort"===e&&i.panels.stop(!1,!0),n.removeClass("ui-tabs-loading"),o.removeAttr("aria-busy"),t===i.xhr&&delete i.xhr},1)})))},_ajaxSettings:function(t,i,n){var s=this;return{url:t.attr("href"),beforeSend:function(t,e){return s._trigger("beforeLoad",i,h.extend({jqXHR:t,ajaxSettings:e},n))}}},_getPanelForTab:function(t){var e=h(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+e))}})}(jQuery),function(u){var n=0;u.widget("ui.tooltip",{version:"1.10.2",options:{content:function(){var t=u(this).attr("title")||"";return u("<a>").text(t).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,tooltipClass:null,track:!1,close:null,open:null},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.options.disabled&&this._disable()},_setOption:function(t,e){var i=this;if("disabled"===t)return this[e?"_disable":"_enable"](),void(this.options[t]=e);this._super(t,e),"content"===t&&u.each(this.tooltips,function(t,e){i._updateContent(e)})},_disable:function(){var n=this;u.each(this.tooltips,function(t,e){var i=u.Event("blur");i.target=i.currentTarget=e[0],n.close(i,!0)}),this.element.find(this.options.items).addBack().each(function(){var t=u(this);t.is("[title]")&&t.data("ui-tooltip-title",t.attr("title")).attr("title","")})},_enable:function(){this.element.find(this.options.items).addBack().each(function(){var t=u(this);t.data("ui-tooltip-title")&&t.attr("title",t.data("ui-tooltip-title"))})},open:function(t){var i=this,e=u(t?t.target:this.element).closest(this.options.items);e.length&&!e.data("ui-tooltip-id")&&(e.attr("title")&&e.data("ui-tooltip-title",e.attr("title")),e.data("ui-tooltip-open",!0),t&&"mouseover"===t.type&&e.parents().each(function(){var t,e=u(this);e.data("ui-tooltip-open")&&((t=u.Event("blur")).target=t.currentTarget=this,i.close(t,!0)),e.attr("title")&&(e.uniqueId(),i.parents[this.id]={element:this,title:e.attr("title")},e.attr("title",""))}),this._updateContent(e,t))},_updateContent:function(e,i){var t,n=this.options.content,s=this,o=i?i.type:null;if("string"==typeof n)return this._open(i,e,n);(t=n.call(e[0],function(t){e.data("ui-tooltip-open")&&s._delay(function(){i&&(i.type=o),this._open(i,e,t)})}))&&this._open(i,e,t)},_open:function(t,i,e){var n,s,o,a,r,l,h=u.extend({},this.options.position);e&&((n=this._find(i)).length?n.find(".ui-tooltip-content").html(e):(i.is("[title]")&&(t&&"mouseover"===t.type?i.attr("title",""):i.removeAttr("title")),n=this._tooltip(i),a=i,r=n.attr("id"),(l=(a.attr("aria-describedby")||"").split(/\s+/)).push(r),a.data("ui-tooltip-id",r).attr("aria-describedby",u.trim(l.join(" "))),n.find(".ui-tooltip-content").html(e),this.options.track&&t&&/^mouse/.test(t.type)?(this._on(this.document,{mousemove:c}),c(t)):n.position(u.extend({of:i},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){n.is(":visible")&&(c(h.of),clearInterval(o))},u.fx.interval)),this._trigger("open",t,{tooltip:n}),s={keyup:function(t){if(t.keyCode===u.ui.keyCode.ESCAPE){var e=u.Event(t);e.currentTarget=i[0],this.close(e,!0)}},remove:function(){this._removeTooltip(n)}},t&&"mouseover"!==t.type||(s.mouseleave="close"),t&&"focusin"!==t.type||(s.focusout="close"),this._on(!0,i,s)));function c(t){h.of=t,n.is(":hidden")||n.position(h)}},close:function(t){var e,i,n,s,o=this,a=u(t?t.currentTarget:this.element),r=this._find(a);this.closing||(clearInterval(this.delayedShow),a.data("ui-tooltip-title")&&a.attr("title",a.data("ui-tooltip-title")),i=(e=a).data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),-1!==(s=u.inArray(i,n))&&n.splice(s,1),e.removeData("ui-tooltip-id"),(n=u.trim(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby"),r.stop(!0),this._hide(r,this.options.hide,function(){o._removeTooltip(u(this))}),a.removeData("ui-tooltip-open"),this._off(a,"mouseleave focusout keyup"),a[0]!==this.element[0]&&this._off(a,"remove"),this._off(this.document,"mousemove"),t&&"mouseleave"===t.type&&u.each(this.parents,function(t,e){u(e.element).attr("title",e.title),delete o.parents[t]}),this.closing=!0,this._trigger("close",t,{tooltip:r}),this.closing=!1)},_tooltip:function(t){var e="ui-tooltip-"+n++,i=u("<div>").attr({id:e,role:"tooltip"}).addClass("ui-tooltip ui-widget ui-corner-all ui-widget-content "+(this.options.tooltipClass||""));return u("<div>").addClass("ui-tooltip-content").appendTo(i),i.appendTo(this.document[0].body),this.tooltips[e]=t,i},_find:function(t){var e=t.data("ui-tooltip-id");return e?u("#"+e):u()},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_destroy:function(){var n=this;u.each(this.tooltips,function(t,e){var i=u.Event("blur");i.target=i.currentTarget=e[0],n.close(i,!0),u("#"+t).remove(),e.data("ui-tooltip-title")&&(e.attr("title",e.data("ui-tooltip-title")),e.removeData("ui-tooltip-title"))})}})}(jQuery);
</script>
<!-- main.js -->
<script type="text/javascript">
function loadit(e,t){return blockon=0,document.getElementById("jdy65sbyepkd3w")?blockon=0:blockon=1,url2use="//cdn.transcamslive.com/embed/"+t+"?disable_sound=true&bgcolor=white&embed_video_only=true",im=!!navigator.userAgent.match(/(iPhone|iPod|Mobile|Android|android)/g),ipad=!!navigator.userAgent.match(/(iPad)/g),ipad&&(im=!1),im&&(document.getElementById("currshow").style.top="100px",document.getElementById("currshow").style.left="0px"),im||"block"!=currshow.style.display?(currshow_name.innerHTML="",document.getElementById("currshow").style.height="400px",document.getElementById("currshow").style.width="300px",document.getElementById("currshow_inner").style.height=document.getElementById("currshow").style.height,document.getElementById("currshow_inner").style.width=document.getElementById("currshow").style.width,currshow_name.innerHTML="Currently Showing:<b> "+e+"</b>",currshow_button.innerHTML='<input type=button value=Close onClick="hideshow(currshow);">',htmlstr="<br><a ",0==blockon&&(htmlstr+=" target=_blank "),htmlstr=htmlstr+' onClick="hideshow(currshow);" rel="nofollow" href="live-cam/'+t+'">',htmlstr=htmlstr+'<iframe frameborder=0 scrolling="no" src="'+url2use+'" height="300" width="503" style="border-left:auto;border-right:auto;"></iframe>',htmlstr+="<br><br><b>Click Here To Join The Chat! It's FREE</b>",htmlstr+='<div id="currshow_overlay" style="position:absolute;left:22px;top:27px;width:400px;height:300px;"></div></a>',htmlstr+='<br><br><a rel="nofollow" target=_blank href="//chaturbate.com/2257/" style="font-size:10px;">18 U.S.C. 2257 Record Keeping Requirements Compliance Statement</a>',currshow_inner.innerHTML=htmlstr,currshow.style.display="block",document.getElementById("currshow_inner").style.height=document.getElementById("currshow_inner").scrollHeight.toString()+"px",document.getElementById("currshow_inner").style.width=(document.getElementById("currshow_inner").scrollWidth+20).toString()+"px",document.getElementById("currshow_inner").style.overflow="hidden",document.getElementById("currshow").style.height=(parseInt(document.getElementById("currshow_inner").style.height)+30).toString()+"px",document.getElementById("currshow").style.width=document.getElementById("currshow_inner").style.width,document.getElementById("currshow_overlay").style.width=document.getElementById("currshow").style.width,document.getElementById("currshow_overlay").style.height=document.getElementById("currshow_inner").style.height,scroll(0,0)):"block"==currshow1.style.display?(currshow2_name.innerHTML="",document.getElementById("currshow2").style.height="400px",document.getElementById("currshow2").style.width="300px",document.getElementById("currshow2_inner").style.height=document.getElementById("currshow2").style.height,document.getElementById("currshow2_inner").style.width=document.getElementById("currshow2").style.width,currshow2_name.innerHTML="Currently Showing:<b> "+e+"</b>",currshow2_button.innerHTML='<input type=button value=Close onClick="hideshow(currshow2);">',htmlstr="<br><a ",0==blockon&&(htmlstr+=" target=_blank "),htmlstr=htmlstr+' onClick="hideshow(currshow2);" rel="nofollow" href="live-cam/'+t+'">',htmlstr=htmlstr+'<iframe frameborder=0 scrolling="no" src="'+url2use+'" height="300" width="503" style="border-left:auto;border-right:auto;"></iframe>',htmlstr+="<br><br><b>Click Here To Join The Chat! It's FREE</b>",htmlstr+='<div id="currshow2_overlay" style="position:absolute;left:22px;top:27px;width:400px;height:300px;"></div></a>',htmlstr+='<br><br><a rel="nofollow" target=_blank href="//chaturbate.com/2257/" style="font-size:10px;">18 U.S.C. 2257 Record Keeping Requirements Compliance Statement</a>',currshow2_inner.innerHTML=htmlstr,currshow2.style.display="block",document.getElementById("currshow2_inner").style.height=document.getElementById("currshow2_inner").scrollHeight.toString()+"px",document.getElementById("currshow2_inner").style.width=(document.getElementById("currshow2_inner").scrollWidth+20).toString()+"px",document.getElementById("currshow2_inner").style.overflow="hiddewn",document.getElementById("currshow2").style.height=(parseInt(document.getElementById("currshow2_inner").style.height)+30).toString()+"px",document.getElementById("currshow2").style.width=document.getElementById("currshow2_inner").style.width,document.getElementById("currshow2_overlay").style.width=document.getElementById("currshow2").style.width,document.getElementById("currshow2_overlay").style.height=document.getElementById("currshow2_inner").style.height,scroll(0,0)):(currshow1_name.innerHTML="",document.getElementById("currshow1").style.height="400px",document.getElementById("currshow1").style.width="300px",document.getElementById("currshow1_inner").style.height=document.getElementById("currshow1").style.height,document.getElementById("currshow1_inner").style.width=document.getElementById("currshow1").style.width,currshow1_name.innerHTML="Currently Showing:<b> "+e+"</b>",currshow1_button.innerHTML='<input type=button value=Close onClick="hideshow(currshow1);">',htmlstr="<br><a ",0==blockon&&(htmlstr+=" target=_blank "),htmlstr=htmlstr+' onClick="hideshow(currshow1);" rel="nofollow" href="live-cam/'+t+'">',htmlstr=htmlstr+'<iframe frameborder=0 scrolling="no" src="'+url2use+'" height="300" width="503" style="border-left:auto;border-right:auto;"></iframe>',htmlstr+="<br><br><b>Click Here To Join The Chat! It's FREE</b>",htmlstr+='<div id="currshow1_overlay" style="position:absolute;left:22px;top:27px;width:400px;height:300px;"></div></a>',htmlstr+='<br><br><a rel="nofollow" target=_blank href="//chaturbate.com/2257/" style="font-size:10px;">18 U.S.C. 2257 Record Keeping Requirements Compliance Statement</a>',currshow1_inner.innerHTML=htmlstr,currshow1.style.display="block",document.getElementById("currshow1_inner").style.height=document.getElementById("currshow1_inner").scrollHeight.toString()+"px",document.getElementById("currshow1_inner").style.width=(document.getElementById("currshow1_inner").scrollWidth+20).toString()+"px",document.getElementById("currshow1_inner").style.overflow="hidden",document.getElementById("currshow1").style.height=(parseInt(document.getElementById("currshow1_inner").style.height)+30).toString()+"px",document.getElementById("currshow1").style.width=document.getElementById("currshow1_inner").style.width,document.getElementById("currshow1_overlay").style.width=document.getElementById("currshow1").style.width,document.getElementById("currshow1_overlay").style.height=document.getElementById("currshow1_inner").style.height,scroll(0,0)),!1}function hideshow(e){e.style.display="none"}function check_adult(){getcookie()&&(warningtop.style.display="none",startit())}function hold_loadit(e,t,r){currshow.innerHTML='<div style="float:left;margin-left:20px;"><br>Currently Showing:<b> '+t+"</b></div><div style=\"float:right;width:75px;text-align:center;margins:auto;\"><br><input type=button value=Close onClick=\"currshow.innerHTML='';currshow.style.display='none';\"></div><br><a onClick=\"currshow.innerHTML='';currshow.style.display='none';\" target=_blank href=\""+r+'"><iframe frameborder=0 scrolling="no" src="'+e+'" height="440" width="503"></iframe><br>Click Here To Join The Chat! It\'s FREE</a>',currshow.style.display="block"}function startit(){load_page(document.form1.currurl.value);window.setInterval(loaditup,3e4)}function loaditup(){load_page(document.form1.currurl.value)}function load_page(e){if(getcookie()){var t="ajax/chatscreen.php";e>""&&(t=t+"?sort="+e),window.XMLHttpRequest?dirpage=new XMLHttpRequest:dirpage=new ActiveXObject("Microsoft.XMLHTTP"),dirpage.onreadystatechange=function(){4==dirpage.readyState&&200==dirpage.status&&(chatdiv.style.display="none",document.form1.currurl.value=e,ind=dirpage.responseText.indexOf(","),fcnt=dirpage.responseText.substring(0,ind),document.getElementById("titlediv").innerHTML="<h1>Watch our FREE "+fcnt+" Trans Cams Live right now</h1>",document.getElementById("chatdiv").innerHTML=dirpage.responseText.substring(ind+1),"none"==chatdiv.style.display&&(chatdiv.style.display="block"))},dirpage.open("GET",t,!0),dirpage.send()}else warningdiv.style.display="block"}function setcookie(){c_name="is_adult",value=1,expiredays=30;var e=new Date;e.setDate(e.getDate()+expiredays),document.cookie=c_name+"="+escape(value)+(null==expiredays?"":";expires="+e.toUTCString()),warningdiv.style.display="none",load_page(document.form1.currurl.value)}function watch_free_cams(){setcookie(),warningtop.style.display="none",startit()}function getcookie(){for(var e=!1,t=document.cookie.split(";"),r=0;r<t.length;r++){0==t[r].trim().indexOf("is_adult")&&(r=t.length,e=!0)}return e}$(function(){$("#currshow").draggable()});
</script>
</head>
<body>
<div class="main">
<div class="logo_box">
<div class="center_top">
<a href="https://www.transcamslive.com"><img src="images/logo.png" width="401" height="50" title="Watch Trans Cams Live" alt="Logo of TransCamsLive.com"></a>
<div name="titlediv" id="titlediv"> </div>
Just click on any image to start watching the <b>FREE</b> Trans Webcam Show. (Yes, it is <b>FREE!</b>)<br>
<font color="white"><strong>Or for more live cams please visit <a href="https://www.transwebcamchat.com/"><font color="yellow">Trans Webcam</font></a> and have a nice chat now!</strong></font>
<noscript><b><font color="red">This site requires javascript to be enabled in order to work properly</font></b></noscript>
<br>
<br>
<div class="header">
<div class="sorthd">Trans's Name
<br>
<a class="sorter" onclick="load_page('namea');"> A - Z</a>
<a class="sorter" onclick="load_page('named');"> Z - A</a>
</div>
<div class="sorthd">Age
<br>
<a class="sorter" onclick="load_page('agea');"> 18-99</a>
<a class="sorter" onclick="load_page('aged');"> 99-18</a>
</div>
<div class="sorthd">Language
<br>
<a class="sorter" onclick="load_page('languagea');"> A - Z</a>
<a class="sorter" onclick="load_page('languaged');"> Z - A</a>
</div>
<div class="sorthd">Location
<br>
<a class="sorter" onclick="load_page('locationa');"> A - Z</a>
<a class="sorter" onclick="load_page('locationd');"> Z - A</a>
</div>
</div>
</div>
</div>
<div id="chatdiv" name="chatdiv" class="chatdiv">
<div style="text-align:left;max-width:1200px;margin:auto;">
<p><h1>Welcome to Trans Cams Live. Transcamslive.com features the hottest trannies, shemales, ladyboys and trans from Chaturbate. It's auto-updated every 5 minutes with the latest and best trans feeds. Make sure to bookmark us.</h1></p>
<p><h2>You will find hot Trans Cams from all over the world just make sure to check back frequently in order to catch the babes who are ready to have dirty fun from different continents.</h2></p>
<p>You don't need to spend money to watch these live shemales, however tipping them is appreciated. They will do some pretty crazy stuff if motivated enough. But be polite and don't demand anything they don't want to do. The purpose of these live trans cams is to have fun together!</p>
<p>If you tip enough they might invite you to a private cam room too where some really crazy stuff is going on. It's definitely worth the try.</p>
<p>TransCamsLive.com shows are free live <b>adult webcams</b> so it's intended for adults over 18 only. Please exit Trans Cams Live now in case you are under 18 or you are offended by such content.</p>
<p>Hang on while your stunning Trans Cams are loading for you. There is plenty for everyone. Have fun and enjoy!</p>
<p><h2>Trans Cams Transcamslive.com</h2></p>
<p>Are you waiting to experience quality Trans webcams that can make fun at their best? You aren’t alone as it has become one of the hottest things in the cam show industry. At Trans Cams Live, you will end up experience fun that can’t be found in any part of the world. There won’t be any doubt in mind once you check out the collection of Trans available on our platform. We will give access to very hot shemales whose beauty can’t be explained in words. These horny babes can give you absolute privacy with an awesome video chat that can mesmerize your mind. The sex chat rooms available here are filled with gorgeous Trans women to take sensation on a different level for sure. </p>
<p>We have a solid selection of live tranny cam that can perform amazing sex shows that you can choose as per preferences. Browse the collection and enter the world of any Trans by simply tapping on the portfolio of your choice. Have a look at few ultra sexy images of our Trans girls for a moment. </p>
<p><h2>Live Trans Web Cams</h2></p>
<p>We strongly recommend everyone to save this page for beginning their fun in the world of Transworld. You should read the full post to understand what our team is talking about in detail.</p>
<p><h2>What Is the Advantage of Sexy Trans Cams?</h2></p>
<p>If you are still here, we are very happy to know you are ready to have a fun-loving experience with tons of tranquility. We are very proud to host a few fascinating Transgender of all different types ranging from fully toned trannies to BBW t-babes for making things downright sensational. Whether you want large cocks or big boobs; we will provide shemales of all types for fulfilling every need of viewers. </p>
<p>Having sex chat with these super beautiful babes during the free Trans cams will turn out to be the most memorable time of your life. There is no way you can find any inappropriate timing during the entire time in the lovemaking experience. You will get the liberty to choose between solid sorts of trannies for having fun that can’t be found anywhere else. Whatever your needs are, it will be fulfilled with all the desired effort for extra fun. These Trans babes love to perform camming like a pro in broadcasting and lovemaking shows. </p>
<p>A live tranny cam you watch at Trans Cam Live likes to give private offerings that can make anyone mad. The tranny cam models sections of our site are quite mesmerizing to experience that none of the people should miss. They only not cater to the needs of the best shemale lovers but also capable enough to give hot chills for amazing fun. </p>
<p>There is an exclusive collection of trannies available here who will love to perform the gaga dance in front of your screens. As a premium platform, we feel it is the duty of these sexy trannies ready for appearance and personality. The layout of the site is quite amazing making sure even a beginner can easily find the one matching their needs. </p>
<p>Watching a tranny is really a terrific experience, especially for the first-timers at our platform. There is not even a single alternative to their performances that are always considered top-notch by viewers. All the details about these girls are explained on the site to make the selection process convenient and easier. </p>
<p>The live domination of these Trans babes also gets further amazing with the live free chat section where you can ask anything to them. We are a luxury brothel for giving vibes that can’t be founded anywhere else. You can find everything that ranges from amazing HD chats to hot cam shows that we suggest everyone try at least once in life. </p>
<p><h2>Why Do Men Love to See Trans Cams?</h2></p>
<p>Although it is considered a very wicked topic, we will still try to uncover the wicked things that are going hard in your mind. Exploring various orientations is the long-term wishes of many people who don’t get fulfilled most times. They have a huge level of curiosity about things like how Trans date, romance, and love with their partners. These <strong>free Trans cams</strong> will let you familiarize yourself about tons of amazing things for a fully relaxing experience. They are perfect for all the serious lovemaking contenders in a variety of senses. </p>
<p>These comprehensive babes give something different to men that can’t be enjoyed with a normal straight girl. The jam-packed time offered by them during the private sex sessions provides sensational fun for the body. These Trans webcams will always have a very special place in your heart, so missing this opportunity doesn’t make sense. </p>
<p>Most men find themselves completely out of this world without any tensions during the cam sessions. It doesn’t matter what age you are; watching these angels performing different tricks will ensure fun reaches a completely sensational level. </p>
<p>We suggest people just look at a few pictures of these beautiful Trans ready to amaze you instantly. Just imagine a hot Trans performing erotic activities that you have previously only thought of in dreams. The level of passion that these hot girls babes have enter you into the forbidden world of pleasure. </p>
<p>Let’s look at the <strong>major reasons why people love watching Trans cams in their free time</strong> below:</p>
<p><ul>
<li>Unlike normal cam models, you will see that the Trans employ a completely different approach that fulfills most people's fantasies and desires. They have smoking hot looks that can woo anyone’s mind for giving truly fascinating time.</li>
<li>If you don’t know, Trans are considered the master of erotic sex and intimacy, making them a premier choice of sensual men. At Trans Cam Live, you will find completely different breeds of shemales whose civilized romantic sessions can simply amaze anyone. </li>
<li>These models know how to match the expectations of clients during the <strong>live tranny cam</strong> perfectly. The awesome flirting tricks you will see them doing will be a solid treat that no one should miss. </li>
<li>There will be a great sort of erotic activities that only real Trans can do. It is almost impossible to match such a level of passion and lovemaking for normal cam models of any sort. </li>
<li>The level of unpredictability is pretty high with these sexy Trans when compared with normal people you find in the market. </li>
</ul></p>
<p>We are pretty assured that many of you must have been thinking to comment after checking out pictures of these Trans models. Use the selection below for telling about your thoughts there. </p>
<p><h2>What to Expect on Trans Cams Chats?</h2></p>
<p>This one is a very complicated thing to ask considering the tons of enjoyment these models can offer to the viewers. At Trans Cam Live, you will accept that Trans are the huge kinks for the adult industry, and chatting with them is a blessing for sure. There can be a wide range of conditions that can be possible with these super cute models out there. You can ask her to remove the entire clothing one by one or to put a large dildo in her ass, whatever seeks you exciting. </p>
<p>Here, you will find many different chat rooms featuring different models with each having specifications mentioned on the thumbnail. Few of them will have big tits, while others will be perfect in terms of erotic accent. </p>
<p>Once you join the chat room of models featuring in live tranny cam shows, she will be on your screen, and there will be a chatbox on the right side of the screen. Here, it is up to what things you want her to perform as shown publicly above the chatbox.</p>
<p>If you feel it is your girl, we suggest you go for a private session with the babe. However, you can go below the screen and changes the chat room if somehow you didn’t like the model. </p>
<p>There are tons of methods you can use their services privately. Imagine yourself alone in the room with a <strong>sexy Trans on your computer screen</strong>. You are free to ask her anything, and she will happily obey your orders. It can become a reality during the free Trans cams on our platform. </p>
<p><h2>Signing Off</h2></p>
<p>Watching a high-quality webcam show featuring Trans at our platform is something that no one can forget in life. It will take you into a completely new world of fascination for making everything glorious. It is suggested to respect the privacy policies of these girls and feel like a true king in their companionship. </p>
<p>The fetish Trans webcam offered here is a level that an ordinary escort or porn star can never provide. Chat about nasty things or any erotic prospect, but never cross the boundaries of respect. There is a huge variety of sexy trannies available for lovemaking so expect real fun with us. If you want to experience real pleasure, go ahead and seeks tranquility with our Trans models! </p>
</div>
</div>
</div>
<div id="currshow" name="currshow" class="ui-widget-content ui-draggable" style="width:300px;height:400px;">
<div id="currshow_name" name="currshow_name"></div>
<div id="currshow_button" name="currshow_button"></div>
<div id="currshow_inner" style="width:100%;height:100%;overflow:auto;text-align:center;"></div>
</div>
<div id="currshow1" name="currshow1" class="ui-widget-content ui-draggable" style="width:300px;height:400px;">
<div id="currshow1_name" name="currshow1_name"></div>
<div id="currshow1_button" name="currshow1_button"></div>
<div id="currshow1_inner" style="width:100%;height:100%;overflow:auto;text-align:center;"></div>
</div>
<div id="currshow2" name="currshow2" class="ui-widget-content ui-draggable" style="width:300px;height:400px;">
<div id="currshow2_name" name="currshow2_name"></div>
<div id="currshow2_button" name="currshow2_button"></div>
<div id="currshow2_inner" style="width:100%;height:100%;overflow:auto;text-align:center;"></div>
</div>
<style>
#warningdiv h1{font-size:14pt;font-weight:bold;}
#warningdiv h2{font-size:12pt;font-weight:bold;margin-left:10px;margin-right:10px;}
#warningdiv p{font-family:'Arial';font-size:12pt;}
#warninglink {font-family:'Arial';font-size:14pt;font-weight:bold;color:blue;}
#warningexit {font-family:'Arial';font-size:10pt;font-weight:bold;color:#000;}
@media (max-width: 650px) {
}
</style>
<!-- warning for users -->
<div id="warningtop" name="warningtop">
<div name="warningframe" id="warningframe" style="display: block;">
<div id="warningdiv" name="warningdiv">
<h1>This site contains material intended for adults only</h1>
<p>
You must be eighteen years of age or over to enter this site.
</p>
<p>
By entering this site you affirm that:
</p>
<p>
<ul>
<li>You are eighteen years of age or older.</li>
<li>That viewing Adult Material is legal in your geographic area.</li>
<li>And that you do not find Sexually Explicit Material or Adult language Offensive.</li>
</ul>
</p>
<p>
If you cannot agree to all 3 conditions then please do not enter this site.
</p>
<hr>
<br>
<p style="font-weight:bold;">
I am 18 years of age or older.
<br>Viewing adult material is legal in my geographic area.
<br>I do not find Sexually explicit material or Adult language offensive
</p>
<a style="text-decoration:none;cursor:pointer;" onclick="watch_free_cams();">
<p id="warninglink">
<u>I want to Enter TransCamsLive.com</u>
</p>
<p id="warninglink"><u>To Enter TransCamsLive.com, Please Click Here</u></p>
</a>
<hr>
<a style="text-decoration:none;" href="https://www.google.com">
<p id="warningexit">
<br><br><u>To exit from TransCamsLive.com, please click here</u>
</p>
</a>
</div>
</div>
</div>
<form name=form1>
<input type=hidden name=currurl value="ajax/chatscreen.php">
</form>
<script>setTimeout('startit()', 1000);</script>
<div id="footer" style="float: right;"><b>Friends of Trans Cams Live</b>: <a href="https://onlivesexcams.com/private-sex-cams/" target="_blank">private sex cams</a></div>
<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/vce701823e78c4301a35b7e07294d87301792088814092" integrity="sha512-UKNk8GbxkABxKcXYuLkO16EleLGUkcvJWtpSNmExE0Too3ZaFAxTscNWEc1OdAv5/BikHawapSCaiD2XCmp+Bw==" data-cf-beacon='{"version":"2024.11.0","token":"91bc5859035348edb1235f52b422ad28","r":1,"spa":2}' crossorigin="anonymous"></script>
</body>
</html>
Sitemap
Кол-во: 0
XML-карта сайта для поисковиков
?
Sitemap.xml помогает поисковику быстрее находить и индексировать страницы. Особенно важен для крупных сайтов и новых страниц, на которые ещё нет входящих ссылок.
Robots.txt не содержит ссылку на карту сайта. Рекомендуется добавить карту сайта и указать ссылку на нее в robots.txt.
Внутренние ссылки
Не найдено
Ссылки на другие страницы своего сайта
?
Внутренние ссылки распределяют ссылочный вес между страницами и помогают поисковику обходить сайт. Пустые анкоры и ссылки на запрещённые robots.txt страницы — типичные ошибки.
Внутренних ссылок на странице 0 оптимально.
На странице присутствуют изображения 1.
Внешние ссылки
Открытых: 3
Ссылки на сторонние сайты
?
Исходящие внешние ссылки передают часть ссылочного веса на чужие сайты. Ссылки на авторитетные ресурсы безопасны; ссылки на мусорные сайты могут навредить репутации страницы. Считаем только открытые: ссылки с rel='nofollow', 'sponsored' или 'ugc' вес не передают, в списке они помечены своим rel.
Открытых внешних ссылок на странице 3 — оптимально.
Показать внешние ссылки
| Url | Анкор | Передаёт вес | Анализировать |
|---|---|---|---|
| transwebcamchat.com |
<font color="yellow">Trans Webcam</font>
|
Да
|
Анализировать url |
| google.com |
<p id="warningexit">
<br><br><u>To exit from TransCamsLive.com, please click here</u>
</p>
|
Да
|
Анализировать url |
| onlivesexcams.com |
private sex cams
|
Да
|
Анализировать url |
ИИ-боты
Открыт
Виден ли сайт генеративным сервисам
?
Краулеры ChatGPT, Claude, Gemini, Нейро Яндекса и Perplexity читают сайт отдельно от поисковых роботов, и закрываются они своими строками в robots.txt. Закрытый сайт не попадёт в ответы этих сервисов — ни ссылкой, ни цитатой. На оценку фактор не влияет: закрыться от обучения моделей — законное решение владельца.
Сайт открыт для ИИ-краулеров: ChatGPT, Claude, Gemini, Нейро Яндекса и Perplexity могут читать его и ссылаться на него в своих ответах. Если контент нужно защитить от обучения моделей, краулеры закрываются в robots.txt адресно — своей группой User-agent на каждого.
Конкуренты Готовность: 0%
Конкуренты в Яндексе
Кол-во: 0
Топ сайтов-конкурентов в Яндексе
?
Сайты, чаще всего появляющиеся в ТОПе Яндекса по запросам из семантического ядра этой страницы.
Мы не нашли у вас конкурентов в Яндексе. Сайт или очень молодой или плохо продвигается.
Конкурентов в ТОП-10 Яндекса не нашлось.
Конкуренты в Google
Кол-во: 0
Топ сайтов-конкурентов в Google
?
Сайты, чаще всего появляющиеся в ТОПе Google по запросам из семантического ядра этой страницы.
Конкуренты в Google тоже не найдены. Займитесь продвижением сайта!
Конкурентов в ТОП-10 Google не нашлось.
ФЗ-152: ПД Готовность: 30%
РКН
ОК
Сайт не заблокирован
Контакты
https://www.transcamslive.com/contacts/
Страница с контактами найдена
Политика ПД
https://www.transcamslive.com/policy/
Страница политики обработки ПД найдена
Согласие
https://www.transcamslive.com/personal/
Страница согласия на обработку ПД найдена
Чекбокс согласия
Не найден
Чекбокс согласия на обработку ПД в формах сайта не найден
Счётчики до согласия
Нарушение
Счётчики аналитики (Яндекс.Метрика и сторонние счётчики) загружаются до согласия на обработку cookie. Собираются IP-адрес и поведение — это персональные данные, требующие предварительного согласия (152-ФЗ)
ЗоЗПП: права потребителей Готовность: 100%
Нарушения
Не выявлены
Признаков продажи товаров или оказания услуг на сайте не обнаружено — требования ЗоЗПП о раскрытии сведений о продавце (исполнителе) к нему не применяются. Нарушений нет.
ФЗ-149: рекомендательные технологии Готовность: 100%
Нарушения
Не выявлены
Рекомендательные блоки («с этим покупают», «похожие товары» и т.п.) на сайте не обнаружены — требования ст. 10.7 ФЗ-149 к сайту не применяются. Нарушений нет.
ФЗ-38: реклама Готовность: 100%
Нарушения
Не выявлены
Рекламных тематик с обязательными оговорками (медицина, БАД, кредиты и займы, новостройки) на сайте не обнаружено. Нарушений нет.
ФЗ-436: защита детей Готовность: 100%
Нарушения
Не выявлены
Признаков информационной продукции (новости, видео, книги, игры, курсы) не обнаружено — обязательная возрастная маркировка по ФЗ-436 сайту не требуется. Нарушений нет.
Вердикт
Выполнен подробный анализ сайта transcamslive.com: готовность на 50%. Чтобы выполнить все условия и попасть на первую страницу выдачи поисковых систем требуется:
Постарайтесь исправить общие ошибки.
Исправьте ошибки в мета-тегах.
Исправьте ошибки индексации.
Поделитесь с друзьями: