From 85bf48735a82ff7550987d250d3ccd681fb96a55 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 26 Sep 2023 18:48:24 -0400 Subject: [PATCH 01/30] feat: implement mean score strategy --- openassessment/assessment/api/peer.py | 60 ++++++++++++++-- openassessment/assessment/models/base.py | 71 +++++++++++++++++++ openassessment/data.py | 2 +- .../legacy/edit/oa_edit_peer_assessment.html | 12 ++++ openassessment/xblock/config_mixin.py | 18 ++++- openassessment/xblock/grade_mixin.py | 14 ++-- ...penassessment-lms.7430e499fae20eeff7bd.js} | 0 ...enassessment-ltr.5b291771f2af113d4918.css} | 0 ...openassessment-ltr.65e3c135076b8cfe5c16.js | 0 ...enassessment-rtl.731b1e1ea896e74cb5c0.css} | 0 ...openassessment-rtl.f130ffdc49b7bf41bd03.js | 0 ...assessment-studio.44a98dc6a1d4b7f295cd.js} | 0 .../js/src/studio/oa_edit_assessment.js | 18 +++++ openassessment/xblock/studio_mixin.py | 1 + .../ui_mixins/mfe/ora_config_serializer.py | 1 + openassessment/xblock/utils/defaults.py | 4 ++ openassessment/xblock/utils/schema.py | 2 + openassessment/xblock/utils/xml.py | 7 ++ openassessment/xblock/workflow_mixin.py | 5 +- settings/base.py | 8 ++- 20 files changed, 209 insertions(+), 14 deletions(-) rename openassessment/xblock/static/dist/{openassessment-lms.dc8bb1e464bcaaab4668.js => openassessment-lms.7430e499fae20eeff7bd.js} (100%) rename openassessment/xblock/static/dist/{openassessment-ltr.7955a1e2cc11fc6948de.css => openassessment-ltr.5b291771f2af113d4918.css} (100%) create mode 100644 openassessment/xblock/static/dist/openassessment-ltr.65e3c135076b8cfe5c16.js rename openassessment/xblock/static/dist/{openassessment-rtl.9de7c9bc7c1048c07707.css => openassessment-rtl.731b1e1ea896e74cb5c0.css} (100%) create mode 100644 openassessment/xblock/static/dist/openassessment-rtl.f130ffdc49b7bf41bd03.js rename openassessment/xblock/static/dist/{openassessment-studio.d576fb212cefa2e4b720.js => openassessment-studio.44a98dc6a1d4b7f295cd.js} (100%) diff --git a/openassessment/assessment/api/peer.py b/openassessment/assessment/api/peer.py index 467c1b5a8c..b5a99b170d 100644 --- a/openassessment/assessment/api/peer.py +++ b/openassessment/assessment/api/peer.py @@ -27,6 +27,12 @@ FLEXIBLE_PEER_GRADING_GRADED_BY_PERCENTAGE = 30 +class GradingStrategy: + """Grading strategies for peer assessments.""" + MEAN = "mean" + MEDIAN = "median" + + def flexible_peer_grading_enabled(peer_requirements, course_settings): """ Is flexible peer grading turned on? Either at the course override @@ -51,6 +57,13 @@ def flexible_peer_grading_active(submission_uuid, peer_requirements, course_sett return days_elapsed >= FLEXIBLE_PEER_GRADING_REQUIRED_SUBMISSION_AGE_IN_DAYS +def get_peer_grading_strategy(peer_requirements): + """ + Get the peer grading type, either mean or median. Default is median. + """ + return peer_requirements.get("grading_strategy", GradingStrategy.MEDIAN) + + def required_peer_grades(submission_uuid, peer_requirements, course_settings): """ Given a submission id, finds how many peer assessment required. @@ -280,11 +293,10 @@ def get_score(submission_uuid, peer_requirements, course_settings): scored_item.scored = True scored_item.save() assessments = [item.assessment for item in items] - + grading_strategy = get_peer_grading_strategy(peer_requirements) + scores_dict = get_peer_assessment_scores(submission_uuid, grading_strategy) return { - "points_earned": sum( - get_assessment_median_scores(submission_uuid).values() - ), + "points_earned": sum(scores_dict.values()), "points_possible": assessments[0].points_possible, "contributing_assessments": [assessment.id for assessment in assessments], "staff_id": None, @@ -500,6 +512,46 @@ def get_rubric_max_scores(submission_uuid): logger.exception(error_message) raise PeerAssessmentInternalError(error_message) from ex +def get_peer_assessment_scores(submission_uuid, grading_strategy="median"): + """Get the median/mean score for each rubric criterion + + For a given assessment, collect the median/mean score for each criterion on the + rubric. This set can be used to determine the overall score, as well as each + part of the individual rubric scores. + + If there is a true median/mean score, it is returned. If there are two median/mean + values, the average of those two values is returned, rounded up to the + greatest integer value. + + Args: + submission_uuid (str): The submission uuid is used to get the + assessments used to score this submission, and generate the + appropriate median/mean score. + grading_strategy (str): The grading strategy to use when calculating + the median/mean score. Default is "median". + + Returns: + dict: A dictionary of rubric criterion names, + with a median/mean score of the peer assessments. + + Raises: + PeerAssessmentInternalError: If any error occurs while retrieving + information to form the median/mean scores, an error is raised. + """ + try: + workflow = PeerWorkflow.objects.get(submission_uuid=submission_uuid) + items = workflow.graded_by.filter(scored=True) + assessments = [item.assessment for item in items] + scores = Assessment.scores_by_criterion(assessments) + return Assessment.get_score_dict(scores, grading_strategy=grading_strategy) + except PeerWorkflow.DoesNotExist: + return {} + except DatabaseError as ex: + error_message = ( + "Error getting assessment median scores for submission {uuid}" + ).format(uuid=submission_uuid) + logger.exception(error_message) + raise PeerAssessmentInternalError(error_message) from ex def get_assessment_median_scores(submission_uuid): """Get the median score for each rubric criterion diff --git a/openassessment/assessment/models/base.py b/openassessment/assessment/models/base.py index 938356fe94..d969de8955 100644 --- a/openassessment/assessment/models/base.py +++ b/openassessment/assessment/models/base.py @@ -15,6 +15,7 @@ from collections import defaultdict from copy import deepcopy +from django.conf import settings from hashlib import sha1 import json import logging @@ -488,6 +489,24 @@ def create(cls, rubric, scorer_id, submission_uuid, score_type, feedback=None, s return cls.objects.create(**assessment_params) + @classmethod + def get_score_dict(cls, scores_dict, score_type="median"): + """Determine the score in a dictionary of lists of scores based on the score type + if the feature flag is enabled, otherwise use the median score calculation. + + Args: + scores_dict (dict): A dictionary of lists of int values. These int values + are reduced to a single value that represents the median. + score_type (str): The type of score to calculate. Defaults to "median". + + Returns: + (dict): A dictionary with criterion name keys and median score + values. + """ + if settings.FEATURES.get('ENABLE_ORA_PEER_CONFIGURABLE_GRADING'): + return getattr(cls, f"get_{score_type}_score_dict")(scores_dict) + return cls.get_median_score_dict(scores_dict) + @classmethod def get_median_score_dict(cls, scores_dict): """Determine the median score in a dictionary of lists of scores @@ -518,6 +537,36 @@ def get_median_score_dict(cls, scores_dict): median_scores[criterion] = criterion_score return median_scores + @classmethod + def get_mean_score_dict(cls, scores_dict): + """Determine the mean score in a dictionary of lists of scores + + For a dictionary of lists, where each list contains a set of scores, + determine the mean value in each list. + + Args: + scores_dict (dict): A dictionary of lists of int values. These int + values are reduced to a single value that represents the median. + + Returns: + (dict): A dictionary with criterion name keys and mean score + values. + + Examples: + >>> scores = { + >>> "foo": [1, 2, 3, 4, 5], + >>> "bar": [6, 7, 8, 9, 10] + >>> } + >>> Assessment.get_mean_score_dict(scores) + {"foo": 3, "bar": 8} + + """ + median_scores = {} + for criterion, criterion_scores in scores_dict.items(): + criterion_score = Assessment.get_mean_score(criterion_scores) + median_scores[criterion] = criterion_score + return median_scores + @staticmethod def get_median_score(scores): """Determine the median score in a list of scores @@ -552,6 +601,28 @@ def get_median_score(scores): ) return median_score + @staticmethod + def get_mean_score(scores): + """Determine the median score in a list of scores + + Determine the median value in the list. + + Args: + scores (list): A list of int values. These int values + are reduced to a single value that represents the median. + + Returns: + (int): The median score. + + Examples: + >>> scores = 1, 2, 3, 4, 5] + >>> Assessment.get_median_score(scores) + 3 + + """ + total_criterion_scores = len(scores) + return int(math.ceil(sum(scores) / float(total_criterion_scores))) + @classmethod def scores_by_criterion(cls, assessments): """Create a dictionary of lists for scores associated with criterion diff --git a/openassessment/data.py b/openassessment/data.py index 2f116f5467..7a7bd7830b 100644 --- a/openassessment/data.py +++ b/openassessment/data.py @@ -938,7 +938,7 @@ def generate_assessment_data(cls, xblock_id, submission_uuid=None): ) if assessments: scores = Assessment.scores_by_criterion(assessments) - median_scores = Assessment.get_median_score_dict(scores) + median_scores = Assessment.get_score_dict(scores) else: # If no assessments, just report submission data. median_scores = [] diff --git a/openassessment/templates/legacy/edit/oa_edit_peer_assessment.html b/openassessment/templates/legacy/edit/oa_edit_peer_assessment.html index d4f8c69532..7a10a45c81 100644 --- a/openassessment/templates/legacy/edit/oa_edit_peer_assessment.html +++ b/openassessment/templates/legacy/edit/oa_edit_peer_assessment.html @@ -54,6 +54,18 @@

