From a90292fe5621236ef444409dd4fc745b88fca132 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Tue, 20 Sep 2022 14:18:01 +0500 Subject: [PATCH 1/2] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=B8=D1=81=D0=B0=D0=BB?= =?UTF-8?q?=20=D0=B4=D0=BE=D0=BA=D1=81=D1=82=D1=80=D0=B8=D0=BD=D0=B3=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client.py | 199 +++++++++++++++++++++++++++++----------------- client_gui.py | 16 ++-- client_storage.py | 11 +-- server.py | 127 +++++++++++++++++------------ server_gui.py | 18 ++--- server_storage.py | 9 ++- 6 files changed, 231 insertions(+), 149 deletions(-) diff --git a/client.py b/client.py index 502c4bb..f0dab71 100644 --- a/client.py +++ b/client.py @@ -1,29 +1,27 @@ +import datetime import hashlib import hmac import json -import time -from socket import socket, AF_INET, SOCK_STREAM, gaierror -import datetime -import sys import logging +import sys +import threading +import time +from socket import AF_INET, SOCK_STREAM, gaierror, socket -import PyQt5.QtWidgets +from Crypto.PublicKey import RSA +from PyQt5 import QtWidgets +from PyQt5.QtCore import QObject, Qt, pyqtSignal, pyqtSlot import log.client_log_config +from client_gui import ArrivedMessage, LoginPass, MyWindow, NewLocalContact +from client_storage import ClientStorage from common.decorators import log, login_required -import threading - +from common.utils import cripto_pass, get_message, send_message from common.variables import * -from common.utils import get_message, send_message, cripto_pass -from common.variables import ADD_CONTACT, DEL_CONTACT, GET_CONTACTS, RECEIVED, SENT +from common.variables import (ADD_CONTACT, DEL_CONTACT, GET_CONTACTS, RECEIVED, + SENT) from descriptors import CorrectPort from metaclasses import ClientVerifier, ServerVerifier -from client_storage import ClientStorage -from client_gui import MyWindow, ArrivedMessage, NewLocalContact, LoginPass -from PyQt5 import QtWidgets -from PyQt5.QtCore import Qt, pyqtSignal, pyqtSlot, QObject - -from Crypto.PublicKey import RSA LOG = logging.getLogger('client') @@ -91,10 +89,12 @@ def parse_response(self, response): :return: """ if response.get(RESPONSE) == 200: - LOG.debug(f'Получен ответ от сервера - {response[RESPONSE]}: {response[ALLERT]}') + LOG.debug( + f'Получен ответ от сервера - {response[RESPONSE]}: {response[ALLERT]}') return response[RESPONSE], response[ALLERT] elif response.get(RESPONSE) == 400: - LOG.debug(f'Получен ответ от сервера - {response[RESPONSE]}: {response[ERROR]}') + LOG.debug( + f'Получен ответ от сервера - {response[RESPONSE]}: {response[ERROR]}') return response[RESPONSE], response[ERROR] def message_from_server(self, client_sock): @@ -102,18 +102,24 @@ def message_from_server(self, client_sock): try: message = get_message(client_sock) if message.get(ACTION) == MSG: - if message.get(TO) == self.akk_name or message.get(TO) == '#': - LOG.debug(f'Получено сообщение от сервера - {message[MESSAGE]}') - print(f'\nПолучено сообщение от {message[FROM]} - {message[MESSAGE]}') - self.client_db.add_message(message[FROM], message[MESSAGE], RECEIVED) + if message.get( + TO) == self.akk_name or message.get(TO) == '#': + LOG.debug( + f'Получено сообщение от сервера - {message[MESSAGE]}') + print( + f'\nПолучено сообщение от {message[FROM]} - {message[MESSAGE]}') + self.client_db.add_message( + message[FROM], message[MESSAGE], RECEIVED) print('Введите команду: ') self.message_arrived.emit(message[FROM]) elif message.get(RESPONSE) == 201: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') print(f'\nНовый контакт добавлен на сервере') elif message.get(RESPONSE) == 202: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') contacts = message.get(ALLERT) if contacts: print(f'Ваш список контактов:') @@ -123,27 +129,35 @@ def message_from_server(self, client_sock): print('Ваш список контактов пуст') elif message.get(RESPONSE) == 203: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') print(f'\nПользователь удалён из серверного контакт листа') elif message.get(RESPONSE) == 205: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') print(f'\n{message.get(ALLERT)}') elif message.get(RESPONSE) == 401: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') - print(f'\nПользователь с таким именем не зарегистрирован на сервере') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') + print( + f'\nПользователь с таким именем не зарегистрирован на сервере') elif message.get(RESPONSE) == 402: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') print(f'\nПользователь с таким именем уже в вашем контакт листе') elif message.get(RESPONSE) == 403: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') - print(f'\nПользователь с таким именем отсутствует в вашем контакт листе') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') + print( + f'\nПользователь с таким именем отсутствует в вашем контакт листе') elif message.get(RESPONSE) == 405: - LOG.debug(f'Получено сообщение от сервера - {message[RESPONSE]}') + LOG.debug( + f'Получено сообщение от сервера - {message[RESPONSE]}') print(f'\n{message.get(ERROR)}') except OSError: @@ -169,6 +183,7 @@ def create_message(self, text, to): return msg def create_exit_message(self): + """ Создает сообщение о выходе клиента из месседжера""" msg = { ACTION: EXIT, TIME: datetime.datetime.now().timestamp(), @@ -178,6 +193,12 @@ def create_exit_message(self): return msg def add_contact(self, new_contact): + """ + Создает запрос серверу на добавление нового контакта + :param new_contact: str + :return: str + """ + msg = { ACTION: ADD_CONTACT, TIME: datetime.datetime.now().timestamp(), @@ -188,17 +209,26 @@ def add_contact(self, new_contact): LOG.info('Cоздано add_contact сообщение') return msg - def del_contact(self, new_contact): + def del_contact(self, contact): + """ + Создает запрос серверу на удаление ко контакта + :param new_contact: str + :return: str + """ msg = { ACTION: DEL_CONTACT, TIME: datetime.datetime.now().timestamp(), FROM: self.akk_name, - USER: new_contact + USER: contact } LOG.info('Cоздано dell_contact сообщение') return msg def get_contacts(self): + """ + Создает запрос серверу на на получение списка контактов + :return: + """ msg = { ACTION: GET_CONTACTS, TIME: datetime.datetime.now().timestamp(), @@ -218,38 +248,39 @@ def print_help(): print('help - вывести подсказки по командам') print('exit - выход из программы') - def user_interactive(self, client_socket): - self.print_help() - while True: - command = input('Введите команду: ') - if command == 'message': - to_user = input('Введите получателя сообщения: ') - text = input('Введите сообщение: ') - send_message(client_socket, self.create_message(text, to_user)) - self.client_db.add_message(to_user, text, SENT) - time.sleep(0.5) - elif command == 'exit': - send_message(client_socket, self.create_exit_message()) - print('Завершение соединения.') - LOG.info('Завершение работы по команде пользователя.') - time.sleep(0.5) - break - elif command == 'help': - self.print_help() - elif command == 'add contact': - name = input('Введите имя пользователя:') - send_message(client_socket, self.add_contact(name)) - time.sleep(0.5) - elif command == 'del contact': - name = input('Введите имя пользователя:') - send_message(client_socket, self.del_contact(name)) - self.client_db.del_contact(name) - time.sleep(0.5) - elif command == 'get contacts': - send_message(client_socket, self.get_contacts()) - time.sleep(0.5) - else: - print('Команда не распознана') + # больше не используется + # def user_interactive(self, client_socket): + # self.print_help() + # while True: + # command = input('Введите команду: ') + # if command == 'message': + # to_user = input('Введите получателя сообщения: ') + # text = input('Введите сообщение: ') + # send_message(client_socket, self.create_message(text, to_user)) + # self.client_db.add_message(to_user, text, SENT) + # time.sleep(0.5) + # elif command == 'exit': + # send_message(client_socket, self.create_exit_message()) + # print('Завершение соединения.') + # LOG.info('Завершение работы по команде пользователя.') + # time.sleep(0.5) + # break + # elif command == 'help': + # self.print_help() + # elif command == 'add contact': + # name = input('Введите имя пользователя:') + # send_message(client_socket, self.add_contact(name)) + # time.sleep(0.5) + # elif command == 'del contact': + # name = input('Введите имя пользователя:') + # send_message(client_socket, self.del_contact(name)) + # self.client_db.del_contact(name) + # time.sleep(0.5) + # elif command == 'get contacts': + # send_message(client_socket, self.get_contacts()) + # time.sleep(0.5) + # else: + # print('Команда не распознана') # def start_window(self): # app = QtWidgets.QApplication(sys.argv) @@ -264,6 +295,12 @@ def user_interactive(self, client_socket): # sys.exit(app.exec_()) def send_new_message(self, client_socket): + """ + получает сокет, берет текст из поля отправки и отправляет его + добавляет сообщене в локальную базу и загружает в окно сообщений + :param client_socket: + :return: + """ to_user = self.window.activ_contact_name text = self.window.textSendEdit.toPlainText() self.window.textSendEdit.clear() @@ -274,20 +311,33 @@ def send_new_message(self, client_socket): @pyqtSlot(str) def new_message_allert(self, user_name): + """ + Срабатывает при получении нового сообщения. Проверяет, открыт ли чат с этим + пользователем. Если да, то просто подгружает сообщения. Если нет то выдает + окно с предложением перейти в чат с этим контактом. + :param user_name: str + :return: + """ if self.window.activ_contact_name == user_name: self.window.load_last_history(user_name) else: self.dialog.userNamelabel.setText(user_name) self.dialog.show() - self.dialog.buttonBox.accepted.connect(lambda: self.select_chat(user_name)) + self.dialog.buttonBox.accepted.connect( + lambda: self.select_chat(user_name)) def select_chat(self, user_name): + """ + Загружает сообщения с пользователем, и делает его активным + что бы дальнейшие сообщения отправлялись ему + :param user_name: str + :return: + """ self.window.load_last_history(user_name) self.window.activ_contact_name = user_name - - def add_new_local_contact(self): + """Добавляет новый контакт в локальную базу""" user_name = self.new_local_contact.userNameEdit.text() self.client_db.add_contact(user_name) self.window.listContacts.clear() @@ -348,7 +398,7 @@ def login(self): def send_public_key(self): msg = { - ACTION:PUBLIC_KEY, + ACTION: PUBLIC_KEY, TIME: datetime.datetime.now().timestamp(), USER: { ACCOUNT_NAME: self.akk_name, @@ -369,7 +419,9 @@ def start(self): self.window = MyWindow(self.client_db) - receiver = threading.Thread(target=self.message_from_server, args=(self.client_socket,)) + receiver = threading.Thread( + target=self.message_from_server, args=( + self.client_socket,)) receiver.daemon = True receiver.start() @@ -379,9 +431,11 @@ def start(self): self.window.sendButton.clicked.connect( lambda: self.send_new_message(self.client_socket) ) - self.window.actionNewContact.triggered.connect(self.new_local_contact.show) + self.window.actionNewContact.triggered.connect( + self.new_local_contact.show) self.message_arrived.connect(self.new_message_allert) - self.new_local_contact.buttonBox.accepted.connect(self.add_new_local_contact) + self.new_local_contact.buttonBox.accepted.connect( + self.add_new_local_contact) sys.exit(self.app.exec_()) except gaierror: @@ -398,7 +452,6 @@ def generate_key(): return private_key, public_key - def main(): client = Client() client.login() diff --git a/client_gui.py b/client_gui.py index 4f391ac..d793f1a 100644 --- a/client_gui.py +++ b/client_gui.py @@ -2,16 +2,16 @@ import sys from PyQt5 import QtWidgets -from PyQt5.QtWidgets import QMainWindow, QDialog -from PyQt5.QtGui import QStandardItemModel, QStandardItem, QColor from PyQt5.QtCore import Qt, pyqtSignal, pyqtSlot -from client_storage import ClientStorage +from PyQt5.QtGui import QColor, QStandardItem, QStandardItemModel +from PyQt5.QtWidgets import QDialog, QMainWindow -from client_gui_main_ui import Ui_MainWindow from client_gui_arrived_message_ui import Ui_newMesaageDialog -from client_gui_new_localcontact_ui import Ui_addNewLocalContactDialog from client_gui_log_pass_ui import Ui_loginPasswrdDialog -from common.variables import SENT, RECEIVED +from client_gui_main_ui import Ui_MainWindow +from client_gui_new_localcontact_ui import Ui_addNewLocalContactDialog +from client_storage import ClientStorage +from common.variables import RECEIVED, SENT class MyWindow(QMainWindow, Ui_MainWindow): @@ -83,6 +83,7 @@ def load_last_history(self, user_name): @pyqtSlot(QtWidgets.QListWidgetItem) def get_user_message(self, contact_obj): + """ Слот, при получении сигнала загружает сообщения и меняет активного контакта""" self.load_last_history((contact_obj.text())) self.activ_contact_name = contact_obj.text() print(f'Активирован контакт - {self.activ_contact_name}') @@ -92,6 +93,7 @@ def make_connection(self, contact_list): class ArrivedMessage(QDialog, Ui_newMesaageDialog): + '''Окно сообщающее что получено новое сообнение''' def __init__(self): super().__init__() @@ -99,6 +101,7 @@ def __init__(self): class NewLocalContact(QDialog, Ui_addNewLocalContactDialog): + """Окно локального добавления нового контакта """ def __init__(self): super().__init__() @@ -106,6 +109,7 @@ def __init__(self): class LoginPass(QDialog, Ui_loginPasswrdDialog): + """ Окно для ввода логина и пароля""" def __init__(self): super().__init__() diff --git a/client_storage.py b/client_storage.py index 3003e99..6e36b9c 100644 --- a/client_storage.py +++ b/client_storage.py @@ -1,9 +1,10 @@ -from sqlalchemy import MetaData, Table, Column, Integer, String, create_engine, ForeignKey, DateTime -from sqlalchemy.orm import mapper, sessionmaker, relationship -from sqlalchemy.ext.declarative import declarative_base import sqlite3 -from datetime import datetime -from datetime import timedelta +from datetime import datetime, timedelta + +from sqlalchemy import (Column, DateTime, ForeignKey, Integer, MetaData, + String, Table, create_engine) +from sqlalchemy.ext.declarative import declarative_base +from sqlalchemy.orm import mapper, relationship, sessionmaker Base = declarative_base() diff --git a/server.py b/server.py index 89b9140..3ff4751 100644 --- a/server.py +++ b/server.py @@ -1,31 +1,28 @@ -import binascii +""" Модуль серверной части месседжера""" import configparser +import datetime import hashlib import hmac +import logging import os import select -import time -from pprint import pprint -from socket import socket, AF_INET, SOCK_STREAM -import datetime import sys -import logging +import threading +from socket import AF_INET, SOCK_STREAM, socket import PyQt5.QtCore +from PyQt5 import QtWidgets + import log.server_log_config from common.decorators import log - -from common.utils import get_message, send_message, cripto_pass +from common.utils import cripto_pass, get_message, send_message from common.variables import * from common.variables import ADD_CONTACT, DEL_CONTACT, GET_CONTACTS from descriptors import CorrectPort -from metaclasses import ClientVerifier, ServerVerifier +from metaclasses import ServerVerifier +from server_gui import MyWindow, Registration, ServerSettings, UserHistory from server_storage import ServerStorage -from server_gui import MyWindow, UserHistory, ServerSettings, Registration -import threading -from PyQt5 import QtWidgets -from PyQt5.QtWidgets import QMainWindow, QDialog LOG = logging.getLogger('server') @@ -64,7 +61,6 @@ def __init__(self): @log def create_answer(self, message): - """ Функция принимает сообщение в виде словаря, проверяет его и генерирует ответ :param message: dict @@ -79,7 +75,7 @@ def create_answer(self, message): ALLERT: f'Приветствую вас - {user_name}' } elif ACTION in message and message[ - ACTION] == MSG and TIME in message and FROM in message and TO in message: + ACTION] == MSG and TIME in message and FROM in message and TO in message: answer = message else: answer = { @@ -103,19 +99,29 @@ def read_requests(self, read_clients, all_clients: list): try: data = get_message(sock) responses[sock] = data - except: - LOG.debug(f'Клиент{sock.fileno()} {sock.getpeername()} отключился') + except BaseException: + LOG.debug( + f'Клиент{sock.fileno()} {sock.getpeername()} отключился') all_clients.remove(sock) self.server_db.delete_active_user(self.clients_dict.get(sock)) self.reload = True return responses - def authorization(self, sock, passwrd): + @staticmethod + def authorization(sock, passwrd): + """ + Получаемт сокет и пароль, генерирует случайный набор байтов, отправляет его клиенту, + хэширует его с помошью пароля, и ждет от клиента его версию, сравнивает их. + Если данные совпали то возвращает True + :param sock: + :param passwrd: + :return: + """ message = os.urandom(32) sock.send(message) - hash = hmac.new(passwrd, message, digestmod=hashlib.sha3_256) - digest = hash.digest() + hash_ = hmac.new(passwrd, message, digestmod=hashlib.sha3_256) + digest = hash_.digest() response = sock.recv(len(digest)) return hmac.compare_digest(digest, response) @@ -138,7 +144,8 @@ def write_responses(self, requests, write_clients, all_clients): if request.get(ACTION) == MSG: recipient = request.get(TO) sender = request.get(FROM) - if recipient and (self.clients_dict.get(sock) == recipient or recipient == '#'): + if recipient and (self.clients_dict.get( + sock) == recipient or recipient == '#'): send_message(sock, self.create_answer(request)) elif sender and self.clients_dict.get(sock) == sender: @@ -150,8 +157,7 @@ def write_responses(self, requests, write_clients, all_clients): else: answer = { RESPONSE: 405, - ERROR: 'Сообщение не отправлено. Клиент с таким ником не подключен к серверу' - } + ERROR: 'Сообщение не отправлено. Клиент с таким ником не подключен к серверу'} send_message(sock, answer) elif request.get(ACTION) == PRESENCE: @@ -159,26 +165,26 @@ def write_responses(self, requests, write_clients, all_clients): user_name = request[USER][ACCOUNT_NAME] if self.server_db.get_active_users(user_name): answer = { - RESPONSE: 400, - ERROR: 'Клиент с таким ником уже подключился к серверу' - } + RESPONSE: 400, ERROR: 'Клиент с таким ником уже подключился к серверу'} # sock.close # all_clients.remove(sock) send_message(sock, answer) return else: - passwrd = self.server_db.get_user_pass(user_name) + passwrd = self.server_db.get_user_pass( + user_name) if passwrd: answer = { - RESPONSE: 210, - ALLERT: f'Пользователь найден, давайте пройдем авторизацию' - } - send_message(sock,answer) - self.authorized = self.authorization(sock, passwrd) + RESPONSE: 210, ALLERT: f'Пользователь найден, давайте пройдем авторизацию'} + send_message(sock, answer) + self.authorized = self.authorization( + sock, passwrd) if self.authorized: - self.clients_dict.update({sock: user_name}) + self.clients_dict.update( + {sock: user_name}) user_ip, user_port = sock.getpeername() - self.server_db.user_login(user_name, user_ip, user_port) + self.server_db.user_login( + user_name, user_ip, user_port) self.reload = True answer = { RESPONSE: 200, @@ -194,8 +200,7 @@ def write_responses(self, requests, write_clients, all_clients): else: answer = { RESPONSE: 407, - ERROR: f'Пользователь с ником {user_name} не зарегистрирован на сервере ' - } + ERROR: f'Пользователь с ником {user_name} не зарегистрирован на сервере '} send_message(sock, answer) return send_message(sock, answer) @@ -205,19 +210,22 @@ def write_responses(self, requests, write_clients, all_clients): all_clients.remove(sock) sock.close self.server_db.delete_active_user(request[FROM]) - LOG.debug(f'Клиент{sock.fileno()} {sock.getpeername()} отключился') + LOG.debug( + f'Клиент{sock.fileno()} {sock.getpeername()} отключился') self.reload = True return elif request.get(ACTION) == ADD_CONTACT: if key == sock: - result = self.server_db.add_new_contact(request[FROM], request[USER]) + result = self.server_db.add_new_contact( + request[FROM], request[USER]) answer = { RESPONSE: result } send_message(sock, answer) elif request.get(ACTION) == DEL_CONTACT: if key == sock: - result = self.server_db.delete_new_contact(request[FROM], request[USER]) + result = self.server_db.delete_new_contact( + request[FROM], request[USER]) answer = { RESPONSE: result } @@ -232,7 +240,8 @@ def write_responses(self, requests, write_clients, all_clients): send_message(sock, answer) elif request.get(ACTION) == PUBLIC_KEY: if key == sock: - self.server_db.set_key(request[USER][ACCOUNT_NAME],request[KEY]) + self.server_db.set_key( + request[USER][ACCOUNT_NAME], request[KEY]) answer = { RESPONSE: 203, ALLERT: 'Ключ добавлен' @@ -240,7 +249,8 @@ def write_responses(self, requests, write_clients, all_clients): send_message(sock, answer) except Exception as E: - LOG.debug(f'Клиент{sock.fileno()} {sock.getpeername()} отключился') + LOG.debug( + f'Клиент{sock.fileno()} {sock.getpeername()} отключился') print(E) sock.close all_clients.remove(sock) @@ -249,9 +259,11 @@ def write_responses(self, requests, write_clients, all_clients): def reload_active_users(self, window, history_window): if self.reload: - window.active_users_table.setModel(window.get_active_users_model(self.server_db)) + window.active_users_table.setModel( + window.get_active_users_model(self.server_db)) window.active_users_table.resizeColumnsToContents() - history_window.users_history_table.setModel(history_window.get_users_history_model(self.server_db)) + history_window.users_history_table.setModel( + history_window.get_users_history_model(self.server_db)) history_window.users_history_table.resizeColumnsToContents() print('Данные обновлены') self.reload = False @@ -265,10 +277,12 @@ def add_new_user(self): login = self.reg_window.loginEdit.text() passwrd = self.reg_window.passEdit.text() if " " in login: - self.reg_window.messageLabel.setText('В логине не должно быть пробелов') + self.reg_window.messageLabel.setText( + 'В логине не должно быть пробелов') return if len(passwrd) < 8: - self.reg_window.messageLabel.setText('Пароль должен быть не менее 8 символов') + self.reg_window.messageLabel.setText( + 'Пароль должен быть не менее 8 символов') return passwrd = cripto_pass(passwrd) @@ -277,7 +291,8 @@ def add_new_user(self): self.reg_window.loginEdit.clear() self.reg_window.passEdit.clear() else: - self.reg_window.messageLabel.setText(f'{login} уже зарегистрирован на сервере') + self.reg_window.messageLabel.setText( + f'{login} уже зарегистрирован на сервере') def run(self): serv_socket = socket(AF_INET, SOCK_STREAM) @@ -301,8 +316,9 @@ def run(self): read = [] write = [] try: - read, write, error = select.select(self.clients, self.clients, [], wait) - except: + read, write, error = select.select( + self.clients, self.clients, [], wait) + except BaseException: pass responses = self.read_requests(read, self.clients) @@ -315,16 +331,21 @@ def main(): server.start() # app = QtWidgets.QApplication(sys.argv) window = MyWindow() - window.active_users_table.setModel(window.get_active_users_model(server.server_db)) + window.active_users_table.setModel( + window.get_active_users_model( + server.server_db)) window.active_users_table.resizeColumnsToContents() window.show() history_window = UserHistory() window.users_history.triggered.connect(history_window.show) - history_window.users_history_table.setModel(history_window.get_users_history_model(server.server_db)) + history_window.users_history_table.setModel( + history_window.get_users_history_model(server.server_db)) history_window.users_history_table.resizeColumnsToContents() - window.reload.triggered.connect(lambda: server.reload_active_users(window, history_window)) + window.reload.triggered.connect( + lambda: server.reload_active_users( + window, history_window)) setting_window = ServerSettings() window.server_settings.triggered.connect(setting_window.show) @@ -334,7 +355,9 @@ def main(): server.reg_window.addButton.clicked.connect(server.add_new_user) timer = PyQt5.QtCore.QTimer() - timer.timeout.connect(lambda: server.reload_active_users(window, history_window)) + timer.timeout.connect( + lambda: server.reload_active_users( + window, history_window)) timer.start(1000) sys.exit(server.app.exec_()) diff --git a/server_gui.py b/server_gui.py index d037971..3f27eb3 100644 --- a/server_gui.py +++ b/server_gui.py @@ -1,20 +1,20 @@ +import configparser import pathlib import sys from collections import namedtuple +from datetime import datetime +from os import path from PyQt5 import QtWidgets -from PyQt5.QtWidgets import QMainWindow, QDialog +from PyQt5.QtCore import Qt +from PyQt5.QtGui import QStandardItem, QStandardItemModel +from PyQt5.QtWidgets import QDialog, QMainWindow + from server_gui_main_ui import Ui_MainWindow -from sevrer_gui_history_ui import Ui_Dialog as History_Ui_Dialog -from server_gui_settings_ui import Ui_Dialog as ServerSettings_Ui_Dialog from server_gui_registration_ui import Ui_regNewUserDialog -from PyQt5.QtGui import QStandardItemModel, QStandardItem +from server_gui_settings_ui import Ui_Dialog as ServerSettings_Ui_Dialog from server_storage import ServerStorage -from datetime import datetime -from PyQt5.QtCore import Qt -from os import path -import pathlib -import configparser +from sevrer_gui_history_ui import Ui_Dialog as History_Ui_Dialog class MyWindow(QMainWindow, Ui_MainWindow): diff --git a/server_storage.py b/server_storage.py index ccf6a89..249d655 100644 --- a/server_storage.py +++ b/server_storage.py @@ -1,12 +1,13 @@ import configparser import os.path - -from sqlalchemy import MetaData, Table, Column, Integer, String, create_engine, ForeignKey, DateTime -from sqlalchemy.orm import mapper, sessionmaker -from sqlalchemy.ext.declarative import declarative_base import sqlite3 from datetime import datetime +from sqlalchemy import (Column, DateTime, ForeignKey, Integer, MetaData, + String, Table, create_engine) +from sqlalchemy.ext.declarative import declarative_base +from sqlalchemy.orm import mapper, sessionmaker + class ServerStorage: class AllUser: From ed0deb2d08e99c001b8a6c8acb8dd8e5cd07d53f Mon Sep 17 00:00:00 2001 From: Vladimir Date: Tue, 20 Sep 2022 17:25:43 +0500 Subject: [PATCH 2/2] =?UTF-8?q?=D0=A1=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BB=20=D0=B4=D0=BE=D0=BA=D1=83=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B0=D1=86=D0=B8=D1=8E=20=D1=87=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=B7=20sphinx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/doctrees/client.doctree | Bin 0 -> 35743 bytes build/doctrees/client_gui.doctree | Bin 0 -> 23650 bytes .../client_gui_arrived_message_ui.doctree | Bin 0 -> 7824 bytes build/doctrees/client_gui_log_pass_ui.doctree | Bin 0 -> 7663 bytes build/doctrees/client_gui_main_ui.doctree | Bin 0 -> 7313 bytes .../client_gui_new_localcontact_ui.doctree | Bin 0 -> 8079 bytes build/doctrees/client_recv.doctree | Bin 0 -> 2882 bytes build/doctrees/client_send.doctree | Bin 0 -> 5465 bytes build/doctrees/client_storage.doctree | Bin 0 -> 32237 bytes build/doctrees/common.doctree | Bin 0 -> 9480 bytes build/doctrees/descriptors.doctree | Bin 0 -> 4857 bytes build/doctrees/environment.pickle | Bin 0 -> 90097 bytes build/doctrees/index.doctree | Bin 0 -> 5024 bytes build/doctrees/log.doctree | Bin 0 -> 5661 bytes build/doctrees/metaclasses.doctree | Bin 0 -> 9062 bytes build/doctrees/modules.doctree | Bin 0 -> 3273 bytes build/doctrees/server.doctree | Bin 0 -> 23299 bytes build/doctrees/server_gui.doctree | Bin 0 -> 19291 bytes build/doctrees/server_gui_main_ui.doctree | Bin 0 -> 7313 bytes .../server_gui_registration_ui.doctree | Bin 0 -> 7729 bytes build/doctrees/server_gui_settings_ui.doctree | Bin 0 -> 7325 bytes build/doctrees/server_storage.doctree | Bin 0 -> 35719 bytes build/doctrees/sevrer_gui_history_ui.doctree | Bin 0 -> 7294 bytes build/doctrees/start.doctree | Bin 0 -> 2814 bytes build/doctrees/tests.doctree | Bin 0 -> 28905 bytes build/html/.buildinfo | 4 + build/html/_sources/client.rst.txt | 7 + build/html/_sources/client_gui.rst.txt | 7 + .../client_gui_arrived_message_ui.rst.txt | 7 + .../_sources/client_gui_log_pass_ui.rst.txt | 7 + .../html/_sources/client_gui_main_ui.rst.txt | 7 + .../client_gui_new_localcontact_ui.rst.txt | 7 + build/html/_sources/client_recv.rst.txt | 7 + build/html/_sources/client_send.rst.txt | 7 + build/html/_sources/client_storage.rst.txt | 7 + build/html/_sources/common.rst.txt | 37 + build/html/_sources/descriptors.rst.txt | 7 + build/html/_sources/index.rst.txt | 21 + build/html/_sources/log.rst.txt | 37 + build/html/_sources/metaclasses.rst.txt | 7 + build/html/_sources/modules.rst.txt | 28 + build/html/_sources/server.rst.txt | 7 + build/html/_sources/server_gui.rst.txt | 7 + .../html/_sources/server_gui_main_ui.rst.txt | 7 + .../server_gui_registration_ui.rst.txt | 7 + .../_sources/server_gui_settings_ui.rst.txt | 7 + build/html/_sources/server_storage.rst.txt | 7 + .../_sources/sevrer_gui_history_ui.rst.txt | 7 + build/html/_sources/start.rst.txt | 7 + build/html/_sources/tests.rst.txt | 37 + .../_sphinx_javascript_frameworks_compat.js | 134 + build/html/_static/alabaster.css | 701 + build/html/_static/base-stemmer.js | 294 + build/html/_static/basic.css | 900 ++ build/html/_static/custom.css | 1 + build/html/_static/doctools.js | 264 + build/html/_static/documentation_options.js | 14 + build/html/_static/file.png | Bin 0 -> 286 bytes build/html/_static/jquery-3.6.0.js | 10881 ++++++++++++++++ build/html/_static/jquery.js | 2 + build/html/_static/language_data.js | 19 + build/html/_static/minus.png | Bin 0 -> 90 bytes build/html/_static/plus.png | Bin 0 -> 90 bytes build/html/_static/pygments.css | 83 + build/html/_static/russian-stemmer.js | 624 + build/html/_static/searchtools.js | 530 + build/html/_static/translations.js | 61 + build/html/_static/underscore-1.13.1.js | 2042 +++ build/html/_static/underscore.js | 6 + build/html/client.html | 299 + build/html/client_gui.html | 213 + build/html/client_gui_arrived_message_ui.html | 153 + build/html/client_gui_log_pass_ui.html | 153 + build/html/client_gui_main_ui.html | 153 + .../html/client_gui_new_localcontact_ui.html | 153 + build/html/client_recv.html | 137 + build/html/client_send.html | 147 + build/html/client_storage.html | 272 + build/html/common.html | 168 + build/html/descriptors.html | 143 + build/html/genindex.html | 859 ++ build/html/index.html | 147 + build/html/log.html | 152 + build/html/metaclasses.html | 154 + build/html/modules.html | 182 + build/html/objects.inv | Bin 0 -> 2085 bytes build/html/py-modindex.html | 292 + build/html/search.html | 124 + build/html/searchindex.js | 1 + build/html/server.html | 231 + build/html/server_gui.html | 195 + build/html/server_gui_main_ui.html | 153 + build/html/server_gui_registration_ui.html | 153 + build/html/server_gui_settings_ui.html | 153 + build/html/server_storage.html | 247 + build/html/sevrer_gui_history_ui.html | 153 + build/html/start.html | 137 + build/html/tests.html | 243 + client.py | 17 + client_gui.py | 12 +- server.py | 15 +- server_gui.py | 1 + source/client.rst | 7 + source/client_gui.rst | 7 + source/client_gui_arrived_message_ui.rst | 7 + source/client_gui_log_pass_ui.rst | 7 + source/client_gui_main_ui.rst | 7 + source/client_gui_new_localcontact_ui.rst | 7 + source/client_recv.rst | 7 + source/client_send.rst | 7 + source/client_storage.rst | 7 + source/common.rst | 37 + source/conf.py | 33 + source/descriptors.rst | 7 + source/index.rst | 21 + source/log.rst | 37 + source/metaclasses.rst | 7 + source/modules.rst | 28 + source/server.rst | 7 + source/server_gui.rst | 7 + source/server_gui_main_ui.rst | 7 + source/server_gui_registration_ui.rst | 7 + source/server_gui_settings_ui.rst | 7 + source/server_storage.rst | 7 + source/sevrer_gui_history_ui.rst | 7 + source/start.rst | 7 + source/tests.rst | 37 + 127 files changed, 22786 insertions(+), 5 deletions(-) create mode 100644 build/doctrees/client.doctree create mode 100644 build/doctrees/client_gui.doctree create mode 100644 build/doctrees/client_gui_arrived_message_ui.doctree create mode 100644 build/doctrees/client_gui_log_pass_ui.doctree create mode 100644 build/doctrees/client_gui_main_ui.doctree create mode 100644 build/doctrees/client_gui_new_localcontact_ui.doctree create mode 100644 build/doctrees/client_recv.doctree create mode 100644 build/doctrees/client_send.doctree create mode 100644 build/doctrees/client_storage.doctree create mode 100644 build/doctrees/common.doctree create mode 100644 build/doctrees/descriptors.doctree create mode 100644 build/doctrees/environment.pickle create mode 100644 build/doctrees/index.doctree create mode 100644 build/doctrees/log.doctree create mode 100644 build/doctrees/metaclasses.doctree create mode 100644 build/doctrees/modules.doctree create mode 100644 build/doctrees/server.doctree create mode 100644 build/doctrees/server_gui.doctree create mode 100644 build/doctrees/server_gui_main_ui.doctree create mode 100644 build/doctrees/server_gui_registration_ui.doctree create mode 100644 build/doctrees/server_gui_settings_ui.doctree create mode 100644 build/doctrees/server_storage.doctree create mode 100644 build/doctrees/sevrer_gui_history_ui.doctree create mode 100644 build/doctrees/start.doctree create mode 100644 build/doctrees/tests.doctree create mode 100644 build/html/.buildinfo create mode 100644 build/html/_sources/client.rst.txt create mode 100644 build/html/_sources/client_gui.rst.txt create mode 100644 build/html/_sources/client_gui_arrived_message_ui.rst.txt create mode 100644 build/html/_sources/client_gui_log_pass_ui.rst.txt create mode 100644 build/html/_sources/client_gui_main_ui.rst.txt create mode 100644 build/html/_sources/client_gui_new_localcontact_ui.rst.txt create mode 100644 build/html/_sources/client_recv.rst.txt create mode 100644 build/html/_sources/client_send.rst.txt create mode 100644 build/html/_sources/client_storage.rst.txt create mode 100644 build/html/_sources/common.rst.txt create mode 100644 build/html/_sources/descriptors.rst.txt create mode 100644 build/html/_sources/index.rst.txt create mode 100644 build/html/_sources/log.rst.txt create mode 100644 build/html/_sources/metaclasses.rst.txt create mode 100644 build/html/_sources/modules.rst.txt create mode 100644 build/html/_sources/server.rst.txt create mode 100644 build/html/_sources/server_gui.rst.txt create mode 100644 build/html/_sources/server_gui_main_ui.rst.txt create mode 100644 build/html/_sources/server_gui_registration_ui.rst.txt create mode 100644 build/html/_sources/server_gui_settings_ui.rst.txt create mode 100644 build/html/_sources/server_storage.rst.txt create mode 100644 build/html/_sources/sevrer_gui_history_ui.rst.txt create mode 100644 build/html/_sources/start.rst.txt create mode 100644 build/html/_sources/tests.rst.txt create mode 100644 build/html/_static/_sphinx_javascript_frameworks_compat.js create mode 100644 build/html/_static/alabaster.css create mode 100644 build/html/_static/base-stemmer.js create mode 100644 build/html/_static/basic.css create mode 100644 build/html/_static/custom.css create mode 100644 build/html/_static/doctools.js create mode 100644 build/html/_static/documentation_options.js create mode 100644 build/html/_static/file.png create mode 100644 build/html/_static/jquery-3.6.0.js create mode 100644 build/html/_static/jquery.js create mode 100644 build/html/_static/language_data.js create mode 100644 build/html/_static/minus.png create mode 100644 build/html/_static/plus.png create mode 100644 build/html/_static/pygments.css create mode 100644 build/html/_static/russian-stemmer.js create mode 100644 build/html/_static/searchtools.js create mode 100644 build/html/_static/translations.js create mode 100644 build/html/_static/underscore-1.13.1.js create mode 100644 build/html/_static/underscore.js create mode 100644 build/html/client.html create mode 100644 build/html/client_gui.html create mode 100644 build/html/client_gui_arrived_message_ui.html create mode 100644 build/html/client_gui_log_pass_ui.html create mode 100644 build/html/client_gui_main_ui.html create mode 100644 build/html/client_gui_new_localcontact_ui.html create mode 100644 build/html/client_recv.html create mode 100644 build/html/client_send.html create mode 100644 build/html/client_storage.html create mode 100644 build/html/common.html create mode 100644 build/html/descriptors.html create mode 100644 build/html/genindex.html create mode 100644 build/html/index.html create mode 100644 build/html/log.html create mode 100644 build/html/metaclasses.html create mode 100644 build/html/modules.html create mode 100644 build/html/objects.inv create mode 100644 build/html/py-modindex.html create mode 100644 build/html/search.html create mode 100644 build/html/searchindex.js create mode 100644 build/html/server.html create mode 100644 build/html/server_gui.html create mode 100644 build/html/server_gui_main_ui.html create mode 100644 build/html/server_gui_registration_ui.html create mode 100644 build/html/server_gui_settings_ui.html create mode 100644 build/html/server_storage.html create mode 100644 build/html/sevrer_gui_history_ui.html create mode 100644 build/html/start.html create mode 100644 build/html/tests.html create mode 100644 source/client.rst create mode 100644 source/client_gui.rst create mode 100644 source/client_gui_arrived_message_ui.rst create mode 100644 source/client_gui_log_pass_ui.rst create mode 100644 source/client_gui_main_ui.rst create mode 100644 source/client_gui_new_localcontact_ui.rst create mode 100644 source/client_recv.rst create mode 100644 source/client_send.rst create mode 100644 source/client_storage.rst create mode 100644 source/common.rst create mode 100644 source/conf.py create mode 100644 source/descriptors.rst create mode 100644 source/index.rst create mode 100644 source/log.rst create mode 100644 source/metaclasses.rst create mode 100644 source/modules.rst create mode 100644 source/server.rst create mode 100644 source/server_gui.rst create mode 100644 source/server_gui_main_ui.rst create mode 100644 source/server_gui_registration_ui.rst create mode 100644 source/server_gui_settings_ui.rst create mode 100644 source/server_storage.rst create mode 100644 source/sevrer_gui_history_ui.rst create mode 100644 source/start.rst create mode 100644 source/tests.rst diff --git a/build/doctrees/client.doctree b/build/doctrees/client.doctree new file mode 100644 index 0000000000000000000000000000000000000000..64dad736046a473097b89964607782342c66cbdc GIT binary patch literal 35743 zcmeHQeUKbSbw7RFw{)^(OR?HZWVaHk0;wWZKne&6Rr#PQDX5U& z>yPP~+1}aRJKqT?yGrNTp6Tw_uV4S(>({TlA0B+XacY47$2Ryi+o{Y?=8MHjwP^Vb zHd3q>>Se1EG(O(gaisB3Bg;m;{2{+u_X<{n4d9D{?Uah1RcRb(unGD+a7zB9%s=c~ zg}|v+!tC~-J!B6bXk_hCHW)ZT$%?#U>kB0Zm1WA+VjXYjLwvXPkF0qjAo=={hM;Ju zmPh?T!`{e7b0NX@8a5>9+|SmQoQl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YO~-0sTj7AstB7inR;H8n3oQ9GWKEY;rqC|7Ii-qa#Y@ETdIH9rywGOculsiKkC&=m1db_Y>xEgNSTa7qDRSRY0gajALNI( A1^@s6 literal 0 HcmV?d00001 diff --git a/build/doctrees/client_gui_arrived_message_ui.doctree b/build/doctrees/client_gui_arrived_message_ui.doctree new file mode 100644 index 0000000000000000000000000000000000000000..9a3b2e3c8f282d8a69be294944d2fb4623d002e7 GIT binary patch literal 7824 zcmdT}-ESO85nnsmwb$Qvh&d^7*y!%aS{FNf+yj^>=yW_Faxu{*K|<%#-0V#6_N-@T zhM6A6J_wLQkz%DKIAwSP@d8489E2z*BrXaFfy5i@KY~}DPe>>6tDcXYS+Cbg;2{@j zo$2oC?yBmlUsYFszx?A{r%LLdoDDo~IoqqcX*#aSf=G^=t`T;aBci*}^3CW*RF_p> zzaF@uZ?H&~Kw)spHhtzqZ$@&4$c1GGtI7PafEmJaooqTU^9mn(Gph5dEDKB6EH@))q52v|x z^HvngQSo$eEh0WIt6C-|KO!rMbnEh{Z8i-saT%TMqrev%*IOOn63ws9?Bez0-L+Jt=D z8<%$suKS(KzT1Wh1GEKqomZ89t}uU#`LB4MZ5cYLH`s`I-iY-_N=S8(ssI{T^#h1| z>f&hF;3ZkM9FuM5v>zV~{}jaIr=i{F@p}=!Gx#l&sL+;gDFN&9sHa^|x~ z*!w~EgFX4B+R*JI`9genE5pfnWnDyi$Y0_sISu{nf7Q^?O;^30HP}D^0i9OOZ4Q@Y z^_rzQ?D{1Z=rGH#Si0@DNU}u>LshvNjIx7M8g;~p21}t5xcmLG=pnGrc=HAU( z_x^C+mLvJu;i3-MAsVRjb$$xA4^ue`EHL(2N*yCJG@=C-Oj?9~!IzH@*r&d%9G7O! zs+qduxI&q5Zh85+H_ksV;Mi-mGs?ZrTsT`hpYEguo^G(UT1HYkbKwF^RDsH(EUOt& z;^i=)H)0pdgvnTr7s~HDQj2kAQR1t&0?V(U7fw`;T#xj;myp>Sv}@R41OPFDcNX6}_$=y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<#Q`c7^irgre^MOSh4uKB<27Id88FNf zR77#TkIre6@w&dLy^)@5wi4J(yUuL5@D5nu4CRhpdC~&amcfu!y9OS$P@koToBMJu zeU^f;x(y9$yYd+GZqw6`9M^CH|Ai?c$#&oz!q7z&WjJ$S3Z^CS)CIG#>7nN?0I#Q) zZfvR>t2Ocl6@lm-3FKqcslQu)r^xg-{E1|hx+%{mA~moZ@pE{nQR8?%T1S1Wl2&wb z_)cHdy49z3b!F-aB4sB+$V%=bgtRV?B2QS9cmJ=+sCr>R98^zYs7k(!g82vhLzOeB z#4484MJrWmn?~_Vxioo(?jbPB==Av%do&%~9ai10`)+Rdiu7ZBojG;2XT@r^tC}?5 zvp(WVC@7Gf>|ZM#Dai>yrRB#2go&KAeAk6V!FCWX$F8RRdpPg6lUL#PC=&ocU_KEH kU2m8pW>5EI-mPqP((x=ew#he|gl`izfqII6IxAfLF9?KnJpcdz literal 0 HcmV?d00001 diff --git a/build/doctrees/client_gui_main_ui.doctree b/build/doctrees/client_gui_main_ui.doctree new file mode 100644 index 0000000000000000000000000000000000000000..f3f64290b75b0d367a25d35dcdda1e1327312796 GIT binary patch literal 7313 zcmd5>&2Jn@6}OYj*yGRGA!b*x!$hmaV-Y(mv=YdKNGLb5F{@1iLhGovr@LmV$35Lm zcXeVf1jw!y#Y#yKrMbZk4lG|G$_j~%0zx2hWBf;O<-9^#iQlX0?&%&+oDU8p(l}jJ zuc}_Xdhho>>W7t|{%CPT{gbm%z#VUU&9rULw^@|Paoe}zF7rfkH(9xv+(;U-7Mj;1 zKMpOH$PrLj+;Q!YdCAp8&Jek9+-NPGKNc}dIKG!p=M`S%V^@;~ugQvVgv$y;a?x@f zY_@5%V`tOonvS<=#7@2I+c5}f9;O|+%(jW2jCzEqM-=r)f%=0)^IHu}a3>NzCu>H2 z9DZ0<(^G87Bd+7IWFu~xa>5iMbegfi>FKnG9Xq0vjajZ4Md-wL#WTD5Yut{5exqqx zTOn%^O)STR*`}d{&+-#|iZAlRd`VtC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zJ633+!9=t)(+VlCfFLQClbJ*Cvtky)gm3}brNi{Obeh((sO^TP;WGWgCMd^KjS(kI z)Jz=t44S6-BTRIOyb6}%wqb~l)v==F%Hoq^-e*1vfh`7KG^E02X{4!xcXAGKl1Gsr zUOaaW!y)jB`iL7|&_0J&3C)xYV5Sza4vr_1{Q>5$KXLv7^f@22j4tvtQjmXdMjp

yK5l=2pi51vnN6Xza7eG@jihZ#d?zxe^t8uH% z9sI+7#~qJMe>UvsaI~v2{5pi9j>%{Bs5zdYr>b3{4ytb8_>{jv%Tk3{y&e0>zHB|q zesYQf`>-C*u-q1GAOnV@1QqC8cFnUoWW0{2D{rJu@pb~6=`@)M7v2L4oUsU-oG>tJ zTVtpdI~p28=)6$B_?B2o``j>Ar=?(RUmRiX4t1Qxl!6oZFH8|NWR!Vfc#$5o8Q=+q zvjnDKS`iXyn2kyOA+)bCeUb*%?}lx{$!(oN^(Fq4-9`>; zoAmK-`uG=pT%Z~6r;jcA_zXT`Q70Ny@Rpr%NoAj3+Lr|O<>Gz0a9=J$E$VSJkkvl3 z{3*UJH$hFjg|7XC60isfY3sk}GPLs8mX(~)at#qylUoQ&_5oNziWfehFke)<1_b(2 zElkFI^b};v6&cPBe_qxWWdTy@kE&1d8f4!Ap989ca>Ajcv>uR@sv()XojXm>$pKtWJ>E5#&#qS}*0WvZqN5f1$d7`E z60#HBw9+>tVj3ae@L~$fiI_1w#{n`z2BdwHm(uZ<0B$#vk0X5HzKK8x7z_c}YQsG8 gSB7WuVTrjjmTNe%Nf_TIxSdX+02?Kns`|3=KckZ6-T(jq literal 0 HcmV?d00001 diff --git a/build/doctrees/descriptors.doctree b/build/doctrees/descriptors.doctree new file mode 100644 index 0000000000000000000000000000000000000000..6d3d967b88713c8a2901ab4b1183eb0163460979 GIT binary patch literal 4857 zcmd5=TW=&s74~grJie|Sb^&D_CW?Z`Vm(HP2V|_3&^|gb3xs_DN1dAPnyI$?Mt8M$ zELfBkinLbh0Z8#HkkBfyLLyv*5b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HJwVZJ&fon{>Th$0VNKHa|xVA?u$T2omm38w(wTC0QlG}NGM&|H)_ZXD8Bod8z@B%UK9YTc&99fKOVj2P_)qY{(ID59@_A*Xk9FpmFLs9;bQ; zH8fM7s3t1-01X2X@jVC4a^R0J8>$VK%h;Ka)PfICt$TTxI2G^^SVQp91k#8FByiJE z5Zx%F>z|O4jOSkLU^D^OEtI4<<4*mgL5VA!3qSKML^mDJ&saYoM+z%jWkQI1Y7Ne0 zNC7+G0W}4iGw=gAhsVPm`UWK!farOG8zyNUu6z|Q!fFYKZc$bNInfY64Ezwq^6gu@ zY9rx^LlqRc=$e3`og~0JY^UTCp>F_|S+r()M0H-5)i0hHK zj%CpI-~94d5zmcu;LeCA%0&DZOYulnMvy({Y0u|!V00ku4}=T@C~HgBM;3Wf=;LLz z15Acam7bLY#Y}poZe^E|WFtrTLlNKu{4NDCL4Pd^84~RWIr2I~pk6U+yL5usWkqOr z=vl~IT)fRUMA?K8r_b{Q?S6uyKBf}=NGsoO5N&K-`@A2|340JAPVf}g3a;t>z91_N8xuGAurF6bGp zmTfsf{sM|<2|m5g9NX~>aJFC+pe6Cc0ASc6rw}@!J zpDiNC&*tziQ*9zsOClz-ag~YJ@%}aYXh%nwK$=DSt;%=t8^mNjI5P8IeTv27Izyk* z&(K27V(7wye)wN{O04k}O^*3ZlkEAIA`#CECG9NM0ekDh^NIV!;ISy{!-oLWH{bmN?g9HuWf4g#PB zxIimxJt*iO;VwVW-$qJf>_u?^G%|qLDy*vE6nV8G8yv3sksIV5;eJT9YsI62UDP%^ HKK1?y;No{t literal 0 HcmV?d00001 diff --git a/build/doctrees/environment.pickle b/build/doctrees/environment.pickle new file mode 100644 index 0000000000000000000000000000000000000000..59a5fccd2ce863065efe04efc1e60cc1d7aa29ff GIT binary patch literal 90097 zcmeHw378~Db>?V}o|&HMp8L|-LITZMtz*!A4I^0tb7-t#z$_!m)z#TunNwX=s;ugn z#?~5%1*z?{B|~A10WV(d!s5ki86#OBjJ@`P7cX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n}kbW;&3@PeW0fH*0yubBt D_4SVM literal 0 HcmV?d00001 diff --git a/build/doctrees/log.doctree b/build/doctrees/log.doctree new file mode 100644 index 0000000000000000000000000000000000000000..6c00551581a5e3b699ada70345b0f356d7a820b0 GIT binary patch literal 5661 zcmd5=TWefL5|%B`NHdZ~k`tRiWLqXAQHV#*!#*s|OBO+3F&1I7Hxh-Do^yJp+d4P* z>0^%wfelN*1C3wY8wl*rSp4F}5ZE8!`~klN@)F2z*ssoQ&RncW*z9It;B<9$byf9O z)m8ns#y`$qT*!WAJ&A=3hr7)4!pP%^HOpS)rU4JNeQ4kL%6@5gOiQtQNt7y=TeAQT zS4iJeJhY!#(;;>({baXTzm#xS%P6dti-u^5rO)h+XqkqV+UKL}PpZ1t(Gp&{Er5d)8EsN4i zNbe=rXGsDgz8fJ6@~>qtjmLu?)Ka`pJgHgIY(P_1tc%yhs@M{X;*#0lyK(TRgsbG> zmOM;-K0Ns7$Q4WlAF1dz9FbtGMHKG&5;}j()m^TB7stMI896CA$aOw|7j{(wqb}b( zoA$&??)lPnVxt_J_Qz>2h&*hStg$T++rkvv*zVt-&h8Iub}z&83#K7Mj}L1Y&Efl851J*MtdbdkcFeh$NoCC& zPyhY&$ndCsg3 z$Y~7G!Aylj9Ya@1az72TyptRUqe;$RK$1QklJ3-yv;l?xTE^^Y@FP6))+}@?+iH%p z=1L7cb2%mfROn~EdKmzkx8Gb0&10l2HwB{y<_ck_;yxBh#5z9jnomvyCOVsAz?5Yg zWOO9zx!wg#iuUI0dOGEi<+&0mulXm)xMK!s*6Cj-rFHWxiJTyvoF zD9=DS>#?}WGSH036M=?K;uz4Z-^#A!ZR9?U+n~CdXXxX5>OZH0#dkGWY`*|3HfOSn zHSKXCv6Dw$>}o!L89BpoWGJ=c%sc5h=laa77kX7*9bYEJ)Y#$2-XCz-_|D3z%5GV5 zjw_mpN_0ltV$J`k(4JpVRb{BSMpyS4({WQp1*=n)r>i9;FH_BO!nMY|i|Tu`DyRD@ z!;)uB^UusrQC^hwxLDsetpN|YVmeY51COD+)hviHSjo3>Ao~!*b}>wqkI|ZrT!+e9 zn#FbvDqW7OIp2>W9Y&hhCU2fGYgEgJY2Xa|kqRs*9jXvw6fgm`2nj^Ko>REbGm3Lh zYT=Z{HFhi(6xH^=Syeoaly-c6m;3hSS<@EGuZ9h?$%g<5tkG#wGBr%YBulnwZlU<^1x+HE7kq(Z@Y=a_txa3!rtvFr8F`r)?AvJnG$jP)iVnVrjyGZ>rk%Vnw*$gY&OV-1dbALkq?`!S@T&q zNYNU>;~vImRcg&Eio22W9FNBwrE2I>?YVE7dErGKk)9KyagjrWv+1x@N6wgJ&Psr4 z%}ayWselK^W(0}+r9$SD!1as*?}iB-|CkgfJoO@H7!ag3_%MzVj@TZr%uwQL=dMg- z4$*bTlL_njWC)e_Sh!RMgt%r_VN8M$$eJR|trcueUs9uk9_=E1VH2cpYMgMwB+bK- zub?}vhJffMMHP?}4gf@722$Hw8*iIV%wq>m;fO^ybJ!|TdJMW#aG2MG)^T#<`gM>K zoZp{Va%oG5pqj`Yi(KwD}(7SKG_Z#@Lqx$ZYc%qEOzg3Dyurh+|Ay>PS z>wdNe!v4C@fsf5vn)MJxo)-4zvbh9I22K^8l>ttI494xqY$QjaWP<$gEiYMZ+_)+|jnig^C zqZr<%Zu{qv*c*v(B)%DmCnNFWC>2+U{u5pgJ`i23{!sMs+|kUn9q0Gr!KCW4M8CSF z$}S0AYJ%I*-p3tt`x9gxyhZ%qJHxU|MS1d2+z}6Me+tE(*9AQ|kxjpnW(AgI?Gr3} zEWQcT!jol! n}}m5Q9@#}yg6e(F&^9#Cp*dsIjicP`bpX>a$x5)P3; literal 0 HcmV?d00001 diff --git a/build/doctrees/metaclasses.doctree b/build/doctrees/metaclasses.doctree new file mode 100644 index 0000000000000000000000000000000000000000..0fc444a37ee40fa925e97ee72a755496542718f6 GIT binary patch literal 9062 zcmd5?TaO$^72b4}^-P_YW z?u)%E2qZ$0vZNjeX(WV19=Jphp(KhxNC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NDLqcG33mlvkRGBxJ>WN7U4gK(IF(x!&X$gqMT_4^{QJf$eiW0GRraAI!A!Ujaf zj@bg$t^;8yWTPOA4Ub)CUV33hEO65+h7ECy?KsdCdIU+7Pimk9$9l;C%iC0^pc)SN zGIIz@D-O{fphKmvh_>U8lGtFr6;P!I6^kV9uYYM>mcmX~Um7e7gV5lnZ+qwx;o@*M zRLR6jki=Ck4ap@HtF<>Z7Vh6*pQ5e!mNMk4Pgh^m7K@{Fh6sw{P?3i-rDEAL{Xt?5 z7&LBUJQF6VxF=**5F+z2s%K#vYSwLuCQ5L9RQ#Y3$2L%5?>jq4aH4G{abT1rG2_6f zmhEIXG77_kVkN;r6)*Hnj~K2<3bgA-bp0i16tTn(474;b>nQ3-LBtGwrL+<&Hm*C7 zqfB(gu${>4d32CW%DLPj_*t=p!$fca)fj@+WYdhkUw}T_Vc)8;CrZiwGdX(#EM&6V zEZlHd+?RX6?a%Re=wY)~Z1&(qcFfZY^I{b?IW!9QEDn(Mvi8K$XxER;9fLaq?%|Ir zb6!BEzZ4BkING%YejPzk_sFpt8eU+TnQB+5-)vgAc;#=|7-{=Ar1;ROB*Qv@D#;2g1`YLwD&jzK7x zR*YX9z-(;l#=n4oSD{jkTav-8Uks?cO3i*upCh7rcHf~K^lN-XqD5q?7}6y9VlUzk zps_CBqf~evHRNViFfGD&_Tz>!fu5IXyOKm2PJ}#_zCy|L)GX5Qsu+Ak@J@m{WIXu` z1ynhoL+T%Vs@*-v6b&C7agzgM;-}dN?iBWd1Y^=!~#O26(kh+P)WA}&w~ZQR*)X&9?$5n z<9=UGzYaG?F9QJs<`TiM)rLictdJKAvb4=b$G5!1CSMp(JX^3Sh-dLmfvk;x0~i1% A>;M1& literal 0 HcmV?d00001 diff --git a/build/doctrees/modules.doctree b/build/doctrees/modules.doctree new file mode 100644 index 0000000000000000000000000000000000000000..c503ae0a86f34ea11ab17c20ec5c475fdf133a62 GIT binary patch literal 3273 zcma)8TW=&a79J+)PIsr%nS`AY+L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R-t!4*P933OUdlRq- zeml`hp|HpSBV+4XBmV`-{}f&T{dk6hN6kyHcGxwJ8{+LwTwU3A^O68WmhrYGY3yxH L8;J9^oFDxkp|d77 literal 0 HcmV?d00001 diff --git a/build/doctrees/server.doctree b/build/doctrees/server.doctree new file mode 100644 index 0000000000000000000000000000000000000000..59ef3df21377554ff7865ab874d549d9b3366f60 GIT binary patch literal 23299 zcmeHPYiu0Xb*3o3mJ}&bw$&mu?Q!K)luXiro1g)s$WfgpErifctfWRQcRk#l<;-w7 zv!0oi$O0}Txo#xr+HUJLf+B7myGGEWs3FUiCF?;OFwj44(OtAjfdX}#1`Sd)=mYSN z{Aing=RW4Ov%@7-$$=9A)Xv=ZIrqHoxo6Jt{^x%9>plD*+wRv)%UPM#%Vozc8-9Zg zmEBT(*>Hl!vyHtc8jm-oSi#ee`EK1S84cEh7A4cFmOaC1Jknre)I6}N{;cdj=o_WL za-Fcd*>4V*gO4<(%mV8Vte|Sds@SM+ct;ISTXxHJ)KEjT>pN_$&;rucPd3Dg25LIy z4;tn;D-^>8n_Jm{T<1LNt6GlHn6EGBY*-Hh&swMlfREtWYL$Ij`(UZ6`#uWs-0$ei z;%TT{uSG8ldTGfsD%7UV1_OPOsv72YbHdza-fC_&C)pS8n>+GlfZ-qcg0%!7R*pQd zS~7KS`2o+hfeat-f$2K;RV}RfK@RW1TCHl8bV8JWM6CIUz{ITQ1FqW+_0|{69@cL; zWn(3VFo8?+cEDlY0bK3I-$(Jc2Y-7BCQRX39Fi&4SJN%8!ESC|X|6S2Z#~hx++v^7 z#5};Q!1;`PHwWf}hF&-CGG}7IJ#x*!ad>BIt8>^VA8T_KHMgP`0YJ9^&;l!9NA*Qd zubDAm*}cu@qm^r|6V3CjKumyVz=fQoK+jt*GAup6hP(c%A?_K3s&u6+r*AQV~{9RTEgsS5d9>}XBBe7_XtJ5 z+ZjbuYy>1R11R~pY?P+qo5bIZIQGmlCL=679bv(IO3IQRR^SUvuWmq5EvcAYOua^H zdns>iL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%VWVk477yPX{Rd@r_7IP_`Cq3>6s$mmcd(xF)2p@bmfle#<$0#D+QzfgYCA=yG^ zOZAhS)LUdf7zW6HbKY}P6%k$EQD{tiS8@<5YF065R}MZrkROuEyS)f2c{9YvVN`2g zL?$!l+iITcN=b!d9eprqe-@H)KK>XC1mbF#8VFhdm5>vrwl&whEo~N3z0Gdb+^9}k Sv_O_{yiVpnv6M2Qnf*UY)Df`& literal 0 HcmV?d00001 diff --git a/build/doctrees/server_gui_main_ui.doctree b/build/doctrees/server_gui_main_ui.doctree new file mode 100644 index 0000000000000000000000000000000000000000..55cb3ef199fbd24d220e771108312a0290f4ba72 GIT binary patch literal 7313 zcmd5>-ESO85nm_Swb!4qL(H9GhmB5$*CKXK=p>K{kx<^q#hfk)2%V$3*_qz$SZ)H=SO2j3(;qEV)IT{B1>EtrR!!UXe49my9J75Z?lDg!ca!Ct$&I8b>!Eo) z^5f8AiL8La;*M*F%uB8&a+=76<3_9L{LzS6!tuR)I`#%M$HyrK0(f-AWp_G%bG#*-Hg#VuZuRmZd0RzbB|>-=+& ziJyWRU%~HH{Fd-rCi$>k=qRb0@rJ#WK|7Qg#os=XGw%2g35%~8y4Zpn)qpMdO<07o-TTqLCozye}HLYrk z&P?(tl~aqb4XjbVR$8>t?Ek6%asS@#&E1=g{{4NJScXRT>S>s@{j|2uPr^8HtViIK z)}B*sVq}^|jL3n_i8w4d)l7-c=Cbl5nlq#3n4aegWnG1ZaE*KAWxz@S#39JQaEqV3h$sx~X?lfTQqOUk=3P#*tY z>Sq;MSBwvHJykNyjNhT&0jGBk;&hBS)ohN@W{>Ca$9p*}n8_O^K_hS<>m_oWR`pwi z%t=XHSxaM*oZG8k_+8S^CBCTj0xsSpfs|kCgSC856hmzWOcX2Y zh+<|ZGy`5d_cQ%F{d@gC0;TWo-tK?Y7(meO?X|`lfKf5B_Kud}o!mti51d$Vyaz?4 z12ZNA=Gg#1V+)b4$jaPfb_4IDt|M4zx&?Cn7ZuFsWi8e2;F$kb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`biQ=&9mXU@#IYz9Z%=$BROZIfhF& z(^yoau+{idL*C?176&!v`>wBX-7#&3B5Q?M#U)?NyHQwNr7Ty8#md0Qz!IJR!g|G= zTDQ+bI{RdCU|_OXAQ^DI2{=?_L#9~F+Pc$@^frUWO|-}TC>FF(yQPZnVuadtE3lM_&TFO>=uMjhNw}Oy9fF?~GY}?# z3#g(ctR^ATT9ysrP!(UMFKhxor^gALFs)|d$fxl-k~LwXi{w?X9H$LKw5={~!FpW7a$2x~6d0BWDuSpvKxcKy zcx_i#-bl|p+c9jW+hitOco!^ihT_MbIBtMyTVu$sZ4J+1sNd3K&mFOtJZQmK?UsVI zJ#mCN*Xg-POe#2m|H2fJY+G=SP*WupX*i2u3Z@m}kql;I(&Nxg0A8V&?rpLgtF^KQ zm4)c-3FH&hslGe^q6qa*{0T&rx+&i$A~~=Z@Y8tMk>hxB+CastlGJxH_)gyA`t_&{ zd3h=Xk+KyaY{hpFLOQREBVSk%x1WooR9>+W59MXomeu>K+cNM=zo)r!Py-dd&l zW>FH8u1y}IdI*$KI(1I@9z_SYhjn+GuAMo6B>ludXGUEutXNHVm6MhV>m$DSAqBMK zgKH%tB{2oaG~9>)F&5K?Yum6a*bu_z#D%2)F3$aS{2JUJB?ABn%qW1ts|_>cEObw2 c-O^^KEyu7UlYFF2I5%YyxF!H2?qr literal 0 HcmV?d00001 diff --git a/build/doctrees/server_gui_settings_ui.doctree b/build/doctrees/server_gui_settings_ui.doctree new file mode 100644 index 0000000000000000000000000000000000000000..093cec1724b38f3e3fa9ab618aa3b548ec53b641 GIT binary patch literal 7325 zcmd5>-H#kc5#O`Dd$;%LyWn$>ea=N8cu)A&5sCylj3s2AaC}&?jf8U1WOk-^d-i5$ zhM6AwE?~ex5k94*5IlK$w-?(yU`us;>G~b^8agTW-xs$BiN^T|%Sr5${ zkspT^OJoHU7I$1bWM1-mB4>$QIBwKT*N;cc5{~cX%XyX8`1tEdgV$wMIKpLxS8_RG z;dK^n7@gSJFd`;|<8`79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5XTB0B&DvPqo8c_@U zW~g?cvI=~e-oZ>28L`3WQ1N{+V>w$UvG2eH6jq8qS zGqmz5Bq~Z+G3!QQkxN-}iN#Xin?4rpf5B$OjN;pqAzi&#e9^a9oT4)zwGTK{WaCV+ zn6`DN73nPojhh&c`cW)i@|ofKre-oKF|iG`BsWC`RdEyLI5c9J8rl#|YZn1j%;-_* zYP~5jYQd7Dk?K`?n3}@wxtT*WTdsAM(BGc8-8UocR)OK#bwERkG zB}S<2Sb?QXbXGI1KyTP|kVML{)FJo}jUQ{&OjN zIIB)3yUqMHi-k?O2i*Q54?8wCtA=_5USx(mzA`SBV3Qp!bIu=;&~?Z%6R!0E&7^j@3}JT|-Y)yF~qU-N3~we}k5#3bA@S@=&MK zrwjQ#BEf-uSdVL1P7^ke0>eB(MG!Um=&TMIukGr}8|gd3b_|>8G?)n&-h&97p~&AC zrwveTYYb_vt>G&RdX4lo;l7wlzLUUM?WTgYeQ|<0JM=w5j4L>S|H2fJvcF;o3Ir36_Ik zId(ajKfrC@i{FIPqv!^Fz<2_fx!N$p%fj?zHZ3i6(sB$tGRZSqgl-ciL3)CIDkEI` E4^k)L;{X5v literal 0 HcmV?d00001 diff --git a/build/doctrees/start.doctree b/build/doctrees/start.doctree new file mode 100644 index 0000000000000000000000000000000000000000..d8f34b4bbdc1de227a5c9704f83de09b19e6dfac GIT binary patch literal 2814 zcmcIm%WfMt6m@J%vSeGflcp$;xJ?kGanM-qqKhKUCP;QhjG(Vg9T3zEB{Jp=r+hf_ zB0!5GKn!pf_CLDlu0_AW`Ii1b59eiDT^1D}V0d|XABX4O%bz;G{ykVIe}2OhT;#J6 zP19VZ%mlxZs>Ee1x8Ys5|8sa9c6?vcS4KIVu;3Sw$jA?SD z*(B;X-?MZYw*uebH~1RA$(Q)HfBxj*;dh2`^Tdwja zQXuAUm_BCuaZyN-&;hU9ko*&*!EXbpJNVzl z{~rGLV@mL#MVZKsUoNQ7!CyQ3^X#v)-{1do_Q!kw)veMEfUN-Et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<~vr)#c zEn%&I1-`;5`ika;fmZ|fNbj7h)j~YH;8`D!uH#$i*_mpy;w;S78kH7uw$kGkb*E6P z&}%jUK<<(`UfB~l&Y4o^<2?-d1`Jw^D(H;O4NqK&UiMCV<<`;le8P8eeR}kBnD6iw zAT83xo7~}|H`|;?b6e@6X}Xmga6Pwzobj-M=O2iu*0X$TsakJ_j@VL+Qn<~!8O|NN z>7cmwe0TdtM=XIkzFRF~<`#S=RB`l-Z>u%Kb|}LFN{jD_eTji!Pm<_vm2eFXs`l>o z53$O8JJAq;Q9f8y22GI4vRj>RV!JpvUc~S9jb@8qfEm78qlkMT>4tJNLrF;(JI0WI@T$W%fS+3%bA=dq$}!-tR^XwmE{W_ZuQ6Tn!a30f)c%kk zR?28>JalKFMa9r>9UbF)Ad?kGtEVO)daGoSZx7B^LmX7{OY?pi{~*5`%QX`H&EnMo zCwg|^S?t0yuMjxpTEUH2yNBLYLa>gjMTHiE%Yua{eX3cJS#8~-J&0VQ^72!&S}@Cj=bU>rT|X0^(=*S?*S#;upg|Bix;C`dF@29 zmzQCfEFnBT-iZ+JFd?=%?LRJV85dWPi_3-?-AK&n?oc*Nf9SSAMpp_lx_gY#1!atG zD`Iq|5u=Mu7~Os%c~AF3NZwNfDZ)keKB!fzT(Nt@MS-q(_3$e4N(7`?tP%wxPBFDJ zAA<`zUn~wGGdffzPM$G35F$>Eh#jqB+bg3DRE&06Ft|AC!6p3Xrj|z0fypJxHv;yenY?E)XO{dW1EqJs-_!%S^2f@@= 0 && + !jQuery(node.parentNode).hasClass(className) && + !jQuery(node.parentNode).hasClass("nohighlight")) { + var span; + var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.className = className; + } + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + node.parentNode.insertBefore(span, node.parentNode.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling)); + node.nodeValue = val.substr(0, pos); + if (isInSVG) { + var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); + var bbox = node.parentElement.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute('class', className); + addItems.push({ + "parent": node.parentNode, + "target": rect}); + } + } + } + else if (!jQuery(node).is("button, select, textarea")) { + jQuery.each(node.childNodes, function() { + highlight(this, addItems); + }); + } + } + var addItems = []; + var result = this.each(function() { + highlight(this, addItems); + }); + for (var i = 0; i < addItems.length; ++i) { + jQuery(addItems[i].parent).before(addItems[i].target); + } + return result; +}; + +/* + * backward compatibility for jQuery.browser + * This will be supported until firefox bug is fixed. + */ +if (!jQuery.browser) { + jQuery.uaMatch = function(ua) { + ua = ua.toLowerCase(); + + var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || + /(webkit)[ \/]([\w.]+)/.exec(ua) || + /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || + /(msie) ([\w.]+)/.exec(ua) || + ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || + []; + + return { + browser: match[ 1 ] || "", + version: match[ 2 ] || "0" + }; + }; + jQuery.browser = {}; + jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; +} diff --git a/build/html/_static/alabaster.css b/build/html/_static/alabaster.css new file mode 100644 index 0000000..0eddaeb --- /dev/null +++ b/build/html/_static/alabaster.css @@ -0,0 +1,701 @@ +@import url("basic.css"); + +/* -- page layout ----------------------------------------------------------- */ + +body { + font-family: Georgia, serif; + font-size: 17px; + background-color: #fff; + color: #000; + margin: 0; + padding: 0; +} + + +div.document { + width: 940px; + margin: 30px auto 0 auto; +} + +div.documentwrapper { + float: left; + width: 100%; +} + +div.bodywrapper { + margin: 0 0 0 220px; +} + +div.sphinxsidebar { + width: 220px; + font-size: 14px; + line-height: 1.5; +} + +hr { + border: 1px solid #B1B4B6; +} + +div.body { + background-color: #fff; + color: #3E4349; + padding: 0 30px 0 30px; +} + +div.body > .section { + text-align: left; +} + +div.footer { + width: 940px; + margin: 20px auto 30px auto; + font-size: 14px; + color: #888; + text-align: right; +} + +div.footer a { + color: #888; +} + +p.caption { + font-family: inherit; + font-size: inherit; +} + + +div.relations { + display: none; +} + + +div.sphinxsidebar a { + color: #444; + text-decoration: none; + border-bottom: 1px dotted #999; +} + +div.sphinxsidebar a:hover { + border-bottom: 1px solid #999; +} + +div.sphinxsidebarwrapper { + padding: 18px 10px; +} + +div.sphinxsidebarwrapper p.logo { + padding: 0; + margin: -10px 0 0 0px; + text-align: center; +} + +div.sphinxsidebarwrapper h1.logo { + margin-top: -10px; + text-align: center; + margin-bottom: 5px; + text-align: left; +} + +div.sphinxsidebarwrapper h1.logo-name { + margin-top: 0px; +} + +div.sphinxsidebarwrapper p.blurb { + margin-top: 0; + font-style: normal; +} + +div.sphinxsidebar h3, +div.sphinxsidebar h4 { + font-family: Georgia, serif; + color: #444; + font-size: 24px; + font-weight: normal; + margin: 0 0 5px 0; + padding: 0; +} + +div.sphinxsidebar h4 { + font-size: 20px; +} + +div.sphinxsidebar h3 a { + color: #444; +} + +div.sphinxsidebar p.logo a, +div.sphinxsidebar h3 a, +div.sphinxsidebar p.logo a:hover, +div.sphinxsidebar h3 a:hover { + border: none; +} + +div.sphinxsidebar p { + color: #555; + margin: 10px 0; +} + +div.sphinxsidebar ul { + margin: 10px 0; + padding: 0; + color: #000; +} + +div.sphinxsidebar ul li.toctree-l1 > a { + font-size: 120%; +} + +div.sphinxsidebar ul li.toctree-l2 > a { + font-size: 110%; +} + +div.sphinxsidebar input { + border: 1px solid #CCC; + font-family: Georgia, serif; + font-size: 1em; +} + +div.sphinxsidebar hr { + border: none; + height: 1px; + color: #AAA; + background: #AAA; + + text-align: left; + margin-left: 0; + width: 50%; +} + +div.sphinxsidebar .badge { + border-bottom: none; +} + +div.sphinxsidebar .badge:hover { + border-bottom: none; +} + +/* To address an issue with donation coming after search */ +div.sphinxsidebar h3.donation { + margin-top: 10px; +} + +/* -- body styles ----------------------------------------------------------- */ + +a { + color: #004B6B; + text-decoration: underline; +} + +a:hover { + color: #6D4100; + text-decoration: underline; +} + +div.body h1, +div.body h2, +div.body h3, +div.body h4, +div.body h5, +div.body h6 { + font-family: Georgia, serif; + font-weight: normal; + margin: 30px 0px 10px 0px; + padding: 0; +} + +div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } +div.body h2 { font-size: 180%; } +div.body h3 { font-size: 150%; } +div.body h4 { font-size: 130%; } +div.body h5 { font-size: 100%; } +div.body h6 { font-size: 100%; } + +a.headerlink { + color: #DDD; + padding: 0 4px; + text-decoration: none; +} + +a.headerlink:hover { + color: #444; + background: #EAEAEA; +} + +div.body p, div.body dd, div.body li { + line-height: 1.4em; +} + +div.admonition { + margin: 20px 0px; + padding: 10px 30px; + background-color: #EEE; + border: 1px solid #CCC; +} + +div.admonition tt.xref, div.admonition code.xref, div.admonition a tt { + background-color: #FBFBFB; + border-bottom: 1px solid #fafafa; +} + +div.admonition p.admonition-title { + font-family: Georgia, serif; + font-weight: normal; + font-size: 24px; + margin: 0 0 10px 0; + padding: 0; + line-height: 1; +} + +div.admonition p.last { + margin-bottom: 0; +} + +div.highlight { + background-color: #fff; +} + +dt:target, .highlight { + background: #FAF3E8; +} + +div.warning { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.danger { + background-color: #FCC; + border: 1px solid #FAA; + -moz-box-shadow: 2px 2px 4px #D52C2C; + -webkit-box-shadow: 2px 2px 4px #D52C2C; + box-shadow: 2px 2px 4px #D52C2C; +} + +div.error { + background-color: #FCC; + border: 1px solid #FAA; + -moz-box-shadow: 2px 2px 4px #D52C2C; + -webkit-box-shadow: 2px 2px 4px #D52C2C; + box-shadow: 2px 2px 4px #D52C2C; +} + +div.caution { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.attention { + background-color: #FCC; + border: 1px solid #FAA; +} + +div.important { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.note { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.tip { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.hint { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.seealso { + background-color: #EEE; + border: 1px solid #CCC; +} + +div.topic { + background-color: #EEE; +} + +p.admonition-title { + display: inline; +} + +p.admonition-title:after { + content: ":"; +} + +pre, tt, code { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; + font-size: 0.9em; +} + +.hll { + background-color: #FFC; + margin: 0 -12px; + padding: 0 12px; + display: block; +} + +img.screenshot { +} + +tt.descname, tt.descclassname, code.descname, code.descclassname { + font-size: 0.95em; +} + +tt.descname, code.descname { + padding-right: 0.08em; +} + +img.screenshot { + -moz-box-shadow: 2px 2px 4px #EEE; + -webkit-box-shadow: 2px 2px 4px #EEE; + box-shadow: 2px 2px 4px #EEE; +} + +table.docutils { + border: 1px solid #888; + -moz-box-shadow: 2px 2px 4px #EEE; + -webkit-box-shadow: 2px 2px 4px #EEE; + box-shadow: 2px 2px 4px #EEE; +} + +table.docutils td, table.docutils th { + border: 1px solid #888; + padding: 0.25em 0.7em; +} + +table.field-list, table.footnote { + border: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + +table.footnote { + margin: 15px 0; + width: 100%; + border: 1px solid #EEE; + background: #FDFDFD; + font-size: 0.9em; +} + +table.footnote + table.footnote { + margin-top: -15px; + border-top: none; +} + +table.field-list th { + padding: 0 0.8em 0 0; +} + +table.field-list td { + padding: 0; +} + +table.field-list p { + margin-bottom: 0.8em; +} + +/* Cloned from + * https://github.com/sphinx-doc/sphinx/commit/ef60dbfce09286b20b7385333d63a60321784e68 + */ +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +table.footnote td.label { + width: .1px; + padding: 0.3em 0 0.3em 0.5em; +} + +table.footnote td { + padding: 0.3em 0.5em; +} + +dl { + margin: 0; + padding: 0; +} + +dl dd { + margin-left: 30px; +} + +blockquote { + margin: 0 0 0 30px; + padding: 0; +} + +ul, ol { + /* Matches the 30px from the narrow-screen "li > ul" selector below */ + margin: 10px 0 10px 30px; + padding: 0; +} + +pre { + background: #EEE; + padding: 7px 30px; + margin: 15px 0px; + line-height: 1.3em; +} + +div.viewcode-block:target { + background: #ffd; +} + +dl pre, blockquote pre, li pre { + margin-left: 0; + padding-left: 30px; +} + +tt, code { + background-color: #ecf0f3; + color: #222; + /* padding: 1px 2px; */ +} + +tt.xref, code.xref, a tt { + background-color: #FBFBFB; + border-bottom: 1px solid #fff; +} + +a.reference { + text-decoration: none; + border-bottom: 1px dotted #004B6B; +} + +/* Don't put an underline on images */ +a.image-reference, a.image-reference:hover { + border-bottom: none; +} + +a.reference:hover { + border-bottom: 1px solid #6D4100; +} + +a.footnote-reference { + text-decoration: none; + font-size: 0.7em; + vertical-align: top; + border-bottom: 1px dotted #004B6B; +} + +a.footnote-reference:hover { + border-bottom: 1px solid #6D4100; +} + +a:hover tt, a:hover code { + background: #EEE; +} + + +@media screen and (max-width: 870px) { + + div.sphinxsidebar { + display: none; + } + + div.document { + width: 100%; + + } + + div.documentwrapper { + margin-left: 0; + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + } + + div.bodywrapper { + margin-top: 0; + margin-right: 0; + margin-bottom: 0; + margin-left: 0; + } + + ul { + margin-left: 0; + } + + li > ul { + /* Matches the 30px from the "ul, ol" selector above */ + margin-left: 30px; + } + + .document { + width: auto; + } + + .footer { + width: auto; + } + + .bodywrapper { + margin: 0; + } + + .footer { + width: auto; + } + + .github { + display: none; + } + + + +} + + + +@media screen and (max-width: 875px) { + + body { + margin: 0; + padding: 20px 30px; + } + + div.documentwrapper { + float: none; + background: #fff; + } + + div.sphinxsidebar { + display: block; + float: none; + width: 102.5%; + margin: 50px -30px -20px -30px; + padding: 10px 20px; + background: #333; + color: #FFF; + } + + div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, + div.sphinxsidebar h3 a { + color: #fff; + } + + div.sphinxsidebar a { + color: #AAA; + } + + div.sphinxsidebar p.logo { + display: none; + } + + div.document { + width: 100%; + margin: 0; + } + + div.footer { + display: none; + } + + div.bodywrapper { + margin: 0; + } + + div.body { + min-height: 0; + padding: 0; + } + + .rtd_doc_footer { + display: none; + } + + .document { + width: auto; + } + + .footer { + width: auto; + } + + .footer { + width: auto; + } + + .github { + display: none; + } +} + + +/* misc. */ + +.revsys-inline { + display: none!important; +} + +/* Make nested-list/multi-paragraph items look better in Releases changelog + * pages. Without this, docutils' magical list fuckery causes inconsistent + * formatting between different release sub-lists. + */ +div#changelog > div.section > ul > li > p:only-child { + margin-bottom: 0; +} + +/* Hide fugly table cell borders in ..bibliography:: directive output */ +table.docutils.citation, table.docutils.citation td, table.docutils.citation th { + border: none; + /* Below needed in some edge cases; if not applied, bottom shadows appear */ + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; +} + + +/* relbar */ + +.related { + line-height: 30px; + width: 100%; + font-size: 0.9rem; +} + +.related.top { + border-bottom: 1px solid #EEE; + margin-bottom: 20px; +} + +.related.bottom { + border-top: 1px solid #EEE; +} + +.related ul { + padding: 0; + margin: 0; + list-style: none; +} + +.related li { + display: inline; +} + +nav#rellinks { + float: right; +} + +nav#rellinks li+li:before { + content: "|"; +} + +nav#breadcrumbs li+li:before { + content: "\00BB"; +} + +/* Hide certain items when printing */ +@media print { + div.related { + display: none; + } +} \ No newline at end of file diff --git a/build/html/_static/base-stemmer.js b/build/html/_static/base-stemmer.js new file mode 100644 index 0000000..ca6cca1 --- /dev/null +++ b/build/html/_static/base-stemmer.js @@ -0,0 +1,294 @@ +/**@constructor*/ +BaseStemmer = function() { + this.setCurrent = function(value) { + this.current = value; + this.cursor = 0; + this.limit = this.current.length; + this.limit_backward = 0; + this.bra = this.cursor; + this.ket = this.limit; + }; + + this.getCurrent = function() { + return this.current; + }; + + this.copy_from = function(other) { + this.current = other.current; + this.cursor = other.cursor; + this.limit = other.limit; + this.limit_backward = other.limit_backward; + this.bra = other.bra; + this.ket = other.ket; + }; + + this.in_grouping = function(s, min, max) { + if (this.cursor >= this.limit) return false; + var ch = this.current.charCodeAt(this.cursor); + if (ch > max || ch < min) return false; + ch -= min; + if ((s[ch >>> 3] & (0x1 << (ch & 0x7))) == 0) return false; + this.cursor++; + return true; + }; + + this.in_grouping_b = function(s, min, max) { + if (this.cursor <= this.limit_backward) return false; + var ch = this.current.charCodeAt(this.cursor - 1); + if (ch > max || ch < min) return false; + ch -= min; + if ((s[ch >>> 3] & (0x1 << (ch & 0x7))) == 0) return false; + this.cursor--; + return true; + }; + + this.out_grouping = function(s, min, max) { + if (this.cursor >= this.limit) return false; + var ch = this.current.charCodeAt(this.cursor); + if (ch > max || ch < min) { + this.cursor++; + return true; + } + ch -= min; + if ((s[ch >>> 3] & (0X1 << (ch & 0x7))) == 0) { + this.cursor++; + return true; + } + return false; + }; + + this.out_grouping_b = function(s, min, max) { + if (this.cursor <= this.limit_backward) return false; + var ch = this.current.charCodeAt(this.cursor - 1); + if (ch > max || ch < min) { + this.cursor--; + return true; + } + ch -= min; + if ((s[ch >>> 3] & (0x1 << (ch & 0x7))) == 0) { + this.cursor--; + return true; + } + return false; + }; + + this.eq_s = function(s) + { + if (this.limit - this.cursor < s.length) return false; + if (this.current.slice(this.cursor, this.cursor + s.length) != s) + { + return false; + } + this.cursor += s.length; + return true; + }; + + this.eq_s_b = function(s) + { + if (this.cursor - this.limit_backward < s.length) return false; + if (this.current.slice(this.cursor - s.length, this.cursor) != s) + { + return false; + } + this.cursor -= s.length; + return true; + }; + + /** @return {number} */ this.find_among = function(v) + { + var i = 0; + var j = v.length; + + var c = this.cursor; + var l = this.limit; + + var common_i = 0; + var common_j = 0; + + var first_key_inspected = false; + + while (true) + { + var k = i + ((j - i) >>> 1); + var diff = 0; + var common = common_i < common_j ? common_i : common_j; // smaller + // w[0]: string, w[1]: substring_i, w[2]: result, w[3]: function (optional) + var w = v[k]; + var i2; + for (i2 = common; i2 < w[0].length; i2++) + { + if (c + common == l) + { + diff = -1; + break; + } + diff = this.current.charCodeAt(c + common) - w[0].charCodeAt(i2); + if (diff != 0) break; + common++; + } + if (diff < 0) + { + j = k; + common_j = common; + } + else + { + i = k; + common_i = common; + } + if (j - i <= 1) + { + if (i > 0) break; // v->s has been inspected + if (j == i) break; // only one item in v + + // - but now we need to go round once more to get + // v->s inspected. This looks messy, but is actually + // the optimal approach. + + if (first_key_inspected) break; + first_key_inspected = true; + } + } + do { + var w = v[i]; + if (common_i >= w[0].length) + { + this.cursor = c + w[0].length; + if (w.length < 4) return w[2]; + var res = w[3](this); + this.cursor = c + w[0].length; + if (res) return w[2]; + } + i = w[1]; + } while (i >= 0); + return 0; + }; + + // find_among_b is for backwards processing. Same comments apply + this.find_among_b = function(v) + { + var i = 0; + var j = v.length + + var c = this.cursor; + var lb = this.limit_backward; + + var common_i = 0; + var common_j = 0; + + var first_key_inspected = false; + + while (true) + { + var k = i + ((j - i) >> 1); + var diff = 0; + var common = common_i < common_j ? common_i : common_j; + var w = v[k]; + var i2; + for (i2 = w[0].length - 1 - common; i2 >= 0; i2--) + { + if (c - common == lb) + { + diff = -1; + break; + } + diff = this.current.charCodeAt(c - 1 - common) - w[0].charCodeAt(i2); + if (diff != 0) break; + common++; + } + if (diff < 0) + { + j = k; + common_j = common; + } + else + { + i = k; + common_i = common; + } + if (j - i <= 1) + { + if (i > 0) break; + if (j == i) break; + if (first_key_inspected) break; + first_key_inspected = true; + } + } + do { + var w = v[i]; + if (common_i >= w[0].length) + { + this.cursor = c - w[0].length; + if (w.length < 4) return w[2]; + var res = w[3](this); + this.cursor = c - w[0].length; + if (res) return w[2]; + } + i = w[1]; + } while (i >= 0); + return 0; + }; + + /* to replace chars between c_bra and c_ket in this.current by the + * chars in s. + */ + this.replace_s = function(c_bra, c_ket, s) + { + var adjustment = s.length - (c_ket - c_bra); + this.current = this.current.slice(0, c_bra) + s + this.current.slice(c_ket); + this.limit += adjustment; + if (this.cursor >= c_ket) this.cursor += adjustment; + else if (this.cursor > c_bra) this.cursor = c_bra; + return adjustment; + }; + + this.slice_check = function() + { + if (this.bra < 0 || + this.bra > this.ket || + this.ket > this.limit || + this.limit > this.current.length) + { + return false; + } + return true; + }; + + this.slice_from = function(s) + { + var result = false; + if (this.slice_check()) + { + this.replace_s(this.bra, this.ket, s); + result = true; + } + return result; + }; + + this.slice_del = function() + { + return this.slice_from(""); + }; + + this.insert = function(c_bra, c_ket, s) + { + var adjustment = this.replace_s(c_bra, c_ket, s); + if (c_bra <= this.bra) this.bra += adjustment; + if (c_bra <= this.ket) this.ket += adjustment; + }; + + this.slice_to = function() + { + var result = ''; + if (this.slice_check()) + { + result = this.current.slice(this.bra, this.ket); + } + return result; + }; + + this.assign_to = function() + { + return this.current.slice(0, this.limit); + }; +}; diff --git a/build/html/_static/basic.css b/build/html/_static/basic.css new file mode 100644 index 0000000..4e9a9f1 --- /dev/null +++ b/build/html/_static/basic.css @@ -0,0 +1,900 @@ +/* + * basic.css + * ~~~~~~~~~ + * + * Sphinx stylesheet -- basic theme. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ + +/* -- main layout ----------------------------------------------------------- */ + +div.clearer { + clear: both; +} + +div.section::after { + display: block; + content: ''; + clear: left; +} + +/* -- relbar ---------------------------------------------------------------- */ + +div.related { + width: 100%; + font-size: 90%; +} + +div.related h3 { + display: none; +} + +div.related ul { + margin: 0; + padding: 0 0 0 10px; + list-style: none; +} + +div.related li { + display: inline; +} + +div.related li.right { + float: right; + margin-right: 5px; +} + +/* -- sidebar --------------------------------------------------------------- */ + +div.sphinxsidebarwrapper { + padding: 10px 5px 0 10px; +} + +div.sphinxsidebar { + float: left; + width: 230px; + margin-left: -100%; + font-size: 90%; + word-wrap: break-word; + overflow-wrap : break-word; +} + +div.sphinxsidebar ul { + list-style: none; +} + +div.sphinxsidebar ul ul, +div.sphinxsidebar ul.want-points { + margin-left: 20px; + list-style: square; +} + +div.sphinxsidebar ul ul { + margin-top: 0; + margin-bottom: 0; +} + +div.sphinxsidebar form { + margin-top: 10px; +} + +div.sphinxsidebar input { + border: 1px solid #98dbcc; + font-family: sans-serif; + font-size: 1em; +} + +div.sphinxsidebar #searchbox form.search { + overflow: hidden; +} + +div.sphinxsidebar #searchbox input[type="text"] { + float: left; + width: 80%; + padding: 0.25em; + box-sizing: border-box; +} + +div.sphinxsidebar #searchbox input[type="submit"] { + float: left; + width: 20%; + border-left: none; + padding: 0.25em; + box-sizing: border-box; +} + + +img { + border: 0; + max-width: 100%; +} + +/* -- search page ----------------------------------------------------------- */ + +ul.search { + margin: 10px 0 0 20px; + padding: 0; +} + +ul.search li { + padding: 5px 0 5px 20px; + background-image: url(file.png); + background-repeat: no-repeat; + background-position: 0 7px; +} + +ul.search li a { + font-weight: bold; +} + +ul.search li p.context { + color: #888; + margin: 2px 0 0 30px; + text-align: left; +} + +ul.keywordmatches li.goodmatch a { + font-weight: bold; +} + +/* -- index page ------------------------------------------------------------ */ + +table.contentstable { + width: 90%; + margin-left: auto; + margin-right: auto; +} + +table.contentstable p.biglink { + line-height: 150%; +} + +a.biglink { + font-size: 1.3em; +} + +span.linkdescr { + font-style: italic; + padding-top: 5px; + font-size: 90%; +} + +/* -- general index --------------------------------------------------------- */ + +table.indextable { + width: 100%; +} + +table.indextable td { + text-align: left; + vertical-align: top; +} + +table.indextable ul { + margin-top: 0; + margin-bottom: 0; + list-style-type: none; +} + +table.indextable > tbody > tr > td > ul { + padding-left: 0em; +} + +table.indextable tr.pcap { + height: 10px; +} + +table.indextable tr.cap { + margin-top: 10px; + background-color: #f2f2f2; +} + +img.toggler { + margin-right: 3px; + margin-top: 3px; + cursor: pointer; +} + +div.modindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +div.genindex-jumpbox { + border-top: 1px solid #ddd; + border-bottom: 1px solid #ddd; + margin: 1em 0 1em 0; + padding: 0.4em; +} + +/* -- domain module index --------------------------------------------------- */ + +table.modindextable td { + padding: 2px; + border-collapse: collapse; +} + +/* -- general body styles --------------------------------------------------- */ + +div.body { + min-width: 360px; + max-width: 800px; +} + +div.body p, div.body dd, div.body li, div.body blockquote { + -moz-hyphens: auto; + -ms-hyphens: auto; + -webkit-hyphens: auto; + hyphens: auto; +} + +a.headerlink { + visibility: hidden; +} + +h1:hover > a.headerlink, +h2:hover > a.headerlink, +h3:hover > a.headerlink, +h4:hover > a.headerlink, +h5:hover > a.headerlink, +h6:hover > a.headerlink, +dt:hover > a.headerlink, +caption:hover > a.headerlink, +p.caption:hover > a.headerlink, +div.code-block-caption:hover > a.headerlink { + visibility: visible; +} + +div.body p.caption { + text-align: inherit; +} + +div.body td { + text-align: left; +} + +.first { + margin-top: 0 !important; +} + +p.rubric { + margin-top: 30px; + font-weight: bold; +} + +img.align-left, figure.align-left, .figure.align-left, object.align-left { + clear: left; + float: left; + margin-right: 1em; +} + +img.align-right, figure.align-right, .figure.align-right, object.align-right { + clear: right; + float: right; + margin-left: 1em; +} + +img.align-center, figure.align-center, .figure.align-center, object.align-center { + display: block; + margin-left: auto; + margin-right: auto; +} + +img.align-default, figure.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + +.align-left { + text-align: left; +} + +.align-center { + text-align: center; +} + +.align-default { + text-align: center; +} + +.align-right { + text-align: right; +} + +/* -- sidebars -------------------------------------------------------------- */ + +div.sidebar, +aside.sidebar { + margin: 0 0 0.5em 1em; + border: 1px solid #ddb; + padding: 7px; + background-color: #ffe; + width: 40%; + float: right; + clear: right; + overflow-x: auto; +} + +p.sidebar-title { + font-weight: bold; +} +nav.contents, +aside.topic, +div.admonition, div.topic, blockquote { + clear: left; +} + +/* -- topics ---------------------------------------------------------------- */ +nav.contents, +aside.topic, +div.topic { + border: 1px solid #ccc; + padding: 7px; + margin: 10px 0 10px 0; +} + +p.topic-title { + font-size: 1.1em; + font-weight: bold; + margin-top: 10px; +} + +/* -- admonitions ----------------------------------------------------------- */ + +div.admonition { + margin-top: 10px; + margin-bottom: 10px; + padding: 7px; +} + +div.admonition dt { + font-weight: bold; +} + +p.admonition-title { + margin: 0px 10px 5px 0px; + font-weight: bold; +} + +div.body p.centered { + text-align: center; + margin-top: 25px; +} + +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +aside.sidebar > :last-child, +nav.contents > :last-child, +aside.topic > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + +div.sidebar::after, +aside.sidebar::after, +nav.contents::after, +aside.topic::after, +div.topic::after, +div.admonition::after, +blockquote::after { + display: block; + content: ''; + clear: both; +} + +/* -- tables ---------------------------------------------------------------- */ + +table.docutils { + margin-top: 10px; + margin-bottom: 10px; + border: 0; + border-collapse: collapse; +} + +table.align-center { + margin-left: auto; + margin-right: auto; +} + +table.align-default { + margin-left: auto; + margin-right: auto; +} + +table caption span.caption-number { + font-style: italic; +} + +table caption span.caption-text { +} + +table.docutils td, table.docutils th { + padding: 1px 8px 1px 5px; + border-top: 0; + border-left: 0; + border-right: 0; + border-bottom: 1px solid #aaa; +} + +th { + text-align: left; + padding-right: 5px; +} + +table.citation { + border-left: solid 1px gray; + margin-left: 1px; +} + +table.citation td { + border-bottom: none; +} + +th > :first-child, +td > :first-child { + margin-top: 0px; +} + +th > :last-child, +td > :last-child { + margin-bottom: 0px; +} + +/* -- figures --------------------------------------------------------------- */ + +div.figure, figure { + margin: 0.5em; + padding: 0.5em; +} + +div.figure p.caption, figcaption { + padding: 0.3em; +} + +div.figure p.caption span.caption-number, +figcaption span.caption-number { + font-style: italic; +} + +div.figure p.caption span.caption-text, +figcaption span.caption-text { +} + +/* -- field list styles ----------------------------------------------------- */ + +table.field-list td, table.field-list th { + border: 0 !important; +} + +.field-list ul { + margin: 0; + padding-left: 1em; +} + +.field-list p { + margin: 0; +} + +.field-name { + -moz-hyphens: manual; + -ms-hyphens: manual; + -webkit-hyphens: manual; + hyphens: manual; +} + +/* -- hlist styles ---------------------------------------------------------- */ + +table.hlist { + margin: 1em 0; +} + +table.hlist td { + vertical-align: top; +} + +/* -- object description styles --------------------------------------------- */ + +.sig { + font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; +} + +.sig-name, code.descname { + background-color: transparent; + font-weight: bold; +} + +.sig-name { + font-size: 1.1em; +} + +code.descname { + font-size: 1.2em; +} + +.sig-prename, code.descclassname { + background-color: transparent; +} + +.optional { + font-size: 1.3em; +} + +.sig-paren { + font-size: larger; +} + +.sig-param.n { + font-style: italic; +} + +/* C++ specific styling */ + +.sig-inline.c-texpr, +.sig-inline.cpp-texpr { + font-family: unset; +} + +.sig.c .k, .sig.c .kt, +.sig.cpp .k, .sig.cpp .kt { + color: #0033B3; +} + +.sig.c .m, +.sig.cpp .m { + color: #1750EB; +} + +.sig.c .s, .sig.c .sc, +.sig.cpp .s, .sig.cpp .sc { + color: #067D17; +} + + +/* -- other body styles ----------------------------------------------------- */ + +ol.arabic { + list-style: decimal; +} + +ol.loweralpha { + list-style: lower-alpha; +} + +ol.upperalpha { + list-style: upper-alpha; +} + +ol.lowerroman { + list-style: lower-roman; +} + +ol.upperroman { + list-style: upper-roman; +} + +:not(li) > ol > li:first-child > :first-child, +:not(li) > ul > li:first-child > :first-child { + margin-top: 0px; +} + +:not(li) > ol > li:last-child > :last-child, +:not(li) > ul > li:last-child > :last-child { + margin-bottom: 0px; +} + +ol.simple ol p, +ol.simple ul p, +ul.simple ol p, +ul.simple ul p { + margin-top: 0; +} + +ol.simple > li:not(:first-child) > p, +ul.simple > li:not(:first-child) > p { + margin-top: 0; +} + +ol.simple p, +ul.simple p { + margin-bottom: 0; +} +aside.footnote > span, +div.citation > span { + float: left; +} +aside.footnote > span:last-of-type, +div.citation > span:last-of-type { + padding-right: 0.5em; +} +aside.footnote > p { + margin-left: 2em; +} +div.citation > p { + margin-left: 4em; +} +aside.footnote > p:last-of-type, +div.citation > p:last-of-type { + margin-bottom: 0em; +} +aside.footnote > p:last-of-type:after, +div.citation > p:last-of-type:after { + content: ""; + clear: both; +} + +dl.field-list { + display: grid; + grid-template-columns: fit-content(30%) auto; +} + +dl.field-list > dt { + font-weight: bold; + word-break: break-word; + padding-left: 0.5em; + padding-right: 5px; +} + +dl.field-list > dd { + padding-left: 0.5em; + margin-top: 0em; + margin-left: 0em; + margin-bottom: 0em; +} + +dl { + margin-bottom: 15px; +} + +dd > :first-child { + margin-top: 0px; +} + +dd ul, dd table { + margin-bottom: 10px; +} + +dd { + margin-top: 3px; + margin-bottom: 10px; + margin-left: 30px; +} + +dl > dd:last-child, +dl > dd:last-child > :last-child { + margin-bottom: 0; +} + +dt:target, span.highlighted { + background-color: #fbe54e; +} + +rect.highlighted { + fill: #fbe54e; +} + +dl.glossary dt { + font-weight: bold; + font-size: 1.1em; +} + +.versionmodified { + font-style: italic; +} + +.system-message { + background-color: #fda; + padding: 5px; + border: 3px solid red; +} + +.footnote:target { + background-color: #ffa; +} + +.line-block { + display: block; + margin-top: 1em; + margin-bottom: 1em; +} + +.line-block .line-block { + margin-top: 0; + margin-bottom: 0; + margin-left: 1.5em; +} + +.guilabel, .menuselection { + font-family: sans-serif; +} + +.accelerator { + text-decoration: underline; +} + +.classifier { + font-style: oblique; +} + +.classifier:before { + font-style: normal; + margin: 0 0.5em; + content: ":"; + display: inline-block; +} + +abbr, acronym { + border-bottom: dotted 1px; + cursor: help; +} + +/* -- code displays --------------------------------------------------------- */ + +pre { + overflow: auto; + overflow-y: hidden; /* fixes display issues on Chrome browsers */ +} + +pre, div[class*="highlight-"] { + clear: both; +} + +span.pre { + -moz-hyphens: none; + -ms-hyphens: none; + -webkit-hyphens: none; + hyphens: none; + white-space: nowrap; +} + +div[class*="highlight-"] { + margin: 1em 0; +} + +td.linenos pre { + border: 0; + background-color: transparent; + color: #aaa; +} + +table.highlighttable { + display: block; +} + +table.highlighttable tbody { + display: block; +} + +table.highlighttable tr { + display: flex; +} + +table.highlighttable td { + margin: 0; + padding: 0; +} + +table.highlighttable td.linenos { + padding-right: 0.5em; +} + +table.highlighttable td.code { + flex: 1; + overflow: hidden; +} + +.highlight .hll { + display: block; +} + +div.highlight pre, +table.highlighttable pre { + margin: 0; +} + +div.code-block-caption + div { + margin-top: 0; +} + +div.code-block-caption { + margin-top: 1em; + padding: 2px 5px; + font-size: small; +} + +div.code-block-caption code { + background-color: transparent; +} + +table.highlighttable td.linenos, +span.linenos, +div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; + -webkit-user-select: text; /* Safari fallback only */ + -webkit-user-select: none; /* Chrome/Safari */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* IE10+ */ +} + +div.code-block-caption span.caption-number { + padding: 0.1em 0.3em; + font-style: italic; +} + +div.code-block-caption span.caption-text { +} + +div.literal-block-wrapper { + margin: 1em 0; +} + +code.xref, a code { + background-color: transparent; + font-weight: bold; +} + +h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { + background-color: transparent; +} + +.viewcode-link { + float: right; +} + +.viewcode-back { + float: right; + font-family: sans-serif; +} + +div.viewcode-block:target { + margin: -1px -10px; + padding: 0 10px; +} + +/* -- math display ---------------------------------------------------------- */ + +img.math { + vertical-align: middle; +} + +div.body div.math p { + text-align: center; +} + +span.eqno { + float: right; +} + +span.eqno a.headerlink { + position: absolute; + z-index: 1; +} + +div.math:hover a.headerlink { + visibility: visible; +} + +/* -- printout stylesheet --------------------------------------------------- */ + +@media print { + div.document, + div.documentwrapper, + div.bodywrapper { + margin: 0 !important; + width: 100%; + } + + div.sphinxsidebar, + div.related, + div.footer, + #top-link { + display: none; + } +} \ No newline at end of file diff --git a/build/html/_static/custom.css b/build/html/_static/custom.css new file mode 100644 index 0000000..2a924f1 --- /dev/null +++ b/build/html/_static/custom.css @@ -0,0 +1 @@ +/* This file intentionally left blank. */ diff --git a/build/html/_static/doctools.js b/build/html/_static/doctools.js new file mode 100644 index 0000000..c3db08d --- /dev/null +++ b/build/html/_static/doctools.js @@ -0,0 +1,264 @@ +/* + * doctools.js + * ~~~~~~~~~~~ + * + * Base JavaScript utilities for all Sphinx HTML documentation. + * + * :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS. + * :license: BSD, see LICENSE for details. + * + */ +"use strict"; + +const _ready = (callback) => { + if (document.readyState !== "loading") { + callback(); + } else { + document.addEventListener("DOMContentLoaded", callback); + } +}; + +/** + * highlight a given string on a node by wrapping it in + * span elements with the given class name. + */ +const _highlight = (node, addItems, text, className) => { + if (node.nodeType === Node.TEXT_NODE) { + const val = node.nodeValue; + const parent = node.parentNode; + const pos = val.toLowerCase().indexOf(text); + if ( + pos >= 0 && + !parent.classList.contains(className) && + !parent.classList.contains("nohighlight") + ) { + let span; + + const closestNode = parent.closest("body, svg, foreignObject"); + const isInSVG = closestNode && closestNode.matches("svg"); + if (isInSVG) { + span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); + } else { + span = document.createElement("span"); + span.classList.add(className); + } + + span.appendChild(document.createTextNode(val.substr(pos, text.length))); + parent.insertBefore( + span, + parent.insertBefore( + document.createTextNode(val.substr(pos + text.length)), + node.nextSibling + ) + ); + node.nodeValue = val.substr(0, pos); + + if (isInSVG) { + const rect = document.createElementNS( + "http://www.w3.org/2000/svg", + "rect" + ); + const bbox = parent.getBBox(); + rect.x.baseVal.value = bbox.x; + rect.y.baseVal.value = bbox.y; + rect.width.baseVal.value = bbox.width; + rect.height.baseVal.value = bbox.height; + rect.setAttribute("class", className); + addItems.push({ parent: parent, target: rect }); + } + } + } else if (node.matches && !node.matches("button, select, textarea")) { + node.childNodes.forEach((el) => _highlight(el, addItems, text, className)); + } +}; +const _highlightText = (thisNode, text, className) => { + let addItems = []; + _highlight(thisNode, addItems, text, className); + addItems.forEach((obj) => + obj.parent.insertAdjacentElement("beforebegin", obj.target) + ); +}; + +/** + * Small JavaScript module for the documentation. + */ +const Documentation = { + init: () => { + Documentation.highlightSearchWords(); + Documentation.initDomainIndexTable(); + Documentation.initOnKeyListeners(); + }, + + /** + * i18n support + */ + TRANSLATIONS: {}, + PLURAL_EXPR: (n) => (n === 1 ? 0 : 1), + LOCALE: "unknown", + + // gettext and ngettext don't access this so that the functions + // can safely bound to a different name (_ = Documentation.gettext) + gettext: (string) => { + const translated = Documentation.TRANSLATIONS[string]; + switch (typeof translated) { + case "undefined": + return string; // no translation + case "string": + return translated; // translation exists + default: + return translated[0]; // (singular, plural) translation tuple exists + } + }, + + ngettext: (singular, plural, n) => { + const translated = Documentation.TRANSLATIONS[singular]; + if (typeof translated !== "undefined") + return translated[Documentation.PLURAL_EXPR(n)]; + return n === 1 ? singular : plural; + }, + + addTranslations: (catalog) => { + Object.assign(Documentation.TRANSLATIONS, catalog.messages); + Documentation.PLURAL_EXPR = new Function( + "n", + `return (${catalog.plural_expr})` + ); + Documentation.LOCALE = catalog.locale; + }, + + /** + * highlight the search words provided in the url in the text + */ + highlightSearchWords: () => { + const highlight = + new URLSearchParams(window.location.search).get("highlight") || ""; + const terms = highlight.toLowerCase().split(/\s+/).filter(x => x); + if (terms.length === 0) return; // nothing to do + + // There should never be more than one element matching "div.body" + const divBody = document.querySelectorAll("div.body"); + const body = divBody.length ? divBody[0] : document.querySelector("body"); + window.setTimeout(() => { + terms.forEach((term) => _highlightText(body, term, "highlighted")); + }, 10); + + const searchBox = document.getElementById("searchbox"); + if (searchBox === null) return; + searchBox.appendChild( + document + .createRange() + .createContextualFragment( + '