{% endif %} + {% if enable_peer_configurable_grading %} +
  • +
    + + +
    +

    {% trans "Select the preferred grading strategy for the peer assessment. By default, the median across all peer reviews is used to calculate the final grade. If you select the mean, the average of all peer reviews will be used." %}

    +
  • + {% endif %} diff --git a/openassessment/xblock/config_mixin.py b/openassessment/xblock/config_mixin.py index 9512fc9ead..23752c8d57 100644 --- a/openassessment/xblock/config_mixin.py +++ b/openassessment/xblock/config_mixin.py @@ -16,6 +16,7 @@ ENHANCED_STAFF_GRADER = 'enhanced_staff_grader' MFE_VIEWS = 'mfe_views' SELECTABLE_LEARNER_WAITING_REVIEW = 'selectable_learner_waiting_review' +ENABLE_PEER_CONFIGURABLE_GRADING = 'peer_configurable_grading' FEATURE_TOGGLES_BY_FLAG_NAME = { ALL_FILES_URLS: 'ENABLE_ORA_ALL_FILE_URLS', @@ -24,7 +25,8 @@ USER_STATE_UPLOAD_DATA: 'ENABLE_ORA_USER_STATE_UPLOAD_DATA', RUBRIC_REUSE: 'ENABLE_ORA_RUBRIC_REUSE', ENHANCED_STAFF_GRADER: 'ENABLE_ENHANCED_STAFF_GRADER', - SELECTABLE_LEARNER_WAITING_REVIEW: 'ENABLE_ORA_SELECTABLE_LEARNER_WAITING_REVIEW' + SELECTABLE_LEARNER_WAITING_REVIEW: 'ENABLE_ORA_SELECTABLE_LEARNER_WAITING_REVIEW', + ENABLE_PEER_CONFIGURABLE_GRADING: 'ENABLE_ORA_PEER_CONFIGURABLE_GRADING', } @@ -180,3 +182,17 @@ def is_selectable_learner_waiting_review_enabled(self): # .. toggle_creation_date: 2024-02-09 # .. toggle_tickets: https://github.com/openedx/edx-ora2/pull/2025 return self.is_feature_enabled(SELECTABLE_LEARNER_WAITING_REVIEW) + + @cached_property + def enable_peer_configurable_grading(self): + """ + Return a boolean indicating the peer configurable grading feature is enabled or not. + """ + # .. toggle_name: FEATURES['ENABLE_ORA_PEER_CONFIGURABLE_GRADING'] + # .. toggle_implementation: SettingToggle + # .. toggle_default: False + # .. toggle_description: Enable configurable grading for peer review. + # .. toggle_use_cases: open_edx + # .. toggle_creation_date: 2024-03-25 + # .. toggle_tickets: https://github.com/openedx/edx-ora2/pull/2196 + return self.is_feature_enabled(ENABLE_PEER_CONFIGURABLE_GRADING) diff --git a/openassessment/xblock/grade_mixin.py b/openassessment/xblock/grade_mixin.py index 04d1ad7752..689a7af3ed 100644 --- a/openassessment/xblock/grade_mixin.py +++ b/openassessment/xblock/grade_mixin.py @@ -9,6 +9,7 @@ from xblock.core import XBlock from django.utils.translation import gettext as _ +from openassessment.assessment.api.peer import get_peer_grading_strategy from openassessment.assessment.errors import PeerAssessmentError, SelfAssessmentError @@ -301,7 +302,8 @@ def has_feedback(assessments): if staff_assessment: median_scores = staff_api.get_assessment_scores_by_criteria(submission_uuid) elif "peer-assessment" in assessment_steps: - median_scores = peer_api.get_assessment_median_scores(submission_uuid) + grading_strategy = get_peer_grading_strategy(self.workflow_requirements()["peer"]) + median_scores = peer_api.get_peer_assessment_scores(submission_uuid, grading_strategy) elif "self-assessment" in assessment_steps: median_scores = self_api.get_assessment_scores_by_criteria(submission_uuid) @@ -367,9 +369,10 @@ def _get_assessment_part(title, feedback_title, part_criterion_name, assessment) criterion_name, staff_assessment ) + grading_strategy = get_peer_grading_strategy(self.workflow_requirements()["peer"]) if "peer-assessment" in assessment_steps: peer_assessment_part = { - 'title': _('Peer Median Grade'), + 'title': _(f'Peer {grading_strategy.capitalize()} Grade'), 'criterion': criterion, 'option': self._peer_median_option(submission_uuid, criterion), 'individual_assessments': [ @@ -424,7 +427,8 @@ def _peer_median_option(self, submission_uuid, criterion): # Import is placed here to avoid model import at project startup. from openassessment.assessment.api import peer as peer_api - median_scores = peer_api.get_assessment_median_scores(submission_uuid) + grading_strategy = get_peer_grading_strategy(self.workflow_requirements()["peer"]) + median_scores = peer_api.get_peer_assessment_scores(submission_uuid, grading_strategy) median_score = median_scores.get(criterion['name'], None) median_score = -1 if median_score is None else median_score @@ -650,11 +654,11 @@ def _get_score_explanation(self, workflow): complete = score is not None assessment_type = self._get_assessment_type(workflow) - + grading_strategy = get_peer_grading_strategy(self.workflow_requirements()["peer"]) sentences = { "staff": _("The grade for this problem is determined by your Staff Grade."), "peer": _( - "The grade for this problem is determined by the median score of " + f"The grade for this problem is determined by the {grading_strategy} score of " "your Peer Assessments." ), "self": _("The grade for this problem is determined by your Self Assessment.") diff --git a/openassessment/xblock/static/dist/openassessment-lms.dc8bb1e464bcaaab4668.js b/openassessment/xblock/static/dist/openassessment-lms.7430e499fae20eeff7bd.js similarity index 100% rename from openassessment/xblock/static/dist/openassessment-lms.dc8bb1e464bcaaab4668.js rename to openassessment/xblock/static/dist/openassessment-lms.7430e499fae20eeff7bd.js diff --git a/openassessment/xblock/static/dist/openassessment-ltr.7955a1e2cc11fc6948de.css b/openassessment/xblock/static/dist/openassessment-ltr.5b291771f2af113d4918.css similarity index 100% rename from openassessment/xblock/static/dist/openassessment-ltr.7955a1e2cc11fc6948de.css rename to openassessment/xblock/static/dist/openassessment-ltr.5b291771f2af113d4918.css diff --git a/openassessment/xblock/static/dist/openassessment-ltr.65e3c135076b8cfe5c16.js b/openassessment/xblock/static/dist/openassessment-ltr.65e3c135076b8cfe5c16.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openassessment/xblock/static/dist/openassessment-rtl.9de7c9bc7c1048c07707.css b/openassessment/xblock/static/dist/openassessment-rtl.731b1e1ea896e74cb5c0.css similarity index 100% rename from openassessment/xblock/static/dist/openassessment-rtl.9de7c9bc7c1048c07707.css rename to openassessment/xblock/static/dist/openassessment-rtl.731b1e1ea896e74cb5c0.css diff --git a/openassessment/xblock/static/dist/openassessment-rtl.f130ffdc49b7bf41bd03.js b/openassessment/xblock/static/dist/openassessment-rtl.f130ffdc49b7bf41bd03.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/openassessment/xblock/static/dist/openassessment-studio.d576fb212cefa2e4b720.js b/openassessment/xblock/static/dist/openassessment-studio.44a98dc6a1d4b7f295cd.js similarity index 100% rename from openassessment/xblock/static/dist/openassessment-studio.d576fb212cefa2e4b720.js rename to openassessment/xblock/static/dist/openassessment-studio.44a98dc6a1d4b7f295cd.js diff --git a/openassessment/xblock/static/js/src/studio/oa_edit_assessment.js b/openassessment/xblock/static/js/src/studio/oa_edit_assessment.js index cdee107154..b04bd2f010 100644 --- a/openassessment/xblock/static/js/src/studio/oa_edit_assessment.js +++ b/openassessment/xblock/static/js/src/studio/oa_edit_assessment.js @@ -91,6 +91,7 @@ export class EditPeerAssessmentView { must_grade: this.mustGradeNum(), must_be_graded_by: this.mustBeGradedByNum(), enable_flexible_grading: this.enableFlexibleGrading(), + grading_strategy: this.gradingStrategy(), start: this.startDatetime(), due: this.dueDatetime(), }; @@ -163,6 +164,23 @@ export class EditPeerAssessmentView { return self.val() === '1'; } + /** + Get or set the mean grading setting to enabled/disabled + + Args: + enabled (bool, optional): If provided, set `grading_strategy` to the given value + + Returns: + boolean + * */ + gradingStrategy(strategy) { + const self = $('#peer_assessment_grading_strategy', this.element); + if (strategy !== undefined) { + self.val(strategy); + } + return self.val(); + } + /** Get or set the start date and time of the assessment. diff --git a/openassessment/xblock/studio_mixin.py b/openassessment/xblock/studio_mixin.py index 80d965e202..7c14d5af18 100644 --- a/openassessment/xblock/studio_mixin.py +++ b/openassessment/xblock/studio_mixin.py @@ -215,6 +215,7 @@ def _parse_date_safe(date): 'date_config_type_doc_url': self.ORA_SETTINGS_DOCUMENT_URL, 'subsection_end_date': self.due, 'course_end_date': None if not self.course else self.course.end, + 'enable_peer_configurable_grading': self.enable_peer_configurable_grading, } @XBlock.json_handler diff --git a/openassessment/xblock/ui_mixins/mfe/ora_config_serializer.py b/openassessment/xblock/ui_mixins/mfe/ora_config_serializer.py index ace6d2a34f..75ab48db2e 100644 --- a/openassessment/xblock/ui_mixins/mfe/ora_config_serializer.py +++ b/openassessment/xblock/ui_mixins/mfe/ora_config_serializer.py @@ -188,6 +188,7 @@ class PeerSettingsSerializer(AssessmentStepSettingsSerializer): source="enable_flexible_grading", required=False ) + gradingStrategy = CharField(source="grading_strategy") class StaffSettingsSerializer(AssessmentStepSettingsSerializer): STEP_NAME = 'staff-assessment' diff --git a/openassessment/xblock/utils/defaults.py b/openassessment/xblock/utils/defaults.py index a9db64007c..2902e43526 100644 --- a/openassessment/xblock/utils/defaults.py +++ b/openassessment/xblock/utils/defaults.py @@ -1,6 +1,9 @@ """Default data initializations for the XBlock, with formatting preserved.""" # pylint: disable=line-too-long +from openassessment.assessment.api.peer import GradingStrategy + + DEFAULT_PROMPT = """ Censorship in the Libraries @@ -130,6 +133,7 @@ "must_grade": 5, "must_be_graded_by": 3, "enable_flexible_grading": False, + "grading_strategy": GradingStrategy.MEDIAN, "flexible_grading_days": 7, "flexible_grading_graded_by_percentage": 30 } diff --git a/openassessment/xblock/utils/schema.py b/openassessment/xblock/utils/schema.py index c931e85f24..be5adc3b9b 100644 --- a/openassessment/xblock/utils/schema.py +++ b/openassessment/xblock/utils/schema.py @@ -4,6 +4,7 @@ import dateutil from pytz import utc +from openassessment.assessment.api.peer import GradingStrategy from voluptuous import ( All, @@ -135,6 +136,7 @@ def datetime_validator(value): 'must_grade': All(int, Range(min=0)), 'must_be_graded_by': All(int, Range(min=0)), Required('enable_flexible_grading', default=False): bool, + Optional('grading_strategy', default=GradingStrategy.MEDIAN): str, 'examples': [ Schema({ Required('answer'): [utf8_validator], diff --git a/openassessment/xblock/utils/xml.py b/openassessment/xblock/utils/xml.py index dea0279b41..94b59930e7 100644 --- a/openassessment/xblock/utils/xml.py +++ b/openassessment/xblock/utils/xml.py @@ -578,6 +578,10 @@ def parse_assessments_xml(assessments_root): except ValueError as ex: raise UpdateFromXmlError('The "enable_flexible_grading" value must be a boolean.') from ex + # Assessment grading_strategy + if 'grading_strategy' in assessment.attrib: + assessment_dict['grading_strategy'] = assessment.get('grading_strategy') + # Assessment required if 'required' in assessment.attrib: @@ -673,6 +677,9 @@ def serialize_assessments(assessments_root, oa_block): if 'enable_flexible_grading' in assessment_dict: assessment.set('enable_flexible_grading', str(assessment_dict['enable_flexible_grading'])) + if 'grading_strategy' in assessment_dict: + assessment.set('grading_strategy', str(assessment_dict['grading_strategy'])) + if assessment_dict.get('start') is not None: assessment.set('start', str(assessment_dict['start'])) diff --git a/openassessment/xblock/workflow_mixin.py b/openassessment/xblock/workflow_mixin.py index 30f5a1ca08..1efa740598 100644 --- a/openassessment/xblock/workflow_mixin.py +++ b/openassessment/xblock/workflow_mixin.py @@ -1,7 +1,9 @@ """ Handle OpenAssessment XBlock requests to the Workflow API. """ +from django.conf import settings from xblock.core import XBlock +from openassessment.assessment.api.peer import GradingStrategy from submissions.api import get_submissions, SubmissionInternalError, SubmissionNotFoundError from openassessment.workflow import api as workflow_api @@ -70,7 +72,8 @@ def workflow_requirements(self): requirements["peer"] = { "must_grade": peer_assessment_module["must_grade"], "must_be_graded_by": peer_assessment_module["must_be_graded_by"], - "enable_flexible_grading": peer_assessment_module.get("enable_flexible_grading", False) + "enable_flexible_grading": peer_assessment_module.get("enable_flexible_grading", False), + "grading_strategy": peer_assessment_module.get("grading_strategy", GradingStrategy.MEDIAN), } training_module = self.get_assessment_module('student-training') diff --git a/settings/base.py b/settings/base.py index 3d6e8d1ad3..06c413d0fd 100644 --- a/settings/base.py +++ b/settings/base.py @@ -168,10 +168,14 @@ # Set to True to enable copying/reusing rubric data # See: https://openedx.atlassian.net/browse/EDUCATOR-5751 'ENABLE_ORA_RUBRIC_REUSE': False, - + # Set to True to enable selectable learners in waiting step list # See: https://github.com/openedx/edx-ora2/pull/2025 - 'ENABLE_ORA_SELECTABLE_LEARNER_WAITING_REVIEW': False + 'ENABLE_ORA_SELECTABLE_LEARNER_WAITING_REVIEW': False, + + # Set to True to enable configurable grading for peer review + # See: https://github.com/openedx/edx-ora2/pull/2196 + 'ENABLE_ORA_PEER_CONFIGURABLE_GRADING': False, } # disable indexing on history_date From eb4b91112e4d400622e552068e934140d67c09d9 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Mon, 25 Mar 2024 13:59:19 -0400 Subject: [PATCH 02/30] refactor: re-generate statics for implementation --- .../xblock/static/dist/manifest.json | 36 ++++---- ...t-editor-textarea.de70b044ddf6baeaf0b7.js} | 4 +- ...nt-editor-tinymce.a87e38bc7b19d8273858.js} | 4 +- ...penassessment-lms.7430e499fae20eeff7bd.css | 3 + ...openassessment-lms.7430e499fae20eeff7bd.js | 92 ++++++++++++------- ...penassessment-lms.dc8bb1e464bcaaab4668.css | 3 - ...penassessment-ltr.5b291771f2af113d4918.css | 2 +- ...penassessment-ltr.5b291771f2af113d4918.js} | 4 +- ...openassessment-ltr.65e3c135076b8cfe5c16.js | 0 ...penassessment-rtl.731b1e1ea896e74cb5c0.css | 2 +- ...penassessment-rtl.731b1e1ea896e74cb5c0.js} | 4 +- ...openassessment-rtl.f130ffdc49b7bf41bd03.js | 0 ...nassessment-studio.44a98dc6a1d4b7f295cd.js | 8 +- 13 files changed, 94 insertions(+), 68 deletions(-) rename openassessment/xblock/static/dist/{openassessment-editor-textarea.2cee26d88c3441ada635.js => openassessment-editor-textarea.de70b044ddf6baeaf0b7.js} (94%) rename openassessment/xblock/static/dist/{openassessment-editor-tinymce.0b97b77ad7f1b7150f67.js => openassessment-editor-tinymce.a87e38bc7b19d8273858.js} (96%) create mode 100644 openassessment/xblock/static/dist/openassessment-lms.7430e499fae20eeff7bd.css delete mode 100644 openassessment/xblock/static/dist/openassessment-lms.dc8bb1e464bcaaab4668.css rename openassessment/xblock/static/dist/{openassessment-ltr.7955a1e2cc11fc6948de.js => openassessment-ltr.5b291771f2af113d4918.js} (87%) delete mode 100644 openassessment/xblock/static/dist/openassessment-ltr.65e3c135076b8cfe5c16.js rename openassessment/xblock/static/dist/{openassessment-rtl.9de7c9bc7c1048c07707.js => openassessment-rtl.731b1e1ea896e74cb5c0.js} (87%) delete mode 100644 openassessment/xblock/static/dist/openassessment-rtl.f130ffdc49b7bf41bd03.js diff --git a/openassessment/xblock/static/dist/manifest.json b/openassessment/xblock/static/dist/manifest.json index 8e5bb8f1cc..07ee09cc43 100644 --- a/openassessment/xblock/static/dist/manifest.json +++ b/openassessment/xblock/static/dist/manifest.json @@ -1,23 +1,23 @@ { "base_url": "/static/dist", - "openassessment-editor-textarea.js": "/openassessment-editor-textarea.2cee26d88c3441ada635.js", - "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.2cee26d88c3441ada635.js.map", - "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.0b97b77ad7f1b7150f67.js", - "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.0b97b77ad7f1b7150f67.js.map", - "openassessment-lms.css": "/openassessment-lms.dc8bb1e464bcaaab4668.css", - "openassessment-lms.js": "/openassessment-lms.dc8bb1e464bcaaab4668.js", - "openassessment-lms.css.map": "/openassessment-lms.dc8bb1e464bcaaab4668.css.map", - "openassessment-lms.js.map": "/openassessment-lms.dc8bb1e464bcaaab4668.js.map", - "openassessment-ltr.css": "/openassessment-ltr.7955a1e2cc11fc6948de.css", - "openassessment-ltr.js": "/openassessment-ltr.7955a1e2cc11fc6948de.js", - "openassessment-ltr.css.map": "/openassessment-ltr.7955a1e2cc11fc6948de.css.map", - "openassessment-ltr.js.map": "/openassessment-ltr.7955a1e2cc11fc6948de.js.map", - "openassessment-rtl.css": "/openassessment-rtl.9de7c9bc7c1048c07707.css", - "openassessment-rtl.js": "/openassessment-rtl.9de7c9bc7c1048c07707.js", - "openassessment-rtl.css.map": "/openassessment-rtl.9de7c9bc7c1048c07707.css.map", - "openassessment-rtl.js.map": "/openassessment-rtl.9de7c9bc7c1048c07707.js.map", - "openassessment-studio.js": "/openassessment-studio.d576fb212cefa2e4b720.js", - "openassessment-studio.js.map": "/openassessment-studio.d576fb212cefa2e4b720.js.map", + "openassessment-editor-textarea.js": "/openassessment-editor-textarea.de70b044ddf6baeaf0b7.js", + "openassessment-editor-textarea.js.map": "/openassessment-editor-textarea.de70b044ddf6baeaf0b7.js.map", + "openassessment-editor-tinymce.js": "/openassessment-editor-tinymce.a87e38bc7b19d8273858.js", + "openassessment-editor-tinymce.js.map": "/openassessment-editor-tinymce.a87e38bc7b19d8273858.js.map", + "openassessment-lms.css": "/openassessment-lms.7430e499fae20eeff7bd.css", + "openassessment-lms.js": "/openassessment-lms.7430e499fae20eeff7bd.js", + "openassessment-lms.css.map": "/openassessment-lms.7430e499fae20eeff7bd.css.map", + "openassessment-lms.js.map": "/openassessment-lms.7430e499fae20eeff7bd.js.map", + "openassessment-ltr.css": "/openassessment-ltr.5b291771f2af113d4918.css", + "openassessment-ltr.js": "/openassessment-ltr.5b291771f2af113d4918.js", + "openassessment-ltr.css.map": "/openassessment-ltr.5b291771f2af113d4918.css.map", + "openassessment-ltr.js.map": "/openassessment-ltr.5b291771f2af113d4918.js.map", + "openassessment-rtl.css": "/openassessment-rtl.731b1e1ea896e74cb5c0.css", + "openassessment-rtl.js": "/openassessment-rtl.731b1e1ea896e74cb5c0.js", + "openassessment-rtl.css.map": "/openassessment-rtl.731b1e1ea896e74cb5c0.css.map", + "openassessment-rtl.js.map": "/openassessment-rtl.731b1e1ea896e74cb5c0.js.map", + "openassessment-studio.js": "/openassessment-studio.44a98dc6a1d4b7f295cd.js", + "openassessment-studio.js.map": "/openassessment-studio.44a98dc6a1d4b7f295cd.js.map", "fallback-default.png": "/4620b30a966533ace489dcc7afb151b9.png", "default-avatar.svg": "/95ec738c0b7faac5b5c9126794446bbd.svg" } \ No newline at end of file diff --git a/openassessment/xblock/static/dist/openassessment-editor-textarea.2cee26d88c3441ada635.js b/openassessment/xblock/static/dist/openassessment-editor-textarea.de70b044ddf6baeaf0b7.js similarity index 94% rename from openassessment/xblock/static/dist/openassessment-editor-textarea.2cee26d88c3441ada635.js rename to openassessment/xblock/static/dist/openassessment-editor-textarea.de70b044ddf6baeaf0b7.js index 6e5557c375..b3f38a1c62 100644 --- a/openassessment/xblock/static/dist/openassessment-editor-textarea.2cee26d88c3441ada635.js +++ b/openassessment/xblock/static/dist/openassessment-editor-textarea.de70b044ddf6baeaf0b7.js @@ -1,2 +1,2 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=203)}({203:function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t){for(var r=0;r>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var x=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},j={};function Y(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(j[e]=a),t&&(j[t[0]]=function(){return N(a.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function P(e,t){return e.isValid()?(t=R(t,e.localeData()),C[t]=C[t]||function(e){var t,n,r,a=e.match(x);for(t=0,n=a.length;t=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var W={};function q(e,t){var n=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}function B(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function H(e){var t,n,r={};for(n in e)s(e,n)&&(t=B(n))&&(r[t]=e[n]);return r}var I={};function X(e,t){I[e]=t}function F(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=U(t)),n}function G(e,t){return function(n){return null!=n?(J(this,e,n),a.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&F(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,Q=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,se=/\d{1,4}/,ce=/[+-]?\d{1,6}/,le=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,n){K[e]=k(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return s(K,e)?K[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var Me,ye={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=V(e)}),n=0;n68?1900:2e3)};var De=G("FullYear",!0);function Ce(e,t,n,r,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function je(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var r=7+t-n;return-(7+je(e,0,r).getUTCDay()-t)%7+r-1}function Pe(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+Ye(e,r,a);return s<=0?o=xe(i=e-1)+s:s>xe(e)?(i=e+1,o=s-xe(e)):(i=e,o=s),{year:i,dayOfYear:o}}function Re(e,t,n){var r,a,i=Ye(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+We(a=e.year()-1,t,n):o>We(e.year(),t,n)?(r=o-We(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function We(e,t,n){var r=Ye(e,t,n),a=Ye(e+1,t,n);return(xe(e)-r+a)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),X("week",5),X("isoWeek",5),me("w",re),me("ww",re,Z),me("W",re),me("WW",re,Z),ge(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=V(e)})),Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),X("day",11),X("weekday",11),X("isoWeekday",11),me("d",re),me("e",re),me("E",re),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),ge(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),ge(["d","e","E"],(function(e,t,n,r){t[r]=V(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),He="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=pe,Fe=pe,Ue=pe;function Ve(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Me.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Me.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=Me.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=Me.call(this._weekdaysParse,o))||-1!==(a=Me.call(this._shortWeekdaysParse,o))||-1!==(a=Me.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=Me.call(this._shortWeekdaysParse,o))||-1!==(a=Me.call(this._weekdaysParse,o))||-1!==(a=Me.call(this._minWeekdaysParse,o))?a:null:-1!==(a=Me.call(this._minWeekdaysParse,o))||-1!==(a=Me.call(this._weekdaysParse,o))||-1!==(a=Me.call(this._shortWeekdaysParse,o))?a:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=be(this.weekdaysMin(n,"")),a=be(this.weekdaysShort(n,"")),i=be(this.weekdays(n,"")),o.push(r),s.push(a),c.push(i),l.push(r),l.push(a),l.push(i);o.sort(e),s.sort(e),c.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function $e(){return this.hours()%12||12}function Je(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,$e),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+$e.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),Je("a",!0),Je("A",!1),q("hour","h"),X("hour",13),me("a",Ke),me("A",Ke),me("H",re),me("h",re),me("k",re),me("HH",re,Z),me("hh",re,Z),me("kk",re,Z),me("hmm",ae),me("hmmss",ie),me("Hmm",ae),me("Hmmss",ie),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var r=V(e);t[3]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=V(e),h(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r)),h(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r,2)),t[5]=V(e.substr(a)),h(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r,2)),t[5]=V(e.substr(a))}));var Qe,Ze=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:Ae,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ie,weekdaysShort:He,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=it(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}i++}return Qe}(e)}function lt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Mt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,a,i,o,s=e._i,c=ut.exec(s)||dt.exec(s);if(c){for(h(e).iso=!0,t=0,n=pt.length;t7)&&(c=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,l=Re(Ot(),i,o),n=_t(t.gg,e._a[0],l.year),r=_t(t.w,l.week),null!=t.d?((a=t.d)<0||a>6)&&(c=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(c=!0)):a=i),r<1||r>We(n,i,o)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Pe(n,r,a,i,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=_t(e._a[0],r[0]),(e._dayOfYear>xe(o)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=je(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?je:Ce).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(h(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,i,o,s,c=""+e._i,l=c.length,u=0;for(r=R(e._f,e._locale).match(x)||[],t=0;t0&&h(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),u+=n.length),j[i]?(n?h(e).empty=!1:h(e).unusedTokens.push(i),_e(i,n,e)):e._strict&&!n&&h(e).unusedTokens.push(i);h(e).charsLeftOver=l-u,c.length>0&&h(e).unusedInput.push(c),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),lt(e)}else gt(e);else yt(e)}function At(e){var t=e._i,n=e._f;return e._locale=e._locale||ct(e._l),null===t||void 0===n&&""===t?M({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(lt(t)):(d(t)?e._d=t:i(n)?function(e){var t,n,r,a,i,o,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:M()}));function zt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],i=[],o=this.eras();for(e=0,t=o.length;e(i=We(e,r,a))&&(t=i),un.call(this,e,t,n,r,a))}function un(e,t,n,r,a){var i=Pe(e,t,n,r,a),o=je(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),me("N",on),me("NN",on),me("NNN",on),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),me("y",le),me("yy",le),me("yyy",le),me("yyyy",le),me("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),q("weekYear","gg"),q("isoWeekYear","GG"),X("weekYear",1),X("isoWeekYear",1),me("G",ue),me("g",ue),me("GG",re,Z),me("gg",re,Z),me("GGGG",se,te),me("gggg",se,te),me("GGGGG",ce,ne),me("ggggg",ce,ne),ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=V(e)})),ge(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),q("quarter","Q"),X("quarter",7),me("Q",Q),ve("Q",(function(e,t){t[1]=3*(V(e)-1)})),Y("D",["DD",2],"Do","date"),q("date","D"),X("date",9),me("D",re),me("DD",re,Z),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=V(e.match(re)[0])}));var dn=G("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),X("dayOfYear",4),me("DDD",oe),me("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=V(e)})),Y("m",["mm",2],0,"minute"),q("minute","m"),X("minute",14),me("m",re),me("mm",re,Z),ve(["m","mm"],4);var fn=G("Minutes",!1);Y("s",["ss",2],0,"second"),q("second","s"),X("second",15),me("s",re),me("ss",re,Z),ve(["s","ss"],5);var pn,mn,hn=G("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),q("millisecond","ms"),X("millisecond",16),me("S",oe,Q),me("SS",oe,Z),me("SSS",oe,ee),pn="SSSS";pn.length<=9;pn+="S")me(pn,le);function bn(e,t){t[6]=V(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ve(pn,bn);mn=G("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Mn=_.prototype;function yn(e){return e}Mn.add=Vt,Mn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ot(),r=Pt(n,this).startOf("day"),i=a.calendarFormat(this,r)||"sameElse",o=t&&(k(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Ot(n)))},Mn.clone=function(){return new _(this)},Mn.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=B(t)){case"year":i=Qt(this,r)/12;break;case"month":i=Qt(this,r);break;case"quarter":i=Qt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:U(i)},Mn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},Mn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=P(this,e);return this.localeData().postformat(t)},Mn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Mn.fromNow=function(e){return this.from(Ot(),e)},Mn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Mn.toNow=function(e){return this.to(Ot(),e)},Mn.get=function(e){return k(this[e=B(e)])?this[e]():this},Mn.invalidAt=function(){return h(this).overflow},Mn.isAfter=function(e,t){var n=w(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Mn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Mn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Mn.toJSON=function(){return this.isValid()?this.toISOString():null},Mn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Mn.unix=function(){return Math.floor(this.valueOf()/1e3)},Mn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Mn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Mn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Mn.isUtc=Wt,Mn.isUTC=Wt,Mn.zoneAbbr=function(){return this._isUTC?"UTC":""},Mn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Mn.dates=A("dates accessor is deprecated. Use date instead.",dn),Mn.months=A("months accessor is deprecated. Use month instead",Ee),Mn.years=A("years accessor is deprecated. Use year instead",De),Mn.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Mn.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),(t=At(t))._a?(e=t._isUTC?m(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var vn=E.prototype;function gn(e,t,n,r){var a=ct(),i=m().set(r,t);return a[n](i,e)}function _n(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return gn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=gn(e,r,n,"month");return a}function wn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var a,i=ct(),o=e?i._week.dow:0,s=[];if(null!=n)return gn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=gn(t,(a+o)%7,r,"day");return s}vn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return k(r)?r.call(t,n):r},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(x).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=yn,vn.postformat=yn,vn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return k(a)?a(e,t,n,r):a.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)s(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.eras=function(e,t){var n,r,i,o=this._eras||ct("en")._eras;for(n=0,r=o.length;n=0)return c[r]},vn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},vn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},vn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},vn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},vn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return ke.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},vn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ne.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ne.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return Re(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Fe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=A("moment.lang is deprecated. Use moment.locale instead.",ot),a.langData=A("moment.langData is deprecated. Use moment.localeData instead.",ct);var Ln=Math.abs;function An(e,t,n,r){var a=Ht(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Tn(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var zn=kn("ms"),En=kn("s"),Nn=kn("m"),xn=kn("h"),Dn=kn("d"),Cn=kn("w"),jn=kn("M"),Yn=kn("Q"),Pn=kn("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wn=Rn("milliseconds"),qn=Rn("seconds"),Bn=Rn("minutes"),Hn=Rn("hours"),In=Rn("days"),Xn=Rn("months"),Fn=Rn("years"),Un=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gn(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var $n=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s,c=$n(this._milliseconds)/1e3,l=$n(this._days),u=$n(this._months),d=this.asSeconds();return d?(e=U(c/60),t=U(e/60),c%=60,e%=60,n=U(u/12),u%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=Jn(this._months)!==Jn(d)?"-":"",o=Jn(this._days)!==Jn(d)?"-":"",s=Jn(this._milliseconds)!==Jn(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(l?o+l+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+r+"S":"")):"P0D"}var Qn=Nt.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Qn.add=function(e,t){return An(this,e,t,1)},Qn.subtract=function(e,t){return An(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=zn,Qn.asSeconds=En,Qn.asMinutes=Nn,Qn.asHours=xn,Qn.asDays=Dn,Qn.asWeeks=Cn,Qn.asMonths=jn,Qn.asQuarters=Yn,Qn.asYears=Pn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,c=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*Tn(Sn(s)+o),o=0,s=0),c.milliseconds=i%1e3,e=U(i/1e3),c.seconds=e%60,t=U(e/60),c.minutes=t%60,n=U(t/60),c.hours=n%24,o+=U(n/24),a=U(On(o)),s+=a,o-=Tn(Sn(a)),r=U(s/12),s%=12,c.days=o,c.months=s,c.years=r,this},Qn.clone=function(){return Ht(this)},Qn.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Wn,Qn.seconds=qn,Qn.minutes=Bn,Qn.hours=Hn,Qn.days=In,Qn.weeks=function(){return U(this.days()/7)},Qn.months=Xn,Qn.years=Fn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=Vn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},Vn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Ht(e).abs(),i=Un(a.as("s")),o=Un(a.as("m")),s=Un(a.as("h")),c=Un(a.as("d")),l=Un(a.as("M")),u=Un(a.as("w")),d=Un(a.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,Gn.apply(null,f)}(this,!a,i,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Kn,Qn.toString=Kn,Qn.toJSON=Kn,Qn.locale=Zt,Qn.localeData=tn,Qn.toIsoString=A("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Qn.lang=en,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),me("x",ue),me("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(V(e))})), +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=210)}([function(e,t,n){"use strict";e.exports=n(193)},function(e,t,n){var r=n(24);e.exports=n(202)(r.isElement,!0)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function a(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,D=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},j={};function R(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(j[e]=a),t&&(j[t[0]]=function(){return x(a.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function P(e,t){return e.isValid()?(t=Y(t,e.localeData()),C[t]=C[t]||function(e){var t,n,r,a=e.match(N);for(t=0,n=a.length;t=0&&D.test(e);)e=e.replace(D,r),D.lastIndex=0,n-=1;return e}var W={};function q(e,t){var n=e.toLowerCase();W[n]=W[n+"s"]=W[t]=e}function B(e){return"string"==typeof e?W[e]||W[e.toLowerCase()]:void 0}function H(e){var t,n,r={};for(n in e)s(e,n)&&(t=B(n))&&(r[t]=e[n]);return r}var I={};function F(e,t){I[e]=t}function X(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function V(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=U(t)),n}function $(e,t){return function(n){return null!=n?(J(this,e,n),a.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&X(e.year())&&1===e.month()&&29===e.date()?(n=V(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,Q=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,se=/\d{1,4}/,ce=/[+-]?\d{1,6}/,ue=/\d+/,le=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,n){K[e]=k(t)?t:function(e,r){return e&&n?n:t}}function he(e,t){return s(K,e)?K[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var ye,ve={};function ge(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=V(e)}),n=0;n68?1900:2e3)};var De=$("FullYear",!0);function Ce(e,t,n,r,a,o,i){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,o,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,o,i),s}function je(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Re(e,t,n){var r=7+t-n;return-(7+je(e,0,r).getUTCDay()-t)%7+r-1}function Pe(e,t,n,r,a){var o,i,s=1+7*(t-1)+(7+n-r)%7+Re(e,r,a);return s<=0?i=Ne(o=e-1)+s:s>Ne(e)?(o=e+1,i=s-Ne(e)):(o=e,i=s),{year:o,dayOfYear:i}}function Ye(e,t,n){var r,a,o=Re(e.year(),t,n),i=Math.floor((e.dayOfYear()-o-1)/7)+1;return i<1?r=i+We(a=e.year()-1,t,n):i>We(e.year(),t,n)?(r=i-We(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function We(e,t,n){var r=Re(e,t,n),a=Re(e+1,t,n);return(Ne(e)-r+a)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),F("week",5),F("isoWeek",5),me("w",re),me("ww",re,Z),me("W",re),me("WW",re,Z),Me(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=V(e)})),R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),me("d",re),me("e",re),me("E",re),me("dd",(function(e,t){return t.weekdaysMinRegex(e)})),me("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),me("dddd",(function(e,t){return t.weekdaysRegex(e)})),Me(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:h(n).invalidWeekday=e})),Me(["d","e","E"],(function(e,t,n,r){t[r]=V(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),He="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ie="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fe=pe,Xe=pe,Ue=pe;function Ve(e,t,n){var r,a,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,i))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._shortWeekdaysParse,i))||-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,i))||-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._minWeekdaysParse,i))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,i))||-1!==(a=ye.call(this._weekdaysParse,i))||-1!==(a=ye.call(this._shortWeekdaysParse,i))?a:null}function $e(){function e(e,t){return t.length-e.length}var t,n,r,a,o,i=[],s=[],c=[],u=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=be(this.weekdaysMin(n,"")),a=be(this.weekdaysShort(n,"")),o=be(this.weekdays(n,"")),i.push(r),s.push(a),c.push(o),u.push(r),u.push(a),u.push(o);i.sort(e),s.sort(e),c.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Je(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Ge),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+Ge.apply(this)+x(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Ge.apply(this)+x(this.minutes(),2)+x(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+x(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+x(this.minutes(),2)+x(this.seconds(),2)})),Je("a",!0),Je("A",!1),q("hour","h"),F("hour",13),me("a",Ke),me("A",Ke),me("H",re),me("h",re),me("k",re),me("HH",re,Z),me("hh",re,Z),me("kk",re,Z),me("hmm",ae),me("hmmss",oe),me("Hmm",ae),me("Hmmss",oe),ge(["H","HH"],3),ge(["k","kk"],(function(e,t,n){var r=V(e);t[3]=24===r?0:r})),ge(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ge(["h","hh"],(function(e,t,n){t[3]=V(e),h(n).bigHour=!0})),ge("hmm",(function(e,t,n){var r=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r)),h(n).bigHour=!0})),ge("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r,2)),t[5]=V(e.substr(a)),h(n).bigHour=!0})),ge("Hmm",(function(e,t,n){var r=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r))})),ge("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=V(e.substr(0,r)),t[4]=V(e.substr(r,2)),t[5]=V(e.substr(a))}));var Qe,Ze=$("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Le,monthsShort:Te,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:Ie,weekdaysShort:He,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=ot(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}o++}return Qe}(e)}function ut(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,h(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),h(e)._overflowWeeks&&-1===t&&(t=7),h(e)._overflowWeekday&&-1===t&&(t=8),h(e).overflow=t),e}var lt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ht=/^\/?Date\((-?\d+)/i,bt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,yt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vt(e){var t,n,r,a,o,i,s=e._i,c=lt.exec(s)||dt.exec(s);if(c){for(h(e).iso=!0,t=0,n=pt.length;t7)&&(c=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,u=Ye(Ot(),o,i),n=_t(t.gg,e._a[0],u.year),r=_t(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(c=!0):null!=t.e?(a=t.e+o,(t.e<0||t.e>6)&&(c=!0)):a=o),r<1||r>We(n,o,i)?h(e)._overflowWeeks=!0:null!=c?h(e)._overflowWeekday=!0:(s=Pe(n,r,a,o,i),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(i=_t(e._a[0],r[0]),(e._dayOfYear>Ne(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=je(i,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?je:Ce).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(h(e).weekdayMismatch=!0)}}function Lt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],h(e).empty=!0;var t,n,r,o,i,s,c=""+e._i,u=c.length,l=0;for(r=Y(e._f,e._locale).match(N)||[],t=0;t0&&h(e).unusedInput.push(i),c=c.slice(c.indexOf(n)+n.length),l+=n.length),j[o]?(n?h(e).empty=!1:h(e).unusedTokens.push(o),_e(o,n,e)):e._strict&&!n&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,c.length>0&&h(e).unusedInput.push(c),e._a[3]<=12&&!0===h(e).bigHour&&e._a[3]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=h(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),ut(e)}else Mt(e);else vt(e)}function Tt(e){var t=e._i,n=e._f;return e._locale=e._locale||ct(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ut(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,a,o,i,s=!1;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:y()}));function Et(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Ot();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],o=[],i=this.eras();for(e=0,t=i.length;e(o=We(e,r,a))&&(t=o),ln.call(this,e,t,n,r,a))}function ln(e,t,n,r,a){var o=Pe(e,t,n,r,a),i=je(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),me("N",on),me("NN",on),me("NNN",on),me("NNNN",(function(e,t){return t.erasNameRegex(e)})),me("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ge(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?h(n).era=a:h(n).invalidEra=e})),me("y",ue),me("yy",ue),me("yyy",ue),me("yyyy",ue),me("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ge(["y","yy","yyy","yyyy"],0),ge(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),q("weekYear","gg"),q("isoWeekYear","GG"),F("weekYear",1),F("isoWeekYear",1),me("G",le),me("g",le),me("GG",re,Z),me("gg",re,Z),me("GGGG",se,te),me("gggg",se,te),me("GGGGG",ce,ne),me("ggggg",ce,ne),Me(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=V(e)})),Me(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),q("quarter","Q"),F("quarter",7),me("Q",Q),ge("Q",(function(e,t){t[1]=3*(V(e)-1)})),R("D",["DD",2],"Do","date"),q("date","D"),F("date",9),me("D",re),me("DD",re,Z),me("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ge(["D","DD"],2),ge("Do",(function(e,t){t[2]=V(e.match(re)[0])}));var dn=$("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),F("dayOfYear",4),me("DDD",ie),me("DDDD",ee),ge(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=V(e)})),R("m",["mm",2],0,"minute"),q("minute","m"),F("minute",14),me("m",re),me("mm",re,Z),ge(["m","mm"],4);var fn=$("Minutes",!1);R("s",["ss",2],0,"second"),q("second","s"),F("second",15),me("s",re),me("ss",re,Z),ge(["s","ss"],5);var pn,mn,hn=$("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),q("millisecond","ms"),F("millisecond",16),me("S",ie,Q),me("SS",ie,Z),me("SSS",ie,ee),pn="SSSS";pn.length<=9;pn+="S")me(pn,ue);function bn(e,t){t[6]=V(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ge(pn,bn);mn=$("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var yn=_.prototype;function vn(e){return e}yn.add=Vt,yn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ot(),r=Pt(n,this).startOf("day"),o=a.calendarFormat(this,r)||"sameElse",i=t&&(k(t[o])?t[o].call(this,n):t[o]);return this.format(i||this.localeData().calendar(o,this,Ot(n)))},yn.clone=function(){return new _(this)},yn.diff=function(e,t,n){var r,a,o;if(!this.isValid())return NaN;if(!(r=Pt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=B(t)){case"year":o=Qt(this,r)/12;break;case"month":o=Qt(this,r);break;case"quarter":o=Qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-a)/864e5;break;case"week":o=(this-r-a)/6048e5;break;default:o=this-r}return n?o:U(o)},yn.endOf=function(e){var t,n;if(void 0===(e=B(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},yn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=P(this,e);return this.localeData().postformat(t)},yn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.fromNow=function(e){return this.from(Ot(),e)},yn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Ot(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},yn.toNow=function(e){return this.to(Ot(),e)},yn.get=function(e){return k(this[e=B(e)])?this[e]():this},yn.invalidAt=function(){return h(this).overflow},yn.isAfter=function(e,t){var n=w(e)?e:Ot(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=B(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?P(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):k(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",P(n,"Z")):P(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},yn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(yn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),yn.toJSON=function(){return this.isValid()?this.toISOString():null},yn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},yn.unix=function(){return Math.floor(this.valueOf()/1e3)},yn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},yn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},yn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},yn.isLocal=function(){return!!this.isValid()&&!this._isUTC},yn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},yn.isUtc=Wt,yn.isUTC=Wt,yn.zoneAbbr=function(){return this._isUTC?"UTC":""},yn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},yn.dates=T("dates accessor is deprecated. Use date instead.",dn),yn.months=T("months accessor is deprecated. Use month instead",ze),yn.years=T("years accessor is deprecated. Use year instead",De),yn.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),yn.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return M(t,this),(t=Tt(t))._a?(e=t._isUTC?m(t._a):Ot(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),i=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=z.prototype;function Mn(e,t,n,r){var a=ct(),o=m().set(r,t);return a[n](o,e)}function _n(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return Mn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=Mn(e,r,n,"month");return a}function wn(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(t)&&(n=t,t=void 0),t=t||"");var a,o=ct(),i=e?o._week.dow:0,s=[];if(null!=n)return Mn(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=Mn(t,(a+i)%7,r,"day");return s}gn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return k(r)?r.call(t,n):r},gn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=vn,gn.postformat=vn,gn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return k(a)?a(e,t,n,r):a.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return k(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)s(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},gn.eras=function(e,t){var n,r,o,i=this._eras||ct("en")._eras;for(n=0,r=i.length;n=0)return c[r]},gn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},gn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ae.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var r,a,o;if(this._monthsParseExact)return ke.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},gn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||xe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Se),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||xe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return Ye(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?qe(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var r,a,o;if(this._weekdaysParseExact)return Ve.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Fe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===V(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=T("moment.lang is deprecated. Use moment.locale instead.",it),a.langData=T("moment.langData is deprecated. Use moment.localeData instead.",ct);var Ln=Math.abs;function Tn(e,t,n,r){var a=Ht(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function An(e){return e<0?Math.floor(e):Math.ceil(e)}function On(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function kn(e){return function(){return this.as(e)}}var En=kn("ms"),zn=kn("s"),xn=kn("m"),Nn=kn("h"),Dn=kn("d"),Cn=kn("w"),jn=kn("M"),Rn=kn("Q"),Pn=kn("y");function Yn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wn=Yn("milliseconds"),qn=Yn("seconds"),Bn=Yn("minutes"),Hn=Yn("hours"),In=Yn("days"),Fn=Yn("months"),Xn=Yn("years"),Un=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var Gn=Math.abs;function Jn(e){return(e>0)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,o,i,s,c=Gn(this._milliseconds)/1e3,u=Gn(this._days),l=Gn(this._months),d=this.asSeconds();return d?(e=U(c/60),t=U(e/60),c%=60,e%=60,n=U(l/12),l%=12,r=c?c.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",o=Jn(this._months)!==Jn(d)?"-":"",i=Jn(this._days)!==Jn(d)?"-":"",s=Jn(this._milliseconds)!==Jn(d)?"-":"",a+"P"+(n?o+n+"Y":"")+(l?o+l+"M":"")+(u?i+u+"D":"")+(t||e||c?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(c?s+r+"S":"")):"P0D"}var Qn=xt.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Ln(this._milliseconds),this._days=Ln(this._days),this._months=Ln(this._months),e.milliseconds=Ln(e.milliseconds),e.seconds=Ln(e.seconds),e.minutes=Ln(e.minutes),e.hours=Ln(e.hours),e.months=Ln(e.months),e.years=Ln(e.years),this},Qn.add=function(e,t){return Tn(this,e,t,1)},Qn.subtract=function(e,t){return Tn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=B(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+On(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=En,Qn.asSeconds=zn,Qn.asMinutes=xn,Qn.asHours=Nn,Qn.asDays=Dn,Qn.asWeeks=Cn,Qn.asMonths=jn,Qn.asQuarters=Rn,Qn.asYears=Pn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,a,o=this._milliseconds,i=this._days,s=this._months,c=this._data;return o>=0&&i>=0&&s>=0||o<=0&&i<=0&&s<=0||(o+=864e5*An(Sn(s)+i),i=0,s=0),c.milliseconds=o%1e3,e=U(o/1e3),c.seconds=e%60,t=U(e/60),c.minutes=t%60,n=U(t/60),c.hours=n%24,i+=U(n/24),a=U(On(i)),s+=a,i-=An(Sn(a)),r=U(s/12),s%=12,c.days=i,c.months=s,c.years=r,this},Qn.clone=function(){return Ht(this)},Qn.get=function(e){return e=B(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Wn,Qn.seconds=qn,Qn.minutes=Bn,Qn.hours=Hn,Qn.days=In,Qn.weeks=function(){return U(this.days()/7)},Qn.months=Fn,Qn.years=Xn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,o=Vn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(o=Object.assign({},Vn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Ht(e).abs(),o=Un(a.as("s")),i=Un(a.as("m")),s=Un(a.as("h")),c=Un(a.as("d")),u=Un(a.as("M")),l=Un(a.as("w")),d=Un(a.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,$n.apply(null,f)}(this,!a,o,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Kn,Qn.toString=Kn,Qn.toJSON=Kn,Qn.locale=Zt,Qn.localeData=tn,Qn.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Qn.lang=en,R("X",0,0,"unix"),R("x",0,0,"valueOf"),me("x",le),me("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ge("x",(function(e,t,n){n._d=new Date(V(e))})), //! moment.js -a.version="2.29.1",t=Ot,a.fn=Mn,a.min=function(){var e=[].slice.call(arguments,0);return zt("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return zt("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=m,a.unix=function(e){return Ot(1e3*e)},a.months=function(e,t){return _n(e,t,"months")},a.isDate=d,a.locale=ot,a.invalid=M,a.duration=Ht,a.isMoment=w,a.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},a.parseZone=function(){return Ot.apply(null,arguments).parseZone()},a.localeData=ct,a.isDuration=xt,a.monthsShort=function(e,t){return _n(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(z(tt[e]._config,t)):(null!=(r=it(e))&&(a=r._config),t=z(a,t),null==r&&(t.abbr=e),(n=new E(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return T(tt)},a.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},a.normalizeUnits=B,a.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=Mn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(32)(e))},function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return a})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return s})),n.d(t,"o",(function(){return c})),n.d(t,"q",(function(){return l})),n.d(t,"t",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"r",(function(){return f})),n.d(t,"s",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"m",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"l",(function(){return M})),n.d(t,"g",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"h",(function(){return g})),n.d(t,"n",(function(){return _})),n.d(t,"b",(function(){return w}));var r="1.13.2",a="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},i=Array.prototype,o=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=i.push,l=i.slice,u=o.toString,d=o.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,m=Array.isArray,h=Object.keys,b=Object.create,M=f&&ArrayBuffer.isView,y=isNaN,v=isFinite,g=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(this,n(8))},function(e,t,n){var r; +a.version="2.29.1",t=Ot,a.fn=yn,a.min=function(){var e=[].slice.call(arguments,0);return Et("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return Et("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=m,a.unix=function(e){return Ot(1e3*e)},a.months=function(e,t){return _n(e,t,"months")},a.isDate=d,a.locale=it,a.invalid=y,a.duration=Ht,a.isMoment=w,a.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},a.parseZone=function(){return Ot.apply(null,arguments).parseZone()},a.localeData=ct,a.isDuration=Nt,a.monthsShort=function(e,t){return _n(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(E(tt[e]._config,t)):(null!=(r=ot(e))&&(a=r._config),t=E(a,t),null==r&&(t.abbr=e),(n=new z(t)).parentLocale=tt[e],tt[e]=n),it(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===it()&&it(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return A(tt)},a.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},a.normalizeUnits=B,a.relativeTimeRounding=function(e){return void 0===e?Un:"function"==typeof e&&(Un=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=yn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(33)(e))},function(e,t,n){"use strict";(function(e){n.d(t,"e",(function(){return r})),n.d(t,"p",(function(){return a})),n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"o",(function(){return c})),n.d(t,"q",(function(){return u})),n.d(t,"t",(function(){return l})),n.d(t,"i",(function(){return d})),n.d(t,"r",(function(){return f})),n.d(t,"s",(function(){return p})),n.d(t,"k",(function(){return m})),n.d(t,"m",(function(){return h})),n.d(t,"j",(function(){return b})),n.d(t,"l",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"h",(function(){return M})),n.d(t,"n",(function(){return _})),n.d(t,"b",(function(){return w}));var r="1.13.2",a="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},o=Array.prototype,i=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,c=o.push,u=o.slice,l=i.toString,d=i.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,m=Array.isArray,h=Object.keys,b=Object.create,y=f&&ArrayBuffer.isView,v=isNaN,g=isFinite,M=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(this,n(8))},function(e,t,n){var r; /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t=0&&n<=a.b}}function j(e){return function(t){return null==t?void 0:t[e]}}var Y=j("byteLength"),P=C(Y),R=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var W=a.r?function(e){return a.l?Object(a.l)(e)&&!O(e):P(e)&&R.test(a.t.call(e))}:D(!1),q=j("length");function B(e,t){t=function(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},We=Pe(Re),qe=Pe(le(Re)),Be=F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},He=/(.)^/,Ie={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Xe=/\\|'|\r|\n|\u2028|\u2029/g;function Fe(e){return"\\"+Ie[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=me({},t,F.templateSettings);var r=RegExp([(t.escape||He).source,(t.interpolate||He).source,(t.evaluate||He).source].join("|")+"|$","g"),a=0,i="__p+='";e.replace(r,(function(t,n,r,o,s){return i+=e.slice(a,s).replace(Xe,Fe),a=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(i+="';\n"+o+"\n__p+='"),t})),i+="';\n";var o,s=t.variable;if(s){if(!Ue.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{o=new Function(s,"_",i)}catch(e){throw e.source=i,e}var c=function(e){return o.call(this,e,F)};return c.source="function("+s+"){\n"+i+"}",c}function Ge(e,t,n){var r=(t=ge(t)).length;if(!r)return _(n)?n.call(e):n;for(var a=0;a1)rt(s,t-1,n,r),a=r.length;else for(var c=0,l=s.length;ct?(r&&(clearTimeout(r),r=null),s=l,o=e.apply(a,i),r||(a=i=null)):r||!1===n.trailing||(r=setTimeout(c,u)),o};return l.cancel=function(){clearTimeout(r),s=0,r=a=i=null},l}function lt(e,t,n){var r,a,o,s,c,l=function(){var i=Ye()-a;t>i?r=setTimeout(l,t-i):(r=null,n||(s=e.apply(c,o)),r||(o=c=null))},u=i((function(i){return c=this,o=i,a=Ye(),r||(r=setTimeout(l,t),n&&(s=e.apply(c,o))),s}));return u.cancel=function(){clearTimeout(r),r=o=c=null},u}function ut(e,t){return et(t,e)}function dt(e){return function(){return!e.apply(this,arguments)}}function ft(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function pt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function mt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ht=et(mt,2);function bt(e,t,n){t=Ee(t,n);for(var r,a=H(e),i=0,o=a.length;i0?0:a-1;i>=0&&i0?s=o>=0?o:Math.max(o+c,s):c=o>=0?Math.min(o+1,c):o+c+1;else if(n&&o&&c)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(a.q.call(r,s,c),x))>=0?o+s:-1;for(o=e>0?s:c-1;o>=0&&o0?0:o-1;for(a||(r=t[i?i[s]:s],s+=e);s>=0&&s=3;return t(e,Se(n,a,4),r,i)}}var zt=kt(1),Et=kt(-1);function Nt(e,t,n){var r=[];return t=Ee(t,n),Ot(e,(function(e,n,a){t(e,n,a)&&r.push(e)})),r}function xt(e,t,n){return Nt(e,dt(Ee(t)),n)}function Dt(e,t,n){t=Ee(t,n);for(var r=!nt(e)&&H(e),a=(r||e).length,i=0;i=0}var Yt=i((function(e,t,n){var r,a;return _(t)?a=t:(t=ge(t),r=t.slice(0,-1),t=t[t.length-1]),St(e,(function(e){var i=a;if(!i){if(r&&r.length&&(e=_e(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function Pt(e,t){return St(e,Oe(t))}function Rt(e,t){return Nt(e,Te(t))}function Wt(e,t,n){var r,a,i=-1/0,o=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=nt(e)?e:se(e)).length;si&&(i=r);else t=Ee(t,n),Ot(e,(function(e,n,r){((a=t(e,n,r))>o||a===-1/0&&i===-1/0)&&(i=e,o=a)}));return i}function qt(e,t,n){var r,a,i=1/0,o=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=nt(e)?e:se(e)).length;sr||void 0===n)return 1;if(n1&&(r=Se(r,t[1])),t=$(e)):(r=Qt,t=rt(t,!1,!1),e=Object(e));for(var a=0,i=t.length;a1&&(n=t[1])):(t=St(rt(t,!1,!1),String),r=function(e,n){return!jt(t,n)}),Zt(e,r,n)}));function tn(e,t,n){return a.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function rn(e,t,n){return a.q.call(e,null==t||n?1:t)}function an(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rn(e,Math.max(0,e.length-t))}function on(e){return Nt(e,Boolean)}function sn(e,t){return rt(e,t,!1)}var cn=i((function(e,t){return t=rt(t,!0,!0),Nt(e,(function(e){return!jt(t,e)}))})),ln=i((function(e,t){return cn(e,t)}));function un(e,t,n,r){l(t)||(r=n,n=t,t=!1),null!=n&&(n=Ee(n,r));for(var a=[],i=[],o=0,s=q(e);o1?r.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?r.resolveWith(this,[null]):r.resolveWith(this,[e.results[0]])})).fail((function(){r.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:i}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:i}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.a=o},,,,,function(e,t,n){var r,a,i; +*/!function(){"use strict";var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t=0&&n<=a.b}}function j(e){return function(t){return null==t?void 0:t[e]}}var R=j("byteLength"),P=C(R),Y=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var W=a.r?function(e){return a.l?Object(a.l)(e)&&!O(e):P(e)&&Y.test(a.t.call(e))}:D(!1),q=j("length");function B(e,t){t=function(e){for(var t={},n=e.length,r=0;r":">",'"':""","'":"'","`":"`"},We=Pe(Ye),qe=Pe(ue(Ye)),Be=X.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},He=/(.)^/,Ie={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Fe=/\\|'|\r|\n|\u2028|\u2029/g;function Xe(e){return"\\"+Ie[e]}var Ue=/^\s*(\w|\$)+\s*$/;function Ve(e,t,n){!t&&n&&(t=n),t=me({},t,X.templateSettings);var r=RegExp([(t.escape||He).source,(t.interpolate||He).source,(t.evaluate||He).source].join("|")+"|$","g"),a=0,o="__p+='";e.replace(r,(function(t,n,r,i,s){return o+=e.slice(a,s).replace(Fe,Xe),a=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(o+="';\n"+i+"\n__p+='"),t})),o+="';\n";var i,s=t.variable;if(s){if(!Ue.test(s))throw new Error("variable is not a bare identifier: "+s)}else o="with(obj||{}){\n"+o+"}\n",s="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{i=new Function(s,"_",o)}catch(e){throw e.source=o,e}var c=function(e){return i.call(this,e,X)};return c.source="function("+s+"){\n"+o+"}",c}function $e(e,t,n){var r=(t=Me(t)).length;if(!r)return _(n)?n.call(e):n;for(var a=0;a1)rt(s,t-1,n,r),a=r.length;else for(var c=0,u=s.length;ct?(r&&(clearTimeout(r),r=null),s=u,i=e.apply(a,o),r||(a=o=null)):r||!1===n.trailing||(r=setTimeout(c,l)),i};return u.cancel=function(){clearTimeout(r),s=0,r=a=o=null},u}function ut(e,t,n){var r,a,i,s,c,u=function(){var o=Re()-a;t>o?r=setTimeout(u,t-o):(r=null,n||(s=e.apply(c,i)),r||(i=c=null))},l=o((function(o){return c=this,i=o,a=Re(),r||(r=setTimeout(u,t),n&&(s=e.apply(c,i))),s}));return l.cancel=function(){clearTimeout(r),r=i=c=null},l}function lt(e,t){return et(t,e)}function dt(e){return function(){return!e.apply(this,arguments)}}function ft(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function pt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function mt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var ht=et(mt,2);function bt(e,t,n){t=ze(t,n);for(var r,a=H(e),o=0,i=a.length;o0?0:a-1;o>=0&&o0?s=i>=0?i:Math.max(i+c,s):c=i>=0?Math.min(i+1,c):i+c+1;else if(n&&i&&c)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(a.q.call(r,s,c),N))>=0?i+s:-1;for(i=e>0?s:c-1;i>=0&&i0?0:i-1;for(a||(r=t[o?o[s]:s],s+=e);s>=0&&s=3;return t(e,Se(n,a,4),r,o)}}var Et=kt(1),zt=kt(-1);function xt(e,t,n){var r=[];return t=ze(t,n),Ot(e,(function(e,n,a){t(e,n,a)&&r.push(e)})),r}function Nt(e,t,n){return xt(e,dt(ze(t)),n)}function Dt(e,t,n){t=ze(t,n);for(var r=!nt(e)&&H(e),a=(r||e).length,o=0;o=0}var Rt=o((function(e,t,n){var r,a;return _(t)?a=t:(t=Me(t),r=t.slice(0,-1),t=t[t.length-1]),St(e,(function(e){var o=a;if(!o){if(r&&r.length&&(e=_e(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))}));function Pt(e,t){return St(e,Oe(t))}function Yt(e,t){return xt(e,Ae(t))}function Wt(e,t,n){var r,a,o=-1/0,i=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=nt(e)?e:se(e)).length;so&&(o=r);else t=ze(t,n),Ot(e,(function(e,n,r){((a=t(e,n,r))>i||a===-1/0&&o===-1/0)&&(o=e,i=a)}));return o}function qt(e,t,n){var r,a,o=1/0,i=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var s=0,c=(e=nt(e)?e:se(e)).length;sr||void 0===n)return 1;if(n1&&(r=Se(r,t[1])),t=G(e)):(r=Qt,t=rt(t,!1,!1),e=Object(e));for(var a=0,o=t.length;a1&&(n=t[1])):(t=St(rt(t,!1,!1),String),r=function(e,n){return!jt(t,n)}),Zt(e,r,n)}));function tn(e,t,n){return a.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function nn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:tn(e,e.length-t)}function rn(e,t,n){return a.q.call(e,null==t||n?1:t)}function an(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:rn(e,Math.max(0,e.length-t))}function on(e){return xt(e,Boolean)}function sn(e,t){return rt(e,t,!1)}var cn=o((function(e,t){return t=rt(t,!0,!0),xt(e,(function(e){return!jt(t,e)}))})),un=o((function(e,t){return cn(e,t)}));function ln(e,t,n,r){u(t)||(r=n,n=t,t=!1),null!=n&&(n=ze(n,r));for(var a=[],o=[],i=0,s=q(e);i1?r.rejectWith(this,[gettext("Multiple teams returned for course")]):0===e.count?r.resolveWith(this,[null]):r.resolveWith(this,[e.results[0]])})).fail((function(){r.rejectWith(this,[gettext("Could not load teams information.")])}))})).promise()}},{key:"getUsername",value:function(){var e=this.url("get_student_username");return $.Deferred((function(t){$.ajax({type:"POST",url:e,data:JSON.stringify({}),contentType:o}).done((function(e){null===e.username?t.rejectWith(this,[gettext("User lookup failed")]):t.resolveWith(this,[e.username])})).fail((function(){t.rejectWith(this,[gettext("Error when looking up username")])}))}))}},{key:"cloneRubric",value:function(e){var t=this.url("get_rubric"),n={target_rubric_block_id:String(e)};return $.Deferred((function(e){$.ajax({type:"POST",url:t,data:JSON.stringify(n),contentType:o}).done((function(t){t.success?e.resolveWith(this,[t.rubric]):e.rejectWith(this,[t.msg])})).fail((function(){e.rejectWith(this,[gettext("Failed to clone rubric")])}))}))}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.a=i},,,function(e,t,n){"use strict";var r=function(){},a=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r2?r-2:0);for(var o=2;o0&&t-1 in e)}h.fn=h.prototype={jquery:"2.2.4",constructor:h,selector:"",length:0,toArray:function(){return s.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:s.call(this)},pushStack:function(e){var t=h.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return h.each(this,e)},map:function(e){return this.pushStack(h.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n=0},isPlainObject:function(e){var t;if("object"!==h.type(e)||e.nodeType||h.isWindow(e))return!1;if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||p.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=h.trim(e))&&(1===e.indexOf("use strict")?((t=o.createElement("script")).text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(M,"ms-").replace(y,v)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(g(e))for(n=e.length;r0&&t-1 in e)}h.fn=h.prototype={jquery:"2.2.4",constructor:h,selector:"",length:0,toArray:function(){return s.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:s.call(this)},pushStack:function(e){var t=h.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return h.each(this,e)},map:function(e){return this.pushStack(h.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n=0},isPlainObject:function(e){var t;if("object"!==h.type(e)||e.nodeType||h.isWindow(e))return!1;if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||p.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=h.trim(e))&&(1===e.indexOf("use strict")?((t=i.createElement("script")).text=e,i.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(y,"ms-").replace(v,g)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(M(e))for(n=e.length;r+~]|"+Y+")"+Y+"*"),X=new RegExp("="+Y+"*([^\\]'\"]*?)"+Y+"*\\]","g"),F=new RegExp(W),U=new RegExp("^"+P+"$"),V={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Y+"*(even|odd|(([+-]|)(\\d*)n|)"+Y+"*(?:([+-]|)"+Y+"*(\\d+)|))"+Y+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,$=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Q=/[+~]/,Z=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+Y+"?|("+Y+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=function(){f()};try{x.apply(z=D.call(_.childNodes),_.childNodes),z[_.childNodes.length].nodeType}catch(e){x={apply:z.length?function(e,t){N.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,r,a){var i,s,l,u,d,m,M,y,w=t&&t.ownerDocument,L=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==L&&9!==L&&11!==L)return r;if(!a&&((t?t.ownerDocument||t:_)!==p&&f(t),t=t||p,h)){if(11!==L&&(m=K.exec(e)))if(i=m[1]){if(9===L){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(w&&(l=w.getElementById(i))&&v(t,l)&&l.id===i)return r.push(l),r}else{if(m[2])return x.apply(r,t.getElementsByTagName(e)),r;if((i=m[3])&&n.getElementsByClassName&&t.getElementsByClassName)return x.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!O[e+" "]&&(!b||!b.test(e))){if(1!==L)w=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((u=t.getAttribute("id"))?u=u.replace(Z,"\\$&"):t.setAttribute("id",u=g),s=(M=o(e)).length,d=U.test(u)?"#"+u:"[id='"+u+"']";s--;)M[s]=d+" "+me(M[s]);y=M.join(","),w=Q.test(e)&&fe(t.parentNode)||t}if(y)try{return x.apply(r,w.querySelectorAll(y)),r}catch(e){}finally{u===g&&t.removeAttribute("id")}}}return c(e.replace(B,"$1"),t,r,a)}function ae(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function ie(e){return e[g]=!0,e}function oe(e){var t=p.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ue(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return ie((function(t){return t=+t,ie((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function fe(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=re.support={},i=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},f=re.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:_;return o!==p&&9===o.nodeType&&o.documentElement?(m=(p=o).documentElement,h=!i(p),(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ne,!1):a.attachEvent&&a.attachEvent("onunload",ne)),n.attributes=oe((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=oe((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=oe((function(e){return m.appendChild(e).id=g,!p.getElementsByName||!p.getElementsByName(g).length})),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ee,te);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},M=[],b=[],(n.qsa=J.test(p.querySelectorAll))&&(oe((function(e){m.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&b.push("[*^$]="+Y+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||b.push("\\["+Y+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+g+"-]").length||b.push("~="),e.querySelectorAll(":checked").length||b.push(":checked"),e.querySelectorAll("a#"+g+"+*").length||b.push(".#.+[+~]")})),oe((function(e){var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&b.push("name"+Y+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||b.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),b.push(",.*:")}))),(n.matchesSelector=J.test(y=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&oe((function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),M.push("!=",W)})),b=b.length&&new RegExp(b.join("|")),M=M.length&&new RegExp(M.join("|")),t=J.test(m.compareDocumentPosition),v=t||J.test(m.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===_&&v(_,e)?-1:t===p||t.ownerDocument===_&&v(_,t)?1:u?C(u,e)-C(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e===p?-1:t===p?1:a?-1:i?1:u?C(u,e)-C(u,t):0;if(a===i)return ce(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?ce(o[r],s[r]):o[r]===_?-1:s[r]===_?1:0},p):p},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),t=t.replace(X,"='$1']"),n.matchesSelector&&h&&!O[t+" "]&&(!M||!M.test(t))&&(!b||!b.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return re(t,p,null,[e]).length>0},re.contains=function(e,t){return(e.ownerDocument||e)!==p&&f(e),v(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==p&&f(e);var a=r.attrHandle[t.toLowerCase()],i=a&&k.call(r.attrHandle,t.toLowerCase())?a(e,t,!h):void 0;return void 0!==i?i:n.attributes||!h?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,r=[],a=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(S),d){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return u=null,e},a=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(r=re.selectors={cacheLength:50,createPseudo:ie,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=A[e+" "];return t||(t=new RegExp("(^|"+Y+")"+e+"("+Y+"|$)"))&&A(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=re.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,f,p,m,h=i!==o?"nextSibling":"previousSibling",b=t.parentNode,M=s&&t.nodeName.toLowerCase(),y=!c&&!s,v=!1;if(b){if(i){for(;h;){for(f=t;f=f[h];)if(s?f.nodeName.toLowerCase()===M:1===f.nodeType)return!1;m=h="only"===e&&!m&&"nextSibling"}return!0}if(m=[o?b.firstChild:b.lastChild],o&&y){for(v=(p=(l=(u=(d=(f=b)[g]||(f[g]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],f=p&&b.childNodes[p];f=++p&&f&&f[h]||(v=p=0)||m.pop();)if(1===f.nodeType&&++v&&f===t){u[e]=[w,p,v];break}}else if(y&&(v=p=(l=(u=(d=(f=t)[g]||(f[g]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===v)for(;(f=++p&&f&&f[h]||(v=p=0)||m.pop())&&((s?f.nodeName.toLowerCase()!==M:1!==f.nodeType)||!++v||(y&&((u=(d=f[g]||(f[g]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[w,v]),f!==t)););return(v-=a)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return a[g]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ie((function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=C(e,i[o])]=!(n[r]=i[o])})):function(e){return a(e,0,n)}):a}},pseudos:{not:ie((function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[g]?ie((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ie((function(e){return function(t){return re(e,t).length>0}})),contains:ie((function(e){return e=e.replace(ee,te),function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}})),lang:ie((function(e){return U.test(e||"")||re.error("unsupported lang: "+e),e=e.replace(ee,te).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===m},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return $.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de((function(){return[0]})),last:de((function(e,t){return[t-1]})),eq:de((function(e,t,n){return[n<0?n+t:n]})),even:de((function(e,t){for(var n=0;n=0;)e.push(r);return e})),gt:de((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function Me(e,t,n,r,a){for(var i,o=[],s=0,c=e.length,l=null!=t;s-1&&(i[l]=!(o[l]=d))}}else M=Me(M===o?M.splice(m,M.length):M),a?a(null,o,M,c):x.apply(o,M)}))}function ve(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],c=o?1:0,u=he((function(e){return e===t}),s,!0),d=he((function(e){return C(t,e)>-1}),s,!0),f=[function(e,n,r){var a=!o&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,a}];c1&&be(f),c>1&&me(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(B,"$1"),n,c0,a=e.length>0,i=function(i,o,s,c,u){var d,m,b,M=0,y="0",v=i&&[],g=[],_=l,L=i||a&&r.find.TAG("*",u),A=w+=null==_?1:Math.random()||.1,T=L.length;for(u&&(l=o===p||o||u);y!==T&&null!=(d=L[y]);y++){if(a&&d){for(m=0,o||d.ownerDocument===p||(f(d),s=!h);b=e[m++];)if(b(d,o||p,s)){c.push(d);break}u&&(w=A)}n&&((d=!b&&d)&&M--,i&&v.push(d))}if(M+=y,n&&y!==M){for(m=0;b=t[m++];)b(v,g,o,s);if(i){if(M>0)for(;y--;)v[y]||g[y]||(g[y]=E.call(c));g=Me(g)}x.apply(c,g),u&&!i&&g.length>0&&M+t.length>1&&re.uniqueSort(c)}return u&&(w=A,l=_),v};return n?ie(i):i}(i,a))).selector=e}return s},c=re.select=function(e,t,a,i){var c,l,u,d,f,p="function"==typeof e&&e,m=!i&&o(e=p.selector||e);if(a=a||[],1===m.length){if((l=m[0]=m[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&n.getById&&9===t.nodeType&&h&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(ee,te),t)||[])[0]))return a;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(c=V.needsContext.test(e)?0:l.length;c--&&(u=l[c],!r.relative[d=u.type]);)if((f=r.find[d])&&(i=f(u.matches[0].replace(ee,te),Q.test(l[0].type)&&fe(t.parentNode)||t))){if(l.splice(c,1),!(e=i.length&&me(l)))return x.apply(a,i),a;break}}return(p||s(e,m))(i,t,!h,a,!t||Q.test(e)&&fe(t.parentNode)||t),a},n.sortStable=g.split("").sort(S).join("")===g,n.detectDuplicates=!!d,f(),n.sortDetached=oe((function(e){return 1&e.compareDocumentPosition(p.createElement("div"))})),oe((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||se("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&oe((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||se("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),oe((function(e){return null==e.getAttribute("disabled")}))||se(j,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),re}(n);h.find=_,h.expr=_.selectors,h.expr[":"]=h.expr.pseudos,h.uniqueSort=h.unique=_.uniqueSort,h.text=_.getText,h.isXMLDoc=_.isXML,h.contains=_.contains;var w=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&h(e).is(n))break;r.push(e)}return r},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=h.expr.match.needsContext,T=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,O=/^.[^:#\[\.,]*$/;function S(e,t,n){if(h.isFunction(t))return h.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return h.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(O.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,(function(e){return u.call(t,e)>-1!==n}))}h.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?h.find.matchesSelector(r,e)?[r]:[]:h.find.matches(e,h.grep(t,(function(e){return 1===e.nodeType})))},h.fn.extend({find:function(e){var t,n=this.length,r=[],a=this;if("string"!=typeof e)return this.pushStack(h(e).filter((function(){for(t=0;t1?h.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,"string"==typeof e&&A.test(e)?h(e):e||[],!1).length}});var k,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(h.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof h?t[0]:t,h.merge(this,h.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),T.test(r[1])&&h.isPlainObject(t))for(r in t)h.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=o.getElementById(r[2]))&&a.parentNode&&(this.length=1,this[0]=a),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?void 0!==n.ready?n.ready(e):e(h):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))}).prototype=h.fn,k=h(o);var E=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function x(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}h.fn.extend({has:function(e){var t=h(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&h.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?h.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(h(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.uniqueSort(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,n){return w(e,"parentNode",n)},next:function(e){return x(e,"nextSibling")},prev:function(e){return x(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,n){return w(e,"nextSibling",n)},prevUntil:function(e,t,n){return w(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return e.contentDocument||h.merge([],e.childNodes)}},(function(e,t){h.fn[e]=function(n,r){var a=h.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=h.filter(r,a)),this.length>1&&(N[e]||h.uniqueSort(a),E.test(e)&&a.reverse()),this.pushStack(a)}}));var D,C=/\S+/g;function j(){o.removeEventListener("DOMContentLoaded",j),n.removeEventListener("load",j),h.ready()}h.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return h.each(e.match(C)||[],(function(e,n){t[n]=!0})),t}(e):h.extend({},e);var t,n,r,a,i=[],o=[],s=-1,c=function(){for(a=e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?h.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred((function(n){h.each(t,(function(t,i){var o=h.isFunction(e[t])&&e[t];a[i[1]]((function(){var e=o&&o.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,o?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?h.extend(e,r):r}},a={};return r.pipe=r.then,h.each(t,(function(e,i){var o=i[2],s=i[3];r[i[1]]=o.add,s&&o.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),a[i[0]]=function(){return a[i[0]+"With"](this===a?r:this,arguments),this},a[i[0]+"With"]=o.fireWith})),r.promise(a),e&&e.call(a,a),a},when:function(e){var t,n,r,a=0,i=s.call(arguments),o=i.length,c=1!==o||e&&h.isFunction(e.promise)?o:0,l=1===c?e:h.Deferred(),u=function(e,n,r){return function(a){n[e]=this,r[e]=arguments.length>1?s.call(arguments):a,r===t?l.notifyWith(n,r):--c||l.resolveWith(n,r)}};if(o>1)for(t=new Array(o),n=new Array(o),r=new Array(o);a0||(D.resolveWith(o,[h]),h.fn.triggerHandler&&(h(o).triggerHandler("ready"),h(o).off("ready"))))}}),h.ready.promise=function(e){return D||(D=h.Deferred(),"complete"===o.readyState||"loading"!==o.readyState&&!o.documentElement.doScroll?n.setTimeout(h.ready):(o.addEventListener("DOMContentLoaded",j),n.addEventListener("load",j))),D.promise(e)},h.ready.promise();var Y=function(e,t,n,r,a,i,o){var s=0,c=e.length,l=null==n;if("object"===h.type(n))for(s in a=!0,n)Y(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,h.isFunction(r)||(o=!0),l&&(o?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(h(e),n)})),t))for(;s-1&&void 0!==n&&q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){q.remove(this,e)}))}}),h.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=W.get(e,t),n&&(!r||h.isArray(n)?r=W.access(e,t,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),r=n.length,a=n.shift(),i=h._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){h.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return W.get(e,n)||W.access(e,n,{empty:h.Callbacks("once memory").add((function(){W.remove(e,[t+"queue",n])}))})}}),h.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length",""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function Z(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&h.nodeName(e,t)?h.merge([e],n):n}function ee(e,t){for(var n=0,r=e.length;n-1)a&&a.push(i);else if(l=h.contains(i.ownerDocument,i),o=Z(d.appendChild(i),"script"),l&&ee(o),n)for(u=0;i=o[u++];)K.test(i.type||"")&&n.push(i);return d}te=o.createDocumentFragment().appendChild(o.createElement("div")),(ne=o.createElement("input")).setAttribute("type","radio"),ne.setAttribute("checked","checked"),ne.setAttribute("name","t"),te.appendChild(ne),m.checkClone=te.cloneNode(!0).cloneNode(!0).lastChild.checked,te.innerHTML="",m.noCloneChecked=!!te.cloneNode(!0).lastChild.defaultValue;var ie=/^key/,oe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,se=/^([^.]*)(?:\.(.+)|)/;function ce(){return!0}function le(){return!1}function ue(){try{return o.activeElement}catch(e){}}function de(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)de(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=le;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return h().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=h.guid++)),e.each((function(){h.event.add(this,t,a,r,n)}))}h.event={global:{},add:function(e,t,n,r,a){var i,o,s,c,l,u,d,f,p,m,b,M=W.get(e);if(M)for(n.handler&&(n=(i=n).handler,a=i.selector),n.guid||(n.guid=h.guid++),(c=M.events)||(c=M.events={}),(o=M.handle)||(o=M.handle=function(t){return void 0!==h&&h.event.triggered!==t.type?h.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(C)||[""]).length;l--;)p=b=(s=se.exec(t[l])||[])[1],m=(s[2]||"").split(".").sort(),p&&(d=h.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=h.event.special[p]||{},u=h.extend({type:p,origType:b,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&h.expr.match.needsContext.test(a),namespace:m.join(".")},i),(f=c[p])||((f=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,m,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,u):f.push(u),h.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,c,l,u,d,f,p,m,b,M=W.hasData(e)&&W.get(e);if(M&&(c=M.events)){for(l=(t=(t||"").match(C)||[""]).length;l--;)if(p=b=(s=se.exec(t[l])||[])[1],m=(s[2]||"").split(".").sort(),p){for(d=h.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=f.length;i--;)u=f[i],!a&&b!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,m,M.handle)||h.removeEvent(e,p,M.handle),delete c[p])}else for(p in c)h.event.remove(e,p+t[l],n,r,!0);h.isEmptyObject(c)&&W.remove(e,"handle events")}},dispatch:function(e){e=h.event.fix(e);var t,n,r,a,i,o=[],c=s.call(arguments),l=(W.get(this,"events")||{})[e.type]||[],u=h.event.special[e.type]||{};if(c[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=h.event.handlers.call(this,e,l),t=0;(a=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,n=0;(i=a.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(r=((h.event.special[i.origType]||{}).handle||i.handler).apply(a.elem,c))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,a,i,o=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(r=[],n=0;n-1:h.find(a,this,null,[c]).length),r[a]&&r.push(i);r.length&&o.push({elem:c,handlers:r})}return s]*)\/>/gi,pe=/\s*$/g;function Me(e,t){return h.nodeName(e,"table")&&h.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ye(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ve(e){var t=he.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ge(e,t){var n,r,a,i,o,s,c,l;if(1===t.nodeType){if(W.hasData(e)&&(i=W.access(e),o=W.set(t,i),l=i.events))for(a in delete o.handle,o.events={},l)for(n=0,r=l[a].length;n1&&"string"==typeof b&&!m.checkClone&&me.test(b))return e.each((function(a){var i=e.eq(a);M&&(t[0]=b.call(this,a,i.html())),_e(i,t,n,r)}));if(f&&(i=(a=ae(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=h.map(Z(a,"script"),ye)).length;d")},clone:function(e,t,n){var r,a,i,o,s,c,l,u=e.cloneNode(!0),d=h.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||h.isXMLDoc(e)))for(o=Z(u),r=0,a=(i=Z(e)).length;r0&&ee(o,!d&&Z(e,"script")),u},cleanData:function(e){for(var t,n,r,a=h.event.special,i=0;void 0!==(n=e[i]);i++)if(P(n)){if(t=n[W.expando]){if(t.events)for(r in t.events)a[r]?h.event.remove(n,r):h.removeEvent(n,r,t.handle);n[W.expando]=void 0}n[q.expando]&&(n[q.expando]=void 0)}}}),h.fn.extend({domManip:_e,detach:function(e){return we(this,e,!0)},remove:function(e){return we(this,e)},text:function(e){return Y(this,(function(e){return void 0===e?h.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return _e(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return _e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return _e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return _e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(h.cleanData(Z(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return h.clone(this,e,t)}))},html:function(e){return Y(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!pe.test(e)&&!Q[(J.exec(e)||["",""])[1].toLowerCase()]){e=h.htmlPrefilter(e);try{for(;n")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Te(e,t),Le.detach()),Ae[e]=n),n}var Se=/^margin/,ke=new RegExp("^("+X+")(?!px)[a-z%]+$","i"),ze=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ee=function(e,t,n,r){var a,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in a=n.apply(e,r||[]),t)e.style[i]=o[i];return a},Ne=o.documentElement;function xe(e,t,n){var r,a,i,o,s=e.style;return""!==(o=(n=n||ze(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||h.contains(e.ownerDocument,e)||(o=h.style(e,t)),n&&!m.pixelMarginRight()&&ke.test(o)&&Se.test(t)&&(r=s.width,a=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=a,s.maxWidth=i),void 0!==o?o+"":o}function De(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,r,a,i=o.createElement("div"),s=o.createElement("div");function c(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Ne.appendChild(i);var o=n.getComputedStyle(s);e="1%"!==o.top,a="2px"===o.marginLeft,t="4px"===o.width,s.style.marginRight="50%",r="4px"===o.marginRight,Ne.removeChild(i)}s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===s.style.backgroundClip,i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",i.appendChild(s),h.extend(m,{pixelPosition:function(){return c(),e},boxSizingReliable:function(){return null==t&&c(),t},pixelMarginRight:function(){return null==t&&c(),r},reliableMarginLeft:function(){return null==t&&c(),a},reliableMarginRight:function(){var e,t=s.appendChild(o.createElement("div"));return t.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",Ne.appendChild(i),e=!parseFloat(n.getComputedStyle(t).marginRight),Ne.removeChild(i),s.removeChild(t),e}}))}();var Ce=/^(none|table(?!-c[ea]).+)/,je={position:"absolute",visibility:"hidden",display:"block"},Ye={letterSpacing:"0",fontWeight:"400"},Pe=["Webkit","O","Moz","ms"],Re=o.createElement("div").style;function We(e){if(e in Re)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Pe.length;n--;)if((e=Pe[n]+t)in Re)return e}function qe(e,t,n){var r=F.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Be(e,t,n,r,a){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,o=0;i<4;i+=2)"margin"===n&&(o+=h.css(e,n+U[i],!0,a)),r?("content"===n&&(o-=h.css(e,"padding"+U[i],!0,a)),"margin"!==n&&(o-=h.css(e,"border"+U[i]+"Width",!0,a))):(o+=h.css(e,"padding"+U[i],!0,a),"padding"!==n&&(o+=h.css(e,"border"+U[i]+"Width",!0,a)));return o}function He(e,t,n){var r=!0,a="width"===t?e.offsetWidth:e.offsetHeight,i=ze(e),o="border-box"===h.css(e,"boxSizing",!1,i);if(a<=0||null==a){if(((a=xe(e,t,i))<0||null==a)&&(a=e.style[t]),ke.test(a))return a;r=o&&(m.boxSizingReliable()||a===e.style[t]),a=parseFloat(a)||0}return a+Be(e,t,n||(o?"border":"content"),r,i)+"px"}function Ie(e,t){for(var n,r,a,i=[],o=0,s=e.length;o1)},show:function(){return Ie(this,!0)},hide:function(){return Ie(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){V(this)?h(this).show():h(this).hide()}))}}),h.Tween=Xe,Xe.prototype={constructor:Xe,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||h.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(h.cssNumber[n]?"":"px")},cur:function(){var e=Xe.propHooks[this.prop];return e&&e.get?e.get(this):Xe.propHooks._default.get(this)},run:function(e){var t,n=Xe.propHooks[this.prop];return this.options.duration?this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Xe.propHooks._default.set(this),this}},Xe.prototype.init.prototype=Xe.prototype,Xe.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=h.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[h.cssProps[e.prop]]&&!h.cssHooks[e.prop]?e.elem[e.prop]=e.now:h.style(e.elem,e.prop,e.now+e.unit)}}},Xe.propHooks.scrollTop=Xe.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},h.fx=Xe.prototype.init,h.fx.step={};var Fe,Ue,Ve=/^(?:toggle|show|hide)$/,Ge=/queueHooks$/;function $e(){return n.setTimeout((function(){Fe=void 0})),Fe=h.now()}function Je(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=U[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function Ke(e,t,n){for(var r,a=(Qe.tweeners[t]||[]).concat(Qe.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){h.removeAttr(this,e)}))}}),h.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?h.prop(e,t,n):(1===i&&h.isXMLDoc(e)||(t=t.toLowerCase(),a=h.attrHooks[t]||(h.expr.match.bool.test(t)?Ze:void 0)),void 0!==n?null===n?void h.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=h.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,a=0,i=t&&t.match(C);if(i&&1===e.nodeType)for(;n=i[a++];)r=h.propFix[n]||n,h.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),Ze={set:function(e,t,n){return!1===t?h.removeAttr(e,n):e.setAttribute(n,n),n}},h.each(h.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=et[t]||h.find.attr;et[t]=function(e,t,r){var a,i;return r||(i=et[t],et[t]=a,a=null!=n(e,t,r)?t.toLowerCase():null,et[t]=i),a}}));var tt=/^(?:input|select|textarea|button)$/i,nt=/^(?:a|area)$/i;h.fn.extend({prop:function(e,t){return Y(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[h.propFix[e]||e]}))}}),h.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&h.isXMLDoc(e)||(t=h.propFix[t]||t,a=h.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=h.find.attr(e,"tabindex");return t?parseInt(t,10):tt.test(e.nodeName)||nt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(h.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){h.propFix[this.toLowerCase()]=this}));var rt=/[\t\r\n\f]/g;function at(e){return e.getAttribute&&e.getAttribute("class")||""}h.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,c=0;if(h.isFunction(e))return this.each((function(t){h(this).addClass(e.call(this,t,at(this)))}));if("string"==typeof e&&e)for(t=e.match(C)||[];n=this[c++];)if(a=at(n),r=1===n.nodeType&&(" "+a+" ").replace(rt," ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=h.trim(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,c=0;if(h.isFunction(e))return this.each((function(t){h(this).removeClass(e.call(this,t,at(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(C)||[];n=this[c++];)if(a=at(n),r=1===n.nodeType&&(" "+a+" ").replace(rt," ")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=h.trim(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):h.isFunction(e)?this.each((function(n){h(this).toggleClass(e.call(this,n,at(this),t),t)})):this.each((function(){var t,r,a,i;if("string"===n)for(r=0,a=h(this),i=e.match(C)||[];t=i[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((t=at(this))&&W.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":W.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+at(n)+" ").replace(rt," ").indexOf(t)>-1)return!0;return!1}});var it=/\r/g,ot=/[\x20\t\r\n\f]+/g;h.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=h.isFunction(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,h(this).val()):e)?a="":"number"==typeof a?a+="":h.isArray(a)&&(a=h.map(a,(function(e){return null==e?"":e+""}))),(t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=h.valHooks[a.type]||h.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(it,""):null==n?"":n:void 0}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return null!=t?t:h.trim(h.text(e)).replace(ot," ")}},select:{get:function(e){for(var t,n,r=e.options,a=e.selectedIndex,i="select-one"===e.type||a<0,o=i?null:[],s=i?a+1:r.length,c=a<0?s:i?a:0;c-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),h.each(["radio","checkbox"],(function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t))return e.checked=h.inArray(h(e).val(),t)>-1}},m.checkOn||(h.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var st=/^(?:focusinfocus|focusoutblur)$/;h.extend(h.event,{trigger:function(e,t,r,a){var i,s,c,l,u,d,f,m=[r||o],b=p.call(e,"type")?e.type:e,M=p.call(e,"namespace")?e.namespace.split("."):[];if(s=c=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!st.test(b+h.event.triggered)&&(b.indexOf(".")>-1&&(M=b.split("."),b=M.shift(),M.sort()),u=b.indexOf(":")<0&&"on"+b,(e=e[h.expando]?e:new h.Event(b,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=M.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+M.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:h.makeArray(t,[e]),f=h.event.special[b]||{},a||!f.trigger||!1!==f.trigger.apply(r,t))){if(!a&&!f.noBubble&&!h.isWindow(r)){for(l=f.delegateType||b,st.test(l+b)||(s=s.parentNode);s;s=s.parentNode)m.push(s),c=s;c===(r.ownerDocument||o)&&m.push(c.defaultView||c.parentWindow||n)}for(i=0;(s=m[i++])&&!e.isPropagationStopped();)e.type=i>1?l:f.bindType||b,(d=(W.get(s,"events")||{})[e.type]&&W.get(s,"handle"))&&d.apply(s,t),(d=u&&s[u])&&d.apply&&P(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=b,a||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(m.pop(),t)||!P(r)||u&&h.isFunction(r[b])&&!h.isWindow(r)&&((c=r[u])&&(r[u]=null),h.event.triggered=b,r[b](),h.event.triggered=void 0,c&&(r[u]=c)),e.result}},simulate:function(e,t,n){var r=h.extend(new h.Event,n,{type:e,isSimulated:!0});h.event.trigger(r,null,t)}}),h.fn.extend({trigger:function(e,t){return this.each((function(){h.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return h.event.trigger(e,t,n,!0)}}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),m.focusin="onfocusin"in n,m.focusin||h.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){h.event.simulate(t,e.target,h.event.fix(e))};h.event.special[t]={setup:function(){var r=this.ownerDocument||this,a=W.access(r,t);a||r.addEventListener(e,n,!0),W.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this,a=W.access(r,t)-1;a?W.access(r,t,a):(r.removeEventListener(e,n,!0),W.remove(r,t))}}}));var ct=n.location,lt=h.now(),ut=/\?/;h.parseJSON=function(e){return JSON.parse(e+"")},h.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||h.error("Invalid XML: "+e),t};var dt=/#.*$/,ft=/([?&])_=[^&]*/,pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,ht=/^\/\//,bt={},Mt={},yt="*/".concat("*"),vt=o.createElement("a");function gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(C)||[];if(h.isFunction(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var a={},i=e===Mt;function o(s){var c;return a[s]=!0,h.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||a[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),o(l),!1)})),c}return o(t.dataTypes[0])||!a["*"]&&o("*")}function wt(e,t){var n,r,a=h.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&h.extend(!0,e,r),e}vt.href=ct.href,h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":yt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?wt(wt(e,h.ajaxSettings),t):wt(h.ajaxSettings,e)},ajaxPrefilter:gt(bt),ajaxTransport:gt(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,a,i,s,c,l,u,d,f=h.ajaxSetup({},t),p=f.context||f,m=f.context&&(p.nodeType||p.jquery)?h(p):h.event,b=h.Deferred(),M=h.Callbacks("once memory"),y=f.statusCode||{},v={},g={},_=0,w="canceled",L={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!s)for(s={};t=pt.exec(i);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=g[n]=g[n]||e,v[e]=t),this},overrideMimeType:function(e){return _||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)y[t]=[y[t],e[t]];else L.always(e[L.status]);return this},abort:function(e){var t=e||w;return r&&r.abort(t),A(0,t),this}};if(b.promise(L).complete=M.add,L.success=L.done,L.error=L.fail,f.url=((e||f.url||ct.href)+"").replace(dt,"").replace(ht,ct.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=h.trim(f.dataType||"*").toLowerCase().match(C)||[""],null==f.crossDomain){l=o.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=vt.protocol+"//"+vt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=h.param(f.data,f.traditional)),_t(bt,f,t,L),2===_)return L;for(d in(u=h.event&&f.global)&&0==h.active++&&h.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!mt.test(f.type),a=f.url,f.hasContent||(f.data&&(a=f.url+=(ut.test(a)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=ft.test(a)?a.replace(ft,"$1_="+lt++):a+(ut.test(a)?"&":"?")+"_="+lt++)),f.ifModified&&(h.lastModified[a]&&L.setRequestHeader("If-Modified-Since",h.lastModified[a]),h.etag[a]&&L.setRequestHeader("If-None-Match",h.etag[a])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&L.setRequestHeader("Content-Type",f.contentType),L.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+yt+"; q=0.01":""):f.accepts["*"]),f.headers)L.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(p,L,f)||2===_))return L.abort();for(d in w="abort",{success:1,error:1,complete:1})L[d](f[d]);if(r=_t(Mt,f,t,L)){if(L.readyState=1,u&&m.trigger("ajaxSend",[L,f]),2===_)return L;f.async&&f.timeout>0&&(c=n.setTimeout((function(){L.abort("timeout")}),f.timeout));try{_=1,r.send(v,A)}catch(e){if(!(_<2))throw e;A(-1,e)}}else A(-1,"No Transport");function A(e,t,o,s){var l,d,v,g,w,A=t;2!==_&&(_=2,c&&n.clearTimeout(c),r=void 0,i=s||"",L.readyState=e>0?4:0,l=e>=200&&e<300||304===e,o&&(g=function(e,t,n){for(var r,a,i,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){c.unshift(a);break}if(c[0]in n)i=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,L,o)),g=function(e,t,n,r){var a,i,o,s,c,l={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(o=l[c+" "+i]||l["* "+i]))for(a in l)if((s=a.split(" "))[1]===i&&(o=l[c+" "+s[0]]||l["* "+s[0]])){!0===o?o=l[a]:!0!==l[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(f,g,L,l),l?(f.ifModified&&((w=L.getResponseHeader("Last-Modified"))&&(h.lastModified[a]=w),(w=L.getResponseHeader("etag"))&&(h.etag[a]=w)),204===e||"HEAD"===f.type?A="nocontent":304===e?A="notmodified":(A=g.state,d=g.data,l=!(v=g.error))):(v=A,!e&&A||(A="error",e<0&&(e=0))),L.status=e,L.statusText=(t||A)+"",l?b.resolveWith(p,[d,A,L]):b.rejectWith(p,[L,A,v]),L.statusCode(y),y=void 0,u&&m.trigger(l?"ajaxSuccess":"ajaxError",[L,f,l?d:v]),M.fireWith(p,[L,A]),u&&(m.trigger("ajaxComplete",[L,f]),--h.active||h.event.trigger("ajaxStop")))}return L},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,void 0,t,"script")}}),h.each(["get","post"],(function(e,t){h[t]=function(e,n,r,a){return h.isFunction(n)&&(a=a||r,r=n,n=void 0),h.ajax(h.extend({url:e,type:t,dataType:a,data:n,success:r},h.isPlainObject(e)&&e))}})),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},h.fn.extend({wrapAll:function(e){var t;return h.isFunction(e)?this.each((function(t){h(this).wrapAll(e.call(this,t))})):(this[0]&&(t=h(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this)},wrapInner:function(e){return h.isFunction(e)?this.each((function(t){h(this).wrapInner(e.call(this,t))})):this.each((function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=h.isFunction(e);return this.each((function(n){h(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)})).end()}}),h.expr.filters.hidden=function(e){return!h.expr.filters.visible(e)},h.expr.filters.visible=function(e){return e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0};var Lt=/%20/g,At=/\[\]$/,Tt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,St=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,r){var a;if(h.isArray(t))h.each(t,(function(t,a){n||At.test(e)?r(e,a):kt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==h.type(t))r(e,t);else for(a in t)kt(e+"["+a+"]",t[a],n,r)}h.param=function(e,t){var n,r=[],a=function(e,t){t=h.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=h.ajaxSettings&&h.ajaxSettings.traditional),h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,(function(){a(this.name,this.value)}));else for(n in e)kt(n,e[n],t,a);return r.join("&").replace(Lt,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&St.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!$.test(e))})).map((function(e,t){var n=h(this).val();return null==n?null:h.isArray(n)?h.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}}),h.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Et=h.ajaxSettings.xhr();m.cors=!!Et&&"withCredentials"in Et,m.ajax=Et=!!Et,h.ajaxTransport((function(e){var t,r;if(m.cors||Et&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),h.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain)return{send:function(r,a){t=h("