" + ) + ); + }, + + /** + * helper function to hide the search marks again + */ + hideSearchWords: () => { + document + .querySelectorAll("#searchbox .highlight-link") + .forEach((el) => el.remove()); + document + .querySelectorAll("span.highlighted") + .forEach((el) => el.classList.remove("highlighted")); + const url = new URL(window.location); + url.searchParams.delete("highlight"); + window.history.replaceState({}, "", url); + }, + + /** + * helper function to focus on search bar + */ + focusSearchBar: () => { + document.querySelectorAll("input[name=q]")[0]?.focus(); + }, + + /** + * Initialise the domain index toggle buttons + */ + initDomainIndexTable: () => { + const toggler = (el) => { + const idNumber = el.id.substr(7); + const toggledRows = document.querySelectorAll(`tr.cg-${idNumber}`); + if (el.src.substr(-9) === "minus.png") { + el.src = `${el.src.substr(0, el.src.length - 9)}plus.png`; + toggledRows.forEach((el) => (el.style.display = "none")); + } else { + el.src = `${el.src.substr(0, el.src.length - 8)}minus.png`; + toggledRows.forEach((el) => (el.style.display = "")); + } + }; + + const togglerElements = document.querySelectorAll("img.toggler"); + togglerElements.forEach((el) => + el.addEventListener("click", (event) => toggler(event.currentTarget)) + ); + togglerElements.forEach((el) => (el.style.display = "")); + if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) togglerElements.forEach(toggler); + }, + + initOnKeyListeners: () => { + // only install a listener if it is really needed + if ( + !DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS && + !DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS + ) + return; + + const blacklistedElements = new Set([ + "TEXTAREA", + "INPUT", + "SELECT", + "BUTTON", + ]); + document.addEventListener("keydown", (event) => { + if (blacklistedElements.has(document.activeElement.tagName)) return; // bail for input elements + if (event.altKey || event.ctrlKey || event.metaKey) return; // bail with special keys + + if (!event.shiftKey) { + switch (event.key) { + case "ArrowLeft": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const prevLink = document.querySelector('link[rel="prev"]'); + if (prevLink && prevLink.href) { + window.location.href = prevLink.href; + event.preventDefault(); + } + break; + case "ArrowRight": + if (!DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) break; + + const nextLink = document.querySelector('link[rel="next"]'); + if (nextLink && nextLink.href) { + window.location.href = nextLink.href; + event.preventDefault(); + } + break; + case "Escape": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.hideSearchWords(); + event.preventDefault(); + } + } + + // some keyboard layouts may need Shift to get / + switch (event.key) { + case "/": + if (!DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS) break; + Documentation.focusSearchBar(); + event.preventDefault(); + } + }); + }, +}; + +// quick alias for translations +const _ = Documentation.gettext; + +_ready(Documentation.init); diff --git a/build/html/_static/documentation_options.js b/build/html/_static/documentation_options.js new file mode 100644 index 0000000..91924e0 --- /dev/null +++ b/build/html/_static/documentation_options.js @@ -0,0 +1,14 @@ +var DOCUMENTATION_OPTIONS = { + URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), + VERSION: '1.0', + LANGUAGE: 'ru', + COLLAPSE_INDEX: false, + BUILDER: 'html', + FILE_SUFFIX: '.html', + LINK_SUFFIX: '.html', + HAS_SOURCE: true, + SOURCELINK_SUFFIX: '.txt', + NAVIGATION_WITH_KEYS: false, + SHOW_SEARCH_SUMMARY: true, + ENABLE_SEARCH_SHORTCUTS: true, +}; \ No newline at end of file diff --git a/build/html/_static/file.png b/build/html/_static/file.png new file mode 100644 index 0000000000000000000000000000000000000000..a858a410e4faa62ce324d814e4b816fff83a6fb3 GIT binary patch literal 286 zcmV+(0pb3MP)s`hMrGg#P~ix$^RISR_I47Y|r1 z_CyJOe}D1){SET-^Amu_i71Lt6eYfZjRyw@I6OQAIXXHDfiX^GbOlHe=Ae4>0m)d(f|Me07*qoM6N<$f}vM^LjV8( literal 0 HcmV?d00001 diff --git a/build/html/_static/jquery-3.6.0.js b/build/html/_static/jquery-3.6.0.js new file mode 100644 index 0000000..fc6c299 --- /dev/null +++ b/build/html/_static/jquery-3.6.0.js @@ -0,0 +1,10881 @@ +/*! + * jQuery JavaScript Library v3.6.0 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2021-03-02T17:08Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.6 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2021-02-16 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client module

+

Модуль клиента мессенджера

+
+
+class client.Client
+

Базовые классы: QObject

+

Основной класс клиентской части приложения

+
+
+add_contact(new_contact)
+

Создает запрос серверу на добавление нового контакта +:param new_contact: str +:return: str

+
+ +
+
+add_new_local_contact()
+

Добавляет новый контакт в локальную базу

+
+ +
+
+authorization()
+

Получаем логин и пароль из полей окна, хешируем пароль +Отправляем presence. Если получаем в ответ 407 то значит такой пользователь +не зарегистрирован на сервере. Если получаем 210 то получаем message хешируем его +с помошью нашего пароля и отправляем на вервер. Если получаем 200 значит всё ок. +ставим флаг что мы авторизованы и закрываем окно. Если получаем 408 то выводим +сообщение что пароль не верен.

+
+
Результат:
+

+
+
+
+ +
+
+create_exit_message()
+

Создает сообщение о выходе клиента из месседжера

+
+ +
+
+create_message(text, to)
+

Получает текст имя отправителя и получателя и генерирует message +:param text: str +:param akk_name: str +:param to: str +:return: dict

+
+ +
+
+create_presence(**kwargs)
+
+ +
+
+del_contact(contact)
+

Создает запрос серверу на удаление ко контакта +:param new_contact: str +:return: str

+
+ +
+
+get_contacts()
+

Создает запрос серверу на на получение списка контактов +:return:

+
+ +
+
+login()
+

Запускаем окно Логин-Пароль. Подключаемся к серверу. Ждем ввода логина, пароля и нажания кнопки.

+

Позже надо сделать тут проверки на допустимый логин и пароль +:return:

+
+ +
+
+message_arrived
+
+ +
+
+message_from_server(client_sock)
+
+ +
+
+new_message_allert(user_name)
+

Срабатывает при получении нового сообщения. Проверяет, открыт ли чат с этим +пользователем. Если да, то просто подгружает сообщения. Если нет то выдает +окно с предложением перейти в чат с этим контактом. +:param user_name: str +:return:

+
+ +
+
+parse_response(**kwargs)
+
+ +
+
+port
+
+ +
+
+static print_help()
+

Функция выводящяя справку по использованию

+
+ +
+
+select_chat(user_name)
+

Загружает сообщения с пользователем, и делает его активным +что бы дальнейшие сообщения отправлялись ему +:param user_name: str +:return:

+
+ +
+
+send_new_message(client_socket)
+

получает сокет, берет текст из поля отправки и отправляет его +добавляет сообщене в локальную базу и загружает в окно сообщений +:param client_socket: +:return:

+
+ +
+
+send_public_key()
+

Функция отправки публичного ключа на сервер. +:return:

+
+ +
+
+start()
+
+ +
+ +
+
+client.generate_key()
+

Генерация ключей для сквозного шифрования +:return:

+
+ +
+
+client.main()
+

Создает обьект клиента, запускает функцию авторизации. Проверяет сгенерированы ли ключи +если нет то генерирует, отправляет публичный ключ на сервер

+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_gui.html b/build/html/client_gui.html new file mode 100644 index 0000000..8e2c580 --- /dev/null +++ b/build/html/client_gui.html @@ -0,0 +1,213 @@ + + + + + + + + + client_gui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_gui module

+

Gui для клиентской части мессенджера

+
+
+class client_gui.ArrivedMessage
+

Базовые классы: QDialog, Ui_newMesaageDialog

+

Окно сообщающее что получено новое сообнение

+
+ +
+
+class client_gui.LoginPass
+

Базовые классы: QDialog, Ui_loginPasswrdDialog

+

Окно для ввода логина и пароля

+
+
+edit_clear()
+
+ +
+ +
+
+class client_gui.MyWindow(database)
+

Базовые классы: QMainWindow, Ui_MainWindow

+

Основное окно клиентской части приложения

+
+
+contact_selected
+
+ +
+
+get_user_message(contact_obj)
+

Слот, при получении сигнала загружает сообщения и меняет активного контакта

+
+ +
+
+load_last_history(user_name)
+

Загружаем переписку за последние сутки с определенным контактом +и показываем в нашей Qtableview +:param user_name: str +:return:

+
+ +
+
+make_connection(contact_list)
+
+ +
+
+on_change_contact(value)
+
+ +
+
+view_contacts()
+

Загружаем и показываем список контактов +:return:

+
+ +
+ +
+
+class client_gui.NewLocalContact
+

Базовые классы: QDialog, Ui_addNewLocalContactDialog

+

Окно локального добавления нового контакта

+
+ +
+
+client_gui.main()
+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_gui_arrived_message_ui.html b/build/html/client_gui_arrived_message_ui.html new file mode 100644 index 0000000..1e52d18 --- /dev/null +++ b/build/html/client_gui_arrived_message_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + client_gui_arrived_message_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_gui_arrived_message_ui module

+
+
+class client_gui_arrived_message_ui.Ui_newMesaageDialog
+

Базовые классы: object

+
+
+retranslateUi(newMesaageDialog)
+
+ +
+
+setupUi(newMesaageDialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_gui_log_pass_ui.html b/build/html/client_gui_log_pass_ui.html new file mode 100644 index 0000000..939a733 --- /dev/null +++ b/build/html/client_gui_log_pass_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + client_gui_log_pass_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_gui_log_pass_ui module

+
+
+class client_gui_log_pass_ui.Ui_loginPasswrdDialog
+

Базовые классы: object

+
+
+retranslateUi(loginPasswrdDialog)
+
+ +
+
+setupUi(loginPasswrdDialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_gui_main_ui.html b/build/html/client_gui_main_ui.html new file mode 100644 index 0000000..4795438 --- /dev/null +++ b/build/html/client_gui_main_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + client_gui_main_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_gui_main_ui module

+
+
+class client_gui_main_ui.Ui_MainWindow
+

Базовые классы: object

+
+
+retranslateUi(MainWindow)
+
+ +
+
+setupUi(MainWindow)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_gui_new_localcontact_ui.html b/build/html/client_gui_new_localcontact_ui.html new file mode 100644 index 0000000..21a4464 --- /dev/null +++ b/build/html/client_gui_new_localcontact_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + client_gui_new_localcontact_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_gui_new_localcontact_ui module

+
+
+class client_gui_new_localcontact_ui.Ui_addNewLocalContactDialog
+

Базовые классы: object

+
+
+retranslateUi(addNewLocalContactDialog)
+
+ +
+
+setupUi(addNewLocalContactDialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_recv.html b/build/html/client_recv.html new file mode 100644 index 0000000..1e11300 --- /dev/null +++ b/build/html/client_recv.html @@ -0,0 +1,137 @@ + + + + + + + + + client_recv module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/html/client_send.html b/build/html/client_send.html new file mode 100644 index 0000000..8ce0c83 --- /dev/null +++ b/build/html/client_send.html @@ -0,0 +1,147 @@ + + + + + + + + + client_send module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_send module

+
+
+client_send.create_message(text, akk_name, to='#')
+

Получает текст имя отправителя и получателя и генерирует message +:param text: str +:param akk_name: str +:param to: str +:return: dict

+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/client_storage.html b/build/html/client_storage.html new file mode 100644 index 0000000..8918cce --- /dev/null +++ b/build/html/client_storage.html @@ -0,0 +1,272 @@ + + + + + + + + + client_storage module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

client_storage module

+
+
+class client_storage.ClientStorage(akk_name)
+

Базовые классы: object

+
+
+class Contact(name)
+

Базовые классы: Base

+
+
+id
+
+ +
+
+name
+
+ +
+ +
+
+class Message(contact_id, text, status)
+

Базовые классы: Base

+
+
+Contact
+
+ +
+
+contact_id
+
+ +
+
+date_time
+
+ +
+
+id
+
+ +
+
+status
+
+ +
+
+text
+
+ +
+ +
+
+class MyKey(private_key, public_key)
+

Базовые классы: Base

+
+
+id
+
+ +
+
+private_key
+
+ +
+
+public_key
+
+ +
+ +
+
+add_contact(user_name)
+
+ +
+
+add_keys(private_key, public_key)
+

Добавляем ключи +:param private_key: +:param public_key: +:return:

+
+ +
+
+add_message(user_name, text, status)
+

Ищем пользователя в контакт листе, если его нет то добавляем в контакт лист +потом добавляем сообщение. +:param user_name: +:param text: +:param status: str sent or received +:return:

+
+ +
+
+del_contact(user_name)
+
+ +
+
+get_contacts()
+
+ +
+
+get_history(user_name, day=1)
+

возвращает список obj сообщений с юзером. По умолчанию за последние сутки. +:param day: +:param user_name: str +:return: list

+
+ +
+
+get_keys()
+

Запрашивае ключи, если их нет то возвразаем False +:return:

+
+ +
+ +
+
+client_storage.main()
+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/common.html b/build/html/common.html new file mode 100644 index 0000000..c095824 --- /dev/null +++ b/build/html/common.html @@ -0,0 +1,168 @@ + + + + + + + + + common package — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

common package

+
+

Submodules

+
+
+

common.decorators module

+
+
+common.decorators.log(func)
+
+ +
+
+common.decorators.login_required(func)
+
+ +
+
+

common.utils module

+
+
+common.utils.cripto_pass(passwrd)
+
+ +
+
+

common.variables module

+

Константы

+
+
+

Module contents

+
+
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/descriptors.html b/build/html/descriptors.html new file mode 100644 index 0000000..64ef72f --- /dev/null +++ b/build/html/descriptors.html @@ -0,0 +1,143 @@ + + + + + + + + + descriptors module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

descriptors module

+
+
+class descriptors.CorrectPort
+

Базовые классы: object

+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/genindex.html b/build/html/genindex.html new file mode 100644 index 0000000..c54278e --- /dev/null +++ b/build/html/genindex.html @@ -0,0 +1,859 @@ + + + + + + + + Алфавитный указатель — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ + +

Алфавитный указатель

+ +
+ A + | B + | C + | D + | E + | F + | G + | I + | L + | M + | N + | O + | P + | R + | S + | T + | U + | V + | W + | М + +
+

A

+ + + +
+ +

B

+ + +
+ +

C

+ + + +
+ +

D

+ + + +
+ +

E

+ + +
+ +

F

+ + +
+ +

G

+ + + +
+ +

I

+ + +
+ +

L

+ + + +
+ +

M

+ + + +
+ +

N

+ + + +
+ +

O

+ + +
+ +

P

+ + + +
+ +

R

+ + + +
+ +

S

+ + + +
+ +

T

+ + + +
+ +

U

+ + + +
+ +

V

+ + +
+ +

W

+ + +
+ +

М

+ + +
+ + + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/index.html b/build/html/index.html new file mode 100644 index 0000000..8c5dac5 --- /dev/null +++ b/build/html/index.html @@ -0,0 +1,147 @@ + + + + + + + + + Welcome to OrangeMessenger’s documentation! — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/html/log.html b/build/html/log.html new file mode 100644 index 0000000..563aebe --- /dev/null +++ b/build/html/log.html @@ -0,0 +1,152 @@ + + + + + + + + + log package — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

log package

+
+

Submodules

+
+
+

log.client_log_config module

+
+
+

log.functions_log_config module

+
+
+

log.server_log_config module

+
+
+

Module contents

+
+
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/metaclasses.html b/build/html/metaclasses.html new file mode 100644 index 0000000..602e9b4 --- /dev/null +++ b/build/html/metaclasses.html @@ -0,0 +1,154 @@ + + + + + + + + + metaclasses module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

metaclasses module

+
+
+class metaclasses.ClientVerifier(name, bases, dicts)
+

Базовые классы: type

+
+ +
+
+class metaclasses.ServerVerifier(name, bases, dicts)
+

Базовые классы: type

+
+ +
+
+metaclasses.find_data(dicts)
+
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/modules.html b/build/html/modules.html new file mode 100644 index 0000000..99744c2 --- /dev/null +++ b/build/html/modules.html @@ -0,0 +1,182 @@ + + + + + + + + + PythonClientServerApplications — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/objects.inv b/build/html/objects.inv new file mode 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1C5b~B$FNkOs>G(CVDcl`(~gfVc?hGI)i;=uOQLGP z#&11_F7!+`b`4iV`K3)PmVFPQ#oRpa zB&62l4|uMl7V=fZQZ>vFLgWm2@ z#&E^?b{zG9CqtyJirL{OpV!Q19R>RpGZ)Peetu7GNaxIz>ZDSY|gBHkz-d131h z^l4}f-^A2xMs76mp+{lY`0tJ zA($2)J}i_Ayi*A{n$ujDOvfnae}OO2y5yO;)|#09c-pFVKM_nOI(%-J-M)2eQocLU zeEpK^;B-}0S7H0C&aZLgZ0(}v?S*t?BW-MZF&&FNhkqZN)g0T{7Nmq?>u_C(B+`g} zXG^xoE>Q2XYb;fLeI%27?P*>m-AIUeNF!CS=GW%k?#Jdu^JnvV_kHtz_fzv`w)>%Z3!=Z9 z7a)2C3O}FhiF5-jjwcv~2liH8&%UDK`K)+jfZ>1o@3Y_73;^pTxItEeK9aXw7LU0< zn#p`qciO%{vUIyQF}A>T8vb*1dUbPZKIne`(R|oFhweeoXU#v&hvp^p`rYoA6UB3A zSBVtz(GA41O5gm-{QTZ(RgzqGkDXYSBAU>=Y+mi2HGe@f-Z!tCS5{NN@o%&-NP-c~ zuMYW?OjG?1sMova&0BLZWwqYAu+YDaudJ(!p8h@-T3S7vD|~qBuMW9`uUnOM^SWw_ zf$t7GcIDA+qg!?JeCu#K0)yia*OBcxT*tZtD&N7z{i!9ECmx%qJ@BZXMo}GkEXDm! PJJZJ@y+r>5F1#eCTCN1H literal 0 HcmV?d00001 diff --git a/build/html/py-modindex.html b/build/html/py-modindex.html new file mode 100644 index 0000000..cf2ac30 --- /dev/null +++ b/build/html/py-modindex.html @@ -0,0 +1,292 @@ + + + + + + + + Содержание модулей Python — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ + +

Содержание модулей Python

+ +
+ c | + d | + l | + m | + s | + t +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 
+ c
+ client +
+ client_gui +
+ client_gui_arrived_message_ui +
+ client_gui_log_pass_ui +
+ client_gui_main_ui +
+ client_gui_new_localcontact_ui +
+ client_recv +
+ client_send +
+ client_storage +
+ common +
    + common.decorators +
    + common.utils +
    + common.variables +
 
+ d
+ descriptors +
 
+ l
+ log +
    + log.client_log_config +
    + log.functions_log_config +
    + log.server_log_config +
 
+ m
+ metaclasses +
 
+ s
+ server +
+ server_gui +
+ server_gui_main_ui +
+ server_gui_registration_ui +
+ server_gui_settings_ui +
+ server_storage +
+ sevrer_gui_history_ui +
+ start +
 
+ t
+ tests +
    + tests.test_client +
    + tests.test_utils +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/search.html b/build/html/search.html new file mode 100644 index 0000000..e2b7efd --- /dev/null +++ b/build/html/search.html @@ -0,0 +1,124 @@ + + + + + + + + Поиск — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +

Поиск

+ + + + +

+ Searching for multiple words only shows matches that contain + all words. +

+ + +
+ + + +
+ + + +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/searchindex.js b/build/html/searchindex.js new file mode 100644 index 0000000..73ad72f --- /dev/null +++ b/build/html/searchindex.js @@ -0,0 +1 @@ +Search.setIndex({"docnames": ["client", "client_gui", "client_gui_arrived_message_ui", "client_gui_log_pass_ui", "client_gui_main_ui", "client_gui_new_localcontact_ui", "client_recv", "client_send", "client_storage", "common", "descriptors", "index", "log", "metaclasses", "modules", "server", "server_gui", "server_gui_main_ui", "server_gui_registration_ui", "server_gui_settings_ui", "server_storage", "sevrer_gui_history_ui", "start", "tests"], "filenames": ["client.rst", "client_gui.rst", "client_gui_arrived_message_ui.rst", "client_gui_log_pass_ui.rst", "client_gui_main_ui.rst", "client_gui_new_localcontact_ui.rst", "client_recv.rst", "client_send.rst", "client_storage.rst", "common.rst", "descriptors.rst", "index.rst", "log.rst", "metaclasses.rst", "modules.rst", "server.rst", "server_gui.rst", "server_gui_main_ui.rst", "server_gui_registration_ui.rst", "server_gui_settings_ui.rst", "server_storage.rst", "sevrer_gui_history_ui.rst", "start.rst", "tests.rst"], "titles": ["client module", "client_gui module", "client_gui_arrived_message_ui module", "client_gui_log_pass_ui module", "client_gui_main_ui module", "client_gui_new_localcontact_ui module", "client_recv module", "client_send module", "client_storage module", "common package", "descriptors module", "Welcome to OrangeMessenger\u2019s documentation!", "log package", "metaclasses module", "PythonClientServerApplications", "server module", "server_gui module", "server_gui_main_ui module", "server_gui_registration_ui module", "server_gui_settings_ui module", "server_storage module", "sevrer_gui_history_ui module", "start module", "tests package"], "terms": {"\u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043d": 11, "\u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b": 11, "\u0441\u043e\u0441\u0442\u0430": 11, "\u043c\u043e\u0434\u0443\u043b": [0, 11, 15], "\u043f\u043e\u0438\u0441\u043a": 11, "pythonclientserverapplications": 11, "client": [11, 14], "module": [11, 14], "client_gui": [11, 14], "client_gui_arrived_message_ui": [11, 14], "client_gui_log_pass_ui": [11, 14], "client_gui_main_ui": [11, 14], "client_gui_new_localcontact_ui": [11, 14], "client_recv": [11, 14], "client_send": [11, 14], "client_storage": [11, 14], "common": [11, 14], "package": [11, 14], "descriptors": [11, 14], "log": [9, 11, 14], "metaclasses": [11, 14], "server": [11, 14], "server_gui": [11, 14], "server_gui_main_ui": [11, 14], "server_gui_registration_ui": [11, 14], "server_gui_settings_ui": [11, 14], "server_storage": [11, 14], "sevrer_gui_history_ui": [11, 14], "start": [0, 11, 14], "tests": [11, 14], "submodules": 14, "decorators": 14, "utils": 14, "variables": 14, "contents": 14, "client_log_config": 14, "functions_log_config": 14, "server_log_config": 14, "test_client": 14, "test_server": 14, "test_utils": 14, "class": [0, 1, 2, 3, 4, 5, 8, 10, 13, 15, 16, 17, 18, 19, 20, 21, 23], "\u0431\u0430\u0437\u043e\u0432": [0, 1, 2, 3, 4, 5, 8, 10, 13, 15, 16, 17, 18, 19, 20, 21, 23], "\u043a\u043b\u0430\u0441\u0441": [0, 1, 2, 3, 4, 5, 8, 10, 13, 15, 16, 17, 18, 19, 20, 21, 23], "qobject": 0, "add_contact": [0, 8], "new_contact": 0, "\u0441\u043e\u0437\u0434\u0430": 0, "\u0437\u0430\u043f\u0440\u043e\u0441": [0, 15], "\u0441\u0435\u0440\u0432\u0435\u0440": [0, 15], "\u043d\u0430": [0, 15], "\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d": [0, 1, 20], "\u043d\u043e\u0432": [0, 1, 15, 20], "\u043a\u043e\u043d\u0442\u0430\u043a\u0442": [0, 1, 8, 20], "param": [0, 1, 7, 8, 15, 16, 20], "str": [0, 1, 7, 8, 20], "return": [0, 1, 7, 8, 15, 16, 20], "add_new_local_contact": 0, "\u0434\u043e\u0431\u0430\u0432\u043b\u044f": [0, 8, 20], "\u0432": [0, 1, 8, 15, 16, 20], "\u043b\u043e\u043a\u0430\u043b\u044c\u043d": [0, 1], "\u0431\u0430\u0437": [0, 15, 16], "authorization": [0, 15], "\u043f\u043e\u043b\u0443\u0447\u0430": [0, 7, 15, 16, 20], "\u043b\u043e\u0433\u0438\u043d": [0, 1, 15, 20], "\u0438": [0, 1, 7, 15, 16, 20], "\u043f\u0430\u0440\u043e\u043b": [0, 1, 15], "\u0438\u0437": [0, 20], "\u043f\u043e\u043b": 0, "\u043e\u043a\u043d": [0, 1, 16], "\u0445\u0435\u0448\u0438\u0440\u0443": 0, "\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f": [0, 15], "presence": [0, 23], "\u0435\u0441\u043b": [0, 8, 15, 20], "\u043e\u0442\u0432\u0435\u0442": [0, 15], "407": 0, "\u0442\u043e": [0, 8, 15], "\u0437\u043d\u0430\u0447": [0, 15], "\u0442\u0430\u043a": [0, 15], "\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b": [0, 8, 15, 20], "\u043d\u0435": 0, "\u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430": 0, "210": 0, "message": [0, 7, 8], "\u0435\u0433": [0, 8, 15, 20], "\u0441": [0, 1, 8, 15, 16], "\u043f\u043e\u043c\u043e\u0448": [0, 15], "\u043d\u0430\u0448": [0, 1], "\u0432\u0435\u0440\u0432\u0435\u0440": 0, "200": [0, 23], "\u0432\u0441\u0435": 0, "\u043e\u043a": 0, "\u0441\u0442\u0430\u0432": 0, "\u0444\u043b\u0430\u0433": 0, "\u0447\u0442\u043e": [0, 1], "\u043c\u044b": 0, "\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430": 0, "\u0437\u0430\u043a\u0440\u044b\u0432\u0430": 0, "408": 0, "\u0432\u044b\u0432\u043e\u0434": [0, 16], "\u0441\u043e\u043e\u0431\u0449\u0435\u043d": [0, 1, 8, 15, 16], "\u0432\u0435\u0440": 0, "\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442": [0, 15], "create_exit_message": 0, "\u043e": 0, "\u0432\u044b\u0445\u043e\u0434": 0, "\u043a\u043b\u0438\u0435\u043d\u0442": [0, 15], "\u043c\u0435\u0441\u0441\u0435\u0434\u0436\u0435\u0440": [0, 15], "create_message": [0, 7], "text": [0, 7, 8], "to": [0, 7, 15], "\u0442\u0435\u043a\u0441\u0442": [0, 7], "\u0438\u043c": [0, 7, 20], "\u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u0435\u043b": [0, 7], "\u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b": [0, 7], "\u0433\u0435\u043d\u0435\u0440\u0438\u0440": [0, 7, 15], "akk_name": [0, 7, 8], "dict": [0, 7, 23], "create_presence": 0, "kwargs": [0, 15], "del_contact": [0, 8], "contact": [0, 8, 20], "\u0443\u0434\u0430\u043b\u0435\u043d": 0, "\u043a\u043e": 0, "get_contacts": [0, 8, 20], "\u043f\u043e\u043b\u0443\u0447\u0435\u043d": [0, 1], "\u0441\u043f\u0438\u0441\u043a": 0, "login": 0, "\u0437\u0430\u043f\u0443\u0441\u043a\u0430": [0, 15], "\u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430": 0, "\u043a": [0, 15], "\u0436\u0434\u0435\u043c": 0, "\u0432\u0432\u043e\u0434": [0, 1], "\u043d\u0430\u0436\u0430\u043d": 0, "\u043a\u043d\u043e\u043f\u043a": 0, "\u043f\u043e\u0437\u0436": [0, 16], "\u043d\u0430\u0434": [0, 16], "\u0441\u0434\u0435\u043b\u0430": 0, "\u0442\u0443\u0442": 0, "\u043f\u0440\u043e\u0432\u0435\u0440\u043a": 0, "\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c": 0, "message_arrived": 0, "message_from_server": 0, "client_sock": 0, "new_message_allert": 0, "user_name": [0, 1, 8, 20], "\u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430": 0, "\u043f\u0440\u0438": [0, 1], "\u043f\u0440\u043e\u0432\u0435\u0440\u044f": [0, 15], "\u043e\u0442\u043a\u0440": 0, "\u043b\u0438": [0, 15], "\u0447\u0430\u0442": 0, "\u044d\u0442": [0, 15], "\u0434\u0430": [0, 15], "\u043f\u0440\u043e\u0441\u0442": 0, "\u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430": 0, "\u043d\u0435\u0442": [0, 8, 16], "\u0432\u044b\u0434\u0430": 0, "\u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d": 0, "\u043f\u0435\u0440\u0435\u0439\u0442": 0, "parse_response": 0, "port": [0, 15, 20], "static": [0, 15, 16], "print_help": 0, "\u0444\u0443\u043d\u043a\u0446": [0, 15], "\u0432\u044b\u0432\u043e\u0434\u044f": 0, "\u0441\u043f\u0440\u0430\u0432\u043a": 0, "\u043f\u043e": [0, 8], "\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d": 0, "select_chat": 0, "\u0437\u0430\u0433\u0440\u0443\u0436\u0430": [0, 1, 15], "\u0434\u0435\u043b\u0430": [0, 15], "\u0430\u043a\u0442\u0438\u0432\u043d": [0, 1, 15, 20], "\u0431\u044b": 0, "\u0434\u0430\u043b\u044c\u043d": 0, "\u0435\u043c": 0, "send_new_message": 0, "client_socket": 0, "\u0441\u043e\u043a\u0435\u0442": [0, 15], "\u0431\u0435\u0440\u0435\u0442": 0, "\u043e\u0442\u043f\u0440\u0430\u0432\u043a": 0, "send_public_key": 0, "\u043f\u0443\u0431\u043b\u0438\u0447\u043d": 0, "\u043a\u043b\u044e\u0447": [0, 8], "generate_key": 0, "\u0433\u0435\u043d\u0435\u0440\u0430\u0446": 0, "\u0434\u043b\u044f": [0, 1, 16], "\u0441\u043a\u0432\u043e\u0437\u043d": 0, "\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d": 0, "main": [0, 1, 8], "arrivedmessage": 1, "qdialog": [1, 16], "ui_newmesaagedialog": [1, 2], "\u0441\u043e\u043e\u0431\u0449\u0430": 1, "\u043f\u043e\u043b\u0443\u0447": 1, "\u0441\u043e\u043e\u0431\u043d\u0435\u043d": 1, "loginpass": 1, "ui_loginpasswrddialog": [1, 3], "edit_clear": 1, "mywindow": [1, 16], "database": [1, 16], "qmainwindow": [1, 16], "ui_mainwindow": [1, 4, 16, 17], "contact_selected": 1, "get_user_message": 1, "contact_obj": 1, "\u0441\u043b\u043e\u0442": 1, "\u0441\u0438\u0433\u043d\u0430": 1, "\u043c\u0435\u043d\u044f": 1, "load_last_history": 1, "\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u043a": 1, "\u0437\u0430": [1, 8], "\u043f\u043e\u0441\u043b\u0435\u0434\u043d": [1, 8], "\u0441\u0443\u0442\u043a": [1, 8], "\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d": 1, "\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430": 1, "qtableview": 1, "make_connection": 1, "contact_list": 1, "on_change_contact": 1, "value": 1, "view_contacts": 1, "\u0441\u043f\u0438\u0441\u043e\u043a": [1, 8, 15, 20], "newlocalcontact": 1, "ui_addnewlocalcontactdialog": [1, 5], "object": [2, 3, 4, 5, 8, 10, 17, 18, 19, 20, 21, 23], "retranslateui": [2, 3, 4, 5, 17, 18, 19, 21], "newmesaagedialog": 2, "setupui": [2, 3, 4, 5, 17, 18, 19, 21], "loginpasswrddialog": 3, "mainwindow": [4, 17], "addnewlocalcontactdialog": 5, "clientstorage": 8, "name": [8, 13, 20], "base": 8, "id": 8, "contact_id": 8, "status": [8, 23], "date_time": 8, "mykey": 8, "private_key": 8, "public_key": [8, 20], "add_keys": 8, "add_message": 8, "\u0438\u0449": 8, "\u043b\u0438\u0441\u0442": 8, "\u043f\u043e\u0442": 8, "sent": 8, "or": 8, "received": 8, "get_history": 8, "day": 8, "1": 8, "\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430": [8, 15, 16, 20], "obj": 8, "\u044e\u0437\u0435\u0440": [8, 20], "\u0443\u043c\u043e\u043b\u0447\u0430\u043d": 8, "list": [8, 15], "get_keys": 8, "\u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430": 8, "\u0438\u0445": [8, 15, 16], "\u0432\u043e\u0437\u0432\u0440\u0430\u0437\u0430": 8, "false": [8, 15, 20], "func": 9, "login_required": 9, "cripto_pass": 9, "passwrd": [9, 15, 20], "\u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442": 9, "correctport": 10, "clientverifier": 13, "bases": 13, "dicts": 13, "type": [13, 23], "serververifier": 13, "find_data": 13, "\u0441\u0435\u0440\u0432\u0435\u0440\u043d": [15, 16], "\u0447\u0430\u0441\u0442": [0, 1, 15, 16], "thread": 15, "add_new_user": 15, "\u043d\u0430\u043b\u0438\u0447": 15, "\u043f\u0440\u043e\u0431\u0435\u043b": 15, "\u0434\u043b\u0438\u043d": 15, "\u0441\u043e\u0437\u0434\u0430\u043d": 15, "\u0443\u0436": 15, "\u0435\u0441\u0442": [15, 20], "sock": 15, "\u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u0442": 15, "\u0441\u043b\u0443\u0447\u0430\u0439\u043d": 15, "\u043d\u0430\u0431\u043e\u0440": 15, "\u0431\u0430\u0439\u0442": 15, "\u0445\u044d\u0448\u0438\u0440": 15, "\u0436\u0434\u0435\u0442": 15, "\u043e\u0442": 15, "\u0432\u0435\u0440\u0441": 15, "\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430": 15, "\u0434\u0430\u043d": 15, "\u0441\u043e\u0432\u043f\u0430": 15, "true": 15, "\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440": 15, "create_answer": 15, "read_requests": 15, "read_clients": 15, "all_clients": 15, "\u043f\u0440\u0438\u043d\u0438\u043c\u0430": 15, "\u0447\u0442\u0435\u043d": 15, "\u043e\u0431\u0449": 15, "\u0441\u043b\u043e\u0432\u0430\u0440": 15, "reload_active_users": 15, "window": 15, "history_window": 15, "\u0438\u0437\u043c\u0435\u043d": 15, "run": 15, "\u0437\u0430\u043f\u0443\u0441\u043a": 15, "write_responses": 15, "requests": 15, "write_clients": 15, "\u0437\u0430\u043f": 15, "\u0432\u0441\u0435\u0445": 15, "\u0431\u0443\u0434\u0435\u0442": 15, "\u043e\u0442\u043f\u0440\u0430\u0432\u043b": 15, "\u0432\u0441\u0435\u043c": 15, "\u043f\u0440\u0435\u0437\u0435\u043d\u0441": 15, "\u043e\u043d": [15, 20], "\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430": 15, "\u043f\u0440\u0438\u0439\u0434\u0435\u0442": 15, "\u0442\u043e\u043b\u044c\u043a": 15, "\u0442\u043e\u043c": 15, "\u044d": 15, "\u043a\u043e\u0442\u043e\u0440": 15, "\u043e\u0442\u043f\u0440\u0430\u0432": 15, "get_active_users_model": 16, "registration": 16, "ui_regnewuserdialog": [16, 18], "serversettings": 16, "ui_dialog": [16, 19, 21], "browse_folser": 16, "get_settings": 16, "\u0441\u0447\u0438\u0442\u044b\u0432\u044b": 16, "ini": 16, "\u0444\u0430\u0439\u043b": 16, "namedtuple": 16, "c": 16, "\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a": 16, "set_settings": 16, "\u0441\u043e\u0445\u0440\u0430\u043d\u044f": 16, "\u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d": 16, "userhistory": 16, "get_users_history_model": 16, "\u043e\u0431\u0442\u0435\u043a\u0442": 16, "\u043c\u043e\u0434\u0435\u043b": 16, "qstandarditemmodel": 16, "\u0442\u0430\u0431\u043b\u0438\u0446": [16, 20], "\u0434\u043e\u0431\u0430\u0432": 16, "\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432": 16, "\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d": 16, "\u043f\u043e\u043a": 16, "regnewuserdialog": 18, "dialog": [19, 21], "serverstorage": 20, "activeuser": 20, "user_id": 20, "ip": 20, "alluser": 20, "last_login_date": 20, "user_1": 20, "user_2": 20, "loginhistory": 20, "userkey": 20, "add_new_active_user": 20, "add_new_contact": 20, "clear_active_users": 20, "\u043e\u0447\u0438\u0449\u0430": 20, "create_user": 20, "delete_active_user": 20, "\u0443\u0434\u0430\u043b\u044f": 20, "delete_new_contact": 20, "delete_user": 20, "get_active_users": 20, "none": 20, "get_login_history": 20, "get_user_pass": 20, "set_key": 20, "user_login": 20, "\u0434\u043e\u0431\u0430\u0432\u043b\u0435\u0442": 20, "\u0437\u0430\u043d\u043e\u0441": 20, "\u0436\u0443\u0440\u043d\u0430": 20, "\u0438\u0441\u0442\u043e\u0440": 20, "clienttest": 23, "methodname": 23, "runtest": 23, "testcase": 23, "test_create_presence_action": 23, "test_create_presence_time": 23, "test_create_presence_user_default_name": 23, "test_create_presence_user_name": 23, "test_no_response": 23, "test_parse_response_200": 23, "test_parse_response_400": 23, "testsocket": 23, "recv": 23, "max_package_lenght": 23, "send": 23, "encode_json_message": 23, "utiltests": 23, "test_get_message": 23, "test_recv_msg_bad": 23, "error": 23, "bad": 23, "request": 23, "response": 23, "400": 23, "test_recv_msg_ok": 23, "allert": 23, "\u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432": 23, "\u0432\u0430\u0441": 23, "guest": 23, "time": 23, "5": 23, "test_send_message_200": 23, "test_send_message_400": 23, "test_send_msg": 23, "action": 23, "user": 23, "account_name": 23, "yep": 23, "i": 23, "am": 23, "here": 23, "\u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440": [0, 1, 16], "\u043e\u0441\u043d\u043e\u0432\u043d": [0, 1], "\u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a": [0, 1], "\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d": [0, 1], "\u043e\u0431\u044c\u0435\u043a\u0442": 0, "\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446": 0, "\u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430": 0, "gui": [1, 16]}, "objects": {"": [[0, 0, 0, "-", "client"], [1, 0, 0, "-", "client_gui"], [2, 0, 0, "-", "client_gui_arrived_message_ui"], [3, 0, 0, "-", "client_gui_log_pass_ui"], [4, 0, 0, "-", "client_gui_main_ui"], [5, 0, 0, "-", "client_gui_new_localcontact_ui"], [6, 0, 0, "-", "client_recv"], [7, 0, 0, "-", "client_send"], [8, 0, 0, "-", "client_storage"], [9, 0, 0, "-", "common"], [10, 0, 0, "-", "descriptors"], [12, 0, 0, "-", "log"], [13, 0, 0, "-", "metaclasses"], [15, 0, 0, "-", "server"], [16, 0, 0, "-", "server_gui"], [17, 0, 0, "-", "server_gui_main_ui"], [18, 0, 0, "-", "server_gui_registration_ui"], [19, 0, 0, "-", "server_gui_settings_ui"], [20, 0, 0, "-", "server_storage"], [21, 0, 0, "-", "sevrer_gui_history_ui"], [22, 0, 0, "-", "start"], [23, 0, 0, "-", "tests"]], "client": [[0, 1, 1, "", "Client"], [0, 4, 1, "", "generate_key"], [0, 4, 1, "", "main"]], "client.Client": [[0, 2, 1, "", "add_contact"], [0, 2, 1, "", "add_new_local_contact"], [0, 2, 1, "", "authorization"], [0, 2, 1, "", "create_exit_message"], [0, 2, 1, "", "create_message"], [0, 2, 1, "", "create_presence"], [0, 2, 1, "", "del_contact"], [0, 2, 1, "", "get_contacts"], [0, 2, 1, "", "login"], [0, 3, 1, "", "message_arrived"], [0, 2, 1, "", "message_from_server"], [0, 2, 1, "", "new_message_allert"], [0, 2, 1, "", "parse_response"], [0, 3, 1, "", "port"], [0, 2, 1, "", "print_help"], [0, 2, 1, "", "select_chat"], [0, 2, 1, "", "send_new_message"], [0, 2, 1, "", "send_public_key"], [0, 2, 1, "", "start"]], "client_gui": [[1, 1, 1, "", "ArrivedMessage"], [1, 1, 1, "", "LoginPass"], [1, 1, 1, "", "MyWindow"], [1, 1, 1, "", "NewLocalContact"], [1, 4, 1, "", "main"]], "client_gui.LoginPass": [[1, 2, 1, "", "edit_clear"]], "client_gui.MyWindow": [[1, 3, 1, "", "contact_selected"], [1, 2, 1, "", "get_user_message"], [1, 2, 1, "", "load_last_history"], [1, 2, 1, "", "make_connection"], [1, 2, 1, "", "on_change_contact"], [1, 2, 1, "", "view_contacts"]], "client_gui_arrived_message_ui": [[2, 1, 1, "", "Ui_newMesaageDialog"]], "client_gui_arrived_message_ui.Ui_newMesaageDialog": [[2, 2, 1, "", "retranslateUi"], [2, 2, 1, "", "setupUi"]], "client_gui_log_pass_ui": [[3, 1, 1, "", "Ui_loginPasswrdDialog"]], "client_gui_log_pass_ui.Ui_loginPasswrdDialog": [[3, 2, 1, "", "retranslateUi"], [3, 2, 1, "", "setupUi"]], "client_gui_main_ui": [[4, 1, 1, "", "Ui_MainWindow"]], "client_gui_main_ui.Ui_MainWindow": [[4, 2, 1, "", "retranslateUi"], [4, 2, 1, "", "setupUi"]], "client_gui_new_localcontact_ui": [[5, 1, 1, "", "Ui_addNewLocalContactDialog"]], "client_gui_new_localcontact_ui.Ui_addNewLocalContactDialog": [[5, 2, 1, "", "retranslateUi"], [5, 2, 1, "", "setupUi"]], "client_send": [[7, 4, 1, "", "create_message"]], "client_storage": [[8, 1, 1, "", "ClientStorage"], [8, 4, 1, "", "main"]], "client_storage.ClientStorage": [[8, 1, 1, "", "Contact"], [8, 1, 1, "", "Message"], [8, 1, 1, "", "MyKey"], [8, 2, 1, "", "add_contact"], [8, 2, 1, "", "add_keys"], [8, 2, 1, "", "add_message"], [8, 2, 1, "", "del_contact"], [8, 2, 1, "", "get_contacts"], [8, 2, 1, "", "get_history"], [8, 2, 1, "", "get_keys"]], "client_storage.ClientStorage.Contact": [[8, 3, 1, "", "id"], [8, 3, 1, "", "name"]], "client_storage.ClientStorage.Message": [[8, 3, 1, "", "Contact"], [8, 3, 1, "", "contact_id"], [8, 3, 1, "", "date_time"], [8, 3, 1, "", "id"], [8, 3, 1, "", "status"], [8, 3, 1, "", "text"]], "client_storage.ClientStorage.MyKey": [[8, 3, 1, "", "id"], [8, 3, 1, "", "private_key"], [8, 3, 1, "", "public_key"]], "common": [[9, 0, 0, "-", "decorators"], [9, 0, 0, "-", "utils"], [9, 0, 0, "-", "variables"]], "common.decorators": [[9, 4, 1, "", "log"], [9, 4, 1, "", "login_required"]], "common.utils": [[9, 4, 1, "", "cripto_pass"]], "descriptors": [[10, 1, 1, "", "CorrectPort"]], "log": [[12, 0, 0, "-", "client_log_config"], [12, 0, 0, "-", "functions_log_config"], [12, 0, 0, "-", "server_log_config"]], "metaclasses": [[13, 1, 1, "", "ClientVerifier"], [13, 1, 1, "", "ServerVerifier"], [13, 4, 1, "", "find_data"]], "server": [[15, 1, 1, "", "Server"]], "server.Server": [[15, 2, 1, "", "add_new_user"], [15, 2, 1, "", "authorization"], [15, 2, 1, "", "create_answer"], [15, 3, 1, "", "port"], [15, 2, 1, "", "read_requests"], [15, 2, 1, "", "reload_active_users"], [15, 2, 1, "", "run"], [15, 2, 1, "", "write_responses"]], "server_gui": [[16, 1, 1, "", "MyWindow"], [16, 1, 1, "", "Registration"], [16, 1, 1, "", "ServerSettings"], [16, 1, 1, "", "UserHistory"]], "server_gui.MyWindow": [[16, 2, 1, "", "get_active_users_model"]], "server_gui.ServerSettings": [[16, 2, 1, "", "browse_folser"], [16, 2, 1, "", "get_settings"], [16, 2, 1, "", "set_settings"]], "server_gui.UserHistory": [[16, 2, 1, "", "get_users_history_model"]], "server_gui_main_ui": [[17, 1, 1, "", "Ui_MainWindow"]], "server_gui_main_ui.Ui_MainWindow": [[17, 2, 1, "", "retranslateUi"], [17, 2, 1, "", "setupUi"]], "server_gui_registration_ui": [[18, 1, 1, "", "Ui_regNewUserDialog"]], "server_gui_registration_ui.Ui_regNewUserDialog": [[18, 2, 1, "", "retranslateUi"], [18, 2, 1, "", "setupUi"]], "server_gui_settings_ui": [[19, 1, 1, "", "Ui_Dialog"]], "server_gui_settings_ui.Ui_Dialog": [[19, 2, 1, "", "retranslateUi"], [19, 2, 1, "", "setupUi"]], "server_storage": [[20, 1, 1, "", "ServerStorage"]], "server_storage.ServerStorage": [[20, 1, 1, "", "ActiveUser"], [20, 1, 1, "", "AllUser"], [20, 1, 1, "", "Contact"], [20, 1, 1, "", "LoginHistory"], [20, 1, 1, "", "UserKey"], [20, 2, 1, "", "add_new_active_user"], [20, 2, 1, "", "add_new_contact"], [20, 2, 1, "", "clear_active_users"], [20, 2, 1, "", "create_user"], [20, 2, 1, "", "delete_active_user"], [20, 2, 1, "", "delete_new_contact"], [20, 2, 1, "", "delete_user"], [20, 2, 1, "", "get_active_users"], [20, 2, 1, "", "get_contacts"], [20, 2, 1, "", "get_login_history"], [20, 2, 1, "", "get_user_pass"], [20, 2, 1, "", "set_key"], [20, 2, 1, "", "user_login"]], "sevrer_gui_history_ui": [[21, 1, 1, "", "Ui_Dialog"]], "sevrer_gui_history_ui.Ui_Dialog": [[21, 2, 1, "", "retranslateUi"], [21, 2, 1, "", "setupUi"]], "tests": [[23, 0, 0, "-", "test_client"], [23, 0, 0, "-", "test_utils"]], "tests.test_client": [[23, 1, 1, "", "ClientTest"]], "tests.test_client.ClientTest": [[23, 2, 1, "", "test_create_presence_action"], [23, 2, 1, "", "test_create_presence_time"], [23, 2, 1, "", "test_create_presence_user_default_name"], [23, 2, 1, "", "test_create_presence_user_name"], [23, 2, 1, "", "test_no_response"], [23, 2, 1, "", "test_parse_response_200"], [23, 2, 1, "", "test_parse_response_400"]], "tests.test_utils": [[23, 1, 1, "", "TestSocket"], [23, 1, 1, "", "UtilTests"]], "tests.test_utils.TestSocket": [[23, 2, 1, "", "recv"], [23, 2, 1, "", "send"]], "tests.test_utils.UtilTests": [[23, 2, 1, "", "test_get_message"], [23, 3, 1, "", "test_recv_msg_bad"], [23, 3, 1, "", "test_recv_msg_ok"], [23, 2, 1, "", "test_send_message_200"], [23, 2, 1, "", "test_send_message_400"], [23, 3, 1, "", "test_send_msg"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function"}, "objnames": {"0": ["py", "module", "Python \u043c\u043e\u0434\u0443\u043b\u044c"], "1": ["py", "class", "Python \u043a\u043b\u0430\u0441\u0441"], "2": ["py", "method", "Python \u043c\u0435\u0442\u043e\u0434"], "3": ["py", "attribute", "Python \u0430\u0442\u0440\u0438\u0431\u0443\u0442"], "4": ["py", "function", "Python \u0444\u0443\u043d\u043a\u0446\u0438\u044f"]}, "titleterms": {"welcome": 11, "to": 11, "orangemessenger": 11, "s": 11, "documentation": 11, "indices": 11, "and": 11, "tables": 11, "client": 0, "module": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23], "client_gui": 1, "client_gui_arrived_message_ui": 2, "client_gui_log_pass_ui": 3, "client_gui_main_ui": 4, "client_gui_new_localcontact_ui": 5, "client_recv": 6, "client_send": 7, "client_storage": 8, "common": 9, "package": [9, 12, 23], "submodules": [9, 12, 23], "decorators": 9, "utils": 9, "variables": 9, "contents": [9, 11, 12, 23], "descriptors": 10, "log": 12, "client_log_config": 12, "functions_log_config": 12, "server_log_config": 12, "metaclasses": 13, "pythonclientserverapplications": 14, "server": 15, "server_gui": 16, "server_gui_main_ui": 17, "server_gui_registration_ui": 18, "server_gui_settings_ui": 19, "server_storage": 20, "sevrer_gui_history_ui": 21, "start": 22, "tests": 23, "test_client": 23, "test_server": 23, "test_utils": 23}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 56}}) \ No newline at end of file diff --git a/build/html/server.html b/build/html/server.html new file mode 100644 index 0000000..42fbca1 --- /dev/null +++ b/build/html/server.html @@ -0,0 +1,231 @@ + + + + + + + + + server module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server module

+

Модуль серверной части месседжера

+
+
+class server.Server
+

Базовые классы: Thread

+
+
+add_new_user()
+

Проверяет логин на наличие пробелов, пароль на длинну и запускает функцию создания нового пользователя, если +возвращается False значит такой пользователь уже есть. +:return:

+
+ +
+
+static authorization(sock, passwrd)
+
+
Получаемт сокет и пароль, генерирует случайный набор байтов, отправляет его клиенту,

хэширует его с помошью пароля, и ждет от клиента его версию, сравнивает их. +Если данные совпали то возвращает True

+
+
+
+
Параметры:
+
    +
  • sock

  • +
  • passwrd

  • +
+
+
Результат:
+

+
+
+
+ +
+
+create_answer(**kwargs)
+
+ +
+
+port
+
+ +
+
+read_requests(read_clients, all_clients: list)
+

Принимаем список клиентов на чтение и общий список клиентов +Возвращаем словарь клиент - запрос +:param read_clients: +:param all_clients: +:return:

+
+ +
+
+reload_active_users(window, history_window)
+

Проверяет изменился ли список активных пользователей, и если да +то делает запрос к базе и загружает их. +:param window: +:param history_window: +:return:

+
+ +
+
+run()
+

Запуск сервера +:return:

+
+ +
+
+write_responses(requests, write_clients, all_clients)
+

Получаем словарь с запросами, список клиентов на запись и всех клиентов +если в сообщение есть TO = # то это сообщение будет отправлено всем клиентам +если это презенс сообщение, то оно будет обработано и ответ прийдет только тому клиенту,э +который его отправил

+
+
Параметры:
+
    +
  • requests

  • +
  • write_clients

  • +
  • all_clients

  • +
+
+
Результат:
+

+
+
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/server_gui.html b/build/html/server_gui.html new file mode 100644 index 0000000..631ebea --- /dev/null +++ b/build/html/server_gui.html @@ -0,0 +1,195 @@ + + + + + + + + + server_gui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server_gui module

+

Gui для серверной части мессенджера

+
+
+class server_gui.MyWindow
+

Базовые классы: QMainWindow, Ui_MainWindow

+
+
+get_active_users_model(database)
+
+ +
+ +
+
+class server_gui.Registration
+

Базовые классы: QDialog, Ui_regNewUserDialog

+
+ +
+
+class server_gui.ServerSettings
+

Базовые классы: QDialog, Ui_Dialog

+
+
+browse_folser()
+
+ +
+
+static get_settings()
+

Считывыем ini файл и возвращаем namedtuple c настройками +:return:

+
+ +
+
+set_settings()
+

Сохраняем настройки в файл и выводим окно оповещения +:return:

+
+ +
+ +
+
+class server_gui.UserHistory
+

Базовые классы: QDialog, Ui_Dialog

+
+
+get_users_history_model(database)
+

Получаем обтект с базой, возвращаем Модель QStandardItemModel для таблицы +позже надо добавить количество отправленых сообщений(пока их в базе нет) +:param database: +:return:

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/server_gui_main_ui.html b/build/html/server_gui_main_ui.html new file mode 100644 index 0000000..6335322 --- /dev/null +++ b/build/html/server_gui_main_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + server_gui_main_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server_gui_main_ui module

+
+
+class server_gui_main_ui.Ui_MainWindow
+

Базовые классы: object

+
+
+retranslateUi(MainWindow)
+
+ +
+
+setupUi(MainWindow)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/server_gui_registration_ui.html b/build/html/server_gui_registration_ui.html new file mode 100644 index 0000000..01d78dc --- /dev/null +++ b/build/html/server_gui_registration_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + server_gui_registration_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server_gui_registration_ui module

+
+
+class server_gui_registration_ui.Ui_regNewUserDialog
+

Базовые классы: object

+
+
+retranslateUi(regNewUserDialog)
+
+ +
+
+setupUi(regNewUserDialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/server_gui_settings_ui.html b/build/html/server_gui_settings_ui.html new file mode 100644 index 0000000..be0a0ef --- /dev/null +++ b/build/html/server_gui_settings_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + server_gui_settings_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server_gui_settings_ui module

+
+
+class server_gui_settings_ui.Ui_Dialog
+

Базовые классы: object

+
+
+retranslateUi(Dialog)
+
+ +
+
+setupUi(Dialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/server_storage.html b/build/html/server_storage.html new file mode 100644 index 0000000..91cee3e --- /dev/null +++ b/build/html/server_storage.html @@ -0,0 +1,247 @@ + + + + + + + + + server_storage module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

server_storage module

+
+
+class server_storage.ServerStorage
+

Базовые классы: object

+
+
+class ActiveUser(user_id, ip, port)
+

Базовые классы: object

+
+ +
+
+class AllUser(name, passwrd, last_login_date)
+

Базовые классы: object

+
+ +
+
+class Contact(user_1, user_2)
+

Базовые классы: object

+
+ +
+
+class LoginHistory(user_id, ip, port)
+

Базовые классы: object

+
+ +
+
+class UserKey(user_id, public_key)
+

Базовые классы: object

+
+ +
+
+add_new_active_user(user_id, ip, port)
+

Добавление пользователя в таблицу активных пользователей

+
+ +
+
+add_new_contact(user_1, user_2)
+
+ +
+
+clear_active_users()
+

Очищает таблицу активных юзеров

+
+ +
+
+create_user(name, passwrd)
+

Добавляем нового пользователя, если он есть возвращаем False

+
+ +
+
+delete_active_user(user_name)
+

Удаляет пользователя из активных

+
+ +
+
+delete_new_contact(user_1, user_2)
+
+ +
+
+delete_user(name)
+

Удаляем пользователя

+
+ +
+
+get_active_users(name=None)
+
+ +
+
+get_contacts(user_name)
+

Получаем имя пользователя, возвращаем список имен его контактов +:param user_name: str +:return:

+
+ +
+
+get_login_history(name=None)
+
+ +
+
+get_user_pass(name)
+
+ +
+
+set_key(user_name, public_key)
+
+ +
+
+user_login(name, ip, port)
+

добавлет в активные и заносит в журнал истории логинов

+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/sevrer_gui_history_ui.html b/build/html/sevrer_gui_history_ui.html new file mode 100644 index 0000000..5b70ac4 --- /dev/null +++ b/build/html/sevrer_gui_history_ui.html @@ -0,0 +1,153 @@ + + + + + + + + + sevrer_gui_history_ui module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

sevrer_gui_history_ui module

+
+
+class sevrer_gui_history_ui.Ui_Dialog
+

Базовые классы: object

+
+
+retranslateUi(Dialog)
+
+ +
+
+setupUi(Dialog)
+
+ +
+ +
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/build/html/start.html b/build/html/start.html new file mode 100644 index 0000000..2df2e58 --- /dev/null +++ b/build/html/start.html @@ -0,0 +1,137 @@ + + + + + + + + + start module — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/html/tests.html b/build/html/tests.html new file mode 100644 index 0000000..f0cff98 --- /dev/null +++ b/build/html/tests.html @@ -0,0 +1,243 @@ + + + + + + + + + tests package — документация OrangeMessenger 1.0 + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+ +
+

tests package

+
+

Submodules

+
+
+

tests.test_client module

+
+
+class tests.test_client.ClientTest(methodName='runTest')
+

Базовые классы: TestCase

+
+
+test_create_presence_action()
+
+ +
+
+test_create_presence_time()
+
+ +
+
+test_create_presence_user_default_name()
+
+ +
+
+test_create_presence_user_name()
+
+ +
+
+test_no_response()
+
+ +
+
+test_parse_response_200()
+
+ +
+
+test_parse_response_400()
+
+ +
+ +
+
+

tests.test_server module

+
+
+

tests.test_utils module

+
+
+class tests.test_utils.TestSocket(dict)
+

Базовые классы: object

+
+
+recv(max_package_lenght)
+
+ +
+
+send(encode_json_message)
+
+ +
+ +
+
+class tests.test_utils.UtilTests(methodName='runTest')
+

Базовые классы: TestCase

+
+
+test_get_message()
+
+ +
+
+test_recv_msg_bad = {'error': 'Bad Request', 'response': 400}
+
+ +
+
+test_recv_msg_ok = {'allert': 'Приветствую вас - Guest', 'response': 200, 'time': '5.5'}
+
+ +
+
+test_send_message_200()
+
+ +
+
+test_send_message_400()
+
+ +
+
+test_send_msg = {'action': 'presence', 'time': '5.5', 'type': 'status', 'user': {'account_name': 'Guest', 'status': 'Yep, I am here!'}}
+
+ +
+ +
+
+

Module contents

+
+
+ + +
+ +
+
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/client.py b/client.py index f0dab71..db5dac9 100644 --- a/client.py +++ b/client.py @@ -1,3 +1,4 @@ +""" Модуль клиента мессенджера""" import datetime import hashlib import hmac @@ -27,6 +28,7 @@ class Client(QObject): + """ Основной класс клиентской части приложения""" port = CorrectPort() message_arrived = pyqtSignal(str) @@ -397,6 +399,10 @@ def login(self): self.app.exec_() def send_public_key(self): + """ + Функция отправки публичного ключа на сервер. + :return: + """ msg = { ACTION: PUBLIC_KEY, TIME: datetime.datetime.now().timestamp(), @@ -414,6 +420,11 @@ def send_public_key(self): @login_required def start(self): + """ + Запуск основного окна программы, происходит только если + пользователь авторизовался на сервере. + :return: + """ try: print('start') @@ -445,6 +456,10 @@ def start(self): def generate_key(): + """ + Генерация ключей для сквозного шифрования + :return: + """ key = RSA.generate(2048) private_key = key.export_key() public_key = key.publickey().export_key() @@ -453,6 +468,8 @@ def generate_key(): def main(): + ''' Создает обьект клиента, запускает функцию авторизации. Проверяет сгенерированы ли ключи + если нет то генерирует, отправляет публичный ключ на сервер''' client = Client() client.login() keys = client.client_db.get_keys() diff --git a/client_gui.py b/client_gui.py index d793f1a..5f22dc8 100644 --- a/client_gui.py +++ b/client_gui.py @@ -1,3 +1,5 @@ +""" Gui для клиентской части мессенджера""" + import datetime import sys @@ -15,6 +17,7 @@ class MyWindow(QMainWindow, Ui_MainWindow): + ''' Основное окно клиентской части приложения''' contact_selected = pyqtSignal(QtWidgets.QListWidgetItem) def view_contacts(self): @@ -123,15 +126,16 @@ def edit_clear(self): def main(): + client_db = ClientStorage('User-1') # client_db.add_contact('User-1') app = QtWidgets.QApplication(sys.argv) window = MyWindow(client_db) - window.make_connection(window.listContacts) + # window.make_connection(window.listContacts) window.show() - # window.load_last_history('User-8') - am = ArrivedMessage('Vasia') - am.show() + # # window.load_last_history('User-8') + # # am = ArrivedMessage('Vasia') + # # am.show() window.view_contacts() diff --git a/server.py b/server.py index 3ff4751..70f7711 100644 --- a/server.py +++ b/server.py @@ -20,7 +20,7 @@ from common.variables import * from common.variables import ADD_CONTACT, DEL_CONTACT, GET_CONTACTS from descriptors import CorrectPort -from metaclasses import ServerVerifier +from metaclasses import ServerVerifier from server_gui import MyWindow, Registration, ServerSettings, UserHistory from server_storage import ServerStorage @@ -31,6 +31,8 @@ class Server(threading.Thread, metaclass=ServerVerifier): port = CorrectPort() def __init__(self): + """ При запуске необходимо указать порт при помощи ключа -p и адрес (-a) + Иначе настройки будут взяты из конфигурационного файла по умолчанию.""" self.app = QtWidgets.QApplication(sys.argv) threading.Thread.__init__(self) self.daemon = True @@ -258,6 +260,13 @@ def write_responses(self, requests, write_clients, all_clients): self.reload = True def reload_active_users(self, window, history_window): + """ + Проверяет изменился ли список активных пользователей, и если да + то делает запрос к базе и загружает их. + :param window: + :param history_window: + :return: + """ if self.reload: window.active_users_table.setModel( window.get_active_users_model(self.server_db)) @@ -295,6 +304,10 @@ def add_new_user(self): f'{login} уже зарегистрирован на сервере') def run(self): + """ + Запуск сервера + :return: + """ serv_socket = socket(AF_INET, SOCK_STREAM) serv_socket.bind((self.addr, self.port)) serv_socket.settimeout(0.5) diff --git a/server_gui.py b/server_gui.py index 3f27eb3..b08cb19 100644 --- a/server_gui.py +++ b/server_gui.py @@ -1,3 +1,4 @@ +""" Gui для серверной части мессенджера""" import configparser import pathlib import sys diff --git a/source/client.rst b/source/client.rst new file mode 100644 index 0000000..9b751d2 --- /dev/null +++ b/source/client.rst @@ -0,0 +1,7 @@ +client module +============= + +.. automodule:: client + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_gui.rst b/source/client_gui.rst new file mode 100644 index 0000000..089054a --- /dev/null +++ b/source/client_gui.rst @@ -0,0 +1,7 @@ +client\_gui module +================== + +.. automodule:: client_gui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_gui_arrived_message_ui.rst b/source/client_gui_arrived_message_ui.rst new file mode 100644 index 0000000..d978aab --- /dev/null +++ b/source/client_gui_arrived_message_ui.rst @@ -0,0 +1,7 @@ +client\_gui\_arrived\_message\_ui module +======================================== + +.. automodule:: client_gui_arrived_message_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_gui_log_pass_ui.rst b/source/client_gui_log_pass_ui.rst new file mode 100644 index 0000000..a9833ab --- /dev/null +++ b/source/client_gui_log_pass_ui.rst @@ -0,0 +1,7 @@ +client\_gui\_log\_pass\_ui module +================================= + +.. automodule:: client_gui_log_pass_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_gui_main_ui.rst b/source/client_gui_main_ui.rst new file mode 100644 index 0000000..03cd83b --- /dev/null +++ b/source/client_gui_main_ui.rst @@ -0,0 +1,7 @@ +client\_gui\_main\_ui module +============================ + +.. automodule:: client_gui_main_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_gui_new_localcontact_ui.rst b/source/client_gui_new_localcontact_ui.rst new file mode 100644 index 0000000..844e1b8 --- /dev/null +++ b/source/client_gui_new_localcontact_ui.rst @@ -0,0 +1,7 @@ +client\_gui\_new\_localcontact\_ui module +========================================= + +.. automodule:: client_gui_new_localcontact_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_recv.rst b/source/client_recv.rst new file mode 100644 index 0000000..83876bd --- /dev/null +++ b/source/client_recv.rst @@ -0,0 +1,7 @@ +client\_recv module +=================== + +.. automodule:: client_recv + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_send.rst b/source/client_send.rst new file mode 100644 index 0000000..022f5c7 --- /dev/null +++ b/source/client_send.rst @@ -0,0 +1,7 @@ +client\_send module +=================== + +.. automodule:: client_send + :members: + :undoc-members: + :show-inheritance: diff --git a/source/client_storage.rst b/source/client_storage.rst new file mode 100644 index 0000000..86d98aa --- /dev/null +++ b/source/client_storage.rst @@ -0,0 +1,7 @@ +client\_storage module +====================== + +.. automodule:: client_storage + :members: + :undoc-members: + :show-inheritance: diff --git a/source/common.rst b/source/common.rst new file mode 100644 index 0000000..19cc7a5 --- /dev/null +++ b/source/common.rst @@ -0,0 +1,37 @@ +common package +============== + +Submodules +---------- + +common.decorators module +------------------------ + +.. automodule:: common.decorators + :members: + :undoc-members: + :show-inheritance: + +common.utils module +------------------- + +.. automodule:: common.utils + :members: + :undoc-members: + :show-inheritance: + +common.variables module +----------------------- + +.. automodule:: common.variables + :members: + :undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: common + :members: + :undoc-members: + :show-inheritance: diff --git a/source/conf.py b/source/conf.py new file mode 100644 index 0000000..ee49b1f --- /dev/null +++ b/source/conf.py @@ -0,0 +1,33 @@ +# Configuration file for the Sphinx documentation builder. +# +# For the full list of built-in configuration values, see the documentation: +# https://www.sphinx-doc.org/en/master/usage/configuration.html + +# -- Project information ----------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information +import os +import sys + +path = os.path.abspath('../') +sys.path.insert(0, path) + +project = 'OrangeMessenger' +copyright = '2022, Vladimir Mikulitskii' +author = 'Vladimir Mikulitskii' +release = '1.0' + +# -- General configuration --------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration + +extensions = ['sphinx.ext.autodoc'] + +templates_path = ['_templates'] +exclude_patterns = [] + +language = 'ru' + +# -- Options for HTML output ------------------------------------------------- +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output + +html_theme = 'alabaster' +html_static_path = ['_static'] diff --git a/source/descriptors.rst b/source/descriptors.rst new file mode 100644 index 0000000..5b9cada --- /dev/null +++ b/source/descriptors.rst @@ -0,0 +1,7 @@ +descriptors module +================== + +.. automodule:: descriptors + :members: + :undoc-members: + :show-inheritance: diff --git a/source/index.rst b/source/index.rst new file mode 100644 index 0000000..cf3827a --- /dev/null +++ b/source/index.rst @@ -0,0 +1,21 @@ +.. OrangeMessenger documentation master file, created by + sphinx-quickstart on Tue Sep 20 16:19:38 2022. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +Welcome to OrangeMessenger's documentation! +=========================================== + +.. toctree:: + :maxdepth: 2 + :caption: Contents: + + modules + + +Indices and tables +================== + +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` diff --git a/source/log.rst b/source/log.rst new file mode 100644 index 0000000..5664229 --- /dev/null +++ b/source/log.rst @@ -0,0 +1,37 @@ +log package +=========== + +Submodules +---------- + +log.client\_log\_config module +------------------------------ + +.. automodule:: log.client_log_config + :members: + :undoc-members: + :show-inheritance: + +log.functions\_log\_config module +--------------------------------- + +.. automodule:: log.functions_log_config + :members: + :undoc-members: + :show-inheritance: + +log.server\_log\_config module +------------------------------ + +.. automodule:: log.server_log_config + :members: + :undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: log + :members: + :undoc-members: + :show-inheritance: diff --git a/source/metaclasses.rst b/source/metaclasses.rst new file mode 100644 index 0000000..f949c47 --- /dev/null +++ b/source/metaclasses.rst @@ -0,0 +1,7 @@ +metaclasses module +================== + +.. automodule:: metaclasses + :members: + :undoc-members: + :show-inheritance: diff --git a/source/modules.rst b/source/modules.rst new file mode 100644 index 0000000..ed05e1f --- /dev/null +++ b/source/modules.rst @@ -0,0 +1,28 @@ +PythonClientServerApplications +============================== + +.. toctree:: + :maxdepth: 4 + + client + client_gui + client_gui_arrived_message_ui + client_gui_log_pass_ui + client_gui_main_ui + client_gui_new_localcontact_ui + client_recv + client_send + client_storage + common + descriptors + log + metaclasses + server + server_gui + server_gui_main_ui + server_gui_registration_ui + server_gui_settings_ui + server_storage + sevrer_gui_history_ui + start + tests diff --git a/source/server.rst b/source/server.rst new file mode 100644 index 0000000..9cedcee --- /dev/null +++ b/source/server.rst @@ -0,0 +1,7 @@ +server module +============= + +.. automodule:: server + :members: + :undoc-members: + :show-inheritance: diff --git a/source/server_gui.rst b/source/server_gui.rst new file mode 100644 index 0000000..c430482 --- /dev/null +++ b/source/server_gui.rst @@ -0,0 +1,7 @@ +server\_gui module +================== + +.. automodule:: server_gui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/server_gui_main_ui.rst b/source/server_gui_main_ui.rst new file mode 100644 index 0000000..a715baf --- /dev/null +++ b/source/server_gui_main_ui.rst @@ -0,0 +1,7 @@ +server\_gui\_main\_ui module +============================ + +.. automodule:: server_gui_main_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/server_gui_registration_ui.rst b/source/server_gui_registration_ui.rst new file mode 100644 index 0000000..329e9ca --- /dev/null +++ b/source/server_gui_registration_ui.rst @@ -0,0 +1,7 @@ +server\_gui\_registration\_ui module +==================================== + +.. automodule:: server_gui_registration_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/server_gui_settings_ui.rst b/source/server_gui_settings_ui.rst new file mode 100644 index 0000000..9d4719f --- /dev/null +++ b/source/server_gui_settings_ui.rst @@ -0,0 +1,7 @@ +server\_gui\_settings\_ui module +================================ + +.. automodule:: server_gui_settings_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/server_storage.rst b/source/server_storage.rst new file mode 100644 index 0000000..a386e11 --- /dev/null +++ b/source/server_storage.rst @@ -0,0 +1,7 @@ +server\_storage module +====================== + +.. automodule:: server_storage + :members: + :undoc-members: + :show-inheritance: diff --git a/source/sevrer_gui_history_ui.rst b/source/sevrer_gui_history_ui.rst new file mode 100644 index 0000000..cf3f0f8 --- /dev/null +++ b/source/sevrer_gui_history_ui.rst @@ -0,0 +1,7 @@ +sevrer\_gui\_history\_ui module +=============================== + +.. automodule:: sevrer_gui_history_ui + :members: + :undoc-members: + :show-inheritance: diff --git a/source/start.rst b/source/start.rst new file mode 100644 index 0000000..7ba9cca --- /dev/null +++ b/source/start.rst @@ -0,0 +1,7 @@ +start module +============ + +.. automodule:: start + :members: + :undoc-members: + :show-inheritance: diff --git a/source/tests.rst b/source/tests.rst new file mode 100644 index 0000000..e2a6557 --- /dev/null +++ b/source/tests.rst @@ -0,0 +1,37 @@ +tests package +============= + +Submodules +---------- + +tests.test\_client module +------------------------- + +.. automodule:: tests.test_client + :members: + :undoc-members: + :show-inheritance: + +tests.test\_server module +------------------------- + +.. automodule:: tests.test_server + :members: + :undoc-members: + :show-inheritance: + +tests.test\_utils module +------------------------ + +.. automodule:: tests.test_utils + :members: + :undoc-members: + :show-inheritance: + +Module contents +--------------- + +.. automodule:: tests + :members: + :undoc-members: + :show-inheritance: