From 5d054aebf4e69073972995e05eb065dca137375b Mon Sep 17 00:00:00 2001 From: Fritz Ray Date: Thu, 11 Mar 2021 20:40:55 +0000 Subject: [PATCH] Version updated to 1.4.0 --- docker/distributed/tomcat-alpine/Dockerfile | 2 +- docker/standalone/alpine/Dockerfile | 2 +- docker/standalone/ubuntu-16.04/Dockerfile | 2 +- docker/standalone/ubuntu-18.04/Dockerfile | 2 +- docs/classes/APIReference.html | 2 +- docs/classes/ASNImport.html | 2 +- docs/classes/AboutPage.html | 2 +- docs/classes/AcceptAction.html | 2 +- docs/classes/Accommodation.html | 2 +- docs/classes/AccountingService.html | 2 +- docs/classes/AccreditAction.html | 2 +- docs/classes/AchieveAction.html | 2 +- docs/classes/Action.html | 2 +- docs/classes/ActionStatusType.html | 2 +- docs/classes/ActivateAction.html | 2 +- docs/classes/AddAction.html | 2 +- docs/classes/AdministrativeArea.html | 2 +- docs/classes/AdultEntertainment.html | 2 +- docs/classes/AdvancedStandingAction.html | 2 +- docs/classes/Agent.html | 2 +- docs/classes/AggregateOffer.html | 2 +- docs/classes/AggregateRating.html | 2 +- docs/classes/AgreeAction.html | 2 +- docs/classes/Airline.html | 2 +- docs/classes/Airport.html | 2 +- docs/classes/AlignmentMap.html | 2 +- docs/classes/AlignmentObject.html | 2 +- docs/classes/AllocateAction.html | 2 +- docs/classes/AmusementPark.html | 2 +- docs/classes/AnimalShelter.html | 2 +- docs/classes/Answer.html | 2 +- docs/classes/Apartment.html | 2 +- docs/classes/ApartmentComplex.html | 2 +- docs/classes/AppendAction.html | 2 +- docs/classes/ApplyAction.html | 2 +- docs/classes/ApprenticeshipCertificate.html | 2 +- docs/classes/ApproveAction.html | 2 +- docs/classes/Aquarium.html | 2 +- docs/classes/ArriveAction.html | 2 +- docs/classes/ArtGallery.html | 2 +- docs/classes/Article.html | 2 +- docs/classes/AskAction.html | 2 +- docs/classes/Assertion.html | 2 +- docs/classes/AssertionEnvelope.html | 2 +- docs/classes/AssertionProcessor.html | 2 +- docs/classes/AssessAction.html | 2 +- docs/classes/Assessment.html | 2 +- docs/classes/AssessmentProfile.html | 2 +- docs/classes/AssignAction.html | 2 +- docs/classes/AssociateDegree.html | 2 +- docs/classes/Attorney.html | 2 +- docs/classes/Audience.html | 2 +- docs/classes/AudioObject.html | 2 +- docs/classes/AuthorizeAction.html | 2 +- docs/classes/AutoBodyShop.html | 2 +- docs/classes/AutoDealer.html | 2 +- docs/classes/AutoPartsStore.html | 2 +- docs/classes/AutoRental.html | 2 +- docs/classes/AutoRepair.html | 2 +- docs/classes/AutoWash.html | 2 +- docs/classes/AutomatedTeller.html | 2 +- docs/classes/AutomotiveBusiness.html | 2 +- docs/classes/BachelorDegree.html | 2 +- docs/classes/Badge.html | 2 +- docs/classes/Bakery.html | 2 +- docs/classes/BankAccount.html | 2 +- docs/classes/BankOrCreditUnion.html | 2 +- docs/classes/BarOrPub.html | 2 +- docs/classes/Barcode.html | 2 +- docs/classes/Beach.html | 2 +- docs/classes/BeautySalon.html | 2 +- docs/classes/BedAndBreakfast.html | 2 +- docs/classes/BedDetails.html | 2 +- docs/classes/BefriendAction.html | 2 +- docs/classes/BikeStore.html | 2 +- docs/classes/Blog.html | 2 +- docs/classes/BlogPosting.html | 2 +- docs/classes/BoardingPolicyType.html | 2 +- docs/classes/BodyOfWater.html | 2 +- docs/classes/Book.html | 2 +- docs/classes/BookFormatType.html | 2 +- docs/classes/BookSeries.html | 2 +- docs/classes/BookStore.html | 2 +- docs/classes/BookmarkAction.html | 2 +- docs/classes/BorrowAction.html | 2 +- docs/classes/BowlingAlley.html | 2 +- docs/classes/Brand.html | 2 +- docs/classes/BreadcrumbList.html | 2 +- docs/classes/Brewery.html | 2 +- docs/classes/Bridge.html | 2 +- docs/classes/BroadcastChannel.html | 2 +- docs/classes/BroadcastEvent.html | 2 +- docs/classes/BroadcastService.html | 2 +- docs/classes/BuddhistTemple.html | 2 +- docs/classes/BusReservation.html | 2 +- docs/classes/BusStation.html | 2 +- docs/classes/BusStop.html | 2 +- docs/classes/BusTrip.html | 2 +- docs/classes/BusinessAudience.html | 2 +- docs/classes/BusinessEntityType.html | 2 +- docs/classes/BusinessEvent.html | 2 +- docs/classes/BusinessFunction.html | 2 +- docs/classes/BuyAction.html | 2 +- docs/classes/CSVExport.html | 2 +- docs/classes/CSVImport.html | 2 +- docs/classes/CableOrSatelliteService.html | 2 +- docs/classes/CafeOrCoffeeShop.html | 2 +- docs/classes/Campground.html | 2 +- docs/classes/CampingPitch.html | 2 +- docs/classes/Canal.html | 2 +- docs/classes/CancelAction.html | 2 +- docs/classes/Car.html | 2 +- docs/classes/CareerPathway.html | 2 +- docs/classes/Casino.html | 2 +- docs/classes/Cass.html | 2 +- docs/classes/CatholicChurch.html | 2 +- docs/classes/Cemetery.html | 2 +- docs/classes/Certificate.html | 2 +- docs/classes/Certification.html | 2 +- docs/classes/CheckAction.html | 2 +- docs/classes/CheckInAction.html | 2 +- docs/classes/CheckOutAction.html | 2 +- docs/classes/CheckoutPage.html | 2 +- docs/classes/ChildCare.html | 2 +- docs/classes/ChildrensEvent.html | 2 +- docs/classes/ChooseAction.html | 2 +- docs/classes/Church.html | 2 +- docs/classes/City.html | 2 +- docs/classes/CityHall.html | 2 +- docs/classes/CivicStructure.html | 2 +- docs/classes/ClaimReview.html | 2 +- docs/classes/Clip.html | 2 +- docs/classes/ClothingStore.html | 2 +- docs/classes/Code.html | 2 +- docs/classes/Collection.html | 2 +- docs/classes/CollectionPage.html | 2 +- docs/classes/CollegeOrUniversity.html | 2 +- docs/classes/ComedyClub.html | 2 +- docs/classes/ComedyEvent.html | 2 +- docs/classes/Comment.html | 2 +- docs/classes/CommentAction.html | 2 +- docs/classes/CommunicateAction.html | 2 +- docs/classes/Competency.html | 2 +- docs/classes/CompetencyFramework.html | 2 +- docs/classes/CompoundPriceSpecification.html | 2 +- docs/classes/ComputerLanguage.html | 2 +- docs/classes/ComputerStore.html | 2 +- docs/classes/Concept.html | 2 +- docs/classes/ConceptScheme.html | 2 +- docs/classes/ConditionManifest.html | 2 +- docs/classes/ConditionProfile.html | 2 +- docs/classes/ConfirmAction.html | 2 +- docs/classes/ConsumeAction.html | 2 +- docs/classes/ContactPage.html | 2 +- docs/classes/ContactPoint.html | 58 +- docs/classes/ContactPointOption.html | 2 +- docs/classes/Continent.html | 2 +- docs/classes/ControlAction.html | 2 +- docs/classes/ConvenienceStore.html | 2 +- docs/classes/Conversation.html | 2 +- docs/classes/CookAction.html | 2 +- docs/classes/Corporation.html | 2 +- docs/classes/CostManifest.html | 2 +- docs/classes/CostProfile.html | 2 +- docs/classes/Country.html | 2 +- docs/classes/Course.html | 2 +- docs/classes/CourseInstance.html | 2 +- docs/classes/Courthouse.html | 2 +- docs/classes/CreateAction.html | 2 +- docs/classes/CreativeWork.html | 2 +- docs/classes/CreativeWorkSeason.html | 2 +- docs/classes/CreativeWorkSeries.html | 2 +- docs/classes/Credential.html | 2 +- docs/classes/CredentialAlignmentObject.html | 2 +- docs/classes/CredentialAssertion.html | 2 +- docs/classes/CredentialFramework.html | 2 +- docs/classes/CredentialOrganization.html | 2 +- docs/classes/CredentialPerson.html | 2 +- docs/classes/CredentialingAction.html | 2 +- docs/classes/CreditCard.html | 2 +- docs/classes/Crematorium.html | 2 +- docs/classes/CurrencyConversionService.html | 2 +- docs/classes/DanceEvent.html | 2 +- docs/classes/DanceGroup.html | 2 +- docs/classes/DataCatalog.html | 2 +- docs/classes/DataDownload.html | 2 +- docs/classes/DataFeed.html | 2 +- docs/classes/DataFeedItem.html | 2 +- docs/classes/Dataset.html | 2 +- docs/classes/DatedMoneySpecification.html | 2 +- docs/classes/DayOfWeek.html | 2 +- docs/classes/DaySpa.html | 2 +- docs/classes/DeactivateAction.html | 2 +- docs/classes/DefenceEstablishment.html | 2 +- docs/classes/Degree.html | 2 +- docs/classes/DeleteAction.html | 2 +- docs/classes/DeliveryChargeSpecification.html | 2 +- docs/classes/DeliveryEvent.html | 2 +- docs/classes/DeliveryMethod.html | 2 +- docs/classes/Demand.html | 2 +- docs/classes/Dentist.html | 2 +- docs/classes/DepartAction.html | 2 +- docs/classes/DepartmentStore.html | 2 +- docs/classes/DepositAccount.html | 2 +- docs/classes/DigitalBadge.html | 2 +- docs/classes/DigitalDocument.html | 2 +- docs/classes/DigitalDocumentPermission.html | 2 +- .../DigitalDocumentPermissionType.html | 2 +- docs/classes/Diploma.html | 2 +- docs/classes/DisagreeAction.html | 2 +- docs/classes/DiscoverAction.html | 2 +- docs/classes/DiscussionForumPosting.html | 2 +- docs/classes/DislikeAction.html | 2 +- docs/classes/Distance.html | 2 +- docs/classes/DoctoralDegree.html | 2 +- docs/classes/DonateAction.html | 2 +- docs/classes/DownloadAction.html | 2 +- docs/classes/DrawAction.html | 2 +- docs/classes/DrinkAction.html | 2 +- .../classes/DriveWheelConfigurationValue.html | 2 +- docs/classes/DryCleaningOrLaundry.html | 2 +- docs/classes/Duration.html | 2 +- docs/classes/DurationProfile.html | 2 +- docs/classes/EarningsProfile.html | 2 +- docs/classes/EatAction.html | 2 +- docs/classes/Ebac.html | 2 +- docs/classes/EbacContact.html | 2 +- docs/classes/EbacContactGrant.html | 2 +- docs/classes/EbacCredential.html | 2 +- docs/classes/EbacCredentialCommit.html | 2 +- docs/classes/EbacCredentialRequest.html | 2 +- docs/classes/EbacCredentials.html | 2 +- docs/classes/EbacEncryptedSecret.html | 2 +- docs/classes/EbacEncryptedValue.html | 2 +- docs/classes/EbacSignature.html | 2 +- docs/classes/EcAes.html | 2 +- docs/classes/EcAesCtr.html | 2 +- docs/classes/EcAesCtrAsync.html | 2 +- docs/classes/EcAesCtrAsyncWorker.html | 2 +- docs/classes/EcAlignment.html | 112 +- docs/classes/EcArray.html | 2 +- docs/classes/EcAsyncHelper.html | 16 +- docs/classes/EcCompetency.html | 2 +- docs/classes/EcContact.html | 2 +- docs/classes/EcCrypto.html | 2 +- docs/classes/EcDirectedGraph.html | 34 +- docs/classes/EcEncryptedValue.html | 94 +- docs/classes/EcFile.html | 14 +- docs/classes/EcFramework.html | 2 +- docs/classes/EcFrameworkGraph.html | 4 +- docs/classes/EcIdentity.html | 2 +- docs/classes/EcIdentityManager.html | 2 +- docs/classes/EcLevel.html | 2 +- docs/classes/EcLinkedData.html | 2 +- docs/classes/EcObject.html | 8 +- docs/classes/EcPk.html | 2 +- docs/classes/EcPpk.html | 2 +- docs/classes/EcRemote.html | 8 +- docs/classes/EcRemoteIdentityManager.html | 2 +- docs/classes/EcRemoteLinkedData.html | 16 +- docs/classes/EcRepository.html | 218 +- docs/classes/EcRollupRule.html | 2 +- docs/classes/EcRsaOaep.html | 2 +- docs/classes/EcRsaOaepAsync.html | 2 +- docs/classes/EcRsaOaepAsyncWorker.html | 2 +- docs/classes/EducationEvent.html | 2 +- docs/classes/EducationalAudience.html | 2 +- docs/classes/EducationalOrganization.html | 2 +- docs/classes/Electrician.html | 2 +- docs/classes/ElectronicsStore.html | 2 +- docs/classes/ElementarySchool.html | 2 +- docs/classes/EmailMessage.html | 2 +- docs/classes/Embassy.html | 2 +- docs/classes/EmergencyService.html | 2 +- docs/classes/EmployeeRole.html | 2 +- docs/classes/EmploymentAgency.html | 2 +- docs/classes/EmploymentOutcomeProfile.html | 2 +- docs/classes/EndorseAction.html | 2 +- docs/classes/Energy.html | 2 +- docs/classes/EngineSpecification.html | 2 +- docs/classes/EntertainmentBusiness.html | 2 +- docs/classes/EntryPoint.html | 2 +- docs/classes/Enumeration.html | 2 +- docs/classes/Episode.html | 2 +- docs/classes/EventReservation.html | 2 +- docs/classes/EventStatusType.html | 2 +- docs/classes/EventVenue.html | 2 +- docs/classes/ExerciseAction.html | 2 +- docs/classes/ExerciseGym.html | 2 +- docs/classes/ExhibitionEvent.html | 2 +- docs/classes/Exporter.html | 2 +- docs/classes/FastFoodRestaurant.html | 2 +- docs/classes/Festival.html | 2 +- docs/classes/FilmAction.html | 2 +- docs/classes/FinancialAlignmentObject.html | 2 +- docs/classes/FinancialAssistanceProfile.html | 2 +- docs/classes/FinancialProduct.html | 2 +- docs/classes/FinancialService.html | 2 +- docs/classes/FindAction.html | 2 +- docs/classes/FireStation.html | 2 +- docs/classes/Flight.html | 2 +- docs/classes/FlightReservation.html | 2 +- docs/classes/Florist.html | 2 +- docs/classes/FollowAction.html | 2 +- docs/classes/FoodEstablishment.html | 2 +- .../classes/FoodEstablishmentReservation.html | 2 +- docs/classes/FoodEvent.html | 2 +- docs/classes/FoodService.html | 2 +- docs/classes/Framework.html | 2 +- docs/classes/FrameworkImport.html | 2 +- docs/classes/FurnitureStore.html | 2 +- docs/classes/Game.html | 2 +- docs/classes/GamePlayMode.html | 2 +- docs/classes/GameServer.html | 2 +- docs/classes/GameServerStatus.html | 2 +- docs/classes/GardenStore.html | 2 +- docs/classes/GasStation.html | 2 +- docs/classes/GatedResidenceCommunity.html | 2 +- docs/classes/GenderType.html | 2 +- docs/classes/General.html | 2 +- docs/classes/GeneralContractor.html | 2 +- docs/classes/GeneralEducationDevelopment.html | 2 +- docs/classes/GeneralFile.html | 2 +- docs/classes/GeoCircle.html | 2 +- docs/classes/GeoCoordinates.html | 22 +- docs/classes/GeoShape.html | 2 +- docs/classes/GiveAction.html | 2 +- docs/classes/GolfCourse.html | 2 +- docs/classes/GovernmentBuilding.html | 2 +- docs/classes/GovernmentOffice.html | 2 +- docs/classes/GovernmentOrganization.html | 2 +- docs/classes/GovernmentPermit.html | 2 +- docs/classes/GovernmentService.html | 2 +- docs/classes/Graph.html | 34 +- docs/classes/GroceryStore.html | 2 +- docs/classes/HVACBusiness.html | 2 +- docs/classes/HairSalon.html | 2 +- docs/classes/HardwareStore.html | 2 +- docs/classes/HealthAndBeautyBusiness.html | 2 +- docs/classes/HealthClub.html | 2 +- docs/classes/HighSchool.html | 2 +- docs/classes/HinduTemple.html | 2 +- docs/classes/HobbyShop.html | 2 +- docs/classes/HoldersProfile.html | 2 +- docs/classes/HomeAndConstructionBusiness.html | 2 +- docs/classes/HomeGoodsStore.html | 2 +- docs/classes/Hospital.html | 2 +- docs/classes/Hostel.html | 2 +- docs/classes/Hotel.html | 2 +- docs/classes/HotelRoom.html | 2 +- docs/classes/House.html | 2 +- docs/classes/HousePainter.html | 2 +- docs/classes/Hypergraph.html | 2 +- docs/classes/IceCreamShop.html | 2 +- docs/classes/IdentifierValue.html | 2 +- docs/classes/IdentifierValueSet.html | 2 +- docs/classes/IgnoreAction.html | 2 +- docs/classes/ImageGallery.html | 2 +- docs/classes/ImageObject.html | 2 +- docs/classes/Importer.html | 2 +- docs/classes/IndividualProduct.html | 2 +- docs/classes/IndustryClassification.html | 2 +- docs/classes/InformAction.html | 2 +- docs/classes/InquiryPacket.html | 2 +- docs/classes/InsertAction.html | 2 +- docs/classes/InstallAction.html | 2 +- .../InstructionalProgramClassification.html | 2 +- docs/classes/InsuranceAgency.html | 2 +- docs/classes/Intangible.html | 2 +- docs/classes/InteractAction.html | 2 +- docs/classes/InteractionCounter.html | 2 +- docs/classes/InternetCafe.html | 2 +- docs/classes/InvestmentOrDeposit.html | 2 +- docs/classes/InviteAction.html | 2 +- docs/classes/Invoice.html | 2 +- docs/classes/ItemAvailability.html | 2 +- docs/classes/ItemList.html | 2 +- docs/classes/ItemListOrderType.html | 2 +- docs/classes/ItemPage.html | 2 +- docs/classes/JewelryStore.html | 2 +- docs/classes/JobPosting.html | 2 +- docs/classes/JoinAction.html | 2 +- docs/classes/JourneymanCertificate.html | 2 +- docs/classes/JurisdictionProfile.html | 2 +- docs/classes/LakeBodyOfWater.html | 2 +- docs/classes/Landform.html | 2 +- .../LandmarksOrHistoricalBuildings.html | 2 +- docs/classes/Language.html | 2 +- docs/classes/LearningOpportunity.html | 2 +- docs/classes/LearningOpportunityProfile.html | 2 +- docs/classes/LearningResource.html | 2 +- docs/classes/LeaveAction.html | 2 +- docs/classes/LegalService.html | 2 +- docs/classes/LegislativeBuilding.html | 2 +- docs/classes/LendAction.html | 2 +- docs/classes/Level.html | 2 +- docs/classes/Library.html | 2 +- docs/classes/License.html | 2 +- docs/classes/LikeAction.html | 2 +- docs/classes/LiquorStore.html | 2 +- docs/classes/ListItem.html | 2 +- docs/classes/ListenAction.html | 2 +- docs/classes/LiteraryEvent.html | 2 +- docs/classes/LiveBlogPosting.html | 2 +- docs/classes/LoanOrCredit.html | 2 +- docs/classes/LocalBusiness.html | 2 +- .../classes/LocationFeatureSpecification.html | 2 +- docs/classes/LockerDelivery.html | 2 +- docs/classes/Locksmith.html | 2 +- docs/classes/LodgingBusiness.html | 2 +- docs/classes/LodgingReservation.html | 2 +- docs/classes/LoseAction.html | 2 +- docs/classes/Map.html | 2 +- docs/classes/MapCategoryType.html | 2 +- docs/classes/MarryAction.html | 2 +- docs/classes/Mass.html | 2 +- docs/classes/MasterCertificate.html | 2 +- docs/classes/MasterDegree.html | 2 +- docs/classes/MedbiqImport.html | 2 +- docs/classes/MediaObject.html | 2 +- docs/classes/MedicalOrganization.html | 2 +- docs/classes/MeetingRoom.html | 2 +- docs/classes/MensClothingStore.html | 2 +- docs/classes/Menu.html | 2 +- docs/classes/MenuItem.html | 2 +- docs/classes/MenuSection.html | 2 +- docs/classes/Message.html | 2 +- docs/classes/MicroCredential.html | 2 +- docs/classes/MiddleSchool.html | 2 +- docs/classes/MobileApplication.html | 2 +- docs/classes/MobilePhoneStore.html | 2 +- docs/classes/MonetaryAmount.html | 2 +- docs/classes/MoodleConfig.html | 2 +- docs/classes/Mosque.html | 2 +- docs/classes/Motel.html | 2 +- docs/classes/MotorcycleDealer.html | 2 +- docs/classes/MotorcycleRepair.html | 2 +- docs/classes/Mountain.html | 2 +- docs/classes/MoveAction.html | 2 +- docs/classes/Movie.html | 2 +- docs/classes/MovieClip.html | 2 +- docs/classes/MovieRentalStore.html | 2 +- docs/classes/MovieSeries.html | 2 +- docs/classes/MovieTheater.html | 2 +- docs/classes/MovingCompany.html | 2 +- docs/classes/Museum.html | 2 +- docs/classes/MusicAlbum.html | 2 +- docs/classes/MusicAlbumProductionType.html | 2 +- docs/classes/MusicAlbumReleaseType.html | 2 +- docs/classes/MusicComposition.html | 2 +- docs/classes/MusicEvent.html | 2 +- docs/classes/MusicGroup.html | 2 +- docs/classes/MusicPlaylist.html | 2 +- docs/classes/MusicRecording.html | 2 +- docs/classes/MusicRelease.html | 2 +- docs/classes/MusicReleaseFormatType.html | 2 +- docs/classes/MusicStore.html | 2 +- docs/classes/MusicVenue.html | 2 +- docs/classes/MusicVideoObject.html | 2 +- docs/classes/NGO.html | 2 +- docs/classes/NailSalon.html | 2 +- docs/classes/NewsArticle.html | 2 +- docs/classes/NightClub.html | 2 +- docs/classes/Notary.html | 2 +- docs/classes/NoteDigitalDocument.html | 2 +- docs/classes/NutritionInformation.html | 2 +- docs/classes/OccupationClassification.html | 2 +- docs/classes/OceanBodyOfWater.html | 2 +- docs/classes/Offer.html | 2 +- docs/classes/OfferAction.html | 2 +- docs/classes/OfferCatalog.html | 2 +- docs/classes/OfferItemCondition.html | 2 +- docs/classes/OfficeEquipmentStore.html | 2 +- docs/classes/OnDemandEvent.html | 2 +- docs/classes/OpenBadge.html | 2 +- docs/classes/OpeningHoursSpecification.html | 2 +- docs/classes/Order.html | 2 +- docs/classes/OrderAction.html | 2 +- docs/classes/OrderItem.html | 2 +- docs/classes/OrderStatus.html | 2 +- docs/classes/OrderedCollection.html | 2 +- docs/classes/Organization.html | 2 +- docs/classes/OrganizationRole.html | 2 +- docs/classes/OrganizeAction.html | 2 +- docs/classes/OutletStore.html | 2 +- docs/classes/OwnershipInfo.html | 2 +- docs/classes/PaintAction.html | 2 +- docs/classes/Painting.html | 2 +- docs/classes/ParcelDelivery.html | 2 +- docs/classes/ParcelService.html | 2 +- docs/classes/ParentAudience.html | 2 +- docs/classes/Park.html | 2 +- docs/classes/ParkingFacility.html | 2 +- docs/classes/PawnShop.html | 2 +- docs/classes/PayAction.html | 2 +- docs/classes/PaymentCard.html | 2 +- docs/classes/PaymentChargeSpecification.html | 2 +- docs/classes/PaymentMethod.html | 2 +- docs/classes/PaymentService.html | 2 +- docs/classes/PaymentStatusType.html | 2 +- docs/classes/PeopleAudience.html | 2 +- docs/classes/PerformAction.html | 2 +- docs/classes/PerformanceRole.html | 2 +- docs/classes/PerformingArtsTheater.html | 2 +- docs/classes/PerformingGroup.html | 2 +- docs/classes/Periodical.html | 2 +- docs/classes/Permit.html | 2 +- docs/classes/Person.html | 2 +- docs/classes/PetStore.html | 2 +- docs/classes/Pharmacy.html | 2 +- docs/classes/Photograph.html | 2 +- docs/classes/PhotographAction.html | 2 +- docs/classes/Physician.html | 2 +- docs/classes/Place.html | 2 +- docs/classes/PlaceOfWorship.html | 2 +- docs/classes/PlanAction.html | 2 +- docs/classes/PlayAction.html | 2 +- docs/classes/Playground.html | 2 +- docs/classes/Plumber.html | 2 +- docs/classes/PoliceStation.html | 2 +- docs/classes/Pond.html | 2 +- docs/classes/PostOffice.html | 2 +- docs/classes/PostalAddress.html | 52 +- docs/classes/PrependAction.html | 2 +- docs/classes/Preschool.html | 2 +- docs/classes/PresentationDigitalDocument.html | 2 +- docs/classes/PriceSpecification.html | 2 +- docs/classes/ProcessProfile.html | 2 +- docs/classes/Product.html | 2 +- docs/classes/ProductModel.html | 2 +- docs/classes/ProfessionalDoctorate.html | 2 +- docs/classes/ProfessionalService.html | 2 +- docs/classes/ProficiencyScale.html | 2 +- docs/classes/ProfilePage.html | 2 +- docs/classes/ProfileProcessor.html | 4 +- docs/classes/ProgramMembership.html | 2 +- docs/classes/PropertyValue.html | 2 +- docs/classes/PropertyValueSpecification.html | 2 +- docs/classes/PublicSwimmingPool.html | 2 +- docs/classes/PublicationEvent.html | 2 +- docs/classes/PublicationIssue.html | 2 +- docs/classes/PublicationVolume.html | 2 +- docs/classes/QACredentialOrganization.html | 2 +- docs/classes/QAPage.html | 2 +- docs/classes/QualitativeValue.html | 2 +- docs/classes/QualityAssuranceCredential.html | 2 +- docs/classes/QuantitativeValue.html | 2 +- docs/classes/Quantity.html | 2 +- docs/classes/Question.html | 2 +- docs/classes/QuoteAction.html | 2 +- docs/classes/RVPark.html | 2 +- docs/classes/RadioChannel.html | 2 +- docs/classes/RadioClip.html | 2 +- docs/classes/RadioEpisode.html | 2 +- docs/classes/RadioSeason.html | 2 +- docs/classes/RadioSeries.html | 2 +- docs/classes/RadioStation.html | 2 +- docs/classes/Rating.html | 2 +- docs/classes/ReactAction.html | 2 +- docs/classes/ReadAction.html | 2 +- docs/classes/RealEstateAgent.html | 2 +- docs/classes/ReceiveAction.html | 2 +- docs/classes/Recipe.html | 2 +- docs/classes/RecognizeAction.html | 2 +- docs/classes/RecyclingCenter.html | 2 +- docs/classes/RegisterAction.html | 2 +- docs/classes/RegulateAction.html | 2 +- docs/classes/RejectAction.html | 2 +- docs/classes/Relation.html | 2 +- docs/classes/RelationshipPacketGenerator.html | 2 +- docs/classes/RenewAction.html | 2 +- docs/classes/RentAction.html | 2 +- docs/classes/RentalCarReservation.html | 2 +- docs/classes/ReplaceAction.html | 2 +- docs/classes/ReplyAction.html | 2 +- docs/classes/Report.html | 2 +- docs/classes/ResearchDoctorate.html | 2 +- docs/classes/Reservation.html | 2 +- docs/classes/ReservationPackage.html | 2 +- docs/classes/ReservationStatusType.html | 2 +- docs/classes/ReserveAction.html | 2 +- docs/classes/Reservoir.html | 2 +- docs/classes/Residence.html | 2 +- docs/classes/Resort.html | 2 +- docs/classes/Restaurant.html | 2 +- docs/classes/RestrictedDiet.html | 2 +- docs/classes/ResumeAction.html | 2 +- docs/classes/ReturnAction.html | 2 +- docs/classes/Review.html | 2 +- docs/classes/ReviewAction.html | 2 +- docs/classes/RevocationProfile.html | 2 +- docs/classes/RevokeAction.html | 2 +- docs/classes/RightsAction.html | 2 +- docs/classes/RiverBodyOfWater.html | 2 +- docs/classes/Role.html | 2 +- docs/classes/RollupRule.html | 2 +- docs/classes/RoofingContractor.html | 2 +- docs/classes/Room.html | 2 +- docs/classes/RsvpAction.html | 2 +- docs/classes/RsvpResponseType.html | 2 +- docs/classes/SaleEvent.html | 2 +- docs/classes/ScheduleAction.html | 2 +- docs/classes/ScholarlyArticle.html | 2 +- docs/classes/School.html | 2 +- docs/classes/ScreeningEvent.html | 2 +- docs/classes/Sculpture.html | 2 +- docs/classes/SeaBodyOfWater.html | 2 +- docs/classes/SearchAction.html | 2 +- docs/classes/SearchResultsPage.html | 2 +- docs/classes/Season.html | 2 +- docs/classes/Seat.html | 2 +- docs/classes/SecondarySchoolDiploma.html | 2 +- docs/classes/SelfStorage.html | 2 +- docs/classes/SellAction.html | 2 +- docs/classes/SendAction.html | 2 +- docs/classes/Series.html | 2 +- docs/classes/Service.html | 2 +- docs/classes/ServiceChannel.html | 2 +- docs/classes/ShareAction.html | 2 +- docs/classes/ShoeStore.html | 2 +- docs/classes/ShoppingCenter.html | 2 +- docs/classes/SingleFamilyResidence.html | 2 +- docs/classes/SiteNavigationElement.html | 2 +- docs/classes/SkiResort.html | 2 +- docs/classes/SocialEvent.html | 2 +- docs/classes/SocialMediaPosting.html | 2 +- docs/classes/SoftwareApplication.html | 2 +- docs/classes/SoftwareSourceCode.html | 2 +- docs/classes/SomeProducts.html | 2 +- docs/classes/Specialty.html | 2 +- docs/classes/SportingGoodsStore.html | 2 +- docs/classes/SportsActivityLocation.html | 2 +- docs/classes/SportsClub.html | 2 +- docs/classes/SportsEvent.html | 2 +- docs/classes/SportsOrganization.html | 2 +- docs/classes/SportsTeam.html | 2 +- docs/classes/SpreadsheetDigitalDocument.html | 2 +- docs/classes/StadiumOrArena.html | 2 +- docs/classes/State.html | 2 +- docs/classes/SteeringPositionValue.html | 2 +- docs/classes/Store.html | 2 +- docs/classes/StructuredValue.html | 2 +- docs/classes/SubscribeAction.html | 2 +- docs/classes/SubwayStation.html | 2 +- docs/classes/Suite.html | 2 +- docs/classes/SuspendAction.html | 2 +- docs/classes/Synagogue.html | 2 +- docs/classes/TVClip.html | 2 +- docs/classes/TVEpisode.html | 2 +- docs/classes/TVSeason.html | 2 +- docs/classes/TVSeries.html | 2 +- docs/classes/Table.html | 2 +- docs/classes/TakeAction.html | 2 +- docs/classes/Task.html | 6 +- docs/classes/TaskProfile.html | 2 +- docs/classes/TattooParlor.html | 2 +- docs/classes/Taxi.html | 2 +- docs/classes/TaxiReservation.html | 2 +- docs/classes/TaxiService.html | 2 +- docs/classes/TaxiStand.html | 2 +- docs/classes/TechArticle.html | 2 +- docs/classes/TelevisionChannel.html | 2 +- docs/classes/TelevisionStation.html | 2 +- docs/classes/TennisComplex.html | 2 +- docs/classes/TextDigitalDocument.html | 2 +- docs/classes/TheaterEvent.html | 2 +- docs/classes/TheaterGroup.html | 2 +- docs/classes/Thing.html | 2 +- docs/classes/Ticket.html | 2 +- docs/classes/TieAction.html | 2 +- docs/classes/TipAction.html | 2 +- docs/classes/TireShop.html | 2 +- docs/classes/TouristAttraction.html | 2 +- docs/classes/TouristInformationCenter.html | 2 +- docs/classes/ToyStore.html | 2 +- docs/classes/TrackAction.html | 2 +- docs/classes/TradeAction.html | 2 +- docs/classes/TrainReservation.html | 2 +- docs/classes/TrainStation.html | 2 +- docs/classes/TrainTrip.html | 2 +- docs/classes/TransferAction.html | 2 +- docs/classes/TravelAction.html | 2 +- docs/classes/TravelAgency.html | 2 +- docs/classes/Triple.html | 2 +- docs/classes/TypeAndQuantityNode.html | 2 +- docs/classes/UnRegisterAction.html | 2 +- docs/classes/UnitPriceSpecification.html | 2 +- docs/classes/UpdateAction.html | 2 +- docs/classes/UseAction.html | 2 +- docs/classes/UserBlocks.html | 2 +- docs/classes/UserCheckins.html | 2 +- docs/classes/UserComments.html | 2 +- docs/classes/UserDownloads.html | 2 +- docs/classes/UserInteraction.html | 2 +- docs/classes/UserLikes.html | 2 +- docs/classes/UserPageVisits.html | 2 +- docs/classes/UserPlays.html | 2 +- docs/classes/UserPlusOnes.html | 2 +- docs/classes/UserTweets.html | 2 +- docs/classes/Vehicle.html | 2 +- docs/classes/VerificationServiceProfile.html | 2 +- docs/classes/VideoGallery.html | 2 +- docs/classes/VideoGame.html | 2 +- docs/classes/VideoGameClip.html | 2 +- docs/classes/VideoGameSeries.html | 2 +- docs/classes/VideoObject.html | 2 +- docs/classes/ViewAction.html | 2 +- docs/classes/VisualArtsEvent.html | 2 +- docs/classes/VisualArtwork.html | 2 +- docs/classes/Volcano.html | 2 +- docs/classes/VoteAction.html | 2 +- docs/classes/WPAdBlock.html | 2 +- docs/classes/WPFooter.html | 2 +- docs/classes/WPHeader.html | 2 +- docs/classes/WPSideBar.html | 2 +- docs/classes/WantAction.html | 2 +- docs/classes/WarrantyPromise.html | 2 +- docs/classes/WarrantyScope.html | 2 +- docs/classes/WatchAction.html | 2 +- docs/classes/Waterfall.html | 2 +- docs/classes/WearAction.html | 2 +- docs/classes/WebApplication.html | 2 +- docs/classes/WebPage.html | 2 +- docs/classes/WebPageElement.html | 2 +- docs/classes/WebSite.html | 2 +- docs/classes/WholesaleStore.html | 2 +- docs/classes/WinAction.html | 2 +- docs/classes/Winery.html | 2 +- docs/classes/WriteAction.html | 2 +- docs/classes/XapiConfig.html | 2 +- docs/classes/Zoo.html | 2 +- docs/data.json | 216 +- .../src_main_js_cass_cass.adapter.js.html | 2 +- .../src_main_js_cass_cass.competency.js.html | 2 +- .../src_main_js_cass_cass.import.js.html | 5 +- .../src_main_js_cass_cass.rollup.js.html | 69 +- .../src_main_js_cass_ebac.identity.js.html | 2 +- .../src_main_js_cass_ebac.repository.js.html | 15 +- docs/files/src_main_js_cass_ec.base.js.html | 84 +- docs/files/src_main_js_cass_ec.crypto.js.html | 2 +- docs/files/src_main_js_cass_jsonld.js.html | 2 +- ...s_cass_org.cassproject.schema.cass.js.html | 2 +- ...s_cass_org.cassproject.schema.ebac.js.html | 2 +- ...ass_org.cassproject.schema.general.js.html | 2 +- ..._main_js_cass_org.credentialengine.js.html | 2 +- .../src_main_js_cass_org.json-ld.js.html | 2 +- .../files/src_main_js_cass_org.schema.js.html | 2 +- .../src_main_js_cass_org.w3.skos.js.html | 2 +- docs/files/src_main_js_cass_pem-jwk.js.html | 2 +- docs/index.html | 2 +- docs/modules/com.eduworks.ec.html | 2 +- docs/modules/org.cassproject.html | 2 +- docs/modules/org.credentialengine.html | 2 +- docs/modules/org.json.ld.html | 2 +- docs/modules/org.schema.html | 2 +- docs/modules/org.w3.skos.html | 2 +- package-lock.json | 69 +- pom.xml | 2 +- src/main/js/cass.js | 165 +- src/main/js/cass.min.js | 4147 +++++++++-------- src/main/js/cass/cass.import.js | 3 + src/main/js/cass/cass.rollup.js | 67 +- src/main/js/cass/ebac.repository.js | 13 +- src/main/js/cass/ec.base.js | 82 +- src/main/webapp/cass-align | 2 +- src/main/webapp/cass-editor | 2 +- src/main/webapp/cass-gap-analysis | 2 +- src/main/webapp/cass-profile | 2 +- src/main/webapp/cass-viewer | 2 +- src/main/webapp/cass-vlrc | 2 +- src/main/webapp/index.html | Bin 1608 -> 1607 bytes yuidoc.json | 2 +- 772 files changed, 3699 insertions(+), 3422 deletions(-) diff --git a/docker/distributed/tomcat-alpine/Dockerfile b/docker/distributed/tomcat-alpine/Dockerfile index 5dbb6cdca..a6fdc6616 100644 --- a/docker/distributed/tomcat-alpine/Dockerfile +++ b/docker/distributed/tomcat-alpine/Dockerfile @@ -137,7 +137,7 @@ RUN apk add --no-cache git COPY docker/distributed/tomcat-alpine/server.xml /usr/local/tomcat/conf/server.xml -ARG VERSION=1.3.15 +ARG VERSION=1.4.0 RUN git clone --recurse-submodules -b $VERSION https://github.com/cassproject/CASS && \ cd CASS && \ mvn install && \ diff --git a/docker/standalone/alpine/Dockerfile b/docker/standalone/alpine/Dockerfile index 4b4a9e002..63b974146 100644 --- a/docker/standalone/alpine/Dockerfile +++ b/docker/standalone/alpine/Dockerfile @@ -5,7 +5,7 @@ COPY docker/standalone/alpine/config/server.xml /usr/local/tomcat/conf/server.xm VOLUME /usr/share/elasticsearch/data -ARG VERSION=1.3.15 +ARG VERSION=1.4.0 RUN git clone --recurse-submodules -b $VERSION https://github.com/cassproject/CASS && \ cd CASS && \ mvn install && \ diff --git a/docker/standalone/ubuntu-16.04/Dockerfile b/docker/standalone/ubuntu-16.04/Dockerfile index b2bd8edf1..f53ed8ab5 100644 --- a/docker/standalone/ubuntu-16.04/Dockerfile +++ b/docker/standalone/ubuntu-16.04/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:16.04 RUN apt-get update;apt-get install -qqy wget curl software-properties-common sudo gawk RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections -ARG VERSION=1.3.15 +ARG VERSION=1.4.0 RUN wget https://raw.githubusercontent.com/cassproject/CASS/master/scripts/cassInstall.sh RUN chmod +x cassInstall.sh RUN echo $VERSION && /cassInstall.sh $VERSION && rm -rf ~/.m2 diff --git a/docker/standalone/ubuntu-18.04/Dockerfile b/docker/standalone/ubuntu-18.04/Dockerfile index 27565b68e..487868108 100644 --- a/docker/standalone/ubuntu-18.04/Dockerfile +++ b/docker/standalone/ubuntu-18.04/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:18.04 RUN apt-get update;apt-get install -qqy wget curl software-properties-common sudo gawk RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections -ARG VERSION=1.3.15 +ARG VERSION=1.4.0 RUN wget https://raw.githubusercontent.com/cassproject/CASS/master/scripts/cassInstall.sh RUN chmod +x cassInstall.sh RUN echo $VERSION && /cassInstall.sh $VERSION && rm -rf ~/.m2 diff --git a/docs/classes/APIReference.html b/docs/classes/APIReference.html index bab1f810c..6e92c3189 100644 --- a/docs/classes/APIReference.html +++ b/docs/classes/APIReference.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ASNImport.html b/docs/classes/ASNImport.html index 57e1f213d..6699bdb2f 100644 --- a/docs/classes/ASNImport.html +++ b/docs/classes/ASNImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AboutPage.html b/docs/classes/AboutPage.html index 510aea633..687b8bc17 100644 --- a/docs/classes/AboutPage.html +++ b/docs/classes/AboutPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AcceptAction.html b/docs/classes/AcceptAction.html index a027dfba6..30963020c 100644 --- a/docs/classes/AcceptAction.html +++ b/docs/classes/AcceptAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Accommodation.html b/docs/classes/Accommodation.html index ee834678d..e4650581a 100644 --- a/docs/classes/Accommodation.html +++ b/docs/classes/Accommodation.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AccountingService.html b/docs/classes/AccountingService.html index e3e51956f..0a7e27e29 100644 --- a/docs/classes/AccountingService.html +++ b/docs/classes/AccountingService.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AccreditAction.html b/docs/classes/AccreditAction.html index d1c69adc6..5c53c2de2 100644 --- a/docs/classes/AccreditAction.html +++ b/docs/classes/AccreditAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AchieveAction.html b/docs/classes/AchieveAction.html index 3c10d5aa5..a8b28a007 100644 --- a/docs/classes/AchieveAction.html +++ b/docs/classes/AchieveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Action.html b/docs/classes/Action.html index fb1f101ef..6ae3044ed 100644 --- a/docs/classes/Action.html +++ b/docs/classes/Action.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ActionStatusType.html b/docs/classes/ActionStatusType.html index 4a2e5d12f..0557b2eda 100644 --- a/docs/classes/ActionStatusType.html +++ b/docs/classes/ActionStatusType.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ActivateAction.html b/docs/classes/ActivateAction.html index 31538bd2e..b733655c5 100644 --- a/docs/classes/ActivateAction.html +++ b/docs/classes/ActivateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AddAction.html b/docs/classes/AddAction.html index 5eb49eef9..8898b7b0d 100644 --- a/docs/classes/AddAction.html +++ b/docs/classes/AddAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AdministrativeArea.html b/docs/classes/AdministrativeArea.html index 994380e6d..bff1d05c1 100644 --- a/docs/classes/AdministrativeArea.html +++ b/docs/classes/AdministrativeArea.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AdultEntertainment.html b/docs/classes/AdultEntertainment.html index 9ab9318ba..465bde399 100644 --- a/docs/classes/AdultEntertainment.html +++ b/docs/classes/AdultEntertainment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AdvancedStandingAction.html b/docs/classes/AdvancedStandingAction.html index 604be5306..fb136eb24 100644 --- a/docs/classes/AdvancedStandingAction.html +++ b/docs/classes/AdvancedStandingAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Agent.html b/docs/classes/Agent.html index f1a8e47c4..e20c98b30 100644 --- a/docs/classes/Agent.html +++ b/docs/classes/Agent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AggregateOffer.html b/docs/classes/AggregateOffer.html index 04691a4eb..53156db65 100644 --- a/docs/classes/AggregateOffer.html +++ b/docs/classes/AggregateOffer.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AggregateRating.html b/docs/classes/AggregateRating.html index 5126e74f8..20b36fa41 100644 --- a/docs/classes/AggregateRating.html +++ b/docs/classes/AggregateRating.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AgreeAction.html b/docs/classes/AgreeAction.html index c7d99327d..07c094434 100644 --- a/docs/classes/AgreeAction.html +++ b/docs/classes/AgreeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Airline.html b/docs/classes/Airline.html index 1ab6dee94..98be0da3c 100644 --- a/docs/classes/Airline.html +++ b/docs/classes/Airline.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Airport.html b/docs/classes/Airport.html index c4cd886cd..40bd0d8cf 100644 --- a/docs/classes/Airport.html +++ b/docs/classes/Airport.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AlignmentMap.html b/docs/classes/AlignmentMap.html index e92340107..df3aeb46e 100644 --- a/docs/classes/AlignmentMap.html +++ b/docs/classes/AlignmentMap.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AlignmentObject.html b/docs/classes/AlignmentObject.html index c9709f2e6..06d81d0c3 100644 --- a/docs/classes/AlignmentObject.html +++ b/docs/classes/AlignmentObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AllocateAction.html b/docs/classes/AllocateAction.html index 559b8e393..f69f93dfa 100644 --- a/docs/classes/AllocateAction.html +++ b/docs/classes/AllocateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AmusementPark.html b/docs/classes/AmusementPark.html index c38284bdb..e9b35eda7 100644 --- a/docs/classes/AmusementPark.html +++ b/docs/classes/AmusementPark.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AnimalShelter.html b/docs/classes/AnimalShelter.html index 99af36ad7..35da2a240 100644 --- a/docs/classes/AnimalShelter.html +++ b/docs/classes/AnimalShelter.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Answer.html b/docs/classes/Answer.html index 5e79dd656..404a2bd91 100644 --- a/docs/classes/Answer.html +++ b/docs/classes/Answer.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Apartment.html b/docs/classes/Apartment.html index 843b88faa..c378c54e1 100644 --- a/docs/classes/Apartment.html +++ b/docs/classes/Apartment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ApartmentComplex.html b/docs/classes/ApartmentComplex.html index 337346f55..75a4798f3 100644 --- a/docs/classes/ApartmentComplex.html +++ b/docs/classes/ApartmentComplex.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AppendAction.html b/docs/classes/AppendAction.html index ccf683d7f..977722c44 100644 --- a/docs/classes/AppendAction.html +++ b/docs/classes/AppendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ApplyAction.html b/docs/classes/ApplyAction.html index 9357ccd46..23f8965b2 100644 --- a/docs/classes/ApplyAction.html +++ b/docs/classes/ApplyAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ApprenticeshipCertificate.html b/docs/classes/ApprenticeshipCertificate.html index ac12a5b70..02d72206f 100644 --- a/docs/classes/ApprenticeshipCertificate.html +++ b/docs/classes/ApprenticeshipCertificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ApproveAction.html b/docs/classes/ApproveAction.html index 73ea0d233..1b191ad54 100644 --- a/docs/classes/ApproveAction.html +++ b/docs/classes/ApproveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Aquarium.html b/docs/classes/Aquarium.html index 381862802..a959cedab 100644 --- a/docs/classes/Aquarium.html +++ b/docs/classes/Aquarium.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ArriveAction.html b/docs/classes/ArriveAction.html index 47329646e..6df7347ff 100644 --- a/docs/classes/ArriveAction.html +++ b/docs/classes/ArriveAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ArtGallery.html b/docs/classes/ArtGallery.html index 0222b7d5a..954b94941 100644 --- a/docs/classes/ArtGallery.html +++ b/docs/classes/ArtGallery.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Article.html b/docs/classes/Article.html index 64801cc94..e6b4ca281 100644 --- a/docs/classes/Article.html +++ b/docs/classes/Article.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AskAction.html b/docs/classes/AskAction.html index 77028bfb8..55a166597 100644 --- a/docs/classes/AskAction.html +++ b/docs/classes/AskAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Assertion.html b/docs/classes/Assertion.html index a4c3c9a52..c69062226 100644 --- a/docs/classes/Assertion.html +++ b/docs/classes/Assertion.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssertionEnvelope.html b/docs/classes/AssertionEnvelope.html index e27883cdd..cc81b821d 100644 --- a/docs/classes/AssertionEnvelope.html +++ b/docs/classes/AssertionEnvelope.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssertionProcessor.html b/docs/classes/AssertionProcessor.html index 0a19b6a1d..942e65690 100644 --- a/docs/classes/AssertionProcessor.html +++ b/docs/classes/AssertionProcessor.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssessAction.html b/docs/classes/AssessAction.html index a36fb8a45..6beb98cba 100644 --- a/docs/classes/AssessAction.html +++ b/docs/classes/AssessAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Assessment.html b/docs/classes/Assessment.html index ef208d44e..36ee3c9a4 100644 --- a/docs/classes/Assessment.html +++ b/docs/classes/Assessment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssessmentProfile.html b/docs/classes/AssessmentProfile.html index 3d9063bc3..2c96e3a90 100644 --- a/docs/classes/AssessmentProfile.html +++ b/docs/classes/AssessmentProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssignAction.html b/docs/classes/AssignAction.html index 775e0f490..8f78eca41 100644 --- a/docs/classes/AssignAction.html +++ b/docs/classes/AssignAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AssociateDegree.html b/docs/classes/AssociateDegree.html index ddf4e8274..53f68676f 100644 --- a/docs/classes/AssociateDegree.html +++ b/docs/classes/AssociateDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Attorney.html b/docs/classes/Attorney.html index 383715028..fd1bd42ac 100644 --- a/docs/classes/Attorney.html +++ b/docs/classes/Attorney.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Audience.html b/docs/classes/Audience.html index 1357e719d..83eef3305 100644 --- a/docs/classes/Audience.html +++ b/docs/classes/Audience.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AudioObject.html b/docs/classes/AudioObject.html index d41dc8934..af15b3d29 100644 --- a/docs/classes/AudioObject.html +++ b/docs/classes/AudioObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AuthorizeAction.html b/docs/classes/AuthorizeAction.html index 7d2e6c990..4bb33f574 100644 --- a/docs/classes/AuthorizeAction.html +++ b/docs/classes/AuthorizeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoBodyShop.html b/docs/classes/AutoBodyShop.html index a5938d4e1..9fd0041eb 100644 --- a/docs/classes/AutoBodyShop.html +++ b/docs/classes/AutoBodyShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoDealer.html b/docs/classes/AutoDealer.html index f29d7799d..f81b6b44d 100644 --- a/docs/classes/AutoDealer.html +++ b/docs/classes/AutoDealer.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoPartsStore.html b/docs/classes/AutoPartsStore.html index 23a2e98a2..980804a28 100644 --- a/docs/classes/AutoPartsStore.html +++ b/docs/classes/AutoPartsStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoRental.html b/docs/classes/AutoRental.html index 54a02b9c1..49d12b2d5 100644 --- a/docs/classes/AutoRental.html +++ b/docs/classes/AutoRental.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoRepair.html b/docs/classes/AutoRepair.html index 97bf93408..15f597c2d 100644 --- a/docs/classes/AutoRepair.html +++ b/docs/classes/AutoRepair.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutoWash.html b/docs/classes/AutoWash.html index 62f1e6b44..d57b1ba77 100644 --- a/docs/classes/AutoWash.html +++ b/docs/classes/AutoWash.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutomatedTeller.html b/docs/classes/AutomatedTeller.html index 268e9ac00..015ca3388 100644 --- a/docs/classes/AutomatedTeller.html +++ b/docs/classes/AutomatedTeller.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/AutomotiveBusiness.html b/docs/classes/AutomotiveBusiness.html index a7d11f6cb..1e4fe07ce 100644 --- a/docs/classes/AutomotiveBusiness.html +++ b/docs/classes/AutomotiveBusiness.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BachelorDegree.html b/docs/classes/BachelorDegree.html index cd35ec9bf..e2074fd01 100644 --- a/docs/classes/BachelorDegree.html +++ b/docs/classes/BachelorDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Badge.html b/docs/classes/Badge.html index 57f2c5571..065bfa153 100644 --- a/docs/classes/Badge.html +++ b/docs/classes/Badge.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Bakery.html b/docs/classes/Bakery.html index eec8e5d5a..3fac9d64c 100644 --- a/docs/classes/Bakery.html +++ b/docs/classes/Bakery.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BankAccount.html b/docs/classes/BankAccount.html index 64c283939..87b6dd9bb 100644 --- a/docs/classes/BankAccount.html +++ b/docs/classes/BankAccount.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BankOrCreditUnion.html b/docs/classes/BankOrCreditUnion.html index 4eea76974..c9976ac81 100644 --- a/docs/classes/BankOrCreditUnion.html +++ b/docs/classes/BankOrCreditUnion.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BarOrPub.html b/docs/classes/BarOrPub.html index 6426e872f..6c48cfdf7 100644 --- a/docs/classes/BarOrPub.html +++ b/docs/classes/BarOrPub.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Barcode.html b/docs/classes/Barcode.html index e6f2f70d2..c7d496eda 100644 --- a/docs/classes/Barcode.html +++ b/docs/classes/Barcode.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Beach.html b/docs/classes/Beach.html index e97b00e0a..d336194dd 100644 --- a/docs/classes/Beach.html +++ b/docs/classes/Beach.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BeautySalon.html b/docs/classes/BeautySalon.html index e04595eba..8e410c5a2 100644 --- a/docs/classes/BeautySalon.html +++ b/docs/classes/BeautySalon.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BedAndBreakfast.html b/docs/classes/BedAndBreakfast.html index 3609fbf81..af415a967 100644 --- a/docs/classes/BedAndBreakfast.html +++ b/docs/classes/BedAndBreakfast.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BedDetails.html b/docs/classes/BedDetails.html index c627171b7..0894cb9da 100644 --- a/docs/classes/BedDetails.html +++ b/docs/classes/BedDetails.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BefriendAction.html b/docs/classes/BefriendAction.html index 91ba91926..b3a48c4de 100644 --- a/docs/classes/BefriendAction.html +++ b/docs/classes/BefriendAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BikeStore.html b/docs/classes/BikeStore.html index 9c4469356..347a1d1a5 100644 --- a/docs/classes/BikeStore.html +++ b/docs/classes/BikeStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Blog.html b/docs/classes/Blog.html index faf37f7ae..272f08098 100644 --- a/docs/classes/Blog.html +++ b/docs/classes/Blog.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BlogPosting.html b/docs/classes/BlogPosting.html index e1ca9ca98..0a8c70ef1 100644 --- a/docs/classes/BlogPosting.html +++ b/docs/classes/BlogPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BoardingPolicyType.html b/docs/classes/BoardingPolicyType.html index 13c149125..15c69628d 100644 --- a/docs/classes/BoardingPolicyType.html +++ b/docs/classes/BoardingPolicyType.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BodyOfWater.html b/docs/classes/BodyOfWater.html index dc43aacbc..0c4a37e2a 100644 --- a/docs/classes/BodyOfWater.html +++ b/docs/classes/BodyOfWater.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Book.html b/docs/classes/Book.html index 2dd518158..de290367d 100644 --- a/docs/classes/Book.html +++ b/docs/classes/Book.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BookFormatType.html b/docs/classes/BookFormatType.html index e9feec357..8afa29a40 100644 --- a/docs/classes/BookFormatType.html +++ b/docs/classes/BookFormatType.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BookSeries.html b/docs/classes/BookSeries.html index 43679a933..18721cc56 100644 --- a/docs/classes/BookSeries.html +++ b/docs/classes/BookSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BookStore.html b/docs/classes/BookStore.html index 3757236b9..dc707c50a 100644 --- a/docs/classes/BookStore.html +++ b/docs/classes/BookStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BookmarkAction.html b/docs/classes/BookmarkAction.html index cf5fc135d..5cbf22569 100644 --- a/docs/classes/BookmarkAction.html +++ b/docs/classes/BookmarkAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BorrowAction.html b/docs/classes/BorrowAction.html index e00c5ccd0..65219cea2 100644 --- a/docs/classes/BorrowAction.html +++ b/docs/classes/BorrowAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BowlingAlley.html b/docs/classes/BowlingAlley.html index 5137010c1..c8b8a05b0 100644 --- a/docs/classes/BowlingAlley.html +++ b/docs/classes/BowlingAlley.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Brand.html b/docs/classes/Brand.html index 3dd016c3e..00925ed9f 100644 --- a/docs/classes/Brand.html +++ b/docs/classes/Brand.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BreadcrumbList.html b/docs/classes/BreadcrumbList.html index c45880805..59281e073 100644 --- a/docs/classes/BreadcrumbList.html +++ b/docs/classes/BreadcrumbList.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Brewery.html b/docs/classes/Brewery.html index ed0b4bff5..3f8c9d248 100644 --- a/docs/classes/Brewery.html +++ b/docs/classes/Brewery.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Bridge.html b/docs/classes/Bridge.html index c7a04dccf..c7d145bce 100644 --- a/docs/classes/Bridge.html +++ b/docs/classes/Bridge.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BroadcastChannel.html b/docs/classes/BroadcastChannel.html index ae2a34761..5fa13a924 100644 --- a/docs/classes/BroadcastChannel.html +++ b/docs/classes/BroadcastChannel.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BroadcastEvent.html b/docs/classes/BroadcastEvent.html index 8c17cea01..4d20fd546 100644 --- a/docs/classes/BroadcastEvent.html +++ b/docs/classes/BroadcastEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BroadcastService.html b/docs/classes/BroadcastService.html index cf3f0717c..c3ef7787c 100644 --- a/docs/classes/BroadcastService.html +++ b/docs/classes/BroadcastService.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BuddhistTemple.html b/docs/classes/BuddhistTemple.html index 0b512165c..c3e77cde5 100644 --- a/docs/classes/BuddhistTemple.html +++ b/docs/classes/BuddhistTemple.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusReservation.html b/docs/classes/BusReservation.html index 07fb9bd3b..31e84f2c7 100644 --- a/docs/classes/BusReservation.html +++ b/docs/classes/BusReservation.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusStation.html b/docs/classes/BusStation.html index 3600992c6..a44512464 100644 --- a/docs/classes/BusStation.html +++ b/docs/classes/BusStation.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusStop.html b/docs/classes/BusStop.html index e4576b5e1..f9fd387a5 100644 --- a/docs/classes/BusStop.html +++ b/docs/classes/BusStop.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusTrip.html b/docs/classes/BusTrip.html index afad431d2..5a77a1584 100644 --- a/docs/classes/BusTrip.html +++ b/docs/classes/BusTrip.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusinessAudience.html b/docs/classes/BusinessAudience.html index b15274c47..e1d1fc9e9 100644 --- a/docs/classes/BusinessAudience.html +++ b/docs/classes/BusinessAudience.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusinessEntityType.html b/docs/classes/BusinessEntityType.html index ae509f754..af3dd2e20 100644 --- a/docs/classes/BusinessEntityType.html +++ b/docs/classes/BusinessEntityType.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusinessEvent.html b/docs/classes/BusinessEvent.html index 4c5f8fb5d..7a466ed6b 100644 --- a/docs/classes/BusinessEvent.html +++ b/docs/classes/BusinessEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BusinessFunction.html b/docs/classes/BusinessFunction.html index 159ec41c1..37c8432cd 100644 --- a/docs/classes/BusinessFunction.html +++ b/docs/classes/BusinessFunction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/BuyAction.html b/docs/classes/BuyAction.html index b6f288936..f308669e6 100644 --- a/docs/classes/BuyAction.html +++ b/docs/classes/BuyAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CSVExport.html b/docs/classes/CSVExport.html index 5353aba5f..f7c9478df 100644 --- a/docs/classes/CSVExport.html +++ b/docs/classes/CSVExport.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CSVImport.html b/docs/classes/CSVImport.html index 62ccb6ebb..c589fffaf 100644 --- a/docs/classes/CSVImport.html +++ b/docs/classes/CSVImport.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CableOrSatelliteService.html b/docs/classes/CableOrSatelliteService.html index 4ef5966be..1bd72f1a3 100644 --- a/docs/classes/CableOrSatelliteService.html +++ b/docs/classes/CableOrSatelliteService.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CafeOrCoffeeShop.html b/docs/classes/CafeOrCoffeeShop.html index 145c5273d..2a5fb9000 100644 --- a/docs/classes/CafeOrCoffeeShop.html +++ b/docs/classes/CafeOrCoffeeShop.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Campground.html b/docs/classes/Campground.html index 59d7cdd3e..5ac267d66 100644 --- a/docs/classes/Campground.html +++ b/docs/classes/Campground.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CampingPitch.html b/docs/classes/CampingPitch.html index 1e8a0d14f..3afe8eb35 100644 --- a/docs/classes/CampingPitch.html +++ b/docs/classes/CampingPitch.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Canal.html b/docs/classes/Canal.html index 59eeaa99d..afa2f5d9e 100644 --- a/docs/classes/Canal.html +++ b/docs/classes/Canal.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CancelAction.html b/docs/classes/CancelAction.html index 24c620524..0a8924e88 100644 --- a/docs/classes/CancelAction.html +++ b/docs/classes/CancelAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Car.html b/docs/classes/Car.html index af2f36d9c..624094b30 100644 --- a/docs/classes/Car.html +++ b/docs/classes/Car.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CareerPathway.html b/docs/classes/CareerPathway.html index e1982a905..2b6c456a1 100644 --- a/docs/classes/CareerPathway.html +++ b/docs/classes/CareerPathway.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Casino.html b/docs/classes/Casino.html index 2d7e67e18..ed622400e 100644 --- a/docs/classes/Casino.html +++ b/docs/classes/Casino.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Cass.html b/docs/classes/Cass.html index 02b5ffc20..c8b43e93a 100644 --- a/docs/classes/Cass.html +++ b/docs/classes/Cass.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CatholicChurch.html b/docs/classes/CatholicChurch.html index 62669bdb9..0d265d7fe 100644 --- a/docs/classes/CatholicChurch.html +++ b/docs/classes/CatholicChurch.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Cemetery.html b/docs/classes/Cemetery.html index 3ab3d1479..31558e37f 100644 --- a/docs/classes/Cemetery.html +++ b/docs/classes/Cemetery.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Certificate.html b/docs/classes/Certificate.html index 8ca9a78de..dce7a702c 100644 --- a/docs/classes/Certificate.html +++ b/docs/classes/Certificate.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Certification.html b/docs/classes/Certification.html index f163c03d6..6ad09fdf4 100644 --- a/docs/classes/Certification.html +++ b/docs/classes/Certification.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CheckAction.html b/docs/classes/CheckAction.html index 89b1b514a..8084a5433 100644 --- a/docs/classes/CheckAction.html +++ b/docs/classes/CheckAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CheckInAction.html b/docs/classes/CheckInAction.html index 1f59e6c6f..cbdbb154e 100644 --- a/docs/classes/CheckInAction.html +++ b/docs/classes/CheckInAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CheckOutAction.html b/docs/classes/CheckOutAction.html index 65d5b2db2..ed66cc9c5 100644 --- a/docs/classes/CheckOutAction.html +++ b/docs/classes/CheckOutAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CheckoutPage.html b/docs/classes/CheckoutPage.html index 5c6de9120..d8100a93d 100644 --- a/docs/classes/CheckoutPage.html +++ b/docs/classes/CheckoutPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ChildCare.html b/docs/classes/ChildCare.html index 968a53773..2280e2d8d 100644 --- a/docs/classes/ChildCare.html +++ b/docs/classes/ChildCare.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ChildrensEvent.html b/docs/classes/ChildrensEvent.html index e631bd858..f1fe3505b 100644 --- a/docs/classes/ChildrensEvent.html +++ b/docs/classes/ChildrensEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ChooseAction.html b/docs/classes/ChooseAction.html index 2a5fc302b..20f5a353b 100644 --- a/docs/classes/ChooseAction.html +++ b/docs/classes/ChooseAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Church.html b/docs/classes/Church.html index a4513b4ee..5f227fadb 100644 --- a/docs/classes/Church.html +++ b/docs/classes/Church.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/City.html b/docs/classes/City.html index 89f04e2ad..dcbe770b1 100644 --- a/docs/classes/City.html +++ b/docs/classes/City.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CityHall.html b/docs/classes/CityHall.html index 7a5f310d5..1ffc4ee3c 100644 --- a/docs/classes/CityHall.html +++ b/docs/classes/CityHall.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CivicStructure.html b/docs/classes/CivicStructure.html index 388a4cfe5..6f34bf524 100644 --- a/docs/classes/CivicStructure.html +++ b/docs/classes/CivicStructure.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ClaimReview.html b/docs/classes/ClaimReview.html index d72bd81aa..8e6278d9b 100644 --- a/docs/classes/ClaimReview.html +++ b/docs/classes/ClaimReview.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Clip.html b/docs/classes/Clip.html index 865372ff7..5088806f4 100644 --- a/docs/classes/Clip.html +++ b/docs/classes/Clip.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ClothingStore.html b/docs/classes/ClothingStore.html index 53f42309d..a5a11a5eb 100644 --- a/docs/classes/ClothingStore.html +++ b/docs/classes/ClothingStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Code.html b/docs/classes/Code.html index 5fe4962d3..4065a7a99 100644 --- a/docs/classes/Code.html +++ b/docs/classes/Code.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Collection.html b/docs/classes/Collection.html index 9054a1042..238d9fbde 100644 --- a/docs/classes/Collection.html +++ b/docs/classes/Collection.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CollectionPage.html b/docs/classes/CollectionPage.html index 7a2716ddd..c86cafb9c 100644 --- a/docs/classes/CollectionPage.html +++ b/docs/classes/CollectionPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CollegeOrUniversity.html b/docs/classes/CollegeOrUniversity.html index ce8137ef6..7024edfa1 100644 --- a/docs/classes/CollegeOrUniversity.html +++ b/docs/classes/CollegeOrUniversity.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ComedyClub.html b/docs/classes/ComedyClub.html index 8b07429de..3ec7b7b81 100644 --- a/docs/classes/ComedyClub.html +++ b/docs/classes/ComedyClub.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ComedyEvent.html b/docs/classes/ComedyEvent.html index 354dde60f..67d6ba050 100644 --- a/docs/classes/ComedyEvent.html +++ b/docs/classes/ComedyEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Comment.html b/docs/classes/Comment.html index 2dc8fc9c3..e1350d3f1 100644 --- a/docs/classes/Comment.html +++ b/docs/classes/Comment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CommentAction.html b/docs/classes/CommentAction.html index b11a9fa68..28e5fc2cf 100644 --- a/docs/classes/CommentAction.html +++ b/docs/classes/CommentAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CommunicateAction.html b/docs/classes/CommunicateAction.html index 784f91a83..01e6a7ebb 100644 --- a/docs/classes/CommunicateAction.html +++ b/docs/classes/CommunicateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Competency.html b/docs/classes/Competency.html index 56b296b6d..433b38d05 100644 --- a/docs/classes/Competency.html +++ b/docs/classes/Competency.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CompetencyFramework.html b/docs/classes/CompetencyFramework.html index de883f95c..baf6b8e65 100644 --- a/docs/classes/CompetencyFramework.html +++ b/docs/classes/CompetencyFramework.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CompoundPriceSpecification.html b/docs/classes/CompoundPriceSpecification.html index 3dc4f52ea..77aa8b339 100644 --- a/docs/classes/CompoundPriceSpecification.html +++ b/docs/classes/CompoundPriceSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ComputerLanguage.html b/docs/classes/ComputerLanguage.html index 8b1739a15..993ac1b31 100644 --- a/docs/classes/ComputerLanguage.html +++ b/docs/classes/ComputerLanguage.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ComputerStore.html b/docs/classes/ComputerStore.html index 13c97458a..afbc21f21 100644 --- a/docs/classes/ComputerStore.html +++ b/docs/classes/ComputerStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Concept.html b/docs/classes/Concept.html index 88fc55c57..e088ef3a3 100644 --- a/docs/classes/Concept.html +++ b/docs/classes/Concept.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConceptScheme.html b/docs/classes/ConceptScheme.html index eb306bb02..201623314 100644 --- a/docs/classes/ConceptScheme.html +++ b/docs/classes/ConceptScheme.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConditionManifest.html b/docs/classes/ConditionManifest.html index 1d4cbd1b7..ab12f1d75 100644 --- a/docs/classes/ConditionManifest.html +++ b/docs/classes/ConditionManifest.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConditionProfile.html b/docs/classes/ConditionProfile.html index 41e28fa46..b69e0e894 100644 --- a/docs/classes/ConditionProfile.html +++ b/docs/classes/ConditionProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConfirmAction.html b/docs/classes/ConfirmAction.html index 19d7f72c8..59580153c 100644 --- a/docs/classes/ConfirmAction.html +++ b/docs/classes/ConfirmAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConsumeAction.html b/docs/classes/ConsumeAction.html index ad1046d87..9f121158f 100644 --- a/docs/classes/ConsumeAction.html +++ b/docs/classes/ConsumeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ContactPage.html b/docs/classes/ContactPage.html index 3363adb24..7b9583083 100644 --- a/docs/classes/ContactPage.html +++ b/docs/classes/ContactPage.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ContactPoint.html b/docs/classes/ContactPoint.html index f3d98fa0a..5c1a7516a 100644 --- a/docs/classes/ContactPoint.html +++ b/docs/classes/ContactPoint.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
@@ -1308,24 +1308,26 @@

contactOption

contactType

- Text + LangString
-

Schema.org/contactType -A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.

+

http://purl.org/ctdl/terms/contactType +Text identifying the type of service provided by an organizational contact. +A person or organization may have different contact points for different services. The contact type property provides for adding text to identity the service; e.g., "toll-free number" or "support for hearing-impaired callers".

@@ -1334,26 +1336,24 @@

contactType

contactType

- LangString + Text
-

http://purl.org/ctdl/terms/contactType -Text identifying the type of service provided by an organizational contact. -A person or organization may have different contact points for different services. The contact type property provides for adding text to identity the service; e.g., "toll-free number" or "support for hearing-impaired callers".

+

Schema.org/contactType +A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.

@@ -1412,24 +1412,25 @@

disambiguatingDescription

email

- Text + String
-

Schema.org/email -Email address.

+

http://purl.org/ctdl/terms/email +Email address of the organization or person.

@@ -1438,25 +1439,24 @@

email

email

- String + Text
-

http://purl.org/ctdl/terms/email -Email address of the organization or person.

+

Schema.org/email +Email address.

@@ -1777,24 +1777,25 @@

socialMedia

telephone

- Text + String
-

Schema.org/telephone -The telephone number.

+

http://purl.org/ctdl/terms/telephone +Telephone number.

@@ -1803,25 +1804,24 @@

telephone

telephone

- String + Text
-

http://purl.org/ctdl/terms/telephone -Telephone number.

+

Schema.org/telephone +The telephone number.

diff --git a/docs/classes/ContactPointOption.html b/docs/classes/ContactPointOption.html index 5afa1945e..50d15b978 100644 --- a/docs/classes/ContactPointOption.html +++ b/docs/classes/ContactPointOption.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Continent.html b/docs/classes/Continent.html index e5bae8575..40184c364 100644 --- a/docs/classes/Continent.html +++ b/docs/classes/Continent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ControlAction.html b/docs/classes/ControlAction.html index eb102b4a0..4154d0869 100644 --- a/docs/classes/ControlAction.html +++ b/docs/classes/ControlAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/ConvenienceStore.html b/docs/classes/ConvenienceStore.html index 04134d42d..7b47a3058 100644 --- a/docs/classes/ConvenienceStore.html +++ b/docs/classes/ConvenienceStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Conversation.html b/docs/classes/Conversation.html index 344e53fd0..8c7ddea97 100644 --- a/docs/classes/Conversation.html +++ b/docs/classes/Conversation.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CookAction.html b/docs/classes/CookAction.html index ac146ab5b..56925a9dc 100644 --- a/docs/classes/CookAction.html +++ b/docs/classes/CookAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Corporation.html b/docs/classes/Corporation.html index 2f3382100..8eed6a6cd 100644 --- a/docs/classes/Corporation.html +++ b/docs/classes/Corporation.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CostManifest.html b/docs/classes/CostManifest.html index 53865ff56..2a5ca8547 100644 --- a/docs/classes/CostManifest.html +++ b/docs/classes/CostManifest.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CostProfile.html b/docs/classes/CostProfile.html index c0738acad..db5393193 100644 --- a/docs/classes/CostProfile.html +++ b/docs/classes/CostProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Country.html b/docs/classes/Country.html index f31d93ba3..bce08fd25 100644 --- a/docs/classes/Country.html +++ b/docs/classes/Country.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Course.html b/docs/classes/Course.html index 97191cb77..28ba9ced0 100644 --- a/docs/classes/Course.html +++ b/docs/classes/Course.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CourseInstance.html b/docs/classes/CourseInstance.html index f8032c464..ba11cacc3 100644 --- a/docs/classes/CourseInstance.html +++ b/docs/classes/CourseInstance.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Courthouse.html b/docs/classes/Courthouse.html index 217b1e2b9..3db32e90a 100644 --- a/docs/classes/Courthouse.html +++ b/docs/classes/Courthouse.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CreateAction.html b/docs/classes/CreateAction.html index 598f8c5e4..280aef9d6 100644 --- a/docs/classes/CreateAction.html +++ b/docs/classes/CreateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CreativeWork.html b/docs/classes/CreativeWork.html index 9409c5bb7..1a232fde7 100644 --- a/docs/classes/CreativeWork.html +++ b/docs/classes/CreativeWork.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CreativeWorkSeason.html b/docs/classes/CreativeWorkSeason.html index 391e77eb0..4067f7b2a 100644 --- a/docs/classes/CreativeWorkSeason.html +++ b/docs/classes/CreativeWorkSeason.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CreativeWorkSeries.html b/docs/classes/CreativeWorkSeries.html index 52fb20b9f..ade15cdf1 100644 --- a/docs/classes/CreativeWorkSeries.html +++ b/docs/classes/CreativeWorkSeries.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Credential.html b/docs/classes/Credential.html index 29c03468c..22abd78dd 100644 --- a/docs/classes/Credential.html +++ b/docs/classes/Credential.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialAlignmentObject.html b/docs/classes/CredentialAlignmentObject.html index ac9051cba..6b5ce9df6 100644 --- a/docs/classes/CredentialAlignmentObject.html +++ b/docs/classes/CredentialAlignmentObject.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialAssertion.html b/docs/classes/CredentialAssertion.html index 27e7edf32..e40ee6fd5 100644 --- a/docs/classes/CredentialAssertion.html +++ b/docs/classes/CredentialAssertion.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialFramework.html b/docs/classes/CredentialFramework.html index 922398d81..ba1086871 100644 --- a/docs/classes/CredentialFramework.html +++ b/docs/classes/CredentialFramework.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialOrganization.html b/docs/classes/CredentialOrganization.html index fc761457f..18f05de53 100644 --- a/docs/classes/CredentialOrganization.html +++ b/docs/classes/CredentialOrganization.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialPerson.html b/docs/classes/CredentialPerson.html index 86f907c44..c8f431009 100644 --- a/docs/classes/CredentialPerson.html +++ b/docs/classes/CredentialPerson.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CredentialingAction.html b/docs/classes/CredentialingAction.html index a897ca41f..ab93c1deb 100644 --- a/docs/classes/CredentialingAction.html +++ b/docs/classes/CredentialingAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CreditCard.html b/docs/classes/CreditCard.html index 6e53ab514..d9ea46a3d 100644 --- a/docs/classes/CreditCard.html +++ b/docs/classes/CreditCard.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Crematorium.html b/docs/classes/Crematorium.html index a954758d0..1f6108266 100644 --- a/docs/classes/Crematorium.html +++ b/docs/classes/Crematorium.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/CurrencyConversionService.html b/docs/classes/CurrencyConversionService.html index fc6f9fede..857e90073 100644 --- a/docs/classes/CurrencyConversionService.html +++ b/docs/classes/CurrencyConversionService.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DanceEvent.html b/docs/classes/DanceEvent.html index 262a3ad76..a2388d614 100644 --- a/docs/classes/DanceEvent.html +++ b/docs/classes/DanceEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DanceGroup.html b/docs/classes/DanceGroup.html index 639cedfb9..30c1ff954 100644 --- a/docs/classes/DanceGroup.html +++ b/docs/classes/DanceGroup.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DataCatalog.html b/docs/classes/DataCatalog.html index d269305d4..0e58e1f54 100644 --- a/docs/classes/DataCatalog.html +++ b/docs/classes/DataCatalog.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DataDownload.html b/docs/classes/DataDownload.html index 08cb465b0..1a7da580e 100644 --- a/docs/classes/DataDownload.html +++ b/docs/classes/DataDownload.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DataFeed.html b/docs/classes/DataFeed.html index ec2ca1a68..ff14333e8 100644 --- a/docs/classes/DataFeed.html +++ b/docs/classes/DataFeed.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DataFeedItem.html b/docs/classes/DataFeedItem.html index 72a144989..952b48ce3 100644 --- a/docs/classes/DataFeedItem.html +++ b/docs/classes/DataFeedItem.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Dataset.html b/docs/classes/Dataset.html index 3946f6fdc..873c0be60 100644 --- a/docs/classes/Dataset.html +++ b/docs/classes/Dataset.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DatedMoneySpecification.html b/docs/classes/DatedMoneySpecification.html index 30e6f57a8..0dfc38a96 100644 --- a/docs/classes/DatedMoneySpecification.html +++ b/docs/classes/DatedMoneySpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DayOfWeek.html b/docs/classes/DayOfWeek.html index 3014a326b..60662eece 100644 --- a/docs/classes/DayOfWeek.html +++ b/docs/classes/DayOfWeek.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DaySpa.html b/docs/classes/DaySpa.html index 979240ea7..f634e268c 100644 --- a/docs/classes/DaySpa.html +++ b/docs/classes/DaySpa.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DeactivateAction.html b/docs/classes/DeactivateAction.html index a29a5db69..6206c8386 100644 --- a/docs/classes/DeactivateAction.html +++ b/docs/classes/DeactivateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DefenceEstablishment.html b/docs/classes/DefenceEstablishment.html index a4d98e74f..950c93a80 100644 --- a/docs/classes/DefenceEstablishment.html +++ b/docs/classes/DefenceEstablishment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Degree.html b/docs/classes/Degree.html index 0820536ae..362b3bce4 100644 --- a/docs/classes/Degree.html +++ b/docs/classes/Degree.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DeleteAction.html b/docs/classes/DeleteAction.html index e295e2ac0..94812da64 100644 --- a/docs/classes/DeleteAction.html +++ b/docs/classes/DeleteAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DeliveryChargeSpecification.html b/docs/classes/DeliveryChargeSpecification.html index edc33e7fe..73419a49c 100644 --- a/docs/classes/DeliveryChargeSpecification.html +++ b/docs/classes/DeliveryChargeSpecification.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DeliveryEvent.html b/docs/classes/DeliveryEvent.html index 5d0d05488..d17ed14d4 100644 --- a/docs/classes/DeliveryEvent.html +++ b/docs/classes/DeliveryEvent.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DeliveryMethod.html b/docs/classes/DeliveryMethod.html index 73a44feeb..8769224fe 100644 --- a/docs/classes/DeliveryMethod.html +++ b/docs/classes/DeliveryMethod.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Demand.html b/docs/classes/Demand.html index 796ff1a1e..4f4d164ae 100644 --- a/docs/classes/Demand.html +++ b/docs/classes/Demand.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Dentist.html b/docs/classes/Dentist.html index 3f5207ea1..159ceafba 100644 --- a/docs/classes/Dentist.html +++ b/docs/classes/Dentist.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DepartAction.html b/docs/classes/DepartAction.html index 0c00dc374..191af61dc 100644 --- a/docs/classes/DepartAction.html +++ b/docs/classes/DepartAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DepartmentStore.html b/docs/classes/DepartmentStore.html index 9e051ea96..f86f3b000 100644 --- a/docs/classes/DepartmentStore.html +++ b/docs/classes/DepartmentStore.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DepositAccount.html b/docs/classes/DepositAccount.html index b07c80609..9fe8e7a79 100644 --- a/docs/classes/DepositAccount.html +++ b/docs/classes/DepositAccount.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DigitalBadge.html b/docs/classes/DigitalBadge.html index 9147180f5..157dc3796 100644 --- a/docs/classes/DigitalBadge.html +++ b/docs/classes/DigitalBadge.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DigitalDocument.html b/docs/classes/DigitalDocument.html index 346d952ab..b040503e8 100644 --- a/docs/classes/DigitalDocument.html +++ b/docs/classes/DigitalDocument.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DigitalDocumentPermission.html b/docs/classes/DigitalDocumentPermission.html index 85f4673d5..f7fe9d6de 100644 --- a/docs/classes/DigitalDocumentPermission.html +++ b/docs/classes/DigitalDocumentPermission.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DigitalDocumentPermissionType.html b/docs/classes/DigitalDocumentPermissionType.html index 51c19832c..5df875b76 100644 --- a/docs/classes/DigitalDocumentPermissionType.html +++ b/docs/classes/DigitalDocumentPermissionType.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Diploma.html b/docs/classes/Diploma.html index 3dba2470c..2db45cac9 100644 --- a/docs/classes/Diploma.html +++ b/docs/classes/Diploma.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DisagreeAction.html b/docs/classes/DisagreeAction.html index 6f9b5e7f3..0672cb4d0 100644 --- a/docs/classes/DisagreeAction.html +++ b/docs/classes/DisagreeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DiscoverAction.html b/docs/classes/DiscoverAction.html index 5d380e8c8..0797f2acf 100644 --- a/docs/classes/DiscoverAction.html +++ b/docs/classes/DiscoverAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DiscussionForumPosting.html b/docs/classes/DiscussionForumPosting.html index 643d22c9f..4e345df85 100644 --- a/docs/classes/DiscussionForumPosting.html +++ b/docs/classes/DiscussionForumPosting.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DislikeAction.html b/docs/classes/DislikeAction.html index a52c9a82d..74ff05f57 100644 --- a/docs/classes/DislikeAction.html +++ b/docs/classes/DislikeAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Distance.html b/docs/classes/Distance.html index ddffe00a1..e4278681c 100644 --- a/docs/classes/Distance.html +++ b/docs/classes/Distance.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DoctoralDegree.html b/docs/classes/DoctoralDegree.html index 958996f58..243d6ee03 100644 --- a/docs/classes/DoctoralDegree.html +++ b/docs/classes/DoctoralDegree.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DonateAction.html b/docs/classes/DonateAction.html index 1e0404c69..2db9d4f89 100644 --- a/docs/classes/DonateAction.html +++ b/docs/classes/DonateAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DownloadAction.html b/docs/classes/DownloadAction.html index d8feb6c70..21a2fc87c 100644 --- a/docs/classes/DownloadAction.html +++ b/docs/classes/DownloadAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DrawAction.html b/docs/classes/DrawAction.html index 8751f0644..1f0e4cf61 100644 --- a/docs/classes/DrawAction.html +++ b/docs/classes/DrawAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DrinkAction.html b/docs/classes/DrinkAction.html index ac2608cc0..a63f0c548 100644 --- a/docs/classes/DrinkAction.html +++ b/docs/classes/DrinkAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DriveWheelConfigurationValue.html b/docs/classes/DriveWheelConfigurationValue.html index 99a548da5..310faabe4 100644 --- a/docs/classes/DriveWheelConfigurationValue.html +++ b/docs/classes/DriveWheelConfigurationValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DryCleaningOrLaundry.html b/docs/classes/DryCleaningOrLaundry.html index 0ad29bff0..dc689bc43 100644 --- a/docs/classes/DryCleaningOrLaundry.html +++ b/docs/classes/DryCleaningOrLaundry.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Duration.html b/docs/classes/Duration.html index e5ebe8796..4309a69d5 100644 --- a/docs/classes/Duration.html +++ b/docs/classes/Duration.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/DurationProfile.html b/docs/classes/DurationProfile.html index adc7d0691..e44f2ffe3 100644 --- a/docs/classes/DurationProfile.html +++ b/docs/classes/DurationProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EarningsProfile.html b/docs/classes/EarningsProfile.html index 96afb1d84..7b0886ebc 100644 --- a/docs/classes/EarningsProfile.html +++ b/docs/classes/EarningsProfile.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EatAction.html b/docs/classes/EatAction.html index 183c98a08..eabf28607 100644 --- a/docs/classes/EatAction.html +++ b/docs/classes/EatAction.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/Ebac.html b/docs/classes/Ebac.html index 9c296ce91..16ee36d73 100644 --- a/docs/classes/Ebac.html +++ b/docs/classes/Ebac.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacContact.html b/docs/classes/EbacContact.html index 55702c09e..0af572979 100644 --- a/docs/classes/EbacContact.html +++ b/docs/classes/EbacContact.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacContactGrant.html b/docs/classes/EbacContactGrant.html index 222abe447..754c00628 100644 --- a/docs/classes/EbacContactGrant.html +++ b/docs/classes/EbacContactGrant.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacCredential.html b/docs/classes/EbacCredential.html index 2d1bf0eb8..0bc9cc475 100644 --- a/docs/classes/EbacCredential.html +++ b/docs/classes/EbacCredential.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacCredentialCommit.html b/docs/classes/EbacCredentialCommit.html index 61b7650b9..b9c732d6a 100644 --- a/docs/classes/EbacCredentialCommit.html +++ b/docs/classes/EbacCredentialCommit.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacCredentialRequest.html b/docs/classes/EbacCredentialRequest.html index 4b5c85add..8d0172dcc 100644 --- a/docs/classes/EbacCredentialRequest.html +++ b/docs/classes/EbacCredentialRequest.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacCredentials.html b/docs/classes/EbacCredentials.html index 0cdd9e6e7..af726c3dc 100644 --- a/docs/classes/EbacCredentials.html +++ b/docs/classes/EbacCredentials.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacEncryptedSecret.html b/docs/classes/EbacEncryptedSecret.html index c7efc460b..e173dd16b 100644 --- a/docs/classes/EbacEncryptedSecret.html +++ b/docs/classes/EbacEncryptedSecret.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacEncryptedValue.html b/docs/classes/EbacEncryptedValue.html index 90b96e22e..9c06d85a8 100644 --- a/docs/classes/EbacEncryptedValue.html +++ b/docs/classes/EbacEncryptedValue.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EbacSignature.html b/docs/classes/EbacSignature.html index bafcc26d8..512f8a775 100644 --- a/docs/classes/EbacSignature.html +++ b/docs/classes/EbacSignature.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EcAes.html b/docs/classes/EcAes.html index b2f8c8dd4..f41c9a977 100644 --- a/docs/classes/EcAes.html +++ b/docs/classes/EcAes.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EcAesCtr.html b/docs/classes/EcAesCtr.html index d610499b1..a9fa1e52b 100644 --- a/docs/classes/EcAesCtr.html +++ b/docs/classes/EcAesCtr.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EcAesCtrAsync.html b/docs/classes/EcAesCtrAsync.html index 1594beb85..6ce11c837 100644 --- a/docs/classes/EcAesCtrAsync.html +++ b/docs/classes/EcAesCtrAsync.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EcAesCtrAsyncWorker.html b/docs/classes/EcAesCtrAsyncWorker.html index 9016e4cc6..78effea2b 100644 --- a/docs/classes/EcAesCtrAsyncWorker.html +++ b/docs/classes/EcAesCtrAsyncWorker.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
diff --git a/docs/classes/EcAlignment.html b/docs/classes/EcAlignment.html index 22f7f1325..0e279b296 100644 --- a/docs/classes/EcAlignment.html +++ b/docs/classes/EcAlignment.html @@ -17,7 +17,7 @@

- API Docs for: 1.3.15 + API Docs for: 1.4.0
@@ -1115,7 +1115,7 @@

get

-

Retrieves a concept from it's server asynchronously

+

Retrieves a concept scheme from the server, specified by the ID

@@ -1137,19 +1137,19 @@

Parameters:

-

ID of the concept to retrieve from the server

+

ID of the concept scheme to retrieve

  • success - Callback1 + Callback1
    -

    Callback triggered after retrieving the concept, -returns the concept retrieved

    +

    Callback triggered after successfully retrieving the concept scheme, +returns the retrieved concept scheme

    @@ -1160,7 +1160,7 @@

    Parameters:

    -

    Callback triggered if error retrieving concept

    +

    Callback triggered if an error occurs while retrieving the concept scheme

    @@ -1199,7 +1199,7 @@

    get

    -

    Retrieves a concept scheme from the server, specified by the ID

    +

    Retrieves a concept from it's server asynchronously

    @@ -1221,19 +1221,19 @@

    Parameters:

    -

    ID of the concept scheme to retrieve

    +

    ID of the concept to retrieve from the server

  • success - Callback1 + Callback1
    -

    Callback triggered after successfully retrieving the concept scheme, -returns the retrieved concept scheme

    +

    Callback triggered after retrieving the concept, +returns the concept retrieved

    @@ -1244,7 +1244,7 @@

    Parameters:

    -

    Callback triggered if an error occurs while retrieving the concept scheme

    +

    Callback triggered if error retrieving concept

    @@ -1280,7 +1280,7 @@

    getBlocking

    Defined in - src/main/js/cass/cass.competency.js:615 + src/main/js/cass/cass.competency.js:305

    @@ -1288,7 +1288,7 @@

    getBlocking

    -

    Retrieves a concept from it's server synchronously, the call +

    Retrieves an alignment from it's server synchronously, the call blocks until it is successful or an error occurs

    @@ -1303,7 +1303,7 @@

    Parameters:

    -

    ID of the concept to retrieve

    +

    ID of the alignment to retrieve

    @@ -1315,8 +1315,8 @@

    Parameters:

    Returns:

    -

    EcConcept -The concept retrieved

    +

    EcAlignment +The alignment retrieved

  • @@ -1432,7 +1432,7 @@

    getBlocking

    Defined in - src/main/js/cass/cass.competency.js:305 + src/main/js/cass/cass.competency.js:615

    @@ -1440,7 +1440,7 @@

    getBlocking

    -

    Retrieves an alignment from it's server synchronously, the call +

    Retrieves a concept from it's server synchronously, the call blocks until it is successful or an error occurs

    @@ -1455,7 +1455,7 @@

    Parameters:

    -

    ID of the alignment to retrieve

    +

    ID of the concept to retrieve

    @@ -1467,8 +1467,8 @@

    Parameters:

    Returns:

    -

    EcAlignment -The alignment retrieved

    +

    EcConcept +The concept retrieved

    @@ -1559,10 +1559,10 @@

    search

    success
  • - failure + [failure]
  • - paramObj + [paramObj]
  • ) @@ -1578,7 +1578,7 @@

    search

    Defined in - src/main/js/cass/cass.competency.js:558 + src/main/js/cass/cass.competency.js:320

    @@ -1586,7 +1586,7 @@

    search

    -

    Searches the repository given for concept schemes using the query passed in

    +

    Searches the repository using the query and optional parameters provided

    @@ -1600,7 +1600,7 @@

    Parameters:

    -

    Repository to search for concept schemes

    +

    Repository to search using the query provided

    @@ -1611,41 +1611,42 @@

    Parameters:

    -

    Query string used to search for a concept scheme

    +

    The query to send to the search

  • success - Callback1 + Callback1>
    -

    Callback triggered when the search successfully returns, -returns search results

    +

    Callback triggered on successful search return

  • - failure + [failure] Callback1 + optional
    -

    Callback triggered if an error occurs while searching

    +
                                       Callback triggered if error searching
  • - paramObj + [paramObj] Object + optional
    -

    Parameter object for search

    +
                                       Parameters to include in the search
    @@ -1671,10 +1672,10 @@

    search

    success
  • - [failure] + failure
  • - [paramObj] + paramObj
  • ) @@ -1690,7 +1691,7 @@

    search

    Defined in - src/main/js/cass/cass.competency.js:320 + src/main/js/cass/cass.competency.js:558

    @@ -1698,7 +1699,7 @@

    search

    -

    Searches the repository using the query and optional parameters provided

    +

    Searches the repository given for concept schemes using the query passed in

    @@ -1712,7 +1713,7 @@

    Parameters:

    -

    Repository to search using the query provided

    +

    Repository to search for concept schemes

    @@ -1723,42 +1724,41 @@

    Parameters:

    -

    The query to send to the search

    +

    Query string used to search for a concept scheme

  • success - Callback1> + Callback1
    -

    Callback triggered on successful search return

    +

    Callback triggered when the search successfully returns, +returns search results

  • - [failure] + failure Callback1 - optional
    -
                                       Callback triggered if error searching
    +

    Callback triggered if an error occurs while searching

  • - [paramObj] + paramObj Object - optional
    -
                                       Parameters to include in the search
    +

    Parameter object for search

    @@ -2028,7 +2028,7 @@

    searchBySource

    Defined in - src/main/js/cass/cass.competency.js:369 + src/main/js/cass/cass.competency.js:342

    @@ -2036,7 +2036,7 @@

    searchBySource

    -

    Searches the repository for alignments with one of an array of IDs in the source field

    +

    Searches the repository for alignments with a specific ID in the source field

    @@ -2141,7 +2141,7 @@

    searchBySource

    Defined in - src/main/js/cass/cass.competency.js:342 + src/main/js/cass/cass.competency.js:369

    @@ -2149,7 +2149,7 @@

    searchBySource

    -

    Searches the repository for alignments with a specific ID in the source field

    +

    Searches the repository for alignments with one of an array of IDs in the source field

    diff --git a/docs/classes/EcArray.html b/docs/classes/EcArray.html index 24651ff95..0d0e9c135 100644 --- a/docs/classes/EcArray.html +++ b/docs/classes/EcArray.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcAsyncHelper.html b/docs/classes/EcAsyncHelper.html index addfde62a..e8cec0c15 100644 --- a/docs/classes/EcAsyncHelper.html +++ b/docs/classes/EcAsyncHelper.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -817,7 +817,7 @@

    EcAsyncHelper Class

    Module: com.eduworks.ec @@ -917,7 +917,7 @@

    each

    Defined in - src/main/js/cass/ec.base.js:1660 + src/main/js/cass/ec.base.js:1710

    @@ -999,7 +999,7 @@

    each

    Defined in - src/main/js/cass/ec.base.js:1679 + src/main/js/cass/ec.base.js:1729

    @@ -1072,7 +1072,7 @@

    isStopped

    Defined in - src/main/js/cass/ec.base.js:1746 + src/main/js/cass/ec.base.js:1796

    @@ -1111,7 +1111,7 @@

    stop

    Defined in - src/main/js/cass/ec.base.js:1728 + src/main/js/cass/ec.base.js:1778

    @@ -1142,7 +1142,7 @@

    stop

    Defined in - src/main/js/cass/ec.base.js:1737 + src/main/js/cass/ec.base.js:1787

    @@ -1174,7 +1174,7 @@

    counter

    Defined in - src/main/js/cass/ec.base.js:1653 + src/main/js/cass/ec.base.js:1703

    diff --git a/docs/classes/EcCompetency.html b/docs/classes/EcCompetency.html index 7260df961..b47d578a8 100644 --- a/docs/classes/EcCompetency.html +++ b/docs/classes/EcCompetency.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcContact.html b/docs/classes/EcContact.html index 4706f322c..abc186a4c 100644 --- a/docs/classes/EcContact.html +++ b/docs/classes/EcContact.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcCrypto.html b/docs/classes/EcCrypto.html index 5a28b0b25..00f035c1c 100644 --- a/docs/classes/EcCrypto.html +++ b/docs/classes/EcCrypto.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcDirectedGraph.html b/docs/classes/EcDirectedGraph.html index 85f1ecf2a..8a5bc7182 100644 --- a/docs/classes/EcDirectedGraph.html +++ b/docs/classes/EcDirectedGraph.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -820,7 +820,7 @@

    EcDirectedGraph Class

    Module: com.eduworks.ec @@ -1045,7 +1045,7 @@

    addEdge

    Inherited from Graph: - src/main/js/cass/ec.base.js:1171 + src/main/js/cass/ec.base.js:1221

    @@ -1764,7 +1764,7 @@

    getDest

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1138 + src/main/js/cass/ec.base.js:1188

    @@ -2330,7 +2330,7 @@

    getInEdges

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1023 + src/main/js/cass/ec.base.js:1073

    @@ -2539,7 +2539,7 @@

    getOpposite

    Inherited from Graph: - src/main/js/cass/ec.base.js:1192 + src/main/js/cass/ec.base.js:1242

    @@ -2619,7 +2619,7 @@

    getOutEdges

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1033 + src/main/js/cass/ec.base.js:1083

    @@ -2686,7 +2686,7 @@

    getPredecessorCount

    Inherited from Graph: - src/main/js/cass/ec.base.js:1107 + src/main/js/cass/ec.base.js:1157

    @@ -2755,7 +2755,7 @@

    getPredecessors

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1043 + src/main/js/cass/ec.base.js:1093

    @@ -2828,7 +2828,7 @@

    getSource

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1125 + src/main/js/cass/ec.base.js:1175

    @@ -2897,7 +2897,7 @@

    getSuccessorCount

    Inherited from Graph: - src/main/js/cass/ec.base.js:1116 + src/main/js/cass/ec.base.js:1166

    @@ -2966,7 +2966,7 @@

    getSuccessors

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1056 + src/main/js/cass/ec.base.js:1106

    @@ -3125,7 +3125,7 @@

    inDegree

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1069 + src/main/js/cass/ec.base.js:1119

    @@ -3356,7 +3356,7 @@

    isPredecessor

    Inherited from Graph: - src/main/js/cass/ec.base.js:1087 + src/main/js/cass/ec.base.js:1137

    @@ -3436,7 +3436,7 @@

    isSource

    Inherited from Graph: - src/main/js/cass/ec.base.js:1152 + src/main/js/cass/ec.base.js:1202

    @@ -3516,7 +3516,7 @@

    isSuccessor

    Inherited from Graph: - src/main/js/cass/ec.base.js:1097 + src/main/js/cass/ec.base.js:1147

    @@ -3596,7 +3596,7 @@

    outDegree

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1078 + src/main/js/cass/ec.base.js:1128

    diff --git a/docs/classes/EcEncryptedValue.html b/docs/classes/EcEncryptedValue.html index 39c07b651..385a2cbe6 100644 --- a/docs/classes/EcEncryptedValue.html +++ b/docs/classes/EcEncryptedValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1001,7 +1001,7 @@

    addReader

    Defined in - src/main/js/cass/ebac.repository.js:825 + src/main/js/cass/ebac.repository.js:809

    @@ -1055,7 +1055,7 @@

    addReader

    Defined in - src/main/js/cass/ebac.repository.js:809 + src/main/js/cass/ebac.repository.js:825

    @@ -1491,7 +1491,7 @@

    decryptIntoStringAsync

    Defined in - src/main/js/cass/ebac.repository.js:561 + src/main/js/cass/ebac.repository.js:539

    @@ -1561,7 +1561,7 @@

    decryptIntoStringAsync

    Defined in - src/main/js/cass/ebac.repository.js:539 + src/main/js/cass/ebac.repository.js:561

    @@ -2516,15 +2516,6 @@

    fromEncryptedValue

  • d
  • -
  • - success -
  • -
  • - failure -
  • -
  • - d -
  • ) @@ -2542,7 +2533,7 @@

    fromEncryptedValue

    Defined in - src/main/js/cass/ebac.repository.js:59 + src/main/js/cass/ebac.repository.js:42

    @@ -2558,37 +2549,6 @@

    fromEncryptedValue

    Parameters:

    )
    @@ -2639,7 +2608,7 @@

    fromEncryptedValue

    Defined in - src/main/js/cass/ebac.repository.js:42 + src/main/js/cass/ebac.repository.js:59

    @@ -2655,6 +2624,37 @@

    fromEncryptedValue

    Parameters:

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -817,7 +817,7 @@

    EcFile Class

    Module: com.eduworks.ec @@ -903,7 +903,7 @@

    _delete

    Defined in - src/main/js/cass/ebac.repository.js:2653 + src/main/js/cass/ebac.repository.js:2654

    @@ -978,7 +978,7 @@

    create

    Defined in - src/main/js/cass/ebac.repository.js:2567 + src/main/js/cass/ebac.repository.js:2568

    @@ -1070,7 +1070,7 @@

    get

    Defined in - src/main/js/cass/ebac.repository.js:2589 + src/main/js/cass/ebac.repository.js:2590

    @@ -1150,7 +1150,7 @@

    save

    Defined in - src/main/js/cass/ebac.repository.js:2632 + src/main/js/cass/ebac.repository.js:2633

    @@ -1228,7 +1228,7 @@

    search

    Defined in - src/main/js/cass/ebac.repository.js:2609 + src/main/js/cass/ebac.repository.js:2610

    diff --git a/docs/classes/EcFramework.html b/docs/classes/EcFramework.html index ea896947f..b38863326 100644 --- a/docs/classes/EcFramework.html +++ b/docs/classes/EcFramework.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcFrameworkGraph.html b/docs/classes/EcFrameworkGraph.html index 36a71d505..56bab2eeb 100644 --- a/docs/classes/EcFrameworkGraph.html +++ b/docs/classes/EcFrameworkGraph.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -984,7 +984,7 @@

    getMetaStateCompetency

    Defined in - src/main/js/cass/cass.rollup.js:2804 + src/main/js/cass/cass.rollup.js:2819

    diff --git a/docs/classes/EcIdentity.html b/docs/classes/EcIdentity.html index f55ffbcc9..d42992760 100644 --- a/docs/classes/EcIdentity.html +++ b/docs/classes/EcIdentity.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcIdentityManager.html b/docs/classes/EcIdentityManager.html index 5cff9177b..985191eee 100644 --- a/docs/classes/EcIdentityManager.html +++ b/docs/classes/EcIdentityManager.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcLevel.html b/docs/classes/EcLevel.html index ce238541d..a46dccaf9 100644 --- a/docs/classes/EcLevel.html +++ b/docs/classes/EcLevel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcLinkedData.html b/docs/classes/EcLinkedData.html index e8b8bca5e..b24d3adcd 100644 --- a/docs/classes/EcLinkedData.html +++ b/docs/classes/EcLinkedData.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcObject.html b/docs/classes/EcObject.html index acf9b53a7..169f6a36d 100644 --- a/docs/classes/EcObject.html +++ b/docs/classes/EcObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -817,7 +817,7 @@

    EcObject Class

    Module: com.eduworks.ec @@ -891,7 +891,7 @@

    isArray

    Defined in - src/main/js/cass/ec.base.js:1212 + src/main/js/cass/ec.base.js:1262

    @@ -957,7 +957,7 @@

    keys

    Defined in - src/main/js/cass/ec.base.js:1227 + src/main/js/cass/ec.base.js:1277

    diff --git a/docs/classes/EcPk.html b/docs/classes/EcPk.html index 1b15544e7..05ef41755 100644 --- a/docs/classes/EcPk.html +++ b/docs/classes/EcPk.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcPpk.html b/docs/classes/EcPpk.html index 8de94e6a7..98a04b4ad 100644 --- a/docs/classes/EcPpk.html +++ b/docs/classes/EcPpk.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcRemote.html b/docs/classes/EcRemote.html index ef1bd93ea..0e5e3b2e1 100644 --- a/docs/classes/EcRemote.html +++ b/docs/classes/EcRemote.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -934,7 +934,7 @@

    _delete

    Defined in - src/main/js/cass/ec.base.js:887 + src/main/js/cass/ec.base.js:920

    @@ -1034,7 +1034,7 @@

    getExpectingObject

    Defined in - src/main/js/cass/ec.base.js:815 + src/main/js/cass/ec.base.js:834

    @@ -1134,7 +1134,7 @@

    getExpectingString

    Defined in - src/main/js/cass/ec.base.js:831 + src/main/js/cass/ec.base.js:850

    diff --git a/docs/classes/EcRemoteIdentityManager.html b/docs/classes/EcRemoteIdentityManager.html index 32487a31e..7c409ef0b 100644 --- a/docs/classes/EcRemoteIdentityManager.html +++ b/docs/classes/EcRemoteIdentityManager.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EcRemoteLinkedData.html b/docs/classes/EcRemoteLinkedData.html index b26fa3946..5ed56b04b 100644 --- a/docs/classes/EcRemoteLinkedData.html +++ b/docs/classes/EcRemoteLinkedData.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1166,7 +1166,7 @@

    assignId

    Defined in - src/main/js/cass/org.cassproject.schema.general.js:195 + src/main/js/cass/org.cassproject.schema.general.js:176

    @@ -1235,7 +1235,7 @@

    assignId

    Defined in - src/main/js/cass/org.cassproject.schema.general.js:212 + src/main/js/cass/org.cassproject.schema.general.js:195

    @@ -1304,7 +1304,7 @@

    assignId

    Defined in - src/main/js/cass/org.cassproject.schema.general.js:176 + src/main/js/cass/org.cassproject.schema.general.js:212

    @@ -2003,7 +2003,7 @@

    hasOwner

    -

    Determines if the object has a reader identified by pk. +

    Determines if the object has an owner identified by pk. Homogenizes the PEM strings for comparison. Homogenization is necessary for comparing PKCS#1 and PKCS#8 or PKs with Certificates, etc.

    @@ -2071,7 +2071,7 @@

    hasOwner

    -

    Determines if the object has an owner identified by pk. +

    Determines if the object has a reader identified by pk. Homogenizes the PEM strings for comparison. Homogenization is necessary for comparing PKCS#1 and PKCS#8 or PKs with Certificates, etc.

    diff --git a/docs/classes/EcRepository.html b/docs/classes/EcRepository.html index 3ba81fe5c..a37f5c62e 100644 --- a/docs/classes/EcRepository.html +++ b/docs/classes/EcRepository.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1008,7 +1008,7 @@

    _delete

    Defined in - src/main/js/cass/ebac.repository.js:1606 + src/main/js/cass/ebac.repository.js:1607

    @@ -1182,7 +1182,7 @@

    _saveWithoutSigning

    Defined in - src/main/js/cass/ebac.repository.js:1541 + src/main/js/cass/ebac.repository.js:1542

    @@ -1255,7 +1255,7 @@

    autoDetectRepository

    Defined in - src/main/js/cass/ebac.repository.js:2119 + src/main/js/cass/ebac.repository.js:2120

    @@ -1287,7 +1287,7 @@

    autoDetectRepository

    Defined in - src/main/js/cass/ebac.repository.js:2193 + src/main/js/cass/ebac.repository.js:2194

    @@ -1329,7 +1329,7 @@

    autoDetectRepositoryActual

    Defined in - src/main/js/cass/ebac.repository.js:2310 + src/main/js/cass/ebac.repository.js:2311

    @@ -1396,7 +1396,7 @@

    autoDetectRepositoryAsync

    Defined in - src/main/js/cass/ebac.repository.js:2264 + src/main/js/cass/ebac.repository.js:2265

    @@ -1465,7 +1465,7 @@

    backup

    Defined in - src/main/js/cass/ebac.repository.js:2373 + src/main/js/cass/ebac.repository.js:2374

    @@ -1548,7 +1548,7 @@

    DELETE

    Defined in - src/main/js/cass/ebac.repository.js:1624 + src/main/js/cass/ebac.repository.js:1625

    @@ -1635,7 +1635,7 @@

    DELETE

    Defined in - src/main/js/cass/ebac.repository.js:1680 + src/main/js/cass/ebac.repository.js:1681

    @@ -1785,7 +1785,7 @@

    fetchServerAdminKeys

    Defined in - src/main/js/cass/ebac.repository.js:2447 + src/main/js/cass/ebac.repository.js:2448

    @@ -2016,7 +2016,7 @@

    handleSearchResults

    Defined in - src/main/js/cass/ebac.repository.js:2409 + src/main/js/cass/ebac.repository.js:2410

    @@ -2108,7 +2108,7 @@

    listTypes

    Defined in - src/main/js/cass/ebac.repository.js:2353 + src/main/js/cass/ebac.repository.js:2354

    @@ -2183,7 +2183,7 @@

    multiget

    Defined in - src/main/js/cass/ebac.repository.js:1813 + src/main/js/cass/ebac.repository.js:1814

    @@ -2364,7 +2364,7 @@

    precache

    Defined in - src/main/js/cass/ebac.repository.js:1729 + src/main/js/cass/ebac.repository.js:1730

    @@ -2435,7 +2435,7 @@

    precachePost

    Defined in - src/main/js/cass/ebac.repository.js:1774 + src/main/js/cass/ebac.repository.js:1775

    @@ -2509,7 +2509,7 @@

    restoreBackup

    Defined in - src/main/js/cass/ebac.repository.js:2385 + src/main/js/cass/ebac.repository.js:2386

    @@ -2592,7 +2592,7 @@

    save

    -

    Attempts to save a piece of data. If the @id of the data is not of this server, will register the data to the server.

    +

    Attempts to save a piece of data.

    Uses a signature sheet informed by the owner field of the data.

    @@ -2678,7 +2678,7 @@

    save

    -

    Attempts to save a piece of data.

    +

    Attempts to save a piece of data. If the @id of the data is not of this server, will register the data to the server.

    Uses a signature sheet informed by the owner field of the data.

    @@ -2735,73 +2735,6 @@

    Parameters:

    -
    -
    diff --git a/docs/classes/EcRsaOaepAsyncWorker.html b/docs/classes/EcRsaOaepAsyncWorker.html index e4359ab52..e371bb7ec 100644 --- a/docs/classes/EcRsaOaepAsyncWorker.html +++ b/docs/classes/EcRsaOaepAsyncWorker.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EducationEvent.html b/docs/classes/EducationEvent.html index 6c61a9435..a763e0d8d 100644 --- a/docs/classes/EducationEvent.html +++ b/docs/classes/EducationEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EducationalAudience.html b/docs/classes/EducationalAudience.html index 1ea32d5ad..d8b71c2d3 100644 --- a/docs/classes/EducationalAudience.html +++ b/docs/classes/EducationalAudience.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EducationalOrganization.html b/docs/classes/EducationalOrganization.html index 9f32baaec..26d34137b 100644 --- a/docs/classes/EducationalOrganization.html +++ b/docs/classes/EducationalOrganization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Electrician.html b/docs/classes/Electrician.html index f75767061..bbc2da15f 100644 --- a/docs/classes/Electrician.html +++ b/docs/classes/Electrician.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ElectronicsStore.html b/docs/classes/ElectronicsStore.html index a4b9e37de..969bd7bee 100644 --- a/docs/classes/ElectronicsStore.html +++ b/docs/classes/ElectronicsStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ElementarySchool.html b/docs/classes/ElementarySchool.html index c60970507..b16c89936 100644 --- a/docs/classes/ElementarySchool.html +++ b/docs/classes/ElementarySchool.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EmailMessage.html b/docs/classes/EmailMessage.html index 93d28d889..10f755f58 100644 --- a/docs/classes/EmailMessage.html +++ b/docs/classes/EmailMessage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Embassy.html b/docs/classes/Embassy.html index 7ae6d7b5b..93ddf4654 100644 --- a/docs/classes/Embassy.html +++ b/docs/classes/Embassy.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EmergencyService.html b/docs/classes/EmergencyService.html index e8a8626a3..c03f8076d 100644 --- a/docs/classes/EmergencyService.html +++ b/docs/classes/EmergencyService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EmployeeRole.html b/docs/classes/EmployeeRole.html index 76a63d564..ad6d03b0a 100644 --- a/docs/classes/EmployeeRole.html +++ b/docs/classes/EmployeeRole.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EmploymentAgency.html b/docs/classes/EmploymentAgency.html index 26bd0d539..b5a716144 100644 --- a/docs/classes/EmploymentAgency.html +++ b/docs/classes/EmploymentAgency.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EmploymentOutcomeProfile.html b/docs/classes/EmploymentOutcomeProfile.html index c73793870..f669f79ed 100644 --- a/docs/classes/EmploymentOutcomeProfile.html +++ b/docs/classes/EmploymentOutcomeProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EndorseAction.html b/docs/classes/EndorseAction.html index 11f36906d..eee03a7f0 100644 --- a/docs/classes/EndorseAction.html +++ b/docs/classes/EndorseAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Energy.html b/docs/classes/Energy.html index ba895cf1d..8a4a5f283 100644 --- a/docs/classes/Energy.html +++ b/docs/classes/Energy.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EngineSpecification.html b/docs/classes/EngineSpecification.html index 43fa4f725..6aae36136 100644 --- a/docs/classes/EngineSpecification.html +++ b/docs/classes/EngineSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EntertainmentBusiness.html b/docs/classes/EntertainmentBusiness.html index 1019283e3..679a72f10 100644 --- a/docs/classes/EntertainmentBusiness.html +++ b/docs/classes/EntertainmentBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EntryPoint.html b/docs/classes/EntryPoint.html index e5c7a4bd0..865a9cda6 100644 --- a/docs/classes/EntryPoint.html +++ b/docs/classes/EntryPoint.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Enumeration.html b/docs/classes/Enumeration.html index dd43d8107..9a81e10df 100644 --- a/docs/classes/Enumeration.html +++ b/docs/classes/Enumeration.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Episode.html b/docs/classes/Episode.html index 02b4d78cd..238fe6d07 100644 --- a/docs/classes/Episode.html +++ b/docs/classes/Episode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EventReservation.html b/docs/classes/EventReservation.html index 0566bde51..c501f122b 100644 --- a/docs/classes/EventReservation.html +++ b/docs/classes/EventReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EventStatusType.html b/docs/classes/EventStatusType.html index 63a2a8eb5..eec90ab99 100644 --- a/docs/classes/EventStatusType.html +++ b/docs/classes/EventStatusType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/EventVenue.html b/docs/classes/EventVenue.html index 6f02c6144..4cfd2cfaa 100644 --- a/docs/classes/EventVenue.html +++ b/docs/classes/EventVenue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ExerciseAction.html b/docs/classes/ExerciseAction.html index c27f4fe5a..0cac70fba 100644 --- a/docs/classes/ExerciseAction.html +++ b/docs/classes/ExerciseAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ExerciseGym.html b/docs/classes/ExerciseGym.html index 4a067f880..fe7887ea0 100644 --- a/docs/classes/ExerciseGym.html +++ b/docs/classes/ExerciseGym.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ExhibitionEvent.html b/docs/classes/ExhibitionEvent.html index b0a7d0fac..c276cc2e8 100644 --- a/docs/classes/ExhibitionEvent.html +++ b/docs/classes/ExhibitionEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Exporter.html b/docs/classes/Exporter.html index d75e64c83..259e2beaa 100644 --- a/docs/classes/Exporter.html +++ b/docs/classes/Exporter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FastFoodRestaurant.html b/docs/classes/FastFoodRestaurant.html index e05d2bcdf..3f4b69a9a 100644 --- a/docs/classes/FastFoodRestaurant.html +++ b/docs/classes/FastFoodRestaurant.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Festival.html b/docs/classes/Festival.html index c99b52b14..c0d24cb1e 100644 --- a/docs/classes/Festival.html +++ b/docs/classes/Festival.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FilmAction.html b/docs/classes/FilmAction.html index a5ee04855..dbc21adcf 100644 --- a/docs/classes/FilmAction.html +++ b/docs/classes/FilmAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FinancialAlignmentObject.html b/docs/classes/FinancialAlignmentObject.html index 975d7ec9f..254c76228 100644 --- a/docs/classes/FinancialAlignmentObject.html +++ b/docs/classes/FinancialAlignmentObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FinancialAssistanceProfile.html b/docs/classes/FinancialAssistanceProfile.html index f95b04cb7..f7159eb85 100644 --- a/docs/classes/FinancialAssistanceProfile.html +++ b/docs/classes/FinancialAssistanceProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FinancialProduct.html b/docs/classes/FinancialProduct.html index a4f0f6991..677afe5f9 100644 --- a/docs/classes/FinancialProduct.html +++ b/docs/classes/FinancialProduct.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FinancialService.html b/docs/classes/FinancialService.html index b828eab51..5b5bae294 100644 --- a/docs/classes/FinancialService.html +++ b/docs/classes/FinancialService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FindAction.html b/docs/classes/FindAction.html index ec4d60624..80ead12d4 100644 --- a/docs/classes/FindAction.html +++ b/docs/classes/FindAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FireStation.html b/docs/classes/FireStation.html index 850a3e6f1..1d286640e 100644 --- a/docs/classes/FireStation.html +++ b/docs/classes/FireStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Flight.html b/docs/classes/Flight.html index 3488a76db..d5e31eb9e 100644 --- a/docs/classes/Flight.html +++ b/docs/classes/Flight.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FlightReservation.html b/docs/classes/FlightReservation.html index b01590757..93410016e 100644 --- a/docs/classes/FlightReservation.html +++ b/docs/classes/FlightReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Florist.html b/docs/classes/Florist.html index ef77d9ccc..e41070252 100644 --- a/docs/classes/Florist.html +++ b/docs/classes/Florist.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FollowAction.html b/docs/classes/FollowAction.html index bdf1cd4e2..597b1f266 100644 --- a/docs/classes/FollowAction.html +++ b/docs/classes/FollowAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FoodEstablishment.html b/docs/classes/FoodEstablishment.html index 43a2e0d17..f47c964f0 100644 --- a/docs/classes/FoodEstablishment.html +++ b/docs/classes/FoodEstablishment.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FoodEstablishmentReservation.html b/docs/classes/FoodEstablishmentReservation.html index 06cbaec75..4b9a46bea 100644 --- a/docs/classes/FoodEstablishmentReservation.html +++ b/docs/classes/FoodEstablishmentReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FoodEvent.html b/docs/classes/FoodEvent.html index fbe6e7e79..509f63a91 100644 --- a/docs/classes/FoodEvent.html +++ b/docs/classes/FoodEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FoodService.html b/docs/classes/FoodService.html index d085194e1..468d653f5 100644 --- a/docs/classes/FoodService.html +++ b/docs/classes/FoodService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Framework.html b/docs/classes/Framework.html index dbb3cbd16..79183a384 100644 --- a/docs/classes/Framework.html +++ b/docs/classes/Framework.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FrameworkImport.html b/docs/classes/FrameworkImport.html index 618b4ce7a..4c1e47ad8 100644 --- a/docs/classes/FrameworkImport.html +++ b/docs/classes/FrameworkImport.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/FurnitureStore.html b/docs/classes/FurnitureStore.html index 6b19de97a..bb73bc15f 100644 --- a/docs/classes/FurnitureStore.html +++ b/docs/classes/FurnitureStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Game.html b/docs/classes/Game.html index 7e6e702e3..f12d3b665 100644 --- a/docs/classes/Game.html +++ b/docs/classes/Game.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GamePlayMode.html b/docs/classes/GamePlayMode.html index b8f4a396f..268d7ba9f 100644 --- a/docs/classes/GamePlayMode.html +++ b/docs/classes/GamePlayMode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GameServer.html b/docs/classes/GameServer.html index 3ad3b6da1..ccd66de1c 100644 --- a/docs/classes/GameServer.html +++ b/docs/classes/GameServer.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GameServerStatus.html b/docs/classes/GameServerStatus.html index 0d0bc9f7f..f6d5e8752 100644 --- a/docs/classes/GameServerStatus.html +++ b/docs/classes/GameServerStatus.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GardenStore.html b/docs/classes/GardenStore.html index b847585d2..ed564bc25 100644 --- a/docs/classes/GardenStore.html +++ b/docs/classes/GardenStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GasStation.html b/docs/classes/GasStation.html index b977b3e50..4bce98028 100644 --- a/docs/classes/GasStation.html +++ b/docs/classes/GasStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GatedResidenceCommunity.html b/docs/classes/GatedResidenceCommunity.html index cc2149b57..5428eeaa3 100644 --- a/docs/classes/GatedResidenceCommunity.html +++ b/docs/classes/GatedResidenceCommunity.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GenderType.html b/docs/classes/GenderType.html index 9a6845504..160a62d51 100644 --- a/docs/classes/GenderType.html +++ b/docs/classes/GenderType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/General.html b/docs/classes/General.html index af15ddc3d..7fafbdaed 100644 --- a/docs/classes/General.html +++ b/docs/classes/General.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GeneralContractor.html b/docs/classes/GeneralContractor.html index d2fc3279e..22db778be 100644 --- a/docs/classes/GeneralContractor.html +++ b/docs/classes/GeneralContractor.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GeneralEducationDevelopment.html b/docs/classes/GeneralEducationDevelopment.html index 424317596..c5a210f84 100644 --- a/docs/classes/GeneralEducationDevelopment.html +++ b/docs/classes/GeneralEducationDevelopment.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GeneralFile.html b/docs/classes/GeneralFile.html index a9901141f..d7c7e4336 100644 --- a/docs/classes/GeneralFile.html +++ b/docs/classes/GeneralFile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GeoCircle.html b/docs/classes/GeoCircle.html index 88cf24ed4..5fc07500f 100644 --- a/docs/classes/GeoCircle.html +++ b/docs/classes/GeoCircle.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GeoCoordinates.html b/docs/classes/GeoCoordinates.html index 0646d8961..39c73fd6e 100644 --- a/docs/classes/GeoCoordinates.html +++ b/docs/classes/GeoCoordinates.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1412,24 +1412,26 @@

    image

    latitude

    - Text + Float
    -

    Schema.org/latitude -The latitude of a location. For example 37.42242 (WGS 84).

    +

    http://purl.org/ctdl/terms/latitude +Latitude of a location. +For example 37.42242 (WGS 84)

    @@ -1438,26 +1440,24 @@

    latitude

    latitude

    - Float + Text
    -

    http://purl.org/ctdl/terms/latitude -Latitude of a location. -For example 37.42242 (WGS 84)

    +

    Schema.org/latitude +The latitude of a location. For example 37.42242 (WGS 84).

    diff --git a/docs/classes/GeoShape.html b/docs/classes/GeoShape.html index c9ad0d161..7a0ef6a17 100644 --- a/docs/classes/GeoShape.html +++ b/docs/classes/GeoShape.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GiveAction.html b/docs/classes/GiveAction.html index e4d2595f1..420dcc480 100644 --- a/docs/classes/GiveAction.html +++ b/docs/classes/GiveAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GolfCourse.html b/docs/classes/GolfCourse.html index d4b8603f1..8519be674 100644 --- a/docs/classes/GolfCourse.html +++ b/docs/classes/GolfCourse.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GovernmentBuilding.html b/docs/classes/GovernmentBuilding.html index adb4c70f8..4718bd7ea 100644 --- a/docs/classes/GovernmentBuilding.html +++ b/docs/classes/GovernmentBuilding.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GovernmentOffice.html b/docs/classes/GovernmentOffice.html index b28eba29d..41ab1e5b4 100644 --- a/docs/classes/GovernmentOffice.html +++ b/docs/classes/GovernmentOffice.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GovernmentOrganization.html b/docs/classes/GovernmentOrganization.html index 599f49479..e92a02bee 100644 --- a/docs/classes/GovernmentOrganization.html +++ b/docs/classes/GovernmentOrganization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GovernmentPermit.html b/docs/classes/GovernmentPermit.html index d49a2d9c1..74b5a12b2 100644 --- a/docs/classes/GovernmentPermit.html +++ b/docs/classes/GovernmentPermit.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/GovernmentService.html b/docs/classes/GovernmentService.html index dca6ae592..fac011809 100644 --- a/docs/classes/GovernmentService.html +++ b/docs/classes/GovernmentService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Graph.html b/docs/classes/Graph.html index 8934fb93a..849e47159 100644 --- a/docs/classes/Graph.html +++ b/docs/classes/Graph.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -820,7 +820,7 @@

    Graph Class

    - Defined in: src/main/js/cass/ec.base.js:980 + Defined in: src/main/js/cass/ec.base.js:1030
    Module: com.eduworks.ec @@ -1073,7 +1073,7 @@

    addEdge

    Defined in - src/main/js/cass/ec.base.js:1171 + src/main/js/cass/ec.base.js:1221

    @@ -1792,7 +1792,7 @@

    getDest

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1138 + src/main/js/cass/ec.base.js:1188

    @@ -2358,7 +2358,7 @@

    getInEdges

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1023 + src/main/js/cass/ec.base.js:1073

    @@ -2567,7 +2567,7 @@

    getOpposite

    Defined in - src/main/js/cass/ec.base.js:1192 + src/main/js/cass/ec.base.js:1242

    @@ -2647,7 +2647,7 @@

    getOutEdges

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1033 + src/main/js/cass/ec.base.js:1083

    @@ -2714,7 +2714,7 @@

    getPredecessorCount

    Defined in - src/main/js/cass/ec.base.js:1107 + src/main/js/cass/ec.base.js:1157

    @@ -2783,7 +2783,7 @@

    getPredecessors

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1043 + src/main/js/cass/ec.base.js:1093

    @@ -2856,7 +2856,7 @@

    getSource

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1125 + src/main/js/cass/ec.base.js:1175

    @@ -2925,7 +2925,7 @@

    getSuccessorCount

    Defined in - src/main/js/cass/ec.base.js:1116 + src/main/js/cass/ec.base.js:1166

    @@ -2994,7 +2994,7 @@

    getSuccessors

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1056 + src/main/js/cass/ec.base.js:1106

    @@ -3153,7 +3153,7 @@

    inDegree

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1069 + src/main/js/cass/ec.base.js:1119

    @@ -3384,7 +3384,7 @@

    isPredecessor

    Defined in - src/main/js/cass/ec.base.js:1087 + src/main/js/cass/ec.base.js:1137

    @@ -3464,7 +3464,7 @@

    isSource

    Defined in - src/main/js/cass/ec.base.js:1152 + src/main/js/cass/ec.base.js:1202

    @@ -3544,7 +3544,7 @@

    isSuccessor

    Defined in - src/main/js/cass/ec.base.js:1097 + src/main/js/cass/ec.base.js:1147

    @@ -3624,7 +3624,7 @@

    outDegree

    Hypergraph but overwritten in - src/main/js/cass/ec.base.js:1078 + src/main/js/cass/ec.base.js:1128

    diff --git a/docs/classes/GroceryStore.html b/docs/classes/GroceryStore.html index 88ed0f944..3cd753c76 100644 --- a/docs/classes/GroceryStore.html +++ b/docs/classes/GroceryStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HVACBusiness.html b/docs/classes/HVACBusiness.html index 49e25ba92..39ca816f9 100644 --- a/docs/classes/HVACBusiness.html +++ b/docs/classes/HVACBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HairSalon.html b/docs/classes/HairSalon.html index 46c27639c..417b0c591 100644 --- a/docs/classes/HairSalon.html +++ b/docs/classes/HairSalon.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HardwareStore.html b/docs/classes/HardwareStore.html index 8f518c018..5c009dfd3 100644 --- a/docs/classes/HardwareStore.html +++ b/docs/classes/HardwareStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HealthAndBeautyBusiness.html b/docs/classes/HealthAndBeautyBusiness.html index 2e5ea55bb..df357a5bb 100644 --- a/docs/classes/HealthAndBeautyBusiness.html +++ b/docs/classes/HealthAndBeautyBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HealthClub.html b/docs/classes/HealthClub.html index 9c37d5893..2402bfa64 100644 --- a/docs/classes/HealthClub.html +++ b/docs/classes/HealthClub.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HighSchool.html b/docs/classes/HighSchool.html index c112bb736..5a6697a5b 100644 --- a/docs/classes/HighSchool.html +++ b/docs/classes/HighSchool.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HinduTemple.html b/docs/classes/HinduTemple.html index 3cec61e0e..c7b8d3540 100644 --- a/docs/classes/HinduTemple.html +++ b/docs/classes/HinduTemple.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HobbyShop.html b/docs/classes/HobbyShop.html index 56bce77f8..1dd1332bd 100644 --- a/docs/classes/HobbyShop.html +++ b/docs/classes/HobbyShop.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HoldersProfile.html b/docs/classes/HoldersProfile.html index b3657a657..f37952901 100644 --- a/docs/classes/HoldersProfile.html +++ b/docs/classes/HoldersProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HomeAndConstructionBusiness.html b/docs/classes/HomeAndConstructionBusiness.html index f72f1838e..87371fbc6 100644 --- a/docs/classes/HomeAndConstructionBusiness.html +++ b/docs/classes/HomeAndConstructionBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HomeGoodsStore.html b/docs/classes/HomeGoodsStore.html index ff274a51f..38d7a9e51 100644 --- a/docs/classes/HomeGoodsStore.html +++ b/docs/classes/HomeGoodsStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Hospital.html b/docs/classes/Hospital.html index 1aba1cfa2..d267bfba0 100644 --- a/docs/classes/Hospital.html +++ b/docs/classes/Hospital.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Hostel.html b/docs/classes/Hostel.html index 7223bcd7a..678baacc6 100644 --- a/docs/classes/Hostel.html +++ b/docs/classes/Hostel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Hotel.html b/docs/classes/Hotel.html index 0f92247d4..30ce3a5ff 100644 --- a/docs/classes/Hotel.html +++ b/docs/classes/Hotel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HotelRoom.html b/docs/classes/HotelRoom.html index 17f8a6607..d606d47c0 100644 --- a/docs/classes/HotelRoom.html +++ b/docs/classes/HotelRoom.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/House.html b/docs/classes/House.html index f1f6fc466..b4821551a 100644 --- a/docs/classes/House.html +++ b/docs/classes/House.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/HousePainter.html b/docs/classes/HousePainter.html index 68b286c2c..f3decd978 100644 --- a/docs/classes/HousePainter.html +++ b/docs/classes/HousePainter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Hypergraph.html b/docs/classes/Hypergraph.html index 7ba019f21..38f76763b 100644 --- a/docs/classes/Hypergraph.html +++ b/docs/classes/Hypergraph.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IceCreamShop.html b/docs/classes/IceCreamShop.html index cfe1666af..45b8bb371 100644 --- a/docs/classes/IceCreamShop.html +++ b/docs/classes/IceCreamShop.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IdentifierValue.html b/docs/classes/IdentifierValue.html index b0b2ab4cc..cb17ca77e 100644 --- a/docs/classes/IdentifierValue.html +++ b/docs/classes/IdentifierValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IdentifierValueSet.html b/docs/classes/IdentifierValueSet.html index ee16d6aec..65560412e 100644 --- a/docs/classes/IdentifierValueSet.html +++ b/docs/classes/IdentifierValueSet.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IgnoreAction.html b/docs/classes/IgnoreAction.html index 2d4e528bd..8973fb3fd 100644 --- a/docs/classes/IgnoreAction.html +++ b/docs/classes/IgnoreAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ImageGallery.html b/docs/classes/ImageGallery.html index bc5d95fdf..88fccc6ad 100644 --- a/docs/classes/ImageGallery.html +++ b/docs/classes/ImageGallery.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ImageObject.html b/docs/classes/ImageObject.html index e86f668f4..52a74ba7c 100644 --- a/docs/classes/ImageObject.html +++ b/docs/classes/ImageObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Importer.html b/docs/classes/Importer.html index d706e0878..040ffcc24 100644 --- a/docs/classes/Importer.html +++ b/docs/classes/Importer.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IndividualProduct.html b/docs/classes/IndividualProduct.html index 7733780c4..7dece439d 100644 --- a/docs/classes/IndividualProduct.html +++ b/docs/classes/IndividualProduct.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/IndustryClassification.html b/docs/classes/IndustryClassification.html index ad21d5e01..fa7970225 100644 --- a/docs/classes/IndustryClassification.html +++ b/docs/classes/IndustryClassification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InformAction.html b/docs/classes/InformAction.html index 8132b8372..3bcddb3ec 100644 --- a/docs/classes/InformAction.html +++ b/docs/classes/InformAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InquiryPacket.html b/docs/classes/InquiryPacket.html index 8457c051b..466382cac 100644 --- a/docs/classes/InquiryPacket.html +++ b/docs/classes/InquiryPacket.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InsertAction.html b/docs/classes/InsertAction.html index 324c7cc1d..9efc3acb2 100644 --- a/docs/classes/InsertAction.html +++ b/docs/classes/InsertAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InstallAction.html b/docs/classes/InstallAction.html index da1b755fc..4e95449f4 100644 --- a/docs/classes/InstallAction.html +++ b/docs/classes/InstallAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InstructionalProgramClassification.html b/docs/classes/InstructionalProgramClassification.html index 055f44c42..b219e13b9 100644 --- a/docs/classes/InstructionalProgramClassification.html +++ b/docs/classes/InstructionalProgramClassification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InsuranceAgency.html b/docs/classes/InsuranceAgency.html index d2de81f1f..c8e871473 100644 --- a/docs/classes/InsuranceAgency.html +++ b/docs/classes/InsuranceAgency.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Intangible.html b/docs/classes/Intangible.html index d0706f20a..2a24e1634 100644 --- a/docs/classes/Intangible.html +++ b/docs/classes/Intangible.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InteractAction.html b/docs/classes/InteractAction.html index 67246809f..ab6adc44a 100644 --- a/docs/classes/InteractAction.html +++ b/docs/classes/InteractAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InteractionCounter.html b/docs/classes/InteractionCounter.html index 49ad2f567..08173fc65 100644 --- a/docs/classes/InteractionCounter.html +++ b/docs/classes/InteractionCounter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InternetCafe.html b/docs/classes/InternetCafe.html index e2d8236c7..687adb935 100644 --- a/docs/classes/InternetCafe.html +++ b/docs/classes/InternetCafe.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InvestmentOrDeposit.html b/docs/classes/InvestmentOrDeposit.html index 1e25554c1..c28ba6b28 100644 --- a/docs/classes/InvestmentOrDeposit.html +++ b/docs/classes/InvestmentOrDeposit.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/InviteAction.html b/docs/classes/InviteAction.html index e6073275c..b1cb90528 100644 --- a/docs/classes/InviteAction.html +++ b/docs/classes/InviteAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Invoice.html b/docs/classes/Invoice.html index d7d4ae1b8..93f93a743 100644 --- a/docs/classes/Invoice.html +++ b/docs/classes/Invoice.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ItemAvailability.html b/docs/classes/ItemAvailability.html index 2e012c648..60a8e6165 100644 --- a/docs/classes/ItemAvailability.html +++ b/docs/classes/ItemAvailability.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ItemList.html b/docs/classes/ItemList.html index cf265edb2..7b1195d08 100644 --- a/docs/classes/ItemList.html +++ b/docs/classes/ItemList.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ItemListOrderType.html b/docs/classes/ItemListOrderType.html index a3e08eae0..48279fe52 100644 --- a/docs/classes/ItemListOrderType.html +++ b/docs/classes/ItemListOrderType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ItemPage.html b/docs/classes/ItemPage.html index f67f02654..17c27e512 100644 --- a/docs/classes/ItemPage.html +++ b/docs/classes/ItemPage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/JewelryStore.html b/docs/classes/JewelryStore.html index 2b290fc0d..cc62b63f5 100644 --- a/docs/classes/JewelryStore.html +++ b/docs/classes/JewelryStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/JobPosting.html b/docs/classes/JobPosting.html index c72a62fa3..6cc895306 100644 --- a/docs/classes/JobPosting.html +++ b/docs/classes/JobPosting.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/JoinAction.html b/docs/classes/JoinAction.html index cd797c801..600ba20c4 100644 --- a/docs/classes/JoinAction.html +++ b/docs/classes/JoinAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/JourneymanCertificate.html b/docs/classes/JourneymanCertificate.html index 026183b6b..c002b5dc6 100644 --- a/docs/classes/JourneymanCertificate.html +++ b/docs/classes/JourneymanCertificate.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/JurisdictionProfile.html b/docs/classes/JurisdictionProfile.html index f54b3714b..0db011d7a 100644 --- a/docs/classes/JurisdictionProfile.html +++ b/docs/classes/JurisdictionProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LakeBodyOfWater.html b/docs/classes/LakeBodyOfWater.html index d449bfdfa..7f09be364 100644 --- a/docs/classes/LakeBodyOfWater.html +++ b/docs/classes/LakeBodyOfWater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Landform.html b/docs/classes/Landform.html index dcd9c115b..3ad02f376 100644 --- a/docs/classes/Landform.html +++ b/docs/classes/Landform.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LandmarksOrHistoricalBuildings.html b/docs/classes/LandmarksOrHistoricalBuildings.html index 87d05af23..214b0ef26 100644 --- a/docs/classes/LandmarksOrHistoricalBuildings.html +++ b/docs/classes/LandmarksOrHistoricalBuildings.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Language.html b/docs/classes/Language.html index 58ecb31e9..6078883bf 100644 --- a/docs/classes/Language.html +++ b/docs/classes/Language.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LearningOpportunity.html b/docs/classes/LearningOpportunity.html index af9b619c4..7af06d6bd 100644 --- a/docs/classes/LearningOpportunity.html +++ b/docs/classes/LearningOpportunity.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LearningOpportunityProfile.html b/docs/classes/LearningOpportunityProfile.html index 620cf3400..8a2a8cfaf 100644 --- a/docs/classes/LearningOpportunityProfile.html +++ b/docs/classes/LearningOpportunityProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LearningResource.html b/docs/classes/LearningResource.html index 820238c89..ac0765d2a 100644 --- a/docs/classes/LearningResource.html +++ b/docs/classes/LearningResource.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LeaveAction.html b/docs/classes/LeaveAction.html index 8bc462fea..ec19c6ce2 100644 --- a/docs/classes/LeaveAction.html +++ b/docs/classes/LeaveAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LegalService.html b/docs/classes/LegalService.html index 53d708b1b..fa06e5d1c 100644 --- a/docs/classes/LegalService.html +++ b/docs/classes/LegalService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LegislativeBuilding.html b/docs/classes/LegislativeBuilding.html index 146a20d04..0b85617cc 100644 --- a/docs/classes/LegislativeBuilding.html +++ b/docs/classes/LegislativeBuilding.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LendAction.html b/docs/classes/LendAction.html index 6efc75f41..d2d9b3283 100644 --- a/docs/classes/LendAction.html +++ b/docs/classes/LendAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Level.html b/docs/classes/Level.html index f1394788e..e11630503 100644 --- a/docs/classes/Level.html +++ b/docs/classes/Level.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Library.html b/docs/classes/Library.html index 187bcbb06..94bf3ed18 100644 --- a/docs/classes/Library.html +++ b/docs/classes/Library.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/License.html b/docs/classes/License.html index 3c02f45df..07b09c328 100644 --- a/docs/classes/License.html +++ b/docs/classes/License.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LikeAction.html b/docs/classes/LikeAction.html index 1f12d29f4..b9b4ec89c 100644 --- a/docs/classes/LikeAction.html +++ b/docs/classes/LikeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LiquorStore.html b/docs/classes/LiquorStore.html index 7a87534b7..effdcf404 100644 --- a/docs/classes/LiquorStore.html +++ b/docs/classes/LiquorStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ListItem.html b/docs/classes/ListItem.html index 383f28d4c..d04728dbb 100644 --- a/docs/classes/ListItem.html +++ b/docs/classes/ListItem.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ListenAction.html b/docs/classes/ListenAction.html index feb264d50..5efc77ab7 100644 --- a/docs/classes/ListenAction.html +++ b/docs/classes/ListenAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LiteraryEvent.html b/docs/classes/LiteraryEvent.html index c5fd9743d..b699ea163 100644 --- a/docs/classes/LiteraryEvent.html +++ b/docs/classes/LiteraryEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LiveBlogPosting.html b/docs/classes/LiveBlogPosting.html index 7cbe16359..3b1e41a92 100644 --- a/docs/classes/LiveBlogPosting.html +++ b/docs/classes/LiveBlogPosting.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LoanOrCredit.html b/docs/classes/LoanOrCredit.html index 89906a678..79d5947c3 100644 --- a/docs/classes/LoanOrCredit.html +++ b/docs/classes/LoanOrCredit.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LocalBusiness.html b/docs/classes/LocalBusiness.html index 72706c852..aab314545 100644 --- a/docs/classes/LocalBusiness.html +++ b/docs/classes/LocalBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LocationFeatureSpecification.html b/docs/classes/LocationFeatureSpecification.html index 644e92c51..5bd9e23bd 100644 --- a/docs/classes/LocationFeatureSpecification.html +++ b/docs/classes/LocationFeatureSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LockerDelivery.html b/docs/classes/LockerDelivery.html index 4a99308e7..3bd81a822 100644 --- a/docs/classes/LockerDelivery.html +++ b/docs/classes/LockerDelivery.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Locksmith.html b/docs/classes/Locksmith.html index f8843decb..cf84be9d3 100644 --- a/docs/classes/Locksmith.html +++ b/docs/classes/Locksmith.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LodgingBusiness.html b/docs/classes/LodgingBusiness.html index 19e322cb4..a64ef4d40 100644 --- a/docs/classes/LodgingBusiness.html +++ b/docs/classes/LodgingBusiness.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LodgingReservation.html b/docs/classes/LodgingReservation.html index 15e338168..aeed5e323 100644 --- a/docs/classes/LodgingReservation.html +++ b/docs/classes/LodgingReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/LoseAction.html b/docs/classes/LoseAction.html index 6baf20c5c..95b57fdb2 100644 --- a/docs/classes/LoseAction.html +++ b/docs/classes/LoseAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Map.html b/docs/classes/Map.html index 1dccce11c..75ffe219b 100644 --- a/docs/classes/Map.html +++ b/docs/classes/Map.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MapCategoryType.html b/docs/classes/MapCategoryType.html index fd31a1afc..3aca3a280 100644 --- a/docs/classes/MapCategoryType.html +++ b/docs/classes/MapCategoryType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MarryAction.html b/docs/classes/MarryAction.html index f47b62d7d..fcfbcdd61 100644 --- a/docs/classes/MarryAction.html +++ b/docs/classes/MarryAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Mass.html b/docs/classes/Mass.html index be187efad..4e1d71b3e 100644 --- a/docs/classes/Mass.html +++ b/docs/classes/Mass.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MasterCertificate.html b/docs/classes/MasterCertificate.html index df5ca0e75..a7b8cbedf 100644 --- a/docs/classes/MasterCertificate.html +++ b/docs/classes/MasterCertificate.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MasterDegree.html b/docs/classes/MasterDegree.html index d28139055..7cf4ffe77 100644 --- a/docs/classes/MasterDegree.html +++ b/docs/classes/MasterDegree.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MedbiqImport.html b/docs/classes/MedbiqImport.html index de9e5bf70..da5250680 100644 --- a/docs/classes/MedbiqImport.html +++ b/docs/classes/MedbiqImport.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MediaObject.html b/docs/classes/MediaObject.html index a8634484b..0cee060c1 100644 --- a/docs/classes/MediaObject.html +++ b/docs/classes/MediaObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MedicalOrganization.html b/docs/classes/MedicalOrganization.html index 8c59c69a7..17720b880 100644 --- a/docs/classes/MedicalOrganization.html +++ b/docs/classes/MedicalOrganization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MeetingRoom.html b/docs/classes/MeetingRoom.html index defd49bcc..5d95cb78c 100644 --- a/docs/classes/MeetingRoom.html +++ b/docs/classes/MeetingRoom.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MensClothingStore.html b/docs/classes/MensClothingStore.html index ebf067635..a25a0c464 100644 --- a/docs/classes/MensClothingStore.html +++ b/docs/classes/MensClothingStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Menu.html b/docs/classes/Menu.html index 0d84d8d5e..cdd916c39 100644 --- a/docs/classes/Menu.html +++ b/docs/classes/Menu.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MenuItem.html b/docs/classes/MenuItem.html index 4198cd083..36b26d175 100644 --- a/docs/classes/MenuItem.html +++ b/docs/classes/MenuItem.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MenuSection.html b/docs/classes/MenuSection.html index 4be98a114..01e91603e 100644 --- a/docs/classes/MenuSection.html +++ b/docs/classes/MenuSection.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Message.html b/docs/classes/Message.html index bdf342600..73aedd449 100644 --- a/docs/classes/Message.html +++ b/docs/classes/Message.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MicroCredential.html b/docs/classes/MicroCredential.html index bd5c304bc..e64a9aca2 100644 --- a/docs/classes/MicroCredential.html +++ b/docs/classes/MicroCredential.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MiddleSchool.html b/docs/classes/MiddleSchool.html index 1dbe528c4..a9d4e1e78 100644 --- a/docs/classes/MiddleSchool.html +++ b/docs/classes/MiddleSchool.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MobileApplication.html b/docs/classes/MobileApplication.html index 1942b7c9d..42b122b18 100644 --- a/docs/classes/MobileApplication.html +++ b/docs/classes/MobileApplication.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MobilePhoneStore.html b/docs/classes/MobilePhoneStore.html index acc1b508e..8e1309b17 100644 --- a/docs/classes/MobilePhoneStore.html +++ b/docs/classes/MobilePhoneStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MonetaryAmount.html b/docs/classes/MonetaryAmount.html index 2704c65a4..1f736d3c8 100644 --- a/docs/classes/MonetaryAmount.html +++ b/docs/classes/MonetaryAmount.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MoodleConfig.html b/docs/classes/MoodleConfig.html index fab02ea21..037133440 100644 --- a/docs/classes/MoodleConfig.html +++ b/docs/classes/MoodleConfig.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Mosque.html b/docs/classes/Mosque.html index 7f1bbca9c..89ed7cd77 100644 --- a/docs/classes/Mosque.html +++ b/docs/classes/Mosque.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Motel.html b/docs/classes/Motel.html index 46e8676dc..4239e95e2 100644 --- a/docs/classes/Motel.html +++ b/docs/classes/Motel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MotorcycleDealer.html b/docs/classes/MotorcycleDealer.html index 3d9826176..bf3bae340 100644 --- a/docs/classes/MotorcycleDealer.html +++ b/docs/classes/MotorcycleDealer.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MotorcycleRepair.html b/docs/classes/MotorcycleRepair.html index ff5a157f2..25edbbdf7 100644 --- a/docs/classes/MotorcycleRepair.html +++ b/docs/classes/MotorcycleRepair.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Mountain.html b/docs/classes/Mountain.html index e189d91a9..0f84d702b 100644 --- a/docs/classes/Mountain.html +++ b/docs/classes/Mountain.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MoveAction.html b/docs/classes/MoveAction.html index 92c174eed..81a5403ea 100644 --- a/docs/classes/MoveAction.html +++ b/docs/classes/MoveAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Movie.html b/docs/classes/Movie.html index f9935ac3d..d5344b850 100644 --- a/docs/classes/Movie.html +++ b/docs/classes/Movie.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MovieClip.html b/docs/classes/MovieClip.html index 4581591d1..26deb1168 100644 --- a/docs/classes/MovieClip.html +++ b/docs/classes/MovieClip.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MovieRentalStore.html b/docs/classes/MovieRentalStore.html index a7485ffaa..d8b34aeb6 100644 --- a/docs/classes/MovieRentalStore.html +++ b/docs/classes/MovieRentalStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MovieSeries.html b/docs/classes/MovieSeries.html index a8e72f888..9a0ac9b70 100644 --- a/docs/classes/MovieSeries.html +++ b/docs/classes/MovieSeries.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MovieTheater.html b/docs/classes/MovieTheater.html index 37817436b..92ac149f4 100644 --- a/docs/classes/MovieTheater.html +++ b/docs/classes/MovieTheater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MovingCompany.html b/docs/classes/MovingCompany.html index 1552bfad8..cb7be3633 100644 --- a/docs/classes/MovingCompany.html +++ b/docs/classes/MovingCompany.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Museum.html b/docs/classes/Museum.html index 8f4a33858..58e02246b 100644 --- a/docs/classes/Museum.html +++ b/docs/classes/Museum.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicAlbum.html b/docs/classes/MusicAlbum.html index b61dc9482..d835874a8 100644 --- a/docs/classes/MusicAlbum.html +++ b/docs/classes/MusicAlbum.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicAlbumProductionType.html b/docs/classes/MusicAlbumProductionType.html index ae0a612f5..ef41b4b0a 100644 --- a/docs/classes/MusicAlbumProductionType.html +++ b/docs/classes/MusicAlbumProductionType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicAlbumReleaseType.html b/docs/classes/MusicAlbumReleaseType.html index 23b3a62c5..9c0448701 100644 --- a/docs/classes/MusicAlbumReleaseType.html +++ b/docs/classes/MusicAlbumReleaseType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicComposition.html b/docs/classes/MusicComposition.html index f8226dca3..70097e36c 100644 --- a/docs/classes/MusicComposition.html +++ b/docs/classes/MusicComposition.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicEvent.html b/docs/classes/MusicEvent.html index 1527ccd94..a1f95c59a 100644 --- a/docs/classes/MusicEvent.html +++ b/docs/classes/MusicEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicGroup.html b/docs/classes/MusicGroup.html index 39b4dead2..f6828518c 100644 --- a/docs/classes/MusicGroup.html +++ b/docs/classes/MusicGroup.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicPlaylist.html b/docs/classes/MusicPlaylist.html index 9d902a993..7b1e4f901 100644 --- a/docs/classes/MusicPlaylist.html +++ b/docs/classes/MusicPlaylist.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicRecording.html b/docs/classes/MusicRecording.html index ef72e34fd..7096f9dd9 100644 --- a/docs/classes/MusicRecording.html +++ b/docs/classes/MusicRecording.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicRelease.html b/docs/classes/MusicRelease.html index c5c123d0c..9323884f4 100644 --- a/docs/classes/MusicRelease.html +++ b/docs/classes/MusicRelease.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicReleaseFormatType.html b/docs/classes/MusicReleaseFormatType.html index b4681c593..0bac53397 100644 --- a/docs/classes/MusicReleaseFormatType.html +++ b/docs/classes/MusicReleaseFormatType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicStore.html b/docs/classes/MusicStore.html index b0726f446..ef3199023 100644 --- a/docs/classes/MusicStore.html +++ b/docs/classes/MusicStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicVenue.html b/docs/classes/MusicVenue.html index f1e88f223..eb777c7b8 100644 --- a/docs/classes/MusicVenue.html +++ b/docs/classes/MusicVenue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/MusicVideoObject.html b/docs/classes/MusicVideoObject.html index c1f2dd432..c61c618f1 100644 --- a/docs/classes/MusicVideoObject.html +++ b/docs/classes/MusicVideoObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NGO.html b/docs/classes/NGO.html index 6a3cfd58d..19ee7e99a 100644 --- a/docs/classes/NGO.html +++ b/docs/classes/NGO.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NailSalon.html b/docs/classes/NailSalon.html index 723ccc2a3..ab54271e4 100644 --- a/docs/classes/NailSalon.html +++ b/docs/classes/NailSalon.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NewsArticle.html b/docs/classes/NewsArticle.html index eabc6f2d3..5094702e4 100644 --- a/docs/classes/NewsArticle.html +++ b/docs/classes/NewsArticle.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NightClub.html b/docs/classes/NightClub.html index 357ee1c8c..eb83807d6 100644 --- a/docs/classes/NightClub.html +++ b/docs/classes/NightClub.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Notary.html b/docs/classes/Notary.html index c52251bcc..3b6af444b 100644 --- a/docs/classes/Notary.html +++ b/docs/classes/Notary.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NoteDigitalDocument.html b/docs/classes/NoteDigitalDocument.html index 360ad94bd..2784cb9d0 100644 --- a/docs/classes/NoteDigitalDocument.html +++ b/docs/classes/NoteDigitalDocument.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/NutritionInformation.html b/docs/classes/NutritionInformation.html index 3dc2c89ea..848bc206c 100644 --- a/docs/classes/NutritionInformation.html +++ b/docs/classes/NutritionInformation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OccupationClassification.html b/docs/classes/OccupationClassification.html index 9a54a70d7..371c24fe3 100644 --- a/docs/classes/OccupationClassification.html +++ b/docs/classes/OccupationClassification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OceanBodyOfWater.html b/docs/classes/OceanBodyOfWater.html index 0c57dfeb1..159706475 100644 --- a/docs/classes/OceanBodyOfWater.html +++ b/docs/classes/OceanBodyOfWater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Offer.html b/docs/classes/Offer.html index 0b2e018b9..e5d6cdea3 100644 --- a/docs/classes/Offer.html +++ b/docs/classes/Offer.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OfferAction.html b/docs/classes/OfferAction.html index 9e569e99c..e74dc12c0 100644 --- a/docs/classes/OfferAction.html +++ b/docs/classes/OfferAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OfferCatalog.html b/docs/classes/OfferCatalog.html index 7851dc96a..a5728b30c 100644 --- a/docs/classes/OfferCatalog.html +++ b/docs/classes/OfferCatalog.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OfferItemCondition.html b/docs/classes/OfferItemCondition.html index 4e69bcbe6..d476b6b9e 100644 --- a/docs/classes/OfferItemCondition.html +++ b/docs/classes/OfferItemCondition.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OfficeEquipmentStore.html b/docs/classes/OfficeEquipmentStore.html index 45388b1e7..ae49ac24f 100644 --- a/docs/classes/OfficeEquipmentStore.html +++ b/docs/classes/OfficeEquipmentStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OnDemandEvent.html b/docs/classes/OnDemandEvent.html index aa6157edd..b4678eead 100644 --- a/docs/classes/OnDemandEvent.html +++ b/docs/classes/OnDemandEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OpenBadge.html b/docs/classes/OpenBadge.html index d39765abb..ea007db1f 100644 --- a/docs/classes/OpenBadge.html +++ b/docs/classes/OpenBadge.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OpeningHoursSpecification.html b/docs/classes/OpeningHoursSpecification.html index 961e9b72a..c89e1a153 100644 --- a/docs/classes/OpeningHoursSpecification.html +++ b/docs/classes/OpeningHoursSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Order.html b/docs/classes/Order.html index 2c6261b07..e3ce26fb7 100644 --- a/docs/classes/Order.html +++ b/docs/classes/Order.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrderAction.html b/docs/classes/OrderAction.html index 1d05b9352..818760ec7 100644 --- a/docs/classes/OrderAction.html +++ b/docs/classes/OrderAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrderItem.html b/docs/classes/OrderItem.html index 015afbe9f..991af0019 100644 --- a/docs/classes/OrderItem.html +++ b/docs/classes/OrderItem.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrderStatus.html b/docs/classes/OrderStatus.html index f6cc73fb3..4956f9492 100644 --- a/docs/classes/OrderStatus.html +++ b/docs/classes/OrderStatus.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrderedCollection.html b/docs/classes/OrderedCollection.html index c11dfe7ee..99f97ccb6 100644 --- a/docs/classes/OrderedCollection.html +++ b/docs/classes/OrderedCollection.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Organization.html b/docs/classes/Organization.html index 3d2456e55..f051eeec7 100644 --- a/docs/classes/Organization.html +++ b/docs/classes/Organization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrganizationRole.html b/docs/classes/OrganizationRole.html index b9b9458b2..2b14edaf9 100644 --- a/docs/classes/OrganizationRole.html +++ b/docs/classes/OrganizationRole.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OrganizeAction.html b/docs/classes/OrganizeAction.html index 023abb49e..5678dcb26 100644 --- a/docs/classes/OrganizeAction.html +++ b/docs/classes/OrganizeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OutletStore.html b/docs/classes/OutletStore.html index 8e82e71c8..d4e263c61 100644 --- a/docs/classes/OutletStore.html +++ b/docs/classes/OutletStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/OwnershipInfo.html b/docs/classes/OwnershipInfo.html index 386dd96af..158a465d9 100644 --- a/docs/classes/OwnershipInfo.html +++ b/docs/classes/OwnershipInfo.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaintAction.html b/docs/classes/PaintAction.html index 604ec4480..7b484839b 100644 --- a/docs/classes/PaintAction.html +++ b/docs/classes/PaintAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Painting.html b/docs/classes/Painting.html index e143d043c..579c0cccd 100644 --- a/docs/classes/Painting.html +++ b/docs/classes/Painting.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ParcelDelivery.html b/docs/classes/ParcelDelivery.html index 50c3b78e3..5600c0348 100644 --- a/docs/classes/ParcelDelivery.html +++ b/docs/classes/ParcelDelivery.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ParcelService.html b/docs/classes/ParcelService.html index 1fb8bcacd..7394ec1ee 100644 --- a/docs/classes/ParcelService.html +++ b/docs/classes/ParcelService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ParentAudience.html b/docs/classes/ParentAudience.html index 1a326df42..65d8b2591 100644 --- a/docs/classes/ParentAudience.html +++ b/docs/classes/ParentAudience.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Park.html b/docs/classes/Park.html index 1a9009590..312080acc 100644 --- a/docs/classes/Park.html +++ b/docs/classes/Park.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ParkingFacility.html b/docs/classes/ParkingFacility.html index f9c22ddf2..e189bb78b 100644 --- a/docs/classes/ParkingFacility.html +++ b/docs/classes/ParkingFacility.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PawnShop.html b/docs/classes/PawnShop.html index deda83522..0d931f480 100644 --- a/docs/classes/PawnShop.html +++ b/docs/classes/PawnShop.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PayAction.html b/docs/classes/PayAction.html index a4213e7c6..db97d8f18 100644 --- a/docs/classes/PayAction.html +++ b/docs/classes/PayAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaymentCard.html b/docs/classes/PaymentCard.html index 200e91762..c7e6e2b01 100644 --- a/docs/classes/PaymentCard.html +++ b/docs/classes/PaymentCard.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaymentChargeSpecification.html b/docs/classes/PaymentChargeSpecification.html index be76c30dd..325abc40a 100644 --- a/docs/classes/PaymentChargeSpecification.html +++ b/docs/classes/PaymentChargeSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaymentMethod.html b/docs/classes/PaymentMethod.html index f56d7bcf9..869b5f96c 100644 --- a/docs/classes/PaymentMethod.html +++ b/docs/classes/PaymentMethod.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaymentService.html b/docs/classes/PaymentService.html index 5d1ef6209..4e9dc4533 100644 --- a/docs/classes/PaymentService.html +++ b/docs/classes/PaymentService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PaymentStatusType.html b/docs/classes/PaymentStatusType.html index 2132d6e83..fb9890c8f 100644 --- a/docs/classes/PaymentStatusType.html +++ b/docs/classes/PaymentStatusType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PeopleAudience.html b/docs/classes/PeopleAudience.html index 3ac31a9bc..fb809325f 100644 --- a/docs/classes/PeopleAudience.html +++ b/docs/classes/PeopleAudience.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PerformAction.html b/docs/classes/PerformAction.html index 283d1f415..e21ef6e8c 100644 --- a/docs/classes/PerformAction.html +++ b/docs/classes/PerformAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PerformanceRole.html b/docs/classes/PerformanceRole.html index 8b0a13b50..4de1d157a 100644 --- a/docs/classes/PerformanceRole.html +++ b/docs/classes/PerformanceRole.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PerformingArtsTheater.html b/docs/classes/PerformingArtsTheater.html index 2802f5082..cbad2ed77 100644 --- a/docs/classes/PerformingArtsTheater.html +++ b/docs/classes/PerformingArtsTheater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PerformingGroup.html b/docs/classes/PerformingGroup.html index 7b9079af5..403651a73 100644 --- a/docs/classes/PerformingGroup.html +++ b/docs/classes/PerformingGroup.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Periodical.html b/docs/classes/Periodical.html index d1a9efa71..3c4101bff 100644 --- a/docs/classes/Periodical.html +++ b/docs/classes/Periodical.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Permit.html b/docs/classes/Permit.html index f0af615ff..a18bb5ed0 100644 --- a/docs/classes/Permit.html +++ b/docs/classes/Permit.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Person.html b/docs/classes/Person.html index acf6db52f..048918070 100644 --- a/docs/classes/Person.html +++ b/docs/classes/Person.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PetStore.html b/docs/classes/PetStore.html index 32a8b95fd..60dcb6964 100644 --- a/docs/classes/PetStore.html +++ b/docs/classes/PetStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Pharmacy.html b/docs/classes/Pharmacy.html index 82056b2a8..a020d4874 100644 --- a/docs/classes/Pharmacy.html +++ b/docs/classes/Pharmacy.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Photograph.html b/docs/classes/Photograph.html index 61ab0a4ff..46b44f4da 100644 --- a/docs/classes/Photograph.html +++ b/docs/classes/Photograph.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PhotographAction.html b/docs/classes/PhotographAction.html index 57c0f6d78..84298f09f 100644 --- a/docs/classes/PhotographAction.html +++ b/docs/classes/PhotographAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Physician.html b/docs/classes/Physician.html index 914ee6e5f..872f6a2a2 100644 --- a/docs/classes/Physician.html +++ b/docs/classes/Physician.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Place.html b/docs/classes/Place.html index 30fc9500a..b1f7c75e2 100644 --- a/docs/classes/Place.html +++ b/docs/classes/Place.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PlaceOfWorship.html b/docs/classes/PlaceOfWorship.html index 382309066..f8dbd243b 100644 --- a/docs/classes/PlaceOfWorship.html +++ b/docs/classes/PlaceOfWorship.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PlanAction.html b/docs/classes/PlanAction.html index 64a921679..d667f836d 100644 --- a/docs/classes/PlanAction.html +++ b/docs/classes/PlanAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PlayAction.html b/docs/classes/PlayAction.html index c85227160..afd9b53de 100644 --- a/docs/classes/PlayAction.html +++ b/docs/classes/PlayAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Playground.html b/docs/classes/Playground.html index 978589462..8b3c5a4c1 100644 --- a/docs/classes/Playground.html +++ b/docs/classes/Playground.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Plumber.html b/docs/classes/Plumber.html index bfd4658af..64d4d1a40 100644 --- a/docs/classes/Plumber.html +++ b/docs/classes/Plumber.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PoliceStation.html b/docs/classes/PoliceStation.html index 357202449..954362874 100644 --- a/docs/classes/PoliceStation.html +++ b/docs/classes/PoliceStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Pond.html b/docs/classes/Pond.html index cea7271c9..eca113f24 100644 --- a/docs/classes/Pond.html +++ b/docs/classes/Pond.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PostOffice.html b/docs/classes/PostOffice.html index 01bc94963..0388eb34b 100644 --- a/docs/classes/PostOffice.html +++ b/docs/classes/PostOffice.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PostalAddress.html b/docs/classes/PostalAddress.html index fe985b46f..4eed8a276 100644 --- a/docs/classes/PostalAddress.html +++ b/docs/classes/PostalAddress.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1767,23 +1767,24 @@

    name

    postalCode

    - Text + String
    -

    Schema.org/postalCode +

    http://purl.org/ctdl/terms/postalCode The postal code. For example, 94043.

    @@ -1793,24 +1794,23 @@

    postalCode

    postalCode

    - String + Text
    -

    http://purl.org/ctdl/terms/postalCode +

    Schema.org/postalCode The postal code. For example, 94043.

    @@ -1820,24 +1820,25 @@

    postalCode

    postOfficeBoxNumber

    - Text + String
    -

    Schema.org/postOfficeBoxNumber -The post office box number for PO box addresses.

    +

    http://purl.org/ctdl/terms/postOfficeBoxNumber +Post office box number for post office addresses.

    @@ -1846,25 +1847,24 @@

    postOfficeBoxNumber

    postOfficeBoxNumber

    - String + Text
    -

    http://purl.org/ctdl/terms/postOfficeBoxNumber -Post office box number for post office addresses.

    +

    Schema.org/postOfficeBoxNumber +The post office box number for PO box addresses.

    @@ -2001,24 +2001,25 @@

    socialMedia

    streetAddress

    - Text + LangString
    -

    Schema.org/streetAddress -The street address. For example, 1600 Amphitheatre Pkwy.

    +

    http://purl.org/ctdl/terms/streetAddress +Street address. e.g. "1600 Amphitheatre Pkwy".

    @@ -2027,25 +2028,24 @@

    streetAddress

    streetAddress

    - LangString + Text
    -

    http://purl.org/ctdl/terms/streetAddress -Street address. e.g. "1600 Amphitheatre Pkwy".

    +

    Schema.org/streetAddress +The street address. For example, 1600 Amphitheatre Pkwy.

    diff --git a/docs/classes/PrependAction.html b/docs/classes/PrependAction.html index 8564160ac..1a7c1629c 100644 --- a/docs/classes/PrependAction.html +++ b/docs/classes/PrependAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Preschool.html b/docs/classes/Preschool.html index 90c5d907d..958e0935f 100644 --- a/docs/classes/Preschool.html +++ b/docs/classes/Preschool.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PresentationDigitalDocument.html b/docs/classes/PresentationDigitalDocument.html index 0d4b5d26e..8279c7827 100644 --- a/docs/classes/PresentationDigitalDocument.html +++ b/docs/classes/PresentationDigitalDocument.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PriceSpecification.html b/docs/classes/PriceSpecification.html index b7b81f617..318a3e944 100644 --- a/docs/classes/PriceSpecification.html +++ b/docs/classes/PriceSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProcessProfile.html b/docs/classes/ProcessProfile.html index 28c53f962..7b6dc4bd3 100644 --- a/docs/classes/ProcessProfile.html +++ b/docs/classes/ProcessProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Product.html b/docs/classes/Product.html index e24f8b3b6..b4ced3348 100644 --- a/docs/classes/Product.html +++ b/docs/classes/Product.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProductModel.html b/docs/classes/ProductModel.html index 8cb21b027..0e06235d7 100644 --- a/docs/classes/ProductModel.html +++ b/docs/classes/ProductModel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProfessionalDoctorate.html b/docs/classes/ProfessionalDoctorate.html index c6bd428e8..d30e86e63 100644 --- a/docs/classes/ProfessionalDoctorate.html +++ b/docs/classes/ProfessionalDoctorate.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProfessionalService.html b/docs/classes/ProfessionalService.html index af15bc0cd..dd978db39 100644 --- a/docs/classes/ProfessionalService.html +++ b/docs/classes/ProfessionalService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProficiencyScale.html b/docs/classes/ProficiencyScale.html index ca044d8ec..14226ccf5 100644 --- a/docs/classes/ProficiencyScale.html +++ b/docs/classes/ProficiencyScale.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProfilePage.html b/docs/classes/ProfilePage.html index c4173d270..45daf6cdd 100644 --- a/docs/classes/ProfilePage.html +++ b/docs/classes/ProfilePage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ProfileProcessor.html b/docs/classes/ProfileProcessor.html index 4c6e84a43..2c5b06770 100644 --- a/docs/classes/ProfileProcessor.html +++ b/docs/classes/ProfileProcessor.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -817,7 +817,7 @@

    ProfileProcessor Class

    Module: org.cassproject diff --git a/docs/classes/ProgramMembership.html b/docs/classes/ProgramMembership.html index 51af70aee..d9e8973c7 100644 --- a/docs/classes/ProgramMembership.html +++ b/docs/classes/ProgramMembership.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PropertyValue.html b/docs/classes/PropertyValue.html index e00432fcc..6d1e27523 100644 --- a/docs/classes/PropertyValue.html +++ b/docs/classes/PropertyValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PropertyValueSpecification.html b/docs/classes/PropertyValueSpecification.html index d0e4de930..b04fc8ab9 100644 --- a/docs/classes/PropertyValueSpecification.html +++ b/docs/classes/PropertyValueSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PublicSwimmingPool.html b/docs/classes/PublicSwimmingPool.html index b4e8c40ce..9c7d16ed7 100644 --- a/docs/classes/PublicSwimmingPool.html +++ b/docs/classes/PublicSwimmingPool.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PublicationEvent.html b/docs/classes/PublicationEvent.html index 3a652aa46..80a5d5a70 100644 --- a/docs/classes/PublicationEvent.html +++ b/docs/classes/PublicationEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PublicationIssue.html b/docs/classes/PublicationIssue.html index 942cd8c7f..5ff7af7f9 100644 --- a/docs/classes/PublicationIssue.html +++ b/docs/classes/PublicationIssue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/PublicationVolume.html b/docs/classes/PublicationVolume.html index 28fa801b7..3ca6efbfe 100644 --- a/docs/classes/PublicationVolume.html +++ b/docs/classes/PublicationVolume.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QACredentialOrganization.html b/docs/classes/QACredentialOrganization.html index 62760d4fe..b4723165b 100644 --- a/docs/classes/QACredentialOrganization.html +++ b/docs/classes/QACredentialOrganization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QAPage.html b/docs/classes/QAPage.html index 03cef9eee..bd8f501ac 100644 --- a/docs/classes/QAPage.html +++ b/docs/classes/QAPage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QualitativeValue.html b/docs/classes/QualitativeValue.html index 827c2f7b8..095362cde 100644 --- a/docs/classes/QualitativeValue.html +++ b/docs/classes/QualitativeValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QualityAssuranceCredential.html b/docs/classes/QualityAssuranceCredential.html index 9188a1cbd..438386f45 100644 --- a/docs/classes/QualityAssuranceCredential.html +++ b/docs/classes/QualityAssuranceCredential.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QuantitativeValue.html b/docs/classes/QuantitativeValue.html index 2be194810..16467740c 100644 --- a/docs/classes/QuantitativeValue.html +++ b/docs/classes/QuantitativeValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Quantity.html b/docs/classes/Quantity.html index 7ded0d1d8..bf9cfb5f1 100644 --- a/docs/classes/Quantity.html +++ b/docs/classes/Quantity.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Question.html b/docs/classes/Question.html index 1d1cdbc57..461356d88 100644 --- a/docs/classes/Question.html +++ b/docs/classes/Question.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/QuoteAction.html b/docs/classes/QuoteAction.html index 3e9ab5d07..f62ba19ee 100644 --- a/docs/classes/QuoteAction.html +++ b/docs/classes/QuoteAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RVPark.html b/docs/classes/RVPark.html index 5c7075aa6..309637018 100644 --- a/docs/classes/RVPark.html +++ b/docs/classes/RVPark.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioChannel.html b/docs/classes/RadioChannel.html index c2b8da53e..f82f4d00e 100644 --- a/docs/classes/RadioChannel.html +++ b/docs/classes/RadioChannel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioClip.html b/docs/classes/RadioClip.html index 2580a1081..c0284cc91 100644 --- a/docs/classes/RadioClip.html +++ b/docs/classes/RadioClip.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioEpisode.html b/docs/classes/RadioEpisode.html index af5cba5c4..ac5d0c79d 100644 --- a/docs/classes/RadioEpisode.html +++ b/docs/classes/RadioEpisode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioSeason.html b/docs/classes/RadioSeason.html index eaa8cd792..2acc84cd5 100644 --- a/docs/classes/RadioSeason.html +++ b/docs/classes/RadioSeason.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioSeries.html b/docs/classes/RadioSeries.html index a50f945a5..74073caf3 100644 --- a/docs/classes/RadioSeries.html +++ b/docs/classes/RadioSeries.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RadioStation.html b/docs/classes/RadioStation.html index 3d3b2a2a8..90bd86113 100644 --- a/docs/classes/RadioStation.html +++ b/docs/classes/RadioStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Rating.html b/docs/classes/Rating.html index 08849d689..0c538abc1 100644 --- a/docs/classes/Rating.html +++ b/docs/classes/Rating.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReactAction.html b/docs/classes/ReactAction.html index 5092e564f..eb44166a7 100644 --- a/docs/classes/ReactAction.html +++ b/docs/classes/ReactAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReadAction.html b/docs/classes/ReadAction.html index e7150ded5..143329143 100644 --- a/docs/classes/ReadAction.html +++ b/docs/classes/ReadAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RealEstateAgent.html b/docs/classes/RealEstateAgent.html index 74734364c..2b38da3e3 100644 --- a/docs/classes/RealEstateAgent.html +++ b/docs/classes/RealEstateAgent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReceiveAction.html b/docs/classes/ReceiveAction.html index a19bec288..9d5cd8736 100644 --- a/docs/classes/ReceiveAction.html +++ b/docs/classes/ReceiveAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Recipe.html b/docs/classes/Recipe.html index b9f5cf017..45b269af2 100644 --- a/docs/classes/Recipe.html +++ b/docs/classes/Recipe.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RecognizeAction.html b/docs/classes/RecognizeAction.html index e25c61fe3..688644785 100644 --- a/docs/classes/RecognizeAction.html +++ b/docs/classes/RecognizeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RecyclingCenter.html b/docs/classes/RecyclingCenter.html index bfdee7eb7..95995b1fa 100644 --- a/docs/classes/RecyclingCenter.html +++ b/docs/classes/RecyclingCenter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RegisterAction.html b/docs/classes/RegisterAction.html index c2d36690c..6c9651e16 100644 --- a/docs/classes/RegisterAction.html +++ b/docs/classes/RegisterAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RegulateAction.html b/docs/classes/RegulateAction.html index 938e5b1c8..0edde03e3 100644 --- a/docs/classes/RegulateAction.html +++ b/docs/classes/RegulateAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RejectAction.html b/docs/classes/RejectAction.html index 2b8c56de1..eb9bd2b68 100644 --- a/docs/classes/RejectAction.html +++ b/docs/classes/RejectAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Relation.html b/docs/classes/Relation.html index 7f7af375d..8ebabae11 100644 --- a/docs/classes/Relation.html +++ b/docs/classes/Relation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RelationshipPacketGenerator.html b/docs/classes/RelationshipPacketGenerator.html index 410638d0f..8a62095cd 100644 --- a/docs/classes/RelationshipPacketGenerator.html +++ b/docs/classes/RelationshipPacketGenerator.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RenewAction.html b/docs/classes/RenewAction.html index 046faba1d..7234126d0 100644 --- a/docs/classes/RenewAction.html +++ b/docs/classes/RenewAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RentAction.html b/docs/classes/RentAction.html index 484658196..d1ee03fc4 100644 --- a/docs/classes/RentAction.html +++ b/docs/classes/RentAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RentalCarReservation.html b/docs/classes/RentalCarReservation.html index 06cdb454a..96c0ea108 100644 --- a/docs/classes/RentalCarReservation.html +++ b/docs/classes/RentalCarReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReplaceAction.html b/docs/classes/ReplaceAction.html index c07ed47c3..9f0a29f38 100644 --- a/docs/classes/ReplaceAction.html +++ b/docs/classes/ReplaceAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReplyAction.html b/docs/classes/ReplyAction.html index c231e8b4e..a59727db8 100644 --- a/docs/classes/ReplyAction.html +++ b/docs/classes/ReplyAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Report.html b/docs/classes/Report.html index a0bee087c..9dee43293 100644 --- a/docs/classes/Report.html +++ b/docs/classes/Report.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ResearchDoctorate.html b/docs/classes/ResearchDoctorate.html index d2bd23b5f..8934f5eef 100644 --- a/docs/classes/ResearchDoctorate.html +++ b/docs/classes/ResearchDoctorate.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Reservation.html b/docs/classes/Reservation.html index 55481be97..3f6e7b33e 100644 --- a/docs/classes/Reservation.html +++ b/docs/classes/Reservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReservationPackage.html b/docs/classes/ReservationPackage.html index fb9678f10..e1303819b 100644 --- a/docs/classes/ReservationPackage.html +++ b/docs/classes/ReservationPackage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReservationStatusType.html b/docs/classes/ReservationStatusType.html index 52d593895..1c9f481ac 100644 --- a/docs/classes/ReservationStatusType.html +++ b/docs/classes/ReservationStatusType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReserveAction.html b/docs/classes/ReserveAction.html index 6eb2550a2..c002874b9 100644 --- a/docs/classes/ReserveAction.html +++ b/docs/classes/ReserveAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Reservoir.html b/docs/classes/Reservoir.html index e7fc33e3e..6c541e7c3 100644 --- a/docs/classes/Reservoir.html +++ b/docs/classes/Reservoir.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Residence.html b/docs/classes/Residence.html index 6c5e69015..db6881309 100644 --- a/docs/classes/Residence.html +++ b/docs/classes/Residence.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Resort.html b/docs/classes/Resort.html index 8e409098f..329f442de 100644 --- a/docs/classes/Resort.html +++ b/docs/classes/Resort.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Restaurant.html b/docs/classes/Restaurant.html index 70a1da05a..21da8b8ac 100644 --- a/docs/classes/Restaurant.html +++ b/docs/classes/Restaurant.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RestrictedDiet.html b/docs/classes/RestrictedDiet.html index 39a860a5e..3f324ac59 100644 --- a/docs/classes/RestrictedDiet.html +++ b/docs/classes/RestrictedDiet.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ResumeAction.html b/docs/classes/ResumeAction.html index f4eafbc1f..3849b7532 100644 --- a/docs/classes/ResumeAction.html +++ b/docs/classes/ResumeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReturnAction.html b/docs/classes/ReturnAction.html index d32fd264e..b260b14e0 100644 --- a/docs/classes/ReturnAction.html +++ b/docs/classes/ReturnAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Review.html b/docs/classes/Review.html index 71dbe7fbb..25f02a69c 100644 --- a/docs/classes/Review.html +++ b/docs/classes/Review.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ReviewAction.html b/docs/classes/ReviewAction.html index a60eaf970..f467647f8 100644 --- a/docs/classes/ReviewAction.html +++ b/docs/classes/ReviewAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RevocationProfile.html b/docs/classes/RevocationProfile.html index 5d09d2d11..46ae12a19 100644 --- a/docs/classes/RevocationProfile.html +++ b/docs/classes/RevocationProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RevokeAction.html b/docs/classes/RevokeAction.html index f012b8669..53505df7d 100644 --- a/docs/classes/RevokeAction.html +++ b/docs/classes/RevokeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RightsAction.html b/docs/classes/RightsAction.html index 629f5437c..0a3f66f40 100644 --- a/docs/classes/RightsAction.html +++ b/docs/classes/RightsAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RiverBodyOfWater.html b/docs/classes/RiverBodyOfWater.html index e77a2939d..d3ee8bd0c 100644 --- a/docs/classes/RiverBodyOfWater.html +++ b/docs/classes/RiverBodyOfWater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Role.html b/docs/classes/Role.html index 7e964da64..017524e8c 100644 --- a/docs/classes/Role.html +++ b/docs/classes/Role.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RollupRule.html b/docs/classes/RollupRule.html index 82b211848..ee466d521 100644 --- a/docs/classes/RollupRule.html +++ b/docs/classes/RollupRule.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RoofingContractor.html b/docs/classes/RoofingContractor.html index 3dc02e076..fcf14563b 100644 --- a/docs/classes/RoofingContractor.html +++ b/docs/classes/RoofingContractor.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Room.html b/docs/classes/Room.html index edabed743..a487309a0 100644 --- a/docs/classes/Room.html +++ b/docs/classes/Room.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RsvpAction.html b/docs/classes/RsvpAction.html index 03cdefd12..5b8dfcc07 100644 --- a/docs/classes/RsvpAction.html +++ b/docs/classes/RsvpAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/RsvpResponseType.html b/docs/classes/RsvpResponseType.html index 91cc344f1..eeda5241e 100644 --- a/docs/classes/RsvpResponseType.html +++ b/docs/classes/RsvpResponseType.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SaleEvent.html b/docs/classes/SaleEvent.html index 8681312f9..d95dd665e 100644 --- a/docs/classes/SaleEvent.html +++ b/docs/classes/SaleEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ScheduleAction.html b/docs/classes/ScheduleAction.html index 8940d57b7..5e5ae9625 100644 --- a/docs/classes/ScheduleAction.html +++ b/docs/classes/ScheduleAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ScholarlyArticle.html b/docs/classes/ScholarlyArticle.html index 19bb1deea..c52ed9133 100644 --- a/docs/classes/ScholarlyArticle.html +++ b/docs/classes/ScholarlyArticle.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/School.html b/docs/classes/School.html index 10c31e1fb..f941132db 100644 --- a/docs/classes/School.html +++ b/docs/classes/School.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ScreeningEvent.html b/docs/classes/ScreeningEvent.html index b1296e9b1..606ac8565 100644 --- a/docs/classes/ScreeningEvent.html +++ b/docs/classes/ScreeningEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Sculpture.html b/docs/classes/Sculpture.html index 3b71d7502..8e398e974 100644 --- a/docs/classes/Sculpture.html +++ b/docs/classes/Sculpture.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SeaBodyOfWater.html b/docs/classes/SeaBodyOfWater.html index b907fc6f0..25ac21771 100644 --- a/docs/classes/SeaBodyOfWater.html +++ b/docs/classes/SeaBodyOfWater.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SearchAction.html b/docs/classes/SearchAction.html index e5fc330b6..4f0d230ad 100644 --- a/docs/classes/SearchAction.html +++ b/docs/classes/SearchAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SearchResultsPage.html b/docs/classes/SearchResultsPage.html index a9537dc7b..0e54d40ab 100644 --- a/docs/classes/SearchResultsPage.html +++ b/docs/classes/SearchResultsPage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Season.html b/docs/classes/Season.html index 896d07540..144131998 100644 --- a/docs/classes/Season.html +++ b/docs/classes/Season.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Seat.html b/docs/classes/Seat.html index 991cd00d7..5d34e3b5c 100644 --- a/docs/classes/Seat.html +++ b/docs/classes/Seat.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SecondarySchoolDiploma.html b/docs/classes/SecondarySchoolDiploma.html index eecf3101e..f844cce05 100644 --- a/docs/classes/SecondarySchoolDiploma.html +++ b/docs/classes/SecondarySchoolDiploma.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SelfStorage.html b/docs/classes/SelfStorage.html index 8039908da..ebf1257d0 100644 --- a/docs/classes/SelfStorage.html +++ b/docs/classes/SelfStorage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SellAction.html b/docs/classes/SellAction.html index ef305b723..91c3b1129 100644 --- a/docs/classes/SellAction.html +++ b/docs/classes/SellAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SendAction.html b/docs/classes/SendAction.html index c1f14cf4a..bfe498704 100644 --- a/docs/classes/SendAction.html +++ b/docs/classes/SendAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Series.html b/docs/classes/Series.html index 2d5d3e7aa..5759e47de 100644 --- a/docs/classes/Series.html +++ b/docs/classes/Series.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Service.html b/docs/classes/Service.html index ba78f710a..f57783018 100644 --- a/docs/classes/Service.html +++ b/docs/classes/Service.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ServiceChannel.html b/docs/classes/ServiceChannel.html index 04f2c6dd1..468ff5f8e 100644 --- a/docs/classes/ServiceChannel.html +++ b/docs/classes/ServiceChannel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ShareAction.html b/docs/classes/ShareAction.html index 97a354723..607ea657a 100644 --- a/docs/classes/ShareAction.html +++ b/docs/classes/ShareAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ShoeStore.html b/docs/classes/ShoeStore.html index f21dd55d2..7a77c1d26 100644 --- a/docs/classes/ShoeStore.html +++ b/docs/classes/ShoeStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ShoppingCenter.html b/docs/classes/ShoppingCenter.html index 44711c971..54be398d2 100644 --- a/docs/classes/ShoppingCenter.html +++ b/docs/classes/ShoppingCenter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SingleFamilyResidence.html b/docs/classes/SingleFamilyResidence.html index c76b517d6..65167d4cb 100644 --- a/docs/classes/SingleFamilyResidence.html +++ b/docs/classes/SingleFamilyResidence.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SiteNavigationElement.html b/docs/classes/SiteNavigationElement.html index 9a7a8b268..2ddb7cafc 100644 --- a/docs/classes/SiteNavigationElement.html +++ b/docs/classes/SiteNavigationElement.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SkiResort.html b/docs/classes/SkiResort.html index 912d2ea6a..7960cd36c 100644 --- a/docs/classes/SkiResort.html +++ b/docs/classes/SkiResort.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SocialEvent.html b/docs/classes/SocialEvent.html index 8971dcd9e..90c843950 100644 --- a/docs/classes/SocialEvent.html +++ b/docs/classes/SocialEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SocialMediaPosting.html b/docs/classes/SocialMediaPosting.html index 0a43798ff..1381e4d52 100644 --- a/docs/classes/SocialMediaPosting.html +++ b/docs/classes/SocialMediaPosting.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SoftwareApplication.html b/docs/classes/SoftwareApplication.html index 7da4a2c9a..d2720212f 100644 --- a/docs/classes/SoftwareApplication.html +++ b/docs/classes/SoftwareApplication.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SoftwareSourceCode.html b/docs/classes/SoftwareSourceCode.html index b88e10259..6a7d12854 100644 --- a/docs/classes/SoftwareSourceCode.html +++ b/docs/classes/SoftwareSourceCode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SomeProducts.html b/docs/classes/SomeProducts.html index c0678c962..7fa332f83 100644 --- a/docs/classes/SomeProducts.html +++ b/docs/classes/SomeProducts.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Specialty.html b/docs/classes/Specialty.html index 4b56dda35..21d91e86f 100644 --- a/docs/classes/Specialty.html +++ b/docs/classes/Specialty.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportingGoodsStore.html b/docs/classes/SportingGoodsStore.html index 3c463b86f..0a3d9dded 100644 --- a/docs/classes/SportingGoodsStore.html +++ b/docs/classes/SportingGoodsStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportsActivityLocation.html b/docs/classes/SportsActivityLocation.html index 2b1458210..0e8861bcd 100644 --- a/docs/classes/SportsActivityLocation.html +++ b/docs/classes/SportsActivityLocation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportsClub.html b/docs/classes/SportsClub.html index 7118c9889..e8a65f39c 100644 --- a/docs/classes/SportsClub.html +++ b/docs/classes/SportsClub.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportsEvent.html b/docs/classes/SportsEvent.html index c9c4cc001..85deac90f 100644 --- a/docs/classes/SportsEvent.html +++ b/docs/classes/SportsEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportsOrganization.html b/docs/classes/SportsOrganization.html index 2e2f283cb..72fafd536 100644 --- a/docs/classes/SportsOrganization.html +++ b/docs/classes/SportsOrganization.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SportsTeam.html b/docs/classes/SportsTeam.html index c8d03a5b1..ceae37cfc 100644 --- a/docs/classes/SportsTeam.html +++ b/docs/classes/SportsTeam.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SpreadsheetDigitalDocument.html b/docs/classes/SpreadsheetDigitalDocument.html index 33995aa06..028251106 100644 --- a/docs/classes/SpreadsheetDigitalDocument.html +++ b/docs/classes/SpreadsheetDigitalDocument.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/StadiumOrArena.html b/docs/classes/StadiumOrArena.html index b10a076c6..79a567acd 100644 --- a/docs/classes/StadiumOrArena.html +++ b/docs/classes/StadiumOrArena.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/State.html b/docs/classes/State.html index f8487734c..81c58fd2f 100644 --- a/docs/classes/State.html +++ b/docs/classes/State.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SteeringPositionValue.html b/docs/classes/SteeringPositionValue.html index 4f7bfdab7..761541a43 100644 --- a/docs/classes/SteeringPositionValue.html +++ b/docs/classes/SteeringPositionValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Store.html b/docs/classes/Store.html index ad0a3959f..0a09b5240 100644 --- a/docs/classes/Store.html +++ b/docs/classes/Store.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/StructuredValue.html b/docs/classes/StructuredValue.html index d42379ced..55d64b25f 100644 --- a/docs/classes/StructuredValue.html +++ b/docs/classes/StructuredValue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SubscribeAction.html b/docs/classes/SubscribeAction.html index 72213c591..bf21cbb8d 100644 --- a/docs/classes/SubscribeAction.html +++ b/docs/classes/SubscribeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SubwayStation.html b/docs/classes/SubwayStation.html index d1d0052a4..a3c797924 100644 --- a/docs/classes/SubwayStation.html +++ b/docs/classes/SubwayStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Suite.html b/docs/classes/Suite.html index b90ce19af..888c3d37a 100644 --- a/docs/classes/Suite.html +++ b/docs/classes/Suite.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/SuspendAction.html b/docs/classes/SuspendAction.html index 4fe33946a..e93149e73 100644 --- a/docs/classes/SuspendAction.html +++ b/docs/classes/SuspendAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Synagogue.html b/docs/classes/Synagogue.html index 95acaa995..ff962c938 100644 --- a/docs/classes/Synagogue.html +++ b/docs/classes/Synagogue.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TVClip.html b/docs/classes/TVClip.html index f4226fa79..4c667b876 100644 --- a/docs/classes/TVClip.html +++ b/docs/classes/TVClip.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TVEpisode.html b/docs/classes/TVEpisode.html index e176aade6..d70aa48de 100644 --- a/docs/classes/TVEpisode.html +++ b/docs/classes/TVEpisode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TVSeason.html b/docs/classes/TVSeason.html index 28dbbc0ee..319aaf571 100644 --- a/docs/classes/TVSeason.html +++ b/docs/classes/TVSeason.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TVSeries.html b/docs/classes/TVSeries.html index 889a54f07..0cdb4e58e 100644 --- a/docs/classes/TVSeries.html +++ b/docs/classes/TVSeries.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Table.html b/docs/classes/Table.html index 3abc9d25d..780d369e5 100644 --- a/docs/classes/Table.html +++ b/docs/classes/Table.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TakeAction.html b/docs/classes/TakeAction.html index 25c0ef2cf..eb919c08c 100644 --- a/docs/classes/TakeAction.html +++ b/docs/classes/TakeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Task.html b/docs/classes/Task.html index e5e1bd81d..0af83df28 100644 --- a/docs/classes/Task.html +++ b/docs/classes/Task.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -817,7 +817,7 @@

    Task Class

    Module: com.eduworks.ec @@ -879,7 +879,7 @@

    updateFrame

    Defined in - src/main/js/cass/ec.base.js:1257 + src/main/js/cass/ec.base.js:1307

    diff --git a/docs/classes/TaskProfile.html b/docs/classes/TaskProfile.html index 7953f32c6..4b20d77b1 100644 --- a/docs/classes/TaskProfile.html +++ b/docs/classes/TaskProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TattooParlor.html b/docs/classes/TattooParlor.html index 84c4394f7..007604527 100644 --- a/docs/classes/TattooParlor.html +++ b/docs/classes/TattooParlor.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Taxi.html b/docs/classes/Taxi.html index 349f72827..2894d7059 100644 --- a/docs/classes/Taxi.html +++ b/docs/classes/Taxi.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TaxiReservation.html b/docs/classes/TaxiReservation.html index 650d3a554..d65c1c0ac 100644 --- a/docs/classes/TaxiReservation.html +++ b/docs/classes/TaxiReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TaxiService.html b/docs/classes/TaxiService.html index 32f777393..34fed8291 100644 --- a/docs/classes/TaxiService.html +++ b/docs/classes/TaxiService.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TaxiStand.html b/docs/classes/TaxiStand.html index 9218f04a3..95595993c 100644 --- a/docs/classes/TaxiStand.html +++ b/docs/classes/TaxiStand.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TechArticle.html b/docs/classes/TechArticle.html index 7e6c4d066..81748bdc6 100644 --- a/docs/classes/TechArticle.html +++ b/docs/classes/TechArticle.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TelevisionChannel.html b/docs/classes/TelevisionChannel.html index cb818cb7b..13e2f94f7 100644 --- a/docs/classes/TelevisionChannel.html +++ b/docs/classes/TelevisionChannel.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TelevisionStation.html b/docs/classes/TelevisionStation.html index 0b7d38b52..491f8f5f1 100644 --- a/docs/classes/TelevisionStation.html +++ b/docs/classes/TelevisionStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TennisComplex.html b/docs/classes/TennisComplex.html index 5f99ecafd..05ac30fa5 100644 --- a/docs/classes/TennisComplex.html +++ b/docs/classes/TennisComplex.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TextDigitalDocument.html b/docs/classes/TextDigitalDocument.html index 93b77dce9..faa78d922 100644 --- a/docs/classes/TextDigitalDocument.html +++ b/docs/classes/TextDigitalDocument.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TheaterEvent.html b/docs/classes/TheaterEvent.html index aa7e40881..052a5cb1f 100644 --- a/docs/classes/TheaterEvent.html +++ b/docs/classes/TheaterEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TheaterGroup.html b/docs/classes/TheaterGroup.html index 46194a4f1..38b37a519 100644 --- a/docs/classes/TheaterGroup.html +++ b/docs/classes/TheaterGroup.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Thing.html b/docs/classes/Thing.html index 0ea88383e..a73a89f0a 100644 --- a/docs/classes/Thing.html +++ b/docs/classes/Thing.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Ticket.html b/docs/classes/Ticket.html index 0a30ca425..6983b7e39 100644 --- a/docs/classes/Ticket.html +++ b/docs/classes/Ticket.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TieAction.html b/docs/classes/TieAction.html index 673f27196..e9b1cda65 100644 --- a/docs/classes/TieAction.html +++ b/docs/classes/TieAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TipAction.html b/docs/classes/TipAction.html index 440fca0d2..1ee4d9b5c 100644 --- a/docs/classes/TipAction.html +++ b/docs/classes/TipAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TireShop.html b/docs/classes/TireShop.html index 0ebd70500..910e8c84d 100644 --- a/docs/classes/TireShop.html +++ b/docs/classes/TireShop.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TouristAttraction.html b/docs/classes/TouristAttraction.html index ba6169538..dd504a5b8 100644 --- a/docs/classes/TouristAttraction.html +++ b/docs/classes/TouristAttraction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TouristInformationCenter.html b/docs/classes/TouristInformationCenter.html index f83eea829..2d145ba7f 100644 --- a/docs/classes/TouristInformationCenter.html +++ b/docs/classes/TouristInformationCenter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ToyStore.html b/docs/classes/ToyStore.html index ae12782a9..c057db856 100644 --- a/docs/classes/ToyStore.html +++ b/docs/classes/ToyStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TrackAction.html b/docs/classes/TrackAction.html index 229cb2d29..9b5e60aee 100644 --- a/docs/classes/TrackAction.html +++ b/docs/classes/TrackAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TradeAction.html b/docs/classes/TradeAction.html index 715f71787..96a294585 100644 --- a/docs/classes/TradeAction.html +++ b/docs/classes/TradeAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TrainReservation.html b/docs/classes/TrainReservation.html index 24e8acf17..69f7abac6 100644 --- a/docs/classes/TrainReservation.html +++ b/docs/classes/TrainReservation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TrainStation.html b/docs/classes/TrainStation.html index b1c0f766b..2a0c567ac 100644 --- a/docs/classes/TrainStation.html +++ b/docs/classes/TrainStation.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TrainTrip.html b/docs/classes/TrainTrip.html index 7223c2ae7..11feeed7c 100644 --- a/docs/classes/TrainTrip.html +++ b/docs/classes/TrainTrip.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TransferAction.html b/docs/classes/TransferAction.html index 866d67933..1e55f603a 100644 --- a/docs/classes/TransferAction.html +++ b/docs/classes/TransferAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TravelAction.html b/docs/classes/TravelAction.html index 98356b0e3..90e72d847 100644 --- a/docs/classes/TravelAction.html +++ b/docs/classes/TravelAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TravelAgency.html b/docs/classes/TravelAgency.html index 672bdaffc..fffb3502e 100644 --- a/docs/classes/TravelAgency.html +++ b/docs/classes/TravelAgency.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Triple.html b/docs/classes/Triple.html index f5c9eb3c2..56ff692f8 100644 --- a/docs/classes/Triple.html +++ b/docs/classes/Triple.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/TypeAndQuantityNode.html b/docs/classes/TypeAndQuantityNode.html index 6761a6a65..85458f487 100644 --- a/docs/classes/TypeAndQuantityNode.html +++ b/docs/classes/TypeAndQuantityNode.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UnRegisterAction.html b/docs/classes/UnRegisterAction.html index c91543a7e..e51d98582 100644 --- a/docs/classes/UnRegisterAction.html +++ b/docs/classes/UnRegisterAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UnitPriceSpecification.html b/docs/classes/UnitPriceSpecification.html index 68176829c..6cbbc4f6e 100644 --- a/docs/classes/UnitPriceSpecification.html +++ b/docs/classes/UnitPriceSpecification.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UpdateAction.html b/docs/classes/UpdateAction.html index 95a83d120..a9871e9d7 100644 --- a/docs/classes/UpdateAction.html +++ b/docs/classes/UpdateAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UseAction.html b/docs/classes/UseAction.html index eb0695adb..7438f4223 100644 --- a/docs/classes/UseAction.html +++ b/docs/classes/UseAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserBlocks.html b/docs/classes/UserBlocks.html index caa710bc6..c8f1f122a 100644 --- a/docs/classes/UserBlocks.html +++ b/docs/classes/UserBlocks.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserCheckins.html b/docs/classes/UserCheckins.html index 9fe62943e..959da0628 100644 --- a/docs/classes/UserCheckins.html +++ b/docs/classes/UserCheckins.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserComments.html b/docs/classes/UserComments.html index 42b450747..b9927dbc8 100644 --- a/docs/classes/UserComments.html +++ b/docs/classes/UserComments.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserDownloads.html b/docs/classes/UserDownloads.html index 5d0b80ee6..bdbdd6bc3 100644 --- a/docs/classes/UserDownloads.html +++ b/docs/classes/UserDownloads.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserInteraction.html b/docs/classes/UserInteraction.html index d27ce6978..a6a082ad6 100644 --- a/docs/classes/UserInteraction.html +++ b/docs/classes/UserInteraction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserLikes.html b/docs/classes/UserLikes.html index 2d34eb38e..c57797ad8 100644 --- a/docs/classes/UserLikes.html +++ b/docs/classes/UserLikes.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserPageVisits.html b/docs/classes/UserPageVisits.html index 7db2f365a..1f19f8e8e 100644 --- a/docs/classes/UserPageVisits.html +++ b/docs/classes/UserPageVisits.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserPlays.html b/docs/classes/UserPlays.html index 1014f5778..48b4aa0f5 100644 --- a/docs/classes/UserPlays.html +++ b/docs/classes/UserPlays.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserPlusOnes.html b/docs/classes/UserPlusOnes.html index 5f534afe9..667e1c1fa 100644 --- a/docs/classes/UserPlusOnes.html +++ b/docs/classes/UserPlusOnes.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/UserTweets.html b/docs/classes/UserTweets.html index 77cc3120f..dac5532c5 100644 --- a/docs/classes/UserTweets.html +++ b/docs/classes/UserTweets.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Vehicle.html b/docs/classes/Vehicle.html index 98b141b5a..e26f0345c 100644 --- a/docs/classes/Vehicle.html +++ b/docs/classes/Vehicle.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VerificationServiceProfile.html b/docs/classes/VerificationServiceProfile.html index ab5980b35..49de63471 100644 --- a/docs/classes/VerificationServiceProfile.html +++ b/docs/classes/VerificationServiceProfile.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VideoGallery.html b/docs/classes/VideoGallery.html index aa3e49e85..1cd70a7c9 100644 --- a/docs/classes/VideoGallery.html +++ b/docs/classes/VideoGallery.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VideoGame.html b/docs/classes/VideoGame.html index b2f044eac..42ede6aa7 100644 --- a/docs/classes/VideoGame.html +++ b/docs/classes/VideoGame.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VideoGameClip.html b/docs/classes/VideoGameClip.html index 3580a2f5a..ddefa39de 100644 --- a/docs/classes/VideoGameClip.html +++ b/docs/classes/VideoGameClip.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VideoGameSeries.html b/docs/classes/VideoGameSeries.html index 58a0645ba..fa3472cee 100644 --- a/docs/classes/VideoGameSeries.html +++ b/docs/classes/VideoGameSeries.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VideoObject.html b/docs/classes/VideoObject.html index 716d2ec73..5a3c646fb 100644 --- a/docs/classes/VideoObject.html +++ b/docs/classes/VideoObject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/ViewAction.html b/docs/classes/ViewAction.html index 61b78b6fe..88eb2a222 100644 --- a/docs/classes/ViewAction.html +++ b/docs/classes/ViewAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VisualArtsEvent.html b/docs/classes/VisualArtsEvent.html index 00e4d5a0d..a03f5fc71 100644 --- a/docs/classes/VisualArtsEvent.html +++ b/docs/classes/VisualArtsEvent.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VisualArtwork.html b/docs/classes/VisualArtwork.html index 0313386b1..7893814fc 100644 --- a/docs/classes/VisualArtwork.html +++ b/docs/classes/VisualArtwork.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Volcano.html b/docs/classes/Volcano.html index da6786b0e..3386bf726 100644 --- a/docs/classes/Volcano.html +++ b/docs/classes/Volcano.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/VoteAction.html b/docs/classes/VoteAction.html index 5ee89e753..bdfb5ec4c 100644 --- a/docs/classes/VoteAction.html +++ b/docs/classes/VoteAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WPAdBlock.html b/docs/classes/WPAdBlock.html index b61d16e19..21235b3e1 100644 --- a/docs/classes/WPAdBlock.html +++ b/docs/classes/WPAdBlock.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WPFooter.html b/docs/classes/WPFooter.html index 3dc39c04d..29e5e2e67 100644 --- a/docs/classes/WPFooter.html +++ b/docs/classes/WPFooter.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WPHeader.html b/docs/classes/WPHeader.html index 934699958..c012bf70d 100644 --- a/docs/classes/WPHeader.html +++ b/docs/classes/WPHeader.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WPSideBar.html b/docs/classes/WPSideBar.html index 9fc66d8b0..5d4d3adcd 100644 --- a/docs/classes/WPSideBar.html +++ b/docs/classes/WPSideBar.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WantAction.html b/docs/classes/WantAction.html index 30ad54c1c..46e8592bb 100644 --- a/docs/classes/WantAction.html +++ b/docs/classes/WantAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WarrantyPromise.html b/docs/classes/WarrantyPromise.html index 96326d8fe..58bba424d 100644 --- a/docs/classes/WarrantyPromise.html +++ b/docs/classes/WarrantyPromise.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WarrantyScope.html b/docs/classes/WarrantyScope.html index 23d2f2bf9..f0f786a28 100644 --- a/docs/classes/WarrantyScope.html +++ b/docs/classes/WarrantyScope.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WatchAction.html b/docs/classes/WatchAction.html index 2b4351f95..2a8f8b20b 100644 --- a/docs/classes/WatchAction.html +++ b/docs/classes/WatchAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Waterfall.html b/docs/classes/Waterfall.html index 4c654ca5c..8b98926a3 100644 --- a/docs/classes/Waterfall.html +++ b/docs/classes/Waterfall.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WearAction.html b/docs/classes/WearAction.html index 865fc97a0..0b417e820 100644 --- a/docs/classes/WearAction.html +++ b/docs/classes/WearAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WebApplication.html b/docs/classes/WebApplication.html index 23a2937bc..75dfaa69b 100644 --- a/docs/classes/WebApplication.html +++ b/docs/classes/WebApplication.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WebPage.html b/docs/classes/WebPage.html index 33d03549e..113807d01 100644 --- a/docs/classes/WebPage.html +++ b/docs/classes/WebPage.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WebPageElement.html b/docs/classes/WebPageElement.html index 9c2b75cad..3d6be9ba4 100644 --- a/docs/classes/WebPageElement.html +++ b/docs/classes/WebPageElement.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WebSite.html b/docs/classes/WebSite.html index 595f3578b..ddd486e6e 100644 --- a/docs/classes/WebSite.html +++ b/docs/classes/WebSite.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WholesaleStore.html b/docs/classes/WholesaleStore.html index e01d11228..641d4d673 100644 --- a/docs/classes/WholesaleStore.html +++ b/docs/classes/WholesaleStore.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WinAction.html b/docs/classes/WinAction.html index 6e075e853..f65928edd 100644 --- a/docs/classes/WinAction.html +++ b/docs/classes/WinAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Winery.html b/docs/classes/Winery.html index 23fac4930..2a3a7a515 100644 --- a/docs/classes/Winery.html +++ b/docs/classes/Winery.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/WriteAction.html b/docs/classes/WriteAction.html index e84f8a4af..1282d9416 100644 --- a/docs/classes/WriteAction.html +++ b/docs/classes/WriteAction.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/XapiConfig.html b/docs/classes/XapiConfig.html index b8682be35..ad62ed470 100644 --- a/docs/classes/XapiConfig.html +++ b/docs/classes/XapiConfig.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/classes/Zoo.html b/docs/classes/Zoo.html index 226de0f7e..6bc519d05 100644 --- a/docs/classes/Zoo.html +++ b/docs/classes/Zoo.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/data.json b/docs/data.json index 7185418fa..ce3c30cc4 100644 --- a/docs/data.json +++ b/docs/data.json @@ -2,7 +2,7 @@ "project": { "name": "CASS Javascript Library", "description": "CASS Javascript Library API: ", - "version": "1.3.15", + "version": "1.4.0", "url": "http://cassproject.org/", "logo": "http://docs.cassproject.org/img/customLogo-blue.png" }, @@ -2009,7 +2009,7 @@ "module": "org.cassproject", "namespace": "", "file": "src/main/js/cass/cass.rollup.js", - "line": 3906, + "line": 3921, "description": "Processor used in determining all the competencies a for which a user has assertions.\nUtilizes EcFrameworkGraph", "author": "tom.buskirk@eduworks.com" }, @@ -2129,7 +2129,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ebac.repository.js", - "line": 2554, + "line": 2555, "description": "Implementation of a file with methods for communicating with repository services", "author": "devlin.junker@eduworks.com" }, @@ -2204,7 +2204,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 980, + "line": 1030, "description": "A graph consisting of a set of vertices of type V\nset and a set of edges of type E. Edges of this\ngraph type have exactly two endpoints; whether these endpoints\nmust be distinct depends on the implementation.\n

    \nThis interface permits, but does not enforce, any of the following\ncommon variations of graphs:\n

    \nExtensions or implementations of this interface\nmay enforce or disallow any or all of these variations.\n

    \n

    Definitions (with respect to a given vertex v):\n

    ", "author": "Tom Buskirk (tom.buskirk@eduworks.com)", "extends": "Hypergraph" @@ -2220,7 +2220,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1203, + "line": 1253, "description": "Object Helper Functions", "author": "fritz.ray@eduworks.com" }, @@ -2235,7 +2235,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1239, + "line": 1289, "description": "Class with static methods to prevent unnecessary overhead with small operations that don't prevent drawing,\nbut to setTimeout on methods that slow down the browser sufficiently to interfere with drawing.\nUses a framerate timer to determine between the two." }, "EcDirectedGraph": { @@ -2249,7 +2249,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1323, + "line": 1373, "description": "A directed implementation of {{#crossLink \"Graph\"}}Graph{{/crossLink}}. Edges have types. Two vertices may have many edges between them.", "params": [ { @@ -2275,7 +2275,7 @@ "module": "com.eduworks.ec", "namespace": "", "file": "src/main/js/cass/ec.base.js", - "line": 1635, + "line": 1685, "description": "Pattern (probably similar to Promise) that provides fine grained control over asynchronous execution.\nWill iterate over all items in an array and perform 'each(item,callback)'.\nEvery 'each' needs to call the callback. This callback can be passed down through several asynchronous calls.\nWhen all callbacks have been called, 'after(array)' is called.", "author": "fritz.ray@eduworks.com" }, @@ -17991,7 +17991,7 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 2721, + "line": 2736, "description": "Helper method to populate the graph with assertion data, based on propagation rules implicit in the relations (see devs.cassproject.org, Relations). Does not draw conclusions. Must be able to decrypt 'negative' value.", "params": [ { @@ -18015,7 +18015,7 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 2804, + "line": 2819, "description": "Fetches the Meta Competency (additional state information used to compute profiles or other data) for a competency.", "params": [ { @@ -18035,14 +18035,14 @@ }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 4543, + "line": 4558, "description": "IF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

    \nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

    \nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \n

    \nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE INDETERMINANT", "class": "ProfileProcessor", "module": "org.cassproject" }, { "file": "src/main/js/cass/cass.rollup.js", - "line": 4723, + "line": 4738, "description": "IF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

    \nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

    \nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \n

    \nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE INDETERMINANT", "class": "ProfileProcessor", "module": "org.cassproject" @@ -20133,7 +20133,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1541, + "line": 1542, "description": "Attempts to save a piece of data without signing it.\n

    \nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20161,7 +20161,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1606, + "line": 1607, "description": "Attempts to delete a piece of data.\n

    \nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20189,7 +20189,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1624, + "line": 1625, "description": "Attempts to delete a piece of data.\n

    \nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20217,7 +20217,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1680, + "line": 1681, "description": "Attempts to delete a piece of data.\n

    \nUses a signature sheet informed by the owner field of the data.", "params": [ { @@ -20245,7 +20245,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1729, + "line": 1730, "description": "Retrieves data from the server and caches it for use later during the\napplication. This should be called before the data is needed if possible,\nso loading displays can be faster.", "params": [ { @@ -20267,7 +20267,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1774, + "line": 1775, "description": "Retrieves data from the server and caches it for use later during the\napplication. This should be called before the data is needed if possible,\nso loading displays can be faster.", "params": [ { @@ -20289,7 +20289,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1813, + "line": 1814, "description": "Returns an array of JSON-LD objects from the places designated by the given URIs.\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20321,7 +20321,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1859, + "line": 1860, "description": "Search a repository for JSON-LD compatible data.\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20353,7 +20353,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1877, + "line": 1878, "description": "Search a repository for JSON-LD compatible data synchronously.\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20373,7 +20373,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 1891, + "line": 1892, "description": "Search a repository for JSON-LD compatible data.\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20410,7 +20410,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2001, + "line": 2002, "description": "Search a repository for JSON-LD compatible data synchronously.\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20435,7 +20435,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2119, + "line": 2120, "description": "Searches known repository endpoints to set the server configuration for\nthis repositories instance", "memberof": "EcRepository", "itemtype": "method", @@ -20445,7 +20445,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2193, + "line": 2194, "description": "Searches known repository endpoints to set the server configuration for\nthis repositories instance", "memberof": "EcRepository", "itemtype": "method", @@ -20455,7 +20455,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2264, + "line": 2265, "description": "Handles the actual detection of repository endpoint /ping service", "params": [ { @@ -20478,7 +20478,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2310, + "line": 2311, "description": "Handles the actual detection of repository endpoint /ping service", "params": [ { @@ -20501,7 +20501,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2353, + "line": 2354, "description": "Lists all types visible to the current user in the repository\n

    \nUses a signature sheet gathered from {@link EcIdentityManager}.", "params": [ { @@ -20523,7 +20523,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2373, + "line": 2374, "description": "Backs up the skyrepo elasticsearch database to the server backup directory", "params": [ { @@ -20550,7 +20550,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2385, + "line": 2386, "description": "Restores the skyrepo elasticsearch backup from the server backup directory", "params": [ { @@ -20577,7 +20577,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2397, + "line": 2398, "description": "Wipes all data from the the skyrepo elasticsearch, can only be restored by using backup restore", "params": [ { @@ -20604,7 +20604,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2409, + "line": 2410, "description": "Handles the search results in search by params, before returning them\nwith the callback passed into search method", "params": [ { @@ -20637,7 +20637,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2447, + "line": 2448, "description": "Fetches the admin keys from the server to compare for check if current\nuser is an admin user", "params": [ { @@ -20659,7 +20659,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2567, + "line": 2568, "description": "Factory method for creating a file with certain values", "params": [ { @@ -20691,7 +20691,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2589, + "line": 2590, "description": "Retrieves a file from the server specified by it's ID", "params": [ { @@ -20719,7 +20719,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2609, + "line": 2610, "description": "Searches the repository given for files that match the query passed in", "params": [ { @@ -20756,7 +20756,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2632, + "line": 2633, "description": "Saves this file in the repository using the repository web services", "params": [ { @@ -20778,7 +20778,7 @@ }, { "file": "src/main/js/cass/ebac.repository.js", - "line": 2653, + "line": 2654, "description": "Deletes the file from the repository using repository web services", "params": [ { @@ -21748,7 +21748,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 815, + "line": 834, "description": "GETs something from a remote endpoint. Composed of a server endpoint\n(root URL) and a service (service path).", "params": [ { @@ -21780,7 +21780,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 831, + "line": 850, "description": "GETs something from a remote endpoint. Composed of a server endpoint\n(root URL) and a service (service path).", "params": [ { @@ -21812,7 +21812,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 887, + "line": 920, "description": "DELETEs something at a remote endpoint. Composed of a server endpoint\n(root URL) and a service (service path).", "params": [ { @@ -21844,7 +21844,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1023, + "line": 1073, "description": "Returns a Collection view of the incoming edges incident to vertex\nin this graph.", "params": [ { @@ -21862,7 +21862,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1033, + "line": 1083, "description": "Returns a Collection view of the outgoing edges incident to vertex\nin this graph.", "params": [ { @@ -21880,7 +21880,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1043, + "line": 1093, "description": "Returns a Collection view of the predecessors of vertex\nin this graph. A predecessor of vertex is defined as a vertex v\nwhich is connected to\nvertex by an edge e, where e is an outgoing edge of\nv and an incoming edge of vertex.", "params": [ { @@ -21898,7 +21898,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1056, + "line": 1106, "description": "Returns a Collection view of the successors of vertex\nin this graph. A successor of vertex is defined as a vertex v\nwhich is connected to\nvertex by an edge e, where e is an incoming edge of\nv and an outgoing edge of vertex.", "params": [ { @@ -21916,7 +21916,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1069, + "line": 1119, "description": "Returns the number of incoming edges incident to vertex.\nEquivalent to getInEdges(vertex).size().", "params": [ { @@ -21934,7 +21934,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1078, + "line": 1128, "description": "Returns the number of outgoing edges incident to vertex.\nEquivalent to getOutEdges(vertex).size().", "params": [ { @@ -21952,7 +21952,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1087, + "line": 1137, "description": "Returns true if v1 is a predecessor of v2 in this graph.\nEquivalent to v1.getPredecessors().contains(v2).", "params": [ { @@ -21974,7 +21974,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1097, + "line": 1147, "description": "Returns true if v1 is a successor of v2 in this graph.\nEquivalent to v1.getSuccessors().contains(v2).", "params": [ { @@ -21996,7 +21996,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1107, + "line": 1157, "description": "Returns the number of predecessors that vertex has in this graph.\nEquivalent to vertex.getPredecessors().size().", "params": [ { @@ -22014,7 +22014,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1116, + "line": 1166, "description": "Returns the number of successors that vertex has in this graph.\nEquivalent to vertex.getSuccessors().size().", "params": [ { @@ -22032,7 +22032,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1125, + "line": 1175, "description": "If directed_edge is a directed edge in this graph, returns the source;\notherwise returns null.\nThe source of a directed edge d is defined to be the vertex for which\nd is an outgoing edge.\ndirected_edge is guaranteed to be a directed edge if\nits EdgeType is DIRECTED.", "params": [ { @@ -22050,7 +22050,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1138, + "line": 1188, "description": "If directed_edge is a directed edge in this graph, returns the destination;\notherwise returns null.\nThe destination of a directed edge d is defined to be the vertex\nincident to d for which\nd is an incoming edge.\ndirected_edge is guaranteed to be a directed edge if\nits EdgeType is DIRECTED.", "params": [ { @@ -22068,7 +22068,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1152, + "line": 1202, "description": "Returns true if vertex is the source of edge.\nEquivalent to getSource(edge).equals(vertex).", "params": [ { @@ -22090,7 +22090,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1162, + "line": 1212, "description": "Returns true if vertex is the destination of edge.\nEquivalent to getDest(edge).equals(vertex).", "params": [ { @@ -22110,7 +22110,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1171, + "line": 1221, "description": "Adds edge e to this graph such that it connects\nvertex v1 to v2.\nEquivalent to addEdge(e, new Pair(v1, v2)).\nIf this graph does not contain v1, v2,\nor both, implementations may choose to either silently add\nthe vertices to the graph or throw an IllegalArgumentException.\nIf this graph assigns edge types to its edges, the edge type of\ne will be the default for this graph.\nSee Hypergraph.addEdge() for a listing of possible reasons\nfor failure.", "params": [ { @@ -22144,7 +22144,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1192, + "line": 1242, "description": "Returns the vertex at the other end of edge from vertex.\n(That is, returns the vertex incident to edge which is not vertex.)", "params": [ { @@ -22166,7 +22166,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1212, + "line": 1262, "description": "Returns true if the result is an object.", "params": [ { @@ -22186,7 +22186,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1227, + "line": 1277, "description": "Returns keys on the object", "params": [ { @@ -22206,7 +22206,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1257, + "line": 1307, "description": "Updates the framerate timer/counter.", "itemtype": "method", "name": "updateFrame", @@ -22216,7 +22216,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1271, + "line": 1321, "description": "Invoke a method now or later based on whether some time has passed since we last drew the screen.", "params": [ { @@ -22233,7 +22233,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1293, + "line": 1343, "description": "Invoke a method at some point in the future, allowing draw methods to occur periodically.", "params": [ { @@ -22250,7 +22250,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1653, + "line": 1703, "description": "Counter that counts down when each callback is called. Lots of tricks can be done to cause after to proc in different ways.", "itemtype": "property", "name": "counter", @@ -22260,7 +22260,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1660, + "line": 1710, "description": "\"Each\" method. See class description.", "params": [ { @@ -22287,7 +22287,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1679, + "line": 1729, "description": "\"Each\" method. Allows for replacing values in the array. See class description.", "params": [ { @@ -22314,7 +22314,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1728, + "line": 1778, "description": "Stops any remaining objects from being iterated over, if they have not already. Will prevent 'after' from being called.", "itemtype": "method", "name": "stop", @@ -22324,7 +22324,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1737, + "line": 1787, "description": "Stops any remaining objects from being iterated over, if they have not already. Will allow 'after' to be called.", "itemtype": "method", "name": "stop", @@ -22334,7 +22334,7 @@ }, { "file": "src/main/js/cass/ec.base.js", - "line": 1746, + "line": 1796, "description": "Is preventing 'after' from being called?", "return": { "description": "whether it is stopped." @@ -65540,7 +65540,7 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/cass.rollup.js:2804" + "line": " src/main/js/cass/cass.rollup.js:2819" }, { "message": "unknown tag: memberof", @@ -65868,115 +65868,115 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1541" + "line": " src/main/js/cass/ebac.repository.js:1542" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1606" + "line": " src/main/js/cass/ebac.repository.js:1607" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1624" + "line": " src/main/js/cass/ebac.repository.js:1625" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1680" + "line": " src/main/js/cass/ebac.repository.js:1681" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1729" + "line": " src/main/js/cass/ebac.repository.js:1730" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1774" + "line": " src/main/js/cass/ebac.repository.js:1775" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1813" + "line": " src/main/js/cass/ebac.repository.js:1814" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1859" + "line": " src/main/js/cass/ebac.repository.js:1860" }, { "message": "replacing incorrect tag: returns with return", - "line": " src/main/js/cass/ebac.repository.js:1877" + "line": " src/main/js/cass/ebac.repository.js:1878" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1877" + "line": " src/main/js/cass/ebac.repository.js:1878" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:1891" + "line": " src/main/js/cass/ebac.repository.js:1892" }, { "message": "replacing incorrect tag: returns with return", - "line": " src/main/js/cass/ebac.repository.js:2001" + "line": " src/main/js/cass/ebac.repository.js:2002" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2001" + "line": " src/main/js/cass/ebac.repository.js:2002" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2119" + "line": " src/main/js/cass/ebac.repository.js:2120" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2193" + "line": " src/main/js/cass/ebac.repository.js:2194" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2264" + "line": " src/main/js/cass/ebac.repository.js:2265" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2310" + "line": " src/main/js/cass/ebac.repository.js:2311" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2353" + "line": " src/main/js/cass/ebac.repository.js:2354" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2373" + "line": " src/main/js/cass/ebac.repository.js:2374" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2385" + "line": " src/main/js/cass/ebac.repository.js:2386" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2397" + "line": " src/main/js/cass/ebac.repository.js:2398" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2409" + "line": " src/main/js/cass/ebac.repository.js:2410" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2447" + "line": " src/main/js/cass/ebac.repository.js:2448" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2567" + "line": " src/main/js/cass/ebac.repository.js:2568" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2589" + "line": " src/main/js/cass/ebac.repository.js:2590" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2609" + "line": " src/main/js/cass/ebac.repository.js:2610" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2632" + "line": " src/main/js/cass/ebac.repository.js:2633" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ebac.repository.js:2653" + "line": " src/main/js/cass/ebac.repository.js:2654" }, { "message": "unknown tag: memberof", @@ -66012,23 +66012,23 @@ }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1660" + "line": " src/main/js/cass/ec.base.js:1710" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1679" + "line": " src/main/js/cass/ec.base.js:1729" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1728" + "line": " src/main/js/cass/ec.base.js:1778" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1737" + "line": " src/main/js/cass/ec.base.js:1787" }, { "message": "unknown tag: memberof", - "line": " src/main/js/cass/ec.base.js:1746" + "line": " src/main/js/cass/ec.base.js:1796" }, { "message": "unknown tag: license", @@ -66608,15 +66608,15 @@ }, { "message": "Missing item type\nHelper method to populate the graph with assertion data, based on propagation rules implicit in the relations (see devs.cassproject.org, Relations). Does not draw conclusions. Must be able to decrypt 'negative' value.", - "line": " src/main/js/cass/cass.rollup.js:2721" + "line": " src/main/js/cass/cass.rollup.js:2736" }, { "message": "Missing item type\nIF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

    \nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

    \nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \n

    \nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE INDETERMINANT", - "line": " src/main/js/cass/cass.rollup.js:4543" + "line": " src/main/js/cass/cass.rollup.js:4558" }, { "message": "Missing item type\nIF IP type is COMPETENCY|ROLLUPRULE: assertionResult = ( IF number of\npositive assertions > 0 && number of negative assertions = 0 THEN\nassertionResult = TRUE IF number of positive assertions = 0 && number of\nnegative assertions > 0 THEN assertionResult = FALSE IF number of\npositive assertions > 0 && number of negative assertions > 0 THEN\nassertionResult = INDETERMINANT IF number of positive assertions = 0 &&\nnumber of negative assertions = 0 THEN assertionResult = UNKNOWN )\n

    \nIF assertionResult = INDETERMINANT THEN INDETERMINANT ELSE IF any\nequivalent packets = INDETERMINANT THEN INDETERMINANT ELSE IF any sub\npackets = INDETERMINANT THEN INDETERMINANT\n

    \nELSE IF assertionResult = UNKNOWN: IF all equivalent packets = UNKNOWN IF\nall sub packets = UNKNOWN THEN UNKNOWN IF all sub packets = TRUE|UNKNOWN\nTHEN TRUE IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE IF all equivalent packets = TRUE|UNKNOWN IF all sub packets =\nTRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE IF all equivalent packets = FALSE|UNKNOWN IF all sub packets =\nFALSE|UNKNOWN THEN FALSE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \n

    \nELSE IF assertionResult = TRUE: IF all equivalent packets = TRUE|UNKNOWN\nIF all sub packets = TRUE|UNKNOWN THEN TRUE ELSE INDETERMINANT\n

    \nELSE INDETERMINANT\n

    \nELSE IF assertionResult = FALSE: IF all equivalent packets =\nFALSE|UNKNOWN IF all sub packets = FALSE|UNKNOWN THEN FALSE ELSE\nINDETERMINANT\n

    \nELSE INDETERMINANT", - "line": " src/main/js/cass/cass.rollup.js:4723" + "line": " src/main/js/cass/cass.rollup.js:4738" }, { "message": "Missing item type\nThe record used to request a rekey of a given public key", @@ -66644,15 +66644,15 @@ }, { "message": "Missing item type\nReturns true if vertex is the destination of edge.\nEquivalent to getDest(edge).equals(vertex).", - "line": " src/main/js/cass/ec.base.js:1162" + "line": " src/main/js/cass/ec.base.js:1212" }, { "message": "Missing item type\nInvoke a method now or later based on whether some time has passed since we last drew the screen.", - "line": " src/main/js/cass/ec.base.js:1271" + "line": " src/main/js/cass/ec.base.js:1321" }, { "message": "Missing item type\nInvoke a method at some point in the future, allowing draw methods to occur periodically.", - "line": " src/main/js/cass/ec.base.js:1293" + "line": " src/main/js/cass/ec.base.js:1343" }, { "message": "Missing item type\nA JavaScript implementation of the JSON-LD API.", diff --git a/docs/files/src_main_js_cass_cass.adapter.js.html b/docs/files/src_main_js_cass_cass.adapter.js.html index 9311a3865..54a65e370 100644 --- a/docs/files/src_main_js_cass_cass.adapter.js.html +++ b/docs/files/src_main_js_cass_cass.adapter.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_cass.competency.js.html b/docs/files/src_main_js_cass_cass.competency.js.html index fc5345a85..9d60bf459 100644 --- a/docs/files/src_main_js_cass_cass.competency.js.html +++ b/docs/files/src_main_js_cass_cass.competency.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_cass.import.js.html b/docs/files/src_main_js_cass_cass.import.js.html index f0071ac74..e314c6043 100644 --- a/docs/files/src_main_js_cass_cass.import.js.html +++ b/docs/files/src_main_js_cass_cass.import.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -2094,6 +2094,9 @@

    File: src/main/js/cass/cass.import.js

    Papa.parse(file, {encoding: "UTF-8", complete: function(results) { var tabularData = (results)["data"]; for (var i = 1; i < tabularData.length; i++) { + if (tabularData[i].length == 0 || (tabularData[i].length == 1 && (tabularData[i][0] == null || tabularData[i][0] == undefined || tabularData[i][0] == ""))) { + continue; + } var alignment = new EcAlignment(); var sourceKey = tabularData[i][sourceIndex]; var relationTypeKey = tabularData[i][relationTypeIndex]; diff --git a/docs/files/src_main_js_cass_cass.rollup.js.html b/docs/files/src_main_js_cass_cass.rollup.js.html index 425d7bf62..95b4b20ea 100644 --- a/docs/files/src_main_js_cass_cass.rollup.js.html +++ b/docs/files/src_main_js_cass_cass.rollup.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -3494,37 +3494,52 @@

    File: src/main/js/cass/cass.rollup.js

    prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - var precache = new Array(); - if (framework.competency != null) { - precache = precache.concat(framework.competency); - } - if (framework.relation != null) { - precache = precache.concat(framework.relation); - } - repo.multiget(precache, function(data) { - var competencyTemplate = new EcCompetency(); - var alignmentTemplate = new EcAlignment(); + if (framework.competency == null) + framework.competency = new Array(); + if (framework.relation == null) + framework.relation = new Array(); + repo.multiget(framework.competency, function(data) { var eah = new EcAsyncHelper(); eah.each(data, function(d, callback0) { - if (d.isAny(competencyTemplate.getTypes())) { - EcCompetency.get(d.id, function(c) { - me.addToMetaStateArray(me.getMetaStateCompetency(c), "framework", framework); - me.addCompetency(c); - callback0(); - }, callback0); - } else if (d.isAny(alignmentTemplate.getTypes())) { - EcAlignment.get(d.id, function(alignment) { - me.addRelation(alignment); - me.addToMetaStateArray(me.getMetaStateAlignment(alignment), "framework", framework); - callback0(); - }, callback0); - } else - callback0(); + me.handleCacheElement(d, callback0, framework); }, function(strings) { - success(); + repo.multiget(framework.relation, function(data) { + var eah2 = new EcAsyncHelper(); + eah2.each(data, function(d2, callback2) { + me.handleCacheElement(d2, callback2, framework); + }, function(strings2) { + success(); + }); + }, failure); }); }, failure); }; + prototype.handleCacheElement = function(d, callback0, framework) { + var competencyTemplate = new EcCompetency(); + var alignmentTemplate = new EcAlignment(); + var encryptedTemplate = new EcEncryptedValue(); + var me = this; + if (d.isAny(encryptedTemplate.getTypes())) { + EcEncryptedValue.fromEncryptedValueAsync(d, function(ecRemoteLinkedData) { + me.handleCacheElement(ecRemoteLinkedData, callback0, framework); + }, callback0); + return; + } + if (d.isAny(competencyTemplate.getTypes())) { + EcCompetency.get(d.id, function(c) { + me.addToMetaStateArray(me.getMetaStateCompetency(c), "framework", framework); + me.addCompetency(c); + callback0(); + }, callback0); + } else if (d.isAny(alignmentTemplate.getTypes())) { + EcAlignment.get(d.id, function(alignment) { + me.addRelation(alignment); + me.addToMetaStateArray(me.getMetaStateAlignment(alignment), "framework", framework); + callback0(); + }, callback0); + } else + callback0(); + }; prototype.fetchFrameworkAlignments = function(framework) { var me = this; EcAlignment.search(this.repo, EcGraphUtil.buildIdSearchQueryForIdList(framework.relation), function(ecaa) { @@ -3674,7 +3689,7 @@

    File: src/main/js/cass/cass.rollup.js

    return false; if (this.containsEdge(alignment)) return false; - var source = (this.competencyMap)[alignment.source]; + var source = (this.competencyMap)[EcRemoteLinkedData.trimVersionFromUrl(alignment.source)]; if (source == null && (this.dontTryAnyMore)[alignment.source] != null) return false; if (source == null) diff --git a/docs/files/src_main_js_cass_ebac.identity.js.html b/docs/files/src_main_js_cass_ebac.identity.js.html index 948980987..294c0fd44 100644 --- a/docs/files/src_main_js_cass_ebac.identity.js.html +++ b/docs/files/src_main_js_cass_ebac.identity.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_ebac.repository.js.html b/docs/files/src_main_js_cass_ebac.repository.js.html index a25df2d3f..5936d4a03 100644 --- a/docs/files/src_main_js_cass_ebac.repository.js.html +++ b/docs/files/src_main_js_cass_ebac.repository.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1855,7 +1855,7 @@

    File: src/main/js/cass/ebac.repository.js

    if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); me.buildKeyForwardingTable(success, failure); } } @@ -2266,7 +2266,7 @@

    File: src/main/js/cass/ebac.repository.js

    if (data.owner != null && data.owner.length == 0) { delete (data)["owner"]; } - if (EcEncryptedValue.encryptOnSave(data.id, null)) { + if (EcEncryptedValue.encryptOnSave(data.id, null) && !data.isAny(new EcEncryptedValue().getTypes())) { var encrypted = EcEncryptedValue.toEncryptedValue(data, false); EcIdentityManager.sign(encrypted); EcRepository._saveWithoutSigning(encrypted, success, failure, repo); @@ -2314,10 +2314,11 @@

    File: src/main/js/cass/ebac.repository.js

    var serialized = new Array(); for (var i = 0; i < data.length; i++) { var d = data[i]; - if (EcEncryptedValue.encryptOnSave(d.id, null)) { + if (EcEncryptedValue.encryptOnSave(d.id, null) && !d.isAny(new EcEncryptedValue().getTypes())) { var encrypted = EcEncryptedValue.toEncryptedValue(d, false); EcIdentityManager.sign(encrypted); data[i] = encrypted; + d = encrypted; } else { EcIdentityManager.sign(d); } @@ -2644,7 +2645,7 @@

    File: src/main/js/cass/ebac.repository.js

    * @method multiget */ prototype.multiget = function(urls, success, failure) { - if (urls == null || urls.length == 0) { + if (urls == null) { if (failure != null) { failure(""); } @@ -3094,7 +3095,7 @@

    File: src/main/js/cass/ebac.repository.js

    if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); if (me.autoDetectFound == false) { me.selectedServer = guess; me.autoDetectFound = true; @@ -3142,7 +3143,7 @@

    File: src/main/js/cass/ebac.repository.js

    if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); me.selectedServer = guess; me.autoDetectFound = true; } diff --git a/docs/files/src_main_js_cass_ec.base.js.html b/docs/files/src_main_js_cass_ec.base.js.html index 5f828c052..636e90b84 100644 --- a/docs/files/src_main_js_cass_ec.base.js.html +++ b/docs/files/src_main_js_cass_ec.base.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    @@ -1588,20 +1588,6 @@

    File: src/main/js/cass/ec.base.js

    } url = EcRemote.upgradeHttpToHttps(url); var xhr = null; - if ((typeof httpStatus) == "undefined") { - xhr = new XMLHttpRequest(); - xhr.open("POST", url, EcRemote.async); - var xhrx = xhr; - xhr.onreadystatechange = function() { - if (xhrx.readyState == 4 && xhrx.status == 200) { - if (successCallback != null) - successCallback(xhrx.responseText); - } else if (xhrx.readyState == 4) { - if (failureCallback != null) - failureCallback(xhrx.responseText); - } - }; - } var theBoundary = null; if ((fd)["_streams"] != null) { var chunks = (fd)["_streams"]; @@ -1615,10 +1601,43 @@

    File: src/main/js/cass/ec.base.js

    } all = all + "\r\n\r\n--" + (fd)["_boundary"] + "--"; theBoundary = (fd)["_boundary"]; - if ((typeof httpStatus) == "undefined") - xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + (fd)["_boundary"]); fd = all; } else {} + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + if (headers == null) + headers = new Object(); + (headers)["Content-Type"] = "multipart/form-data; boundary=" + theBoundary; + var requestObject = new Object(); + (requestObject)["method"] = "POST"; + (requestObject)["url"] = url; + (requestObject)["headers"] = headers; + (requestObject)["body"] = fd; + request(requestObject, function(error, response, body) { + if (failureCallback != null && error != null) + failureCallback(error); + else if (failureCallback != null && (response)["statusCode"] != 200) + failureCallback(body); + else if (successCallback != null) + successCallback(body); + }); + return; + } + if ((typeof httpStatus) == "undefined") { + xhr = new XMLHttpRequest(); + xhr.open("POST", url, EcRemote.async); + var xhrx = xhr; + xhr.onreadystatechange = function() { + if (xhrx.readyState == 4 && xhrx.status == 200) { + if (successCallback != null) + successCallback(xhrx.responseText); + } else if (xhrx.readyState == 4) { + if (failureCallback != null) + failureCallback(xhrx.responseText); + } + }; + if (theBoundary != null) + xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + theBoundary); + } if (xhr != null) if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; @@ -1681,6 +1700,20 @@

    File: src/main/js/cass/ec.base.js

    } }; } + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + var requestObject = new Object(); + (requestObject)["method"] = "GET"; + (requestObject)["url"] = url; + request(requestObject, function(error, response, body) { + if (failure != null && error != null) + failure(error); + else if (failure != null && (response)["statusCode"] != 200) + failure(body); + else if (success != null) + success(body); + }); + return; + } if (xhr != null) { if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; @@ -1732,6 +1765,23 @@

    File: src/main/js/cass/ec.base.js

    } }; } + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + var sso = new Object(); + (sso)["signatureSheet"] = signatureSheet; + var requestObject = new Object(); + (requestObject)["method"] = "DELETE"; + (requestObject)["url"] = url; + (requestObject)["headers"] = sso; + request(requestObject, function(error, response, body) { + if (failure != null && error != null) + failure(error); + else if (failure != null && (response)["statusCode"] != 200) + failure(body); + else if (success != null) + success(body); + }); + return; + } if (xhr != null) { if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; diff --git a/docs/files/src_main_js_cass_ec.crypto.js.html b/docs/files/src_main_js_cass_ec.crypto.js.html index 212e46844..b5ba92ade 100644 --- a/docs/files/src_main_js_cass_ec.crypto.js.html +++ b/docs/files/src_main_js_cass_ec.crypto.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_jsonld.js.html b/docs/files/src_main_js_cass_jsonld.js.html index 55205abab..a29513e94 100644 --- a/docs/files/src_main_js_cass_jsonld.js.html +++ b/docs/files/src_main_js_cass_jsonld.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html index 15a733b5f..880468bc9 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.cass.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html index 53d77f331..261920eea 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.ebac.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html b/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html index 38fb3c9da..a69426432 100644 --- a/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html +++ b/docs/files/src_main_js_cass_org.cassproject.schema.general.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.credentialengine.js.html b/docs/files/src_main_js_cass_org.credentialengine.js.html index 559457629..9b07458c2 100644 --- a/docs/files/src_main_js_cass_org.credentialengine.js.html +++ b/docs/files/src_main_js_cass_org.credentialengine.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.json-ld.js.html b/docs/files/src_main_js_cass_org.json-ld.js.html index 72693a9e2..ef8c8f8ba 100644 --- a/docs/files/src_main_js_cass_org.json-ld.js.html +++ b/docs/files/src_main_js_cass_org.json-ld.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.schema.js.html b/docs/files/src_main_js_cass_org.schema.js.html index 0da89ff1b..aa5f0e1b4 100644 --- a/docs/files/src_main_js_cass_org.schema.js.html +++ b/docs/files/src_main_js_cass_org.schema.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_org.w3.skos.js.html b/docs/files/src_main_js_cass_org.w3.skos.js.html index 7f4499c59..512dca63f 100644 --- a/docs/files/src_main_js_cass_org.w3.skos.js.html +++ b/docs/files/src_main_js_cass_org.w3.skos.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/files/src_main_js_cass_pem-jwk.js.html b/docs/files/src_main_js_cass_pem-jwk.js.html index 36b3a0833..7b1fc5821 100644 --- a/docs/files/src_main_js_cass_pem-jwk.js.html +++ b/docs/files/src_main_js_cass_pem-jwk.js.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/index.html b/docs/index.html index 88bdc7d24..fbeabbb77 100644 --- a/docs/index.html +++ b/docs/index.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/com.eduworks.ec.html b/docs/modules/com.eduworks.ec.html index 0be60ee6b..7b2835ac3 100644 --- a/docs/modules/com.eduworks.ec.html +++ b/docs/modules/com.eduworks.ec.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/org.cassproject.html b/docs/modules/org.cassproject.html index 60933202d..2cea68fc7 100644 --- a/docs/modules/org.cassproject.html +++ b/docs/modules/org.cassproject.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/org.credentialengine.html b/docs/modules/org.credentialengine.html index 9b0ca67d3..2f93c7db4 100644 --- a/docs/modules/org.credentialengine.html +++ b/docs/modules/org.credentialengine.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/org.json.ld.html b/docs/modules/org.json.ld.html index 9a2a00720..6906013ee 100644 --- a/docs/modules/org.json.ld.html +++ b/docs/modules/org.json.ld.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/org.schema.html b/docs/modules/org.schema.html index 95fb9e7d7..ba101146f 100644 --- a/docs/modules/org.schema.html +++ b/docs/modules/org.schema.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/docs/modules/org.w3.skos.html b/docs/modules/org.w3.skos.html index 5b1957286..b9067f7c1 100644 --- a/docs/modules/org.w3.skos.html +++ b/docs/modules/org.w3.skos.html @@ -17,7 +17,7 @@

    - API Docs for: 1.3.15 + API Docs for: 1.4.0
    diff --git a/package-lock.json b/package-lock.json index 73acb9c9a..23cef1c34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,73 @@ { + "name": "CASS", + "lockfileVersion": 2, "requires": true, - "lockfileVersion": 1, + "packages": { + "": { + "dependencies": { + "yuidoc-ember-cli-theme": "^1.0.4" + } + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + }, + "node_modules/linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, + "node_modules/markdown-it": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz", + "integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==", + "dependencies": { + "argparse": "^1.0.7", + "entities": "~1.1.1", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "bin": { + "markdown-it": "bin/markdown-it.js" + } + }, + "node_modules/mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=" + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, + "node_modules/yuidoc-ember-cli-theme": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/yuidoc-ember-cli-theme/-/yuidoc-ember-cli-theme-1.0.4.tgz", + "integrity": "sha1-1DYjqi52guc43tYFja60W46N/9w=", + "dependencies": { + "markdown-it": "^8.0.0" + } + } + }, "dependencies": { "argparse": { "version": "1.0.10", diff --git a/pom.xml b/pom.xml index c6ee391bf..7e5a43a47 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.cassproject cass war - 1.3.15 + 1.4.0 UTF-8 diff --git a/src/main/js/cass.js b/src/main/js/cass.js index 5ed542f82..d117bb32f 100644 --- a/src/main/js/cass.js +++ b/src/main/js/cass.js @@ -33503,20 +33503,6 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { } url = EcRemote.upgradeHttpToHttps(url); var xhr = null; - if ((typeof httpStatus) == "undefined") { - xhr = new XMLHttpRequest(); - xhr.open("POST", url, EcRemote.async); - var xhrx = xhr; - xhr.onreadystatechange = function() { - if (xhrx.readyState == 4 && xhrx.status == 200) { - if (successCallback != null) - successCallback(xhrx.responseText); - } else if (xhrx.readyState == 4) { - if (failureCallback != null) - failureCallback(xhrx.responseText); - } - }; - } var theBoundary = null; if ((fd)["_streams"] != null) { var chunks = (fd)["_streams"]; @@ -33530,10 +33516,43 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { } all = all + "\r\n\r\n--" + (fd)["_boundary"] + "--"; theBoundary = (fd)["_boundary"]; - if ((typeof httpStatus) == "undefined") - xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + (fd)["_boundary"]); fd = all; } else {} + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + if (headers == null) + headers = new Object(); + (headers)["Content-Type"] = "multipart/form-data; boundary=" + theBoundary; + var requestObject = new Object(); + (requestObject)["method"] = "POST"; + (requestObject)["url"] = url; + (requestObject)["headers"] = headers; + (requestObject)["body"] = fd; + request(requestObject, function(error, response, body) { + if (failureCallback != null && error != null) + failureCallback(error); + else if (failureCallback != null && (response)["statusCode"] != 200) + failureCallback(body); + else if (successCallback != null) + successCallback(body); + }); + return; + } + if ((typeof httpStatus) == "undefined") { + xhr = new XMLHttpRequest(); + xhr.open("POST", url, EcRemote.async); + var xhrx = xhr; + xhr.onreadystatechange = function() { + if (xhrx.readyState == 4 && xhrx.status == 200) { + if (successCallback != null) + successCallback(xhrx.responseText); + } else if (xhrx.readyState == 4) { + if (failureCallback != null) + failureCallback(xhrx.responseText); + } + }; + if (theBoundary != null) + xhr.setRequestHeader("Content-Type", "multipart/form-data; boundary=" + theBoundary); + } if (xhr != null) if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; @@ -33596,6 +33615,20 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { } }; } + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + var requestObject = new Object(); + (requestObject)["method"] = "GET"; + (requestObject)["url"] = url; + request(requestObject, function(error, response, body) { + if (failure != null && error != null) + failure(error); + else if (failure != null && (response)["statusCode"] != 200) + failure(body); + else if (success != null) + success(body); + }); + return; + } if (xhr != null) { if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; @@ -33647,6 +33680,23 @@ EcRemote = stjs.extend(EcRemote, null, [], function(constructor, prototype) { } }; } + if ((typeof isNodeJs) != "undefined" && EcRemote.async) { + var sso = new Object(); + (sso)["signatureSheet"] = signatureSheet; + var requestObject = new Object(); + (requestObject)["method"] = "DELETE"; + (requestObject)["url"] = url; + (requestObject)["headers"] = sso; + request(requestObject, function(error, response, body) { + if (failure != null && error != null) + failure(error); + else if (failure != null && (response)["statusCode"] != 200) + failure(body); + else if (success != null) + success(body); + }); + return; + } if (xhr != null) { if (EcRemote.async) (xhr)["timeout"] = EcRemote.timeout; @@ -83335,7 +83385,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); me.buildKeyForwardingTable(success, failure); } } @@ -83746,7 +83796,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (data.owner != null && data.owner.length == 0) { delete (data)["owner"]; } - if (EcEncryptedValue.encryptOnSave(data.id, null)) { + if (EcEncryptedValue.encryptOnSave(data.id, null) && !data.isAny(new EcEncryptedValue().getTypes())) { var encrypted = EcEncryptedValue.toEncryptedValue(data, false); EcIdentityManager.sign(encrypted); EcRepository._saveWithoutSigning(encrypted, success, failure, repo); @@ -83794,10 +83844,11 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy var serialized = new Array(); for (var i = 0; i < data.length; i++) { var d = data[i]; - if (EcEncryptedValue.encryptOnSave(d.id, null)) { + if (EcEncryptedValue.encryptOnSave(d.id, null) && !d.isAny(new EcEncryptedValue().getTypes())) { var encrypted = EcEncryptedValue.toEncryptedValue(d, false); EcIdentityManager.sign(encrypted); data[i] = encrypted; + d = encrypted; } else { EcIdentityManager.sign(d); } @@ -84124,7 +84175,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy * @method multiget */ prototype.multiget = function(urls, success, failure) { - if (urls == null || urls.length == 0) { + if (urls == null) { if (failure != null) { failure(""); } @@ -84574,7 +84625,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); if (me.autoDetectFound == false) { me.selectedServer = guess; me.autoDetectFound = true; @@ -84622,7 +84673,7 @@ EcRepository = stjs.extend(EcRepository, null, [], function(constructor, prototy if (p1 != null) { if ((p1)["ping"] == "pong") { if ((p1)["time"] != null) - me.timeOffset = (new Date().getTime()) - ((p1)["time"]); + me.timeOffset = (((p1)["time"] - new Date().getTime())); me.selectedServer = guess; me.autoDetectFound = true; } @@ -88540,6 +88591,9 @@ CSVImport = stjs.extend(CSVImport, null, [], function(constructor, prototype) { Papa.parse(file, {encoding: "UTF-8", complete: function(results) { var tabularData = (results)["data"]; for (var i = 1; i < tabularData.length; i++) { + if (tabularData[i].length == 0 || (tabularData[i].length == 1 && (tabularData[i][0] == null || tabularData[i][0] == undefined || tabularData[i][0] == ""))) { + continue; + } var alignment = new EcAlignment(); var sourceKey = tabularData[i][sourceIndex]; var relationTypeKey = tabularData[i][relationTypeIndex]; @@ -92159,37 +92213,52 @@ EcFrameworkGraph = stjs.extend(EcFrameworkGraph, EcDirectedGraph, [], function(c prototype.addFramework = function(framework, repo, success, failure) { this.frameworks.push(framework); var me = this; - var precache = new Array(); - if (framework.competency != null) { - precache = precache.concat(framework.competency); - } - if (framework.relation != null) { - precache = precache.concat(framework.relation); - } - repo.multiget(precache, function(data) { - var competencyTemplate = new EcCompetency(); - var alignmentTemplate = new EcAlignment(); + if (framework.competency == null) + framework.competency = new Array(); + if (framework.relation == null) + framework.relation = new Array(); + repo.multiget(framework.competency, function(data) { var eah = new EcAsyncHelper(); eah.each(data, function(d, callback0) { - if (d.isAny(competencyTemplate.getTypes())) { - EcCompetency.get(d.id, function(c) { - me.addToMetaStateArray(me.getMetaStateCompetency(c), "framework", framework); - me.addCompetency(c); - callback0(); - }, callback0); - } else if (d.isAny(alignmentTemplate.getTypes())) { - EcAlignment.get(d.id, function(alignment) { - me.addRelation(alignment); - me.addToMetaStateArray(me.getMetaStateAlignment(alignment), "framework", framework); - callback0(); - }, callback0); - } else - callback0(); + me.handleCacheElement(d, callback0, framework); }, function(strings) { - success(); + repo.multiget(framework.relation, function(data) { + var eah2 = new EcAsyncHelper(); + eah2.each(data, function(d2, callback2) { + me.handleCacheElement(d2, callback2, framework); + }, function(strings2) { + success(); + }); + }, failure); }); }, failure); }; + prototype.handleCacheElement = function(d, callback0, framework) { + var competencyTemplate = new EcCompetency(); + var alignmentTemplate = new EcAlignment(); + var encryptedTemplate = new EcEncryptedValue(); + var me = this; + if (d.isAny(encryptedTemplate.getTypes())) { + EcEncryptedValue.fromEncryptedValueAsync(d, function(ecRemoteLinkedData) { + me.handleCacheElement(ecRemoteLinkedData, callback0, framework); + }, callback0); + return; + } + if (d.isAny(competencyTemplate.getTypes())) { + EcCompetency.get(d.id, function(c) { + me.addToMetaStateArray(me.getMetaStateCompetency(c), "framework", framework); + me.addCompetency(c); + callback0(); + }, callback0); + } else if (d.isAny(alignmentTemplate.getTypes())) { + EcAlignment.get(d.id, function(alignment) { + me.addRelation(alignment); + me.addToMetaStateArray(me.getMetaStateAlignment(alignment), "framework", framework); + callback0(); + }, callback0); + } else + callback0(); + }; prototype.fetchFrameworkAlignments = function(framework) { var me = this; EcAlignment.search(this.repo, EcGraphUtil.buildIdSearchQueryForIdList(framework.relation), function(ecaa) { @@ -92339,7 +92408,7 @@ EcFrameworkGraph = stjs.extend(EcFrameworkGraph, EcDirectedGraph, [], function(c return false; if (this.containsEdge(alignment)) return false; - var source = (this.competencyMap)[alignment.source]; + var source = (this.competencyMap)[EcRemoteLinkedData.trimVersionFromUrl(alignment.source)]; if (source == null && (this.dontTryAnyMore)[alignment.source] != null) return false; if (source == null) diff --git a/src/main/js/cass.min.js b/src/main/js/cass.min.js index 4529785c7..5395433be 100644 --- a/src/main/js/cass.min.js +++ b/src/main/js/cass.min.js @@ -1,16 +1,16 @@ -var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(d,a,b){if(b.get||b.set)throw new TypeError("ES3 does not support getters and setters.");d!=Array.prototype&&d!=Object.prototype&&(d[a]=b.value)};$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_"; -$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.symbolCounter_=0;$jscomp.Symbol=function(d){return $jscomp.SYMBOL_PREFIX+(d||"")+$jscomp.symbolCounter_++}; -$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var d=$jscomp.global.Symbol.iterator;d||(d=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[d]&&$jscomp.defineProperty(Array.prototype,d,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(d){var a=0;return $jscomp.iteratorPrototype(function(){return a=this.length()};c.ByteStringBuffer.prototype.putByte=function(a){return this.putBytes(String.fromCharCode(a))}; c.ByteStringBuffer.prototype.fillWithByte=function(a,b){a=String.fromCharCode(a);for(var c=this.data;0>>=1,0>8& 255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt24=function(a){return this.putBytes(String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt32=function(a){return this.putBytes(String.fromCharCode(a>>24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255))};c.ByteStringBuffer.prototype.putInt16Le=function(a){return this.putBytes(String.fromCharCode(a&255)+String.fromCharCode(a>> @@ -21,11 +21,11 @@ function(){var a=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+ function(a){var b=this.getInt(a);a=2<=a&&(b-=a<<1),b};c.ByteStringBuffer.prototype.getBytes=function(a){var b;return a?(a=Math.min(this.length(),a),b=this.data.slice(this.read,this.read+a),this.read+=a):0===a?b="":(b=0===this.read?this.data:this.data.slice(this.read),this.clear()),b};c.ByteStringBuffer.prototype.bytes=function(a){return"undefined"==typeof a?this.data.slice(this.read):this.data.slice(this.read,this.read+a)};c.ByteStringBuffer.prototype.at=function(a){return this.data.charCodeAt(this.read+ a)};c.ByteStringBuffer.prototype.setAt=function(a,b){return this.data=this.data.substr(0,this.read+a)+String.fromCharCode(b)+this.data.substr(this.read+a+1),this};c.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)};c.ByteStringBuffer.prototype.copy=function(){var a=c.createBuffer(this.data);return a.read=this.read,a};c.ByteStringBuffer.prototype.compact=function(){return 0c&&(a+="0");a+=c.toString(16)}return a};c.ByteStringBuffer.prototype.toString=function(){return c.decodeUtf8(this.bytes())};c.DataBuffer=function(a,b){b=b||{};this.read=b.readOffset|| -0;this.growSize=b.growSize||1024;var f=c.isArrayBuffer(a),k=c.isArrayBufferView(a);f||k?(f?this.data=new DataView(a):this.data=new DataView(a.buffer,a.byteOffset,a.byteLength),this.write="writeOffset"in b?b.writeOffset:this.data.byteLength):(this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!==a&&void 0!==a&&this.putBytes(a),"writeOffset"in b&&(this.write=b.writeOffset))};c.DataBuffer.prototype.length=function(){return this.write-this.read};c.DataBuffer.prototype.isEmpty=function(){return 0>= +0;this.growSize=b.growSize||1024;var k=c.isArrayBuffer(a),h=c.isArrayBufferView(a);k||h?(k?this.data=new DataView(a):this.data=new DataView(a.buffer,a.byteOffset,a.byteLength),this.write="writeOffset"in b?b.writeOffset:this.data.byteLength):(this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!==a&&void 0!==a&&this.putBytes(a),"writeOffset"in b&&(this.write=b.writeOffset))};c.DataBuffer.prototype.length=function(){return this.write-this.read};c.DataBuffer.prototype.isEmpty=function(){return 0>= this.length()};c.DataBuffer.prototype.accommodate=function(a,b){if(this.length()>=a)return this;b=Math.max(b||this.growSize,a);a=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength);b=new Uint8Array(this.length()+b);return b.set(a),this.data=new DataView(b.buffer),this};c.DataBuffer.prototype.putByte=function(a){return this.accommodate(1),this.data.setUint8(this.write++,a),this};c.DataBuffer.prototype.fillWithByte=function(a,b){this.accommodate(b);for(var c=0;c>8&65535),this.data.setInt8(this.write,a>>16&255),this.write+=3,this};c.DataBuffer.prototype.putInt32=function(a){return this.accommodate(4), this.data.setInt32(this.write,a),this.write+=4,this};c.DataBuffer.prototype.putInt16Le=function(a){return this.accommodate(2),this.data.setInt16(this.write,a,!0),this.write+=2,this};c.DataBuffer.prototype.putInt24Le=function(a){return this.accommodate(3),this.data.setInt8(this.write,a>>16&255),this.data.setInt16(this.write,a>>8&65535,!0),this.write+=3,this};c.DataBuffer.prototype.putInt32Le=function(a){return this.accommodate(4),this.data.setInt32(this.write,a,!0),this.write+=4,this};c.DataBuffer.prototype.putInt= function(a,b){this.accommodate(b/8);do b-=8,this.data.setInt8(this.write++,a>>b&255);while(0a&&(a+=2<c&&(a+="0");a+=c.toString(16)}return a};c.DataBuffer.prototype.toString= function(a){var b=new Uint8Array(this.data,this.read,this.length());a=a||"utf8";if("binary"===a||"raw"===a)return c.binary.raw.encode(b);if("hex"===a)return c.binary.hex.encode(b);if("base64"===a)return c.binary.base64.encode(b);if("utf8"===a)return c.text.utf8.decode(b);if("utf16"===a)return c.text.utf16.decode(b);throw Error("Invalid encoding: "+a);};c.createBuffer=function(a,b){return b=b||"raw",void 0!==a&&"utf8"===b&&(a=c.encodeUtf8(a)),new c.ByteBuffer(a)};c.fillString=function(a,b){for(var c= -"";0>>=1,0> -24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255)};var k=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];c.encode64=function(a,b){for(var c="",f="",k,e,g,m=0;m> -2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|e>>4),isNaN(e)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((e&15)<<2|g>>6),c+=isNaN(g)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(g&63)),b&&c.length>b&&(f+=c.substr(0,b)+"\r\n",c=c.substr(b));return f+=c,f};c.decode64=function(a){a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var b="",c,f,e,B,g=0;g>4),64!==e&&(b+=String.fromCharCode((f&15)<<4|e>>2),64!==B&&(b+=String.fromCharCode((e&3)<<6|B)));return b};c.encodeUtf8=function(a){return unescape(encodeURIComponent(a))};c.decodeUtf8=function(a){return decodeURIComponent(escape(a))};c.binary={raw:{},hex:{},base64:{}};c.binary.raw.encode=function(a){return String.fromCharCode.apply(null,a)};c.binary.raw.decode=function(a,b,c){var f=b; -f||(f=new Uint8Array(a.length));for(var k=c=c||0,e=0;e> -2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((k&3)<<4|e>>4),isNaN(e)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((e&15)<<2|g>>6),c+=isNaN(g)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(g&63)),b&&c.length>b&&(f+=c.substr(0,b)+"\r\n",c=c.substr(b));return f+=c,f};c.binary.base64.decode=function(a,b,c){var f=b;f||(f=new Uint8Array(3*Math.ceil(a.length/4)));a=a.replace(/[^A-Za-z0-9\+\/\=]/g, -"");c=c||0;for(var e,g,m,h,n=0,r=c;n>4,64!==m&&(f[r++]=(g&15)<<4|m>>2,64!==h&&(f[r++]=(m&3)<<6|h));return b?r-c:f.subarray(0,r)};c.text={utf8:{},utf16:{}};c.text.utf8.encode=function(a,b,f){a=c.encodeUtf8(a);var k=b;k||(k=new Uint8Array(a.length));for(var e=f=f||0,g=0;ga?"-":"";var e=parseInt(a=Math.abs(+a|| -0).toFixed(k),10)+"",g=3e;++e)if(a[e]&&0!==a[e].length){var g=c.hexToBytes(a[e]);2>g.length&&k.putByte(0);k.putBytes(g)}else k.fillWithByte(0,f),f=0;return k.getBytes()}; -c.bytesToIP=function(a){return 4===a.length?c.bytesToIPv4(a):16===a.length?c.bytesToIPv6(a):null};c.bytesToIPv4=function(a){if(4!==a.length)return null;for(var b=[],c=0;cf[k].end-f[k].start&&(k= -f.length-1)):f.push({start:h,end:h})}b.push(g)}0m.st&&k.stk.st&&m.st>>=1,0> +24&255)+String.fromCharCode(a>>16&255)+String.fromCharCode(a>>8&255)+String.fromCharCode(a&255)};var k=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51];c.encode64=function(a,b){for(var c="",k="",h,d,f,g=0;g> +2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((h&3)<<4|d>>4),isNaN(d)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((d&15)<<2|f>>6),c+=isNaN(f)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(f&63)),b&&c.length>b&&(k+=c.substr(0,b)+"\r\n",c=c.substr(b));return k+=c,k};c.decode64=function(a){a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var b="",c,h,d,B,f=0;f>4),64!==d&&(b+=String.fromCharCode((h&15)<<4|d>>2),64!==B&&(b+=String.fromCharCode((d&3)<<6|B)));return b};c.encodeUtf8=function(a){return unescape(encodeURIComponent(a))};c.decodeUtf8=function(a){return decodeURIComponent(escape(a))};c.binary={raw:{},hex:{},base64:{}};c.binary.raw.encode=function(a){return String.fromCharCode.apply(null,a)};c.binary.raw.decode=function(a,b,c){var k=b; +k||(k=new Uint8Array(a.length));for(var h=c=c||0,d=0;d> +2),c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((h&3)<<4|d>>4),isNaN(d)?c+="\x3d\x3d":(c+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt((d&15)<<2|f>>6),c+=isNaN(f)?"\x3d":"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\x3d".charAt(f&63)),b&&c.length>b&&(k+=c.substr(0,b)+"\r\n",c=c.substr(b));return k+=c,k};c.binary.base64.decode=function(a,b,c){var h=b;h||(h=new Uint8Array(3*Math.ceil(a.length/4)));a=a.replace(/[^A-Za-z0-9\+\/\=]/g, +"");c=c||0;for(var d,f,g,m,n=0,r=c;n>4,64!==g&&(h[r++]=(f&15)<<4|g>>2,64!==m&&(h[r++]=(g&3)<<6|m));return b?r-c:h.subarray(0,r)};c.text={utf8:{},utf16:{}};c.text.utf8.encode=function(a,b,k){a=c.encodeUtf8(a);var h=b;h||(h=new Uint8Array(a.length));for(var d=k=k||0,f=0;fa?"-":"";var d=parseInt(a=Math.abs(+a|| +0).toFixed(h),10)+"",f=3d;++d)if(a[d]&&0!==a[d].length){var f=c.hexToBytes(a[d]);2>f.length&&h.putByte(0);h.putBytes(f)}else h.fillWithByte(0,k),k=0;return h.getBytes()}; +c.bytesToIP=function(a){return 4===a.length?c.bytesToIPv4(a):16===a.length?c.bytesToIPv6(a):null};c.bytesToIPv4=function(a){if(4!==a.length)return null;for(var b=[],c=0;ck[h].end-k[h].start&&(h= +k.length-1)):k.push({start:m,end:m})}b.push(f)}0g.st&&h.sth.st&&g.stthis.blockSize<<2?!1:(a.truncate(b),!0)};e.cbc=function(a){a=a||{};this.name="CBC";this.cipher=a.cipher;this.blockSize=a.blockSize||16;this._ints=this.blockSize/4;this._inBlock=Array(this._ints);this._outBlock=Array(this._ints)};e.cbc.prototype.start=function(a){if(null===a.iv){if(!this._prev)throw Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._prev=this._iv.slice(0)}};e.cbc.prototype.encrypt= -function(a,b,c){if(a.length()this.blockSize<<2?!1:(a.truncate(b),!0)};e.cfb=function(b){b=b||{};this.name="CFB";this.cipher=b.cipher;this.blockSize=b.blockSize||16;this._ints=this.blockSize/4;this._inBlock=null;this._outBlock=Array(this._ints);this._partialBlock= -Array(this._ints);this._partialOutput=a.util.createBuffer();this._partialBytes=0};e.cfb.prototype.start=function(a){if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._inBlock=this._iv.slice(0);this._partialBytes=0};e.cfb.prototype.encrypt=function(a,b,c){var f=a.length();if(0===f)return!0;this.cipher.encrypt(this._inBlock,this._outBlock);if(0===this._partialBytes&&f>=this.blockSize)for(var k=0;k=this.blockSize)for(var k=0;k=this.blockSize)for(var k= -0;k=this.blockSize)for(var e=0;e=this.blockSize){for(var e=0;ef;++f)a[f/32|0]&1<<31-f%32&&(c[0]^=b[0],c[1]^=b[1],c[2]^=b[2],c[3]^=b[3]),this.pow(b,b);return c};e.gcm.prototype.pow=function(a,b){for(var c=a[3]&1,f=3;0>>1|(a[f-1]&1)<<31;b[0]=a[0]>>>1;c&&(b[0]^=this._R)};e.gcm.prototype.tableMultiply=function(a){for(var b=[0,0,0,0],c=0;32>c;++c){var f=this._m[c][a[c/8|0]>>>4*(7-c%8)&15];b[0]^=f[0];b[1]^=f[1];b[2]^=f[2];b[3]^=f[3]}return b};e.gcm.prototype.ghash=function(a,b,c){return b[0]^=c[0],b[1]^=c[1],b[2]^=c[2],b[3]^=c[3],this.tableMultiply(b)}; -e.gcm.prototype.generateHashTable=function(a,b){for(var c=8/b,f=4*c,c=16*c,k=Array(c),e=0;e>>1,f=Array(b);f[c]=a.slice(0);for(var k=c>>>1;0>=1;for(k=2;kb;++b)a[b]=b<<1,a[b+ -128]=b+128<<1^283;l=Array(256);q=Array(256);D=Array(4);y=Array(4);for(b=0;4>b;++b)D[b]=Array(256),y[b]=Array(256);for(var c=0,f=0,e,k,g,m,n,b=0;256>b;++b){m=f^f<<1^f<<2^f<<3^f<<4;m=m>>8^m&255^99;l[c]=m;q[m]=c;n=a[m];e=a[c];k=a[e];g=a[k];n^=n<<24^m<<16^m<<8^m;k=(e^k^g)<<24^(c^g)<<16^(c^k^g)<<8^c^e^g;for(var r=0;4>r;++r)D[r][c]=n,y[r][m]=k,n=n<<24|n>>>8,k=k<<24|k>>>8;0===c?c=f=1:(c=e^a[a[a[e^g]]],f^=a[a[f]])}}function e(a,b){a=a.slice(0);for(var c,f=1,e=a.length,k=d*(e+6+1),g=e;g>>16&255]<<24^l[c>>>8&255]<<16^l[c&255]<<8^l[c>>>24]^A[f]<<24,f++):6>>24]<<24^l[c>>>16&255]<<16^l[c>>>8&255]<<8^l[c&255]),a[g]=a[g-e]^c;if(b){c=y[0];for(var f=y[1],e=y[2],m=y[3],h=a.slice(0),k=a.length,g=0,n=k-d;g>>24]]^f[l[b>>>16&255]]^e[l[b>>>8&255]]^m[l[b&255]];a=h}return a}function k(a,b,c,f){var e=a.length/4-1,k,g,m,h,n;f?(k=y[0], -g=y[1],m=y[2],h=y[3],n=q):(k=D[0],g=D[1],m=D[2],h=D[3],n=l);var r,d,p,t,v,w;r=b[0]^a[0];d=b[f?3:1]^a[1];p=b[2]^a[2];b=b[f?1:3]^a[3];for(var C=3,F=1;F>>24]^g[d>>>16&255]^m[p>>>8&255]^h[b&255]^a[++C],v=k[d>>>24]^g[p>>>16&255]^m[b>>>8&255]^h[r&255]^a[++C],w=k[p>>>24]^g[b>>>16&255]^m[r>>>8&255]^h[d&255]^a[++C],b=k[b>>>24]^g[r>>>16&255]^m[d>>>8&255]^h[p&255]^a[++C],r=t,d=v,p=w;c[0]=n[r>>>24]<<24^n[d>>>16&255]<<16^n[p>>>8&255]<<8^n[b&255]^a[++C];c[f?3:1]=n[d>>>24]<<24^n[p>>>16&255]<<16^n[b>>> -8&255]<<8^n[r&255]^a[++C];c[2]=n[p>>>24]<<24^n[b>>>16&255]<<16^n[r>>>8&255]<<8^n[d&255]^a[++C];c[f?1:3]=n[b>>>24]<<24^n[r>>>16&255]<<16^n[d>>>8&255]<<8^n[p&255]^a[++C]}function g(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var e=f.start;return f.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k=c,c={});c=c||{};c.output=k;c.iv=b;e.call(f,c)},f}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, -c,f){a=g({key:a,output:c,decrypt:!1,mode:f});return a.start(b),a};a.aes.createEncryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!1,mode:b})};a.aes.startDecrypting=function(a,b,c,f){a=g({key:a,output:c,decrypt:!0,mode:f});return a.start(b),a};a.aes.createDecryptionCipher=function(a,b){return g({key:a,output:null,decrypt:!0,mode:b})};a.aes.Algorithm=function(a,b){h||c();var f=this;f.name=a;f.mode=new b({blockSize:16,cipher:{encrypt:function(a,b){return k(f._w,a,b,!1)},decrypt:function(a, -b){return k(f._w,a,b,!0)}}});f._init=!1};a.aes.Algorithm.prototype.initialize=function(b){if(!this._init){var c=b.key,f;if("string"!=typeof c||16!==c.length&&24!==c.length&&32!==c.length){if(a.util.isArray(c)&&(16===c.length||24===c.length||32===c.length)){f=c;for(var c=a.util.createBuffer(),k=0;k>>=2,k=0;kthis.blockSize<<2?!1:(a.truncate(b),!0)};d.cbc=function(a){a=a||{};this.name="CBC";this.cipher=a.cipher;this.blockSize=a.blockSize||16;this._ints=this.blockSize/4;this._inBlock=Array(this._ints);this._outBlock=Array(this._ints)};d.cbc.prototype.start=function(a){if(null===a.iv){if(!this._prev)throw Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._prev=this._iv.slice(0)}};d.cbc.prototype.encrypt= +function(a,b,c){if(a.length()this.blockSize<<2?!1:(a.truncate(b),!0)};d.cfb=function(b){b=b||{};this.name="CFB";this.cipher=b.cipher;this.blockSize=b.blockSize||16;this._ints=this.blockSize/4;this._inBlock=null;this._outBlock=Array(this._ints);this._partialBlock= +Array(this._ints);this._partialOutput=a.util.createBuffer();this._partialBytes=0};d.cfb.prototype.start=function(a){if(!("iv"in a))throw Error("Invalid IV parameter.");this._iv=b(a.iv);this._inBlock=this._iv.slice(0);this._partialBytes=0};d.cfb.prototype.encrypt=function(a,b,c){var k=a.length();if(0===k)return!0;this.cipher.encrypt(this._inBlock,this._outBlock);if(0===this._partialBytes&&k>=this.blockSize)for(var h=0;h=this.blockSize)for(var h=0;h=this.blockSize)for(var h= +0;h=this.blockSize)for(var d=0;d=this.blockSize){for(var d=0;dk;++k)a[k/32|0]&1<<31-k%32&&(c[0]^=b[0],c[1]^=b[1],c[2]^=b[2],c[3]^=b[3]),this.pow(b,b);return c};d.gcm.prototype.pow=function(a,b){for(var c=a[3]&1,k=3;0>>1|(a[k-1]&1)<<31;b[0]=a[0]>>>1;c&&(b[0]^=this._R)};d.gcm.prototype.tableMultiply=function(a){for(var b=[0,0,0,0],c=0;32>c;++c){var k=this._m[c][a[c/8|0]>>>4*(7-c%8)&15];b[0]^=k[0];b[1]^=k[1];b[2]^=k[2];b[3]^=k[3]}return b};d.gcm.prototype.ghash=function(a,b,c){return b[0]^=c[0],b[1]^=c[1],b[2]^=c[2],b[3]^=c[3],this.tableMultiply(b)}; +d.gcm.prototype.generateHashTable=function(a,b){for(var c=8/b,k=4*c,c=16*c,h=Array(c),d=0;d>>1,k=Array(b);k[c]=a.slice(0);for(var h=c>>>1;0>=1;for(h=2;hb;++b)a[b]=b<<1,a[b+ +128]=b+128<<1^283;l=Array(256);q=Array(256);D=Array(4);y=Array(4);for(b=0;4>b;++b)D[b]=Array(256),y[b]=Array(256);for(var c=0,k=0,h,d,f,m,n,b=0;256>b;++b){m=k^k<<1^k<<2^k<<3^k<<4;m=m>>8^m&255^99;l[c]=m;q[m]=c;n=a[m];h=a[c];d=a[h];f=a[d];n^=n<<24^m<<16^m<<8^m;d=(h^d^f)<<24^(c^f)<<16^(c^d^f)<<8^c^h^f;for(var r=0;4>r;++r)D[r][c]=n,y[r][m]=d,n=n<<24|n>>>8,d=d<<24|d>>>8;0===c?c=k=1:(c=h^a[a[a[h^f]]],k^=a[a[k]])}}function k(a,b){a=a.slice(0);for(var c,k=1,h=a.length,d=e*(h+6+1),f=h;f>>16&255]<<24^l[c>>>8&255]<<16^l[c&255]<<8^l[c>>>24]^A[k]<<24,k++):6>>24]<<24^l[c>>>16&255]<<16^l[c>>>8&255]<<8^l[c&255]),a[f]=a[f-h]^c;if(b){c=y[0];for(var k=y[1],h=y[2],g=y[3],m=a.slice(0),d=a.length,f=0,n=d-e;f>>24]]^k[l[b>>>16&255]]^h[l[b>>>8&255]]^g[l[b&255]];a=m}return a}function d(a,b,c,k){var h=a.length/4-1,d,f,g,m,n;k?(d=y[0], +f=y[1],g=y[2],m=y[3],n=q):(d=D[0],f=D[1],g=D[2],m=D[3],n=l);var r,e,p,t,v,w;r=b[0]^a[0];e=b[k?3:1]^a[1];p=b[2]^a[2];b=b[k?1:3]^a[3];for(var C=3,F=1;F>>24]^f[e>>>16&255]^g[p>>>8&255]^m[b&255]^a[++C],v=d[e>>>24]^f[p>>>16&255]^g[b>>>8&255]^m[r&255]^a[++C],w=d[p>>>24]^f[b>>>16&255]^g[r>>>8&255]^m[e&255]^a[++C],b=d[b>>>24]^f[r>>>16&255]^g[e>>>8&255]^m[p&255]^a[++C],r=t,e=v,p=w;c[0]=n[r>>>24]<<24^n[e>>>16&255]<<16^n[p>>>8&255]<<8^n[b&255]^a[++C];c[k?3:1]=n[e>>>24]<<24^n[p>>>16&255]<<16^n[b>>> +8&255]<<8^n[r&255]^a[++C];c[2]=n[p>>>24]<<24^n[b>>>16&255]<<16^n[r>>>8&255]<<8^n[e&255]^a[++C];c[k?1:3]=n[b>>>24]<<24^n[r>>>16&255]<<16^n[e>>>8&255]<<8^n[p&255]^a[++C]}function f(b){b=b||{};var c="AES-"+(b.mode||"CBC").toUpperCase(),k;b.decrypt?k=a.cipher.createDecipher(c,b.key):k=a.cipher.createCipher(c,b.key);var h=k.start;return k.start=function(b,c){var d=null;c instanceof a.util.ByteBuffer&&(d=c,c={});c=c||{};c.output=d;c.iv=b;h.call(k,c)},k}a.aes=a.aes||{};a.aes.startEncrypting=function(a,b, +c,k){a=f({key:a,output:c,decrypt:!1,mode:k});return a.start(b),a};a.aes.createEncryptionCipher=function(a,b){return f({key:a,output:null,decrypt:!1,mode:b})};a.aes.startDecrypting=function(a,b,c,k){a=f({key:a,output:c,decrypt:!0,mode:k});return a.start(b),a};a.aes.createDecryptionCipher=function(a,b){return f({key:a,output:null,decrypt:!0,mode:b})};a.aes.Algorithm=function(a,b){g||c();var k=this;k.name=a;k.mode=new b({blockSize:16,cipher:{encrypt:function(a,b){return d(k._w,a,b,!1)},decrypt:function(a, +b){return d(k._w,a,b,!0)}}});k._init=!1};a.aes.Algorithm.prototype.initialize=function(b){if(!this._init){var c=b.key,h;if("string"!=typeof c||16!==c.length&&24!==c.length&&32!==c.length){if(a.util.isArray(c)&&(16===c.length||24===c.length||32===c.length)){h=c;for(var c=a.util.createBuffer(),d=0;d>>=2,d=0;df.length()){var k=Error("Too few bytes to parse DER.");throw k.bytes=f.length(),k;}var g=f.getByte(),k=g&192,m=g&31,h=c(f);if(f.length()=k.length())f.putByte(k.length()&127);else{g=k.length();c="";do c+=String.fromCharCode(g&255),g>>>=8;while(0>>=7,f||(g|=128),e.push(g),f=!1;while(0d.length()){var k=Error("Too few bytes to parse DER.");throw k.bytes=d.length(),k;}var f=d.getByte(),k=f&192,g=f&31,m=c(d);if(d.length()=k.length())d.putByte(k.length()&127);else{f=k.length();c="";do c+=String.fromCharCode(f&255),f>>>=8;while(0>>=7,d||(f|=128),h.push(f),d=!1;while(0c[a].length&&(b+="0"),b+=c[a];return b+="Z",b};b.dateToGeneralizedTime=function(a){if("string"==typeof a)return a;var b="",c=[];c.push(""+a.getUTCFullYear());c.push(""+(a.getUTCMonth()+1));c.push(""+a.getUTCDate());c.push(""+a.getUTCHours());c.push(""+a.getUTCMinutes());c.push(""+a.getUTCSeconds());for(a=0;ac[a].length&&(b+="0"),b+=c[a];return b+="Z",b};b.integerToDer=function(b){var c= -a.util.createBuffer();if(-128<=b&&128>b)return c.putSignedInt(b,8);if(-32768<=b&&32768>b)return c.putSignedInt(b,16);if(-8388608<=b&&8388608>b)return c.putSignedInt(b,24);if(-2147483648<=b&&2147483648>b)return c.putSignedInt(b,32);c=Error("Integer too large; max is 32-bits.");throw c.integer=b,c;};b.derToInteger=function(b){"string"==typeof b&&(b=a.util.createBuffer(b));var c=8*b.length();if(32b;++b)d[b]=Math.floor(4294967296*Math.abs(Math.sin(b+1)));l=!0}function c(a,b,c){for(var f,e,k,m,n,B,r,l=c.length();64<=l;){e=a.h0;k=a.h1;m=a.h2;n=a.h3;for(r=0;16>r;++r)b[r]=c.getInt32Le(),f=n^k&(m^n),f=e+f+d[r]+b[r],B=h[r],e=n,n=m,m=k,k+=f<>>32-B;for(;32>r;++r)f=m^n&(k^m),f=e+ -f+d[r]+b[g[r]],B=h[r],e=n,n=m,m=k,k+=f<>>32-B;for(;48>r;++r)f=k^m^n,f=e+f+d[r]+b[g[r]],B=h[r],e=n,n=m,m=k,k+=f<>>32-B;for(;64>r;++r)f=m^(k|~n),f=e+f+d[r]+b[g[r]],B=h[r],e=n,n=m,m=k,k+=f<>>32-B;a.h0=a.h0+e|0;a.h1=a.h1+k|0;a.h2=a.h2+m|0;a.h3=a.h3+n|0;l-=64}}var e=a.md5=a.md5||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.md5=a.md.algorithms.md5=e;e.create=function(){l||b();var f=null,e=a.util.createBuffer(),g=Array(16),m={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0, -messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],e=a.util.createBuffer(),f={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},m},m.start(),m.update=function(b,k){return"utf8"===k&&(b=a.util.encodeUtf8(b)),m.messageLength+=b.length,m.messageLength64[0]+=b.length/4294967296>>>0,m.messageLength64[1]+=b.length>>>0,e.putBytes(b),c(f,g,e),(2048>>28);var h={h0:f.h0,h1:f.h1,h2:f.h2,h3:f.h3};c(h,g,b);b=a.util.createBuffer();return b.putInt32Le(h.h0),b.putInt32Le(h.h1),b.putInt32Le(h.h2),b.putInt32Le(h.h3),b},m};var k=null,g=null,h=null,d=null,l=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a, -module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.md5)return b.md5;b.defined.md5=!0;for(var e=0;ed;++d)f=c.getInt32(),b[d]=f,n=m^k&(g^m),f=(e<<5|e>>>27)+n+h+1518500249+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;20>d;++d)f=b[d-3]^b[d-8]^b[d-14]^b[d-16],f=f<<1|f>>>31,b[d]=f,n=m^k&(g^m),f=(e<<5|e>>>27)+n+h+1518500249+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;32>d;++d)f=b[d-3]^b[d-8]^b[d-14]^b[d-16],f=f<<1|f>>>31,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+1859775393+f,h=m,m= -g,g=k<<30|k>>>2,k=e,e=f;for(;40>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+1859775393+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;60>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k&g|m&(k^g),f=(e<<5|e>>>27)+n+h+2400959708+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;for(;80>d;++d)f=b[d-6]^b[d-16]^b[d-28]^b[d-32],f=f<<2|f>>>30,b[d]=f,n=k^g^m,f=(e<<5|e>>>27)+n+h+3395469782+f,h=m,m=g,g=k<<30|k>>>2,k=e,e=f;a.h0=a.h0+e|0;a.h1=a.h1+k|0;a.h2=a.h2+g|0;a.h3=a.h3+m| -0;a.h4=a.h4+h|0;r-=64}}var c=a.sha1=a.sha1||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha1=a.md.algorithms.sha1=c;c.create=function(){k||(e=String.fromCharCode(128),e+=a.util.fillString(String.fromCharCode(0),64),k=!0);var c=null,f=a.util.createBuffer(),g=Array(80),m={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],f=a.util.createBuffer(),c={h0:1732584193,h1:4023233417, -h2:2562383102,h3:271733878,h4:3285377520},m},m.start(),m.update=function(e,k){return"utf8"===k&&(e=a.util.encodeUtf8(e)),m.messageLength+=e.length,m.messageLength64[0]+=e.length/4294967296>>>0,m.messageLength64[1]+=e.length>>>0,f.putBytes(e),b(c,g,f),(2048>>28);k.putInt32(m.messageLength64[1]<< -3);var h={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4};b(h,g,k);k=a.util.createBuffer();return k.putInt32(h.h0),k.putInt32(h.h1),k.putInt32(h.h2),k.putInt32(h.h3),k.putInt32(h.h4),k},m};var e=null,k=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha1)return b.sha1; -b.defined.sha1=!0;for(var e=0;eh;++h)b[h]=c.getInt32(); -for(;64>h;++h)f=b[h-2],f=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10,e=b[h-15],e=(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3,b[h]=f+b[h-7]+e+b[h-16]|0;n=a.h0;d=a.h1;l=a.h2;B=a.h3;r=a.h4;p=a.h5;t=a.h6;v=a.h7;for(h=0;64>h;++h)f=(r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7),k=t^r&(p^t),e=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),m=n&d|l&(n^d),f=v+f+k+g[h]+b[h],e+=m,v=t,t=p,p=r,r=B+f|0,B=l,l=d,d=n,n=f+e|0;a.h0=a.h0+n|0;a.h1=a.h1+d|0;a.h2=a.h2+l|0;a.h3=a.h3+B|0;a.h4=a.h4+r|0;a.h5=a.h5+p|0;a.h6=a.h6+t|0;a.h7=a.h7+v|0;C-= -64}}var c=a.sha256=a.sha256||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha256=a.md.algorithms.sha256=c;c.create=function(){k||(e=String.fromCharCode(128),e+=a.util.fillString(String.fromCharCode(0),64),g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349, -2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],k=!0);var c=null,f=a.util.createBuffer(),m=Array(64),h={algorithm:"sha256",blockLength:64,digestLength:32, -messageLength:0,messageLength64:[0,0]};return h.start=function(){return h.messageLength=0,h.messageLength64=[0,0],f=a.util.createBuffer(),c={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},h},h.start(),h.update=function(e,k){return"utf8"===k&&(e=a.util.encodeUtf8(e)),h.messageLength+=e.length,h.messageLength64[0]+=e.length/4294967296>>>0,h.messageLength64[1]+=e.length>>>0,f.putBytes(e),b(c,m,f),(2048>>28);k.putInt32(h.messageLength64[1]<<3);var g={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4,h5:c.h5,h6:c.h6,h7:c.h7};b(g,m,k);k=a.util.createBuffer();return k.putInt32(g.h0),k.putInt32(g.h1),k.putInt32(g.h2),k.putInt32(g.h3),k.putInt32(g.h4),k.putInt32(g.h5),k.putInt32(g.h6),k.putInt32(g.h7),k},h};var e=null,k=!1,g=null} -if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha256)return b.sha256;b.defined.sha256=!0;for(var e=0;eU;++U)b[U][0]=c.getInt32()>>>0,b[U][1]=c.getInt32()>>>0;for(;80>U;++U)m=b[U-2],l=m[0],m=m[1],f=((l>>>19|m<<13)^(m>>>29|l<<3)^l>>>6)>>>0,e=((l<<13|m>>>19)^(m<<3|l>>>29)^(l<<26|m>>>6))>>> -0,m=b[U-15],l=m[0],m=m[1],k=((l>>>1|m<<31)^(l>>>8|m<<24)^l>>>7)>>>0,g=((l<<31|m>>>1)^(l<<24|m>>>8)^(l<<25|m>>>7))>>>0,l=b[U-7],r=b[U-16],m=e+l[1]+g+r[1],b[U][0]=f+l[0]+k+r[0]+(m/4294967296>>>0)>>>0,b[U][1]=m>>>0;l=a[0][0];r=a[0][1];p=a[1][0];t=a[1][1];v=a[2][0];I=a[2][1];C=a[3][0];q=a[3][1];A=a[4][0];S=a[4][1];K=a[5][0];N=a[5][1];R=a[6][0];P=a[6][1];H=a[7][0];M=a[7][1];for(U=0;80>U;++U)f=((A>>>14|S<<18)^(A>>>18|S<<14)^(S>>>9|A<<23))>>>0,m=((A<<18|S>>>14)^(A<<14|S>>>18)^(S<<23|A>>>9))>>>0,e=(R^A&(K^ -R))>>>0,n=(P^S&(N^P))>>>0,k=((l>>>28|r<<4)^(r>>>2|l<<30)^(r>>>7|l<<25))>>>0,g=((l<<4|r>>>28)^(r<<30|l>>>2)^(r<<25|l>>>7))>>>0,B=(l&p|v&(l^p))>>>0,d=(r&t|I&(r^t))>>>0,m=M+m+n+h[U][1]+b[U][1],f=H+f+e+h[U][0]+b[U][0]+(m/4294967296>>>0)>>>0,e=m>>>0,m=g+d,k=k+B+(m/4294967296>>>0)>>>0,g=m>>>0,H=R,M=P,R=K,P=N,K=A,N=S,m=q+e,A=C+f+(m/4294967296>>>0)>>>0,S=m>>>0,C=v,q=I,v=p,I=t,p=l,t=r,m=e+g,l=f+k+(m/4294967296>>>0)>>>0,r=m>>>0;m=a[0][1]+r;a[0][0]=a[0][0]+l+(m/4294967296>>>0)>>>0;a[0][1]=m>>>0;m=a[1][1]+t; +a.util.createBuffer();if(-128<=b&&128>b)return c.putSignedInt(b,8);if(-32768<=b&&32768>b)return c.putSignedInt(b,16);if(-8388608<=b&&8388608>b)return c.putSignedInt(b,24);if(-2147483648<=b&&2147483648>b)return c.putSignedInt(b,32);c=Error("Integer too large; max is 32-bits.");throw c.integer=b,c;};b.derToInteger=function(b){"string"==typeof b&&(b=a.util.createBuffer(b));var c=8*b.length();if(32b;++b)e[b]=Math.floor(4294967296*Math.abs(Math.sin(b+1)));l=!0}function c(a,b,c){for(var d,h,k,m,n,B,r,l=c.length();64<=l;){h=a.h0;k=a.h1;m=a.h2;n=a.h3;for(r=0;16>r;++r)b[r]=c.getInt32Le(),d=n^k&(m^n),d=h+d+e[r]+b[r],B=g[r],h=n,n=m,m=k,k+=d<>>32-B;for(;32>r;++r)d=m^n&(k^m),d=h+ +d+e[r]+b[f[r]],B=g[r],h=n,n=m,m=k,k+=d<>>32-B;for(;48>r;++r)d=k^m^n,d=h+d+e[r]+b[f[r]],B=g[r],h=n,n=m,m=k,k+=d<>>32-B;for(;64>r;++r)d=m^(k|~n),d=h+d+e[r]+b[f[r]],B=g[r],h=n,n=m,m=k,k+=d<>>32-B;a.h0=a.h0+h|0;a.h1=a.h1+k|0;a.h2=a.h2+m|0;a.h3=a.h3+n|0;l-=64}}var d=a.md5=a.md5||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.md5=a.md.algorithms.md5=d;d.create=function(){l||b();var d=null,h=a.util.createBuffer(),f=Array(16),g={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0, +messageLength64:[0,0]};return g.start=function(){return g.messageLength=0,g.messageLength64=[0,0],h=a.util.createBuffer(),d={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},g},g.start(),g.update=function(b,k){return"utf8"===k&&(b=a.util.encodeUtf8(b)),g.messageLength+=b.length,g.messageLength64[0]+=b.length/4294967296>>>0,g.messageLength64[1]+=b.length>>>0,h.putBytes(b),c(d,f,h),(2048>>28);var m={h0:d.h0,h1:d.h1,h2:d.h2,h3:d.h3};c(m,f,b);b=a.util.createBuffer();return b.putInt32Le(m.h0),b.putInt32Le(m.h1),b.putInt32Le(m.h2),b.putInt32Le(m.h3),b},g};var k=null,f=null,g=null,e=null,l=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a, +module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.md5)return b.md5;b.defined.md5=!0;for(var h=0;he;++e)d=c.getInt32(),b[e]=d,n=g^k&(f^g),d=(h<<5|h>>>27)+n+m+1518500249+d,m=g,g=f,f=k<<30|k>>>2,k=h,h=d;for(;20>e;++e)d=b[e-3]^b[e-8]^b[e-14]^b[e-16],d=d<<1|d>>>31,b[e]=d,n=g^k&(f^g),d=(h<<5|h>>>27)+n+m+1518500249+d,m=g,g=f,f=k<<30|k>>>2,k=h,h=d;for(;32>e;++e)d=b[e-3]^b[e-8]^b[e-14]^b[e-16],d=d<<1|d>>>31,b[e]=d,n=k^f^g,d=(h<<5|h>>>27)+n+m+1859775393+d,m=g,g= +f,f=k<<30|k>>>2,k=h,h=d;for(;40>e;++e)d=b[e-6]^b[e-16]^b[e-28]^b[e-32],d=d<<2|d>>>30,b[e]=d,n=k^f^g,d=(h<<5|h>>>27)+n+m+1859775393+d,m=g,g=f,f=k<<30|k>>>2,k=h,h=d;for(;60>e;++e)d=b[e-6]^b[e-16]^b[e-28]^b[e-32],d=d<<2|d>>>30,b[e]=d,n=k&f|g&(k^f),d=(h<<5|h>>>27)+n+m+2400959708+d,m=g,g=f,f=k<<30|k>>>2,k=h,h=d;for(;80>e;++e)d=b[e-6]^b[e-16]^b[e-28]^b[e-32],d=d<<2|d>>>30,b[e]=d,n=k^f^g,d=(h<<5|h>>>27)+n+m+3395469782+d,m=g,g=f,f=k<<30|k>>>2,k=h,h=d;a.h0=a.h0+h|0;a.h1=a.h1+k|0;a.h2=a.h2+f|0;a.h3=a.h3+g| +0;a.h4=a.h4+m|0;r-=64}}var c=a.sha1=a.sha1||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha1=a.md.algorithms.sha1=c;c.create=function(){k||(d=String.fromCharCode(128),d+=a.util.fillString(String.fromCharCode(0),64),k=!0);var c=null,h=a.util.createBuffer(),f=Array(80),g={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,messageLength64:[0,0]};return g.start=function(){return g.messageLength=0,g.messageLength64=[0,0],h=a.util.createBuffer(),c={h0:1732584193,h1:4023233417, +h2:2562383102,h3:271733878,h4:3285377520},g},g.start(),g.update=function(d,k){return"utf8"===k&&(d=a.util.encodeUtf8(d)),g.messageLength+=d.length,g.messageLength64[0]+=d.length/4294967296>>>0,g.messageLength64[1]+=d.length>>>0,h.putBytes(d),b(c,f,h),(2048>>28);k.putInt32(g.messageLength64[1]<< +3);var m={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4};b(m,f,k);k=a.util.createBuffer();return k.putInt32(m.h0),k.putInt32(m.h1),k.putInt32(m.h2),k.putInt32(m.h3),k.putInt32(m.h4),k},g};var d=null,k=!1}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha1)return b.sha1; +b.defined.sha1=!0;for(var h=0;hm;++m)b[m]=c.getInt32(); +for(;64>m;++m)d=b[m-2],d=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,h=b[m-15],h=(h>>>7|h<<25)^(h>>>18|h<<14)^h>>>3,b[m]=d+b[m-7]+h+b[m-16]|0;n=a.h0;e=a.h1;l=a.h2;B=a.h3;r=a.h4;p=a.h5;t=a.h6;v=a.h7;for(m=0;64>m;++m)d=(r>>>6|r<<26)^(r>>>11|r<<21)^(r>>>25|r<<7),k=t^r&(p^t),h=(n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10),g=n&e|l&(n^e),d=v+d+k+f[m]+b[m],h+=g,v=t,t=p,p=r,r=B+d|0,B=l,l=e,e=n,n=d+h|0;a.h0=a.h0+n|0;a.h1=a.h1+e|0;a.h2=a.h2+l|0;a.h3=a.h3+B|0;a.h4=a.h4+r|0;a.h5=a.h5+p|0;a.h6=a.h6+t|0;a.h7=a.h7+v|0;C-= +64}}var c=a.sha256=a.sha256||{};a.md=a.md||{};a.md.algorithms=a.md.algorithms||{};a.md.sha256=a.md.algorithms.sha256=c;c.create=function(){k||(d=String.fromCharCode(128),d+=a.util.fillString(String.fromCharCode(0),64),f=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349, +2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],k=!0);var c=null,h=a.util.createBuffer(),g=Array(64),m={algorithm:"sha256",blockLength:64,digestLength:32, +messageLength:0,messageLength64:[0,0]};return m.start=function(){return m.messageLength=0,m.messageLength64=[0,0],h=a.util.createBuffer(),c={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},m},m.start(),m.update=function(d,k){return"utf8"===k&&(d=a.util.encodeUtf8(d)),m.messageLength+=d.length,m.messageLength64[0]+=d.length/4294967296>>>0,m.messageLength64[1]+=d.length>>>0,h.putBytes(d),b(c,g,h),(2048>>28);k.putInt32(m.messageLength64[1]<<3);var f={h0:c.h0,h1:c.h1,h2:c.h2,h3:c.h3,h4:c.h4,h5:c.h5,h6:c.h6,h7:c.h7};b(f,g,k);k=a.util.createBuffer();return k.putInt32(f.h0),k.putInt32(f.h1),k.putInt32(f.h2),k.putInt32(f.h3),k.putInt32(f.h4),k.putInt32(f.h5),k.putInt32(f.h6),k.putInt32(f.h7),k},m};var d=null,k=!1,f=null} +if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.sha256)return b.sha256;b.defined.sha256=!0;for(var h=0;hU;++U)b[U][0]=c.getInt32()>>>0,b[U][1]=c.getInt32()>>>0;for(;80>U;++U)m=b[U-2],l=m[0],m=m[1],d=((l>>>19|m<<13)^(m>>>29|l<<3)^l>>>6)>>>0,h=((l<<13|m>>>19)^(m<<3|l>>>29)^(l<<26|m>>>6))>>> +0,m=b[U-15],l=m[0],m=m[1],k=((l>>>1|m<<31)^(l>>>8|m<<24)^l>>>7)>>>0,f=((l<<31|m>>>1)^(l<<24|m>>>8)^(l<<25|m>>>7))>>>0,l=b[U-7],r=b[U-16],m=h+l[1]+f+r[1],b[U][0]=d+l[0]+k+r[0]+(m/4294967296>>>0)>>>0,b[U][1]=m>>>0;l=a[0][0];r=a[0][1];p=a[1][0];t=a[1][1];v=a[2][0];I=a[2][1];C=a[3][0];q=a[3][1];A=a[4][0];S=a[4][1];K=a[5][0];N=a[5][1];R=a[6][0];P=a[6][1];H=a[7][0];M=a[7][1];for(U=0;80>U;++U)d=((A>>>14|S<<18)^(A>>>18|S<<14)^(S>>>9|A<<23))>>>0,m=((A<<18|S>>>14)^(A<<14|S>>>18)^(S<<23|A>>>9))>>>0,h=(R^A&(K^ +R))>>>0,n=(P^S&(N^P))>>>0,k=((l>>>28|r<<4)^(r>>>2|l<<30)^(r>>>7|l<<25))>>>0,f=((l<<4|r>>>28)^(r<<30|l>>>2)^(r<<25|l>>>7))>>>0,B=(l&p|v&(l^p))>>>0,e=(r&t|I&(r^t))>>>0,m=M+m+n+g[U][1]+b[U][1],d=H+d+h+g[U][0]+b[U][0]+(m/4294967296>>>0)>>>0,h=m>>>0,m=f+e,k=k+B+(m/4294967296>>>0)>>>0,f=m>>>0,H=R,M=P,R=K,P=N,K=A,N=S,m=q+h,A=C+d+(m/4294967296>>>0)>>>0,S=m>>>0,C=v,q=I,v=p,I=t,p=l,t=r,m=h+f,l=d+k+(m/4294967296>>>0)>>>0,r=m>>>0;m=a[0][1]+r;a[0][0]=a[0][0]+l+(m/4294967296>>>0)>>>0;a[0][1]=m>>>0;m=a[1][1]+t; a[1][0]=a[1][0]+p+(m/4294967296>>>0)>>>0;a[1][1]=m>>>0;m=a[2][1]+I;a[2][0]=a[2][0]+v+(m/4294967296>>>0)>>>0;a[2][1]=m>>>0;m=a[3][1]+q;a[3][0]=a[3][0]+C+(m/4294967296>>>0)>>>0;a[3][1]=m>>>0;m=a[4][1]+S;a[4][0]=a[4][0]+A+(m/4294967296>>>0)>>>0;a[4][1]=m>>>0;m=a[5][1]+N;a[5][0]=a[5][0]+K+(m/4294967296>>>0)>>>0;a[5][1]=m>>>0;m=a[6][1]+P;a[6][0]=a[6][0]+R+(m/4294967296>>>0)>>>0;a[6][1]=m>>>0;m=a[7][1]+M;a[7][0]=a[7][0]+H+(m/4294967296>>>0)>>>0;a[7][1]=m>>>0;oa-=128}}var c=a.sha512=a.sha512||{};a.md=a.md|| -{};a.md.algorithms=a.md.algorithms||{};a.md.sha512=a.md.algorithms.sha512=c;var e=a.sha384=a.sha512.sha384=a.sha512.sha384||{};e.create=function(){return c.create("SHA-384")};a.md.sha384=a.md.algorithms.sha384=e;a.sha512.sha256=a.sha512.sha256||{create:function(){return c.create("SHA-512/256")}};a.md["sha512/256"]=a.md.algorithms["sha512/256"]=a.sha512.sha256;a.sha512.sha224=a.sha512.sha224||{create:function(){return c.create("SHA-512/224")}};a.md["sha512/224"]=a.md.algorithms["sha512/224"]=a.sha512.sha224; -c.create=function(c){g||(k=String.fromCharCode(128),k+=a.util.fillString(String.fromCharCode(0),128),h=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458], +{};a.md.algorithms=a.md.algorithms||{};a.md.sha512=a.md.algorithms.sha512=c;var d=a.sha384=a.sha512.sha384=a.sha512.sha384||{};d.create=function(){return c.create("SHA-384")};a.md.sha384=a.md.algorithms.sha384=d;a.sha512.sha256=a.sha512.sha256||{create:function(){return c.create("SHA-512/256")}};a.md["sha512/256"]=a.md.algorithms["sha512/256"]=a.sha512.sha256;a.sha512.sha224=a.sha512.sha224||{create:function(){return c.create("SHA-512/224")}};a.md["sha512/224"]=a.md.algorithms["sha512/224"]=a.sha512.sha224; +c.create=function(c){f||(k=String.fromCharCode(128),k+=a.util.fillString(String.fromCharCode(0),128),g=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458], [4022224774,944711139],[264347078,2341262773],[604807628,2007800933],[770255983,1495990901],[1249150122,1856431235],[1555081692,3175218132],[1996064986,2198950837],[2554220882,3999719339],[2821834349,766784016],[2952996808,2566594879],[3210313671,3203337956],[3336571891,1034457026],[3584528711,2466948901],[113926993,3758326383],[338241895,168717936],[666307205,1188179964],[773529912,1546045734],[1294757372,1522805485],[1396182291,2643833823],[1695183700,2343527390],[1986661051,1014477480],[2177026350, 1206759142],[2456956037,344077627],[2730485921,1290863460],[2820302411,3158454273],[3259730800,3505952657],[3345764771,106217008],[3516065817,3606008344],[3600352804,1432725776],[4094571909,1467031594],[275423344,851169720],[430227734,3100823752],[506948616,1363258195],[659060556,3750685593],[883997877,3785050280],[958139571,3318307427],[1322822218,3812723403],[1537002063,2003034995],[1747873779,3602036899],[1955562222,1575990012],[2024104815,1125592928],[2227730452,2716904306],[2361852424,442776044], -[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],d={"SHA-512":[[1779033703,4089235720], +[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],e={"SHA-512":[[1779033703,4089235720], [3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],"SHA-384":[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],"SHA-512/256":[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,2827943907],[3193839141, -1401305490],[721525244,746961066],[246885852,2177182882]],"SHA-512/224":[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]]},g=!0);"undefined"==typeof c&&(c="SHA-512");if(c in d){for(var f=d[c],e=null,m=a.util.createBuffer(),n=Array(80),l=0;80>l;++l)n[l]=Array(2);var r={algorithm:c.replace("-","").toLowerCase(),blockLength:128,digestLength:64,messageLength:0,messageLength128:[0, -0,0,0]};return r.start=function(){r.messageLength=0;r.messageLength128=[0,0,0,0];m=a.util.createBuffer();e=Array(f.length);for(var b=0;b>>0,f>>>0];for(var k=3;0<=k;--k)r.messageLength128[k]+=f[1],f[1]=f[0]+(r.messageLength128[k]/4294967296>>>0),r.messageLength128[k]>>>=0,f[0]=f[1]/4294967296>>>0;return m.putBytes(c),b(e,n,m),(2048h;++h)g[h]=r.messageLength128[h]<<3|r.messageLength128[h-1]>>>28;g[3]=r.messageLength128[3]<<3;f.putInt32(g[0]);f.putInt32(g[1]);f.putInt32(g[2]);f.putInt32(g[3]);g=Array(e.length);for(h=0;hb.blockLength&&(b.start(),b.update(k.bytes()),k=b.digest());c=a.util.createBuffer();e=a.util.createBuffer();m=k.length();for(g=0;g>>4^n)&252645135;n^=b;f^=b<<4;b=(f>>>16^n)&65535;n^=b;f^=b<<16;b=(n>>>2^f)&858993459;f^=b;n^=b<<2;b=(n>>>8^f)&16711935;f^=b;n^=b<<8;b=(f>>>1^n)&1431655765;n^=b;f^=b<<1;f=f<<1|f>>>31;for(var n=n<<1|n>>>31,r=0;r>>4|n<<28)^a[v+1];b=f;f=n;n=b^(k[w>>>24&63]|d[w>>>16&63]|q[w>>>8&63]|D[w&63]| -g[I>>>24&63]|h[I>>>16&63]|l[I>>>8&63]|A[I&63])}b=f;f=n;n=b}f=f>>>1|f<<31;n=n>>>1|n<<31;b=(f>>>1^n)&1431655765;n^=b;f^=b<<1;b=(n>>>8^f)&16711935;f^=b;n^=b<<8;b=(n>>>2^f)&858993459;f^=b;n^=b<<2;b=(f>>>16^n)&65535;n^=b;f^=b<<16;b=(f>>>4^n)&252645135;c[0]=f^b<<4;c[1]=n^b}function e(b){b=b||{};var c="DES-"+(b.mode||"CBC").toUpperCase(),f;b.decrypt?f=a.cipher.createDecipher(c,b.key):f=a.cipher.createCipher(c,b.key);var e=f.start;return f.start=function(b,c){var g=null;c instanceof a.util.ByteBuffer&&(g= -c,c={});c=c||{};c.output=g;c.iv=b;e.call(f,c)},f}a.des=a.des||{};a.des.startEncrypting=function(a,b,c,f){a=e({key:a,output:c,decrypt:!1,mode:f||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createEncryptionCipher=function(a,b){return e({key:a,output:null,decrypt:!1,mode:b})};a.des.startDecrypting=function(a,b,c,f){a=e({key:a,output:c,decrypt:!0,mode:f||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createDecryptionCipher=function(a,b){return e({key:a,output:null,decrypt:!0,mode:b})};a.des.Algorithm= -function(a,b){var f=this;f.name=a;f.mode=new b({blockSize:8,cipher:{encrypt:function(a,b){return c(f._keys,a,b,!1)},decrypt:function(a,b){return c(f._keys,a,b,!0)}}});f._init=!1};a.des.Algorithm.prototype.initialize=function(b){if(!this._init){b=a.util.createBuffer(b.key);if(0===this.name.indexOf("3DES")&&24!==b.length())throw Error("Invalid Triple-DES key size: "+8*b.length());for(var c=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964], -f=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],e=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],g=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],k=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],h=[0,1024,32,1056,0,1024,32,1056,33554432,33555456, -33554464,33555488,33554432,33555456,33554464,33555488],m=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],n=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],d=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024, +1401305490],[721525244,746961066],[246885852,2177182882]],"SHA-512/224":[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]]},f=!0);"undefined"==typeof c&&(c="SHA-512");if(c in e){for(var d=e[c],h=null,m=a.util.createBuffer(),n=Array(80),l=0;80>l;++l)n[l]=Array(2);var r={algorithm:c.replace("-","").toLowerCase(),blockLength:128,digestLength:64,messageLength:0,messageLength128:[0, +0,0,0]};return r.start=function(){r.messageLength=0;r.messageLength128=[0,0,0,0];m=a.util.createBuffer();h=Array(d.length);for(var b=0;b>>0,d>>>0];for(var k=3;0<=k;--k)r.messageLength128[k]+=d[1],d[1]=d[0]+(r.messageLength128[k]/4294967296>>>0),r.messageLength128[k]>>>=0,d[0]=d[1]/4294967296>>>0;return m.putBytes(c),b(h,n,m),(2048g;++g)f[g]=r.messageLength128[g]<<3|r.messageLength128[g-1]>>>28;f[3]=r.messageLength128[3]<<3;d.putInt32(f[0]);d.putInt32(f[1]);d.putInt32(f[2]);d.putInt32(f[3]);f=Array(h.length);for(g=0;gb.blockLength&&(b.start(),b.update(k.bytes()),k=b.digest());c=a.util.createBuffer();d=a.util.createBuffer();g=k.length();for(f=0;f>>4^n)&252645135;n^=b;d^=b<<4;b=(d>>>16^n)&65535;n^=b;d^=b<<16;b=(n>>>2^d)&858993459;d^=b;n^=b<<2;b=(n>>>8^d)&16711935;d^=b;n^=b<<8;b=(d>>>1^n)&1431655765;n^=b;d^=b<<1;d=d<<1|d>>>31;for(var n=n<<1|n>>>31,r=0;r>>4|n<<28)^a[v+1];b=d;d=n;n=b^(f[w>>>24&63]|e[w>>>16&63]|q[w>>>8&63]|D[w&63]| +k[I>>>24&63]|g[I>>>16&63]|l[I>>>8&63]|A[I&63])}b=d;d=n;n=b}d=d>>>1|d<<31;n=n>>>1|n<<31;b=(d>>>1^n)&1431655765;n^=b;d^=b<<1;b=(n>>>8^d)&16711935;d^=b;n^=b<<8;b=(n>>>2^d)&858993459;d^=b;n^=b<<2;b=(d>>>16^n)&65535;n^=b;d^=b<<16;b=(d>>>4^n)&252645135;c[0]=d^b<<4;c[1]=n^b}function d(b){b=b||{};var c="DES-"+(b.mode||"CBC").toUpperCase(),d;b.decrypt?d=a.cipher.createDecipher(c,b.key):d=a.cipher.createCipher(c,b.key);var h=d.start;return d.start=function(b,c){var k=null;c instanceof a.util.ByteBuffer&&(k= +c,c={});c=c||{};c.output=k;c.iv=b;h.call(d,c)},d}a.des=a.des||{};a.des.startEncrypting=function(a,b,c,h){a=d({key:a,output:c,decrypt:!1,mode:h||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createEncryptionCipher=function(a,b){return d({key:a,output:null,decrypt:!1,mode:b})};a.des.startDecrypting=function(a,b,c,h){a=d({key:a,output:c,decrypt:!0,mode:h||(null===b?"ECB":"CBC")});return a.start(b),a};a.des.createDecryptionCipher=function(a,b){return d({key:a,output:null,decrypt:!0,mode:b})};a.des.Algorithm= +function(a,b){var d=this;d.name=a;d.mode=new b({blockSize:8,cipher:{encrypt:function(a,b){return c(d._keys,a,b,!1)},decrypt:function(a,b){return c(d._keys,a,b,!0)}}});d._init=!1};a.des.Algorithm.prototype.initialize=function(b){if(!this._init){b=a.util.createBuffer(b.key);if(0===this.name.indexOf("3DES")&&24!==b.length())throw Error("Invalid Triple-DES key size: "+8*b.length());for(var c=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964], +d=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],h=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],k=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],f=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],g=[0,1024,32,1056,0,1024,32,1056,33554432,33555456, +33554464,33555488,33554432,33555456,33554464,33555488],m=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],n=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],e=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],l=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024, 268436480,1032,268436488],r=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],p=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],t=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],v=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],q=8>>4^M)&252645135;M^=y;H^=y<<4;y=(M>>>-16^H)&65535;H^=y;M^=y<<-16;y=(H>>>2^M)&858993459;M^=y;H^=y<<2;y=(M>>>-16^H)&65535;H^=y;M^=y<<-16;y=(H>>>1^M)&1431655765;M^=y;H^=y<<1;y=(M>>>8^H)&16711935;H^=y;M^=y<<8;y=(H>>>1^M)&1431655765;M^=y;H^=y<<1;y=H<<8|M>>>20&240;for(var H=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=y,U=0;U>>26,M=M<<2|M>>>26):(H=H<<1|H>>>27,M=M<<1|M>>>27);var H=H&-15,M=M&-15,oa=c[H>>>28]|f[H>>>24&15]| -e[H>>>20&15]|g[H>>>16&15]|k[H>>>12&15]|h[H>>>8&15]|m[H>>>4&15],pa=n[M>>>28]|d[M>>>24&15]|l[M>>>20&15]|r[M>>>16&15]|p[M>>>12&15]|t[M>>>8&15]|v[M>>>4&15];y=(pa>>>16^oa)&65535;C[A++]=oa^y;C[A++]=pa^y<<16}}this._keys=C;this._init=!0}};b("DES-ECB",a.cipher.modes.ecb);b("DES-CBC",a.cipher.modes.cbc);b("DES-CFB",a.cipher.modes.cfb);b("DES-OFB",a.cipher.modes.ofb);b("DES-CTR",a.cipher.modes.ctr);b("3DES-ECB",a.cipher.modes.ecb);b("3DES-CBC",a.cipher.modes.cbc);b("3DES-CFB",a.cipher.modes.cfb);b("3DES-OFB", -a.cipher.modes.ofb);b("3DES-CTR",a.cipher.modes.ctr);var g=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756], -k=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616, -1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],h=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736, -134348800,134218248,520,134348800,131592,8,134348808,131584],d=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824, +y,P=0;P>>4^M)&252645135;M^=y;H^=y<<4;y=(M>>>-16^H)&65535;H^=y;M^=y<<-16;y=(H>>>2^M)&858993459;M^=y;H^=y<<2;y=(M>>>-16^H)&65535;H^=y;M^=y<<-16;y=(H>>>1^M)&1431655765;M^=y;H^=y<<1;y=(M>>>8^H)&16711935;H^=y;M^=y<<8;y=(H>>>1^M)&1431655765;M^=y;H^=y<<1;y=H<<8|M>>>20&240;for(var H=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=y,U=0;U>>26,M=M<<2|M>>>26):(H=H<<1|H>>>27,M=M<<1|M>>>27);var H=H&-15,M=M&-15,oa=c[H>>>28]|d[H>>>24&15]| +h[H>>>20&15]|k[H>>>16&15]|f[H>>>12&15]|g[H>>>8&15]|m[H>>>4&15],pa=n[M>>>28]|e[M>>>24&15]|l[M>>>20&15]|r[M>>>16&15]|p[M>>>12&15]|t[M>>>8&15]|v[M>>>4&15];y=(pa>>>16^oa)&65535;C[A++]=oa^y;C[A++]=pa^y<<16}}this._keys=C;this._init=!0}};b("DES-ECB",a.cipher.modes.ecb);b("DES-CBC",a.cipher.modes.cbc);b("DES-CFB",a.cipher.modes.cfb);b("DES-OFB",a.cipher.modes.ofb);b("DES-CTR",a.cipher.modes.ctr);b("3DES-ECB",a.cipher.modes.ecb);b("3DES-CBC",a.cipher.modes.cbc);b("3DES-CFB",a.cipher.modes.cfb);b("3DES-OFB", +a.cipher.modes.ofb);b("3DES-CTR",a.cipher.modes.ctr);var k=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756], +f=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616, +1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],g=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736, +134348800,134218248,520,134348800,131592,8,134348808,131584],e=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,34078976,34078720,1107296512,524288,256,1073741824, 34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112, 34078976,1073742080],q=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0, 541081600,536870912,4194320,536887312],A=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912, 2048,2097154],D=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696]} -if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.des)return b.des;b.defined.des=!0;for(var e=0;er)return m(null,v);t.start(null,null);t.update(c);t.update(b.util.int32ToBytes(C)); -B=q=t.digest().getBytes();u=2;d()}function d(){if(u<=g)return t.start(null,null),t.update(q),G=t.digest().getBytes(),B=b.util.xorBytes(B,G,l),q=G,++u,b.util.setImmediate(d);v+=C4294967295*l){a=Error("Derived key is too long.");if(m)return m(a);throw a;}var r=Math.ceil(k/l),p=k-(r-1)*l,t=b.hmac.create(); -t.start(h,a);var v="",B,G,q;if(!m){for(var C=1;C<=r;++C){t.start(null,null);t.update(c);t.update(b.util.int32ToBytes(C));B=q=t.digest().getBytes();for(var u=2;u<=g;++u)t.start(null,null),t.update(q),G=t.digest().getBytes(),B=b.util.xorBytes(B,G,l),q=G;v+=Cc;++c)b=31===b?2147483648:b<<2,0===b%k.reseeds&&(a.update(k.pools[c].digest().getBytes()),k.pools[c].start());b=a.digest().getBytes();a.start();a.update(b);a=a.digest().getBytes();k.key=k.plugin.formatKey(b);k.seed=k.plugin.formatSeed(a);k.reseeds=4294967295===k.reseeds?0:k.reseeds+1;k.generated=0}function g(a){var c=null;if("undefined"!=typeof window){var f=window.crypto||window.msCrypto;f&&f.getRandomValues&&(c=function(a){return f.getRandomValues(a)})}var e=b.util.createBuffer();if(c)for(;e.length()< -a;){var k=Math.max(1,Math.min(a-e.length(),65536)/4),g=new Uint32Array(Math.floor(k));try{for(c(g),k=0;k>16),k+=(c&32767)<<16,k+=c>>15,k=(k&2147483647)+(k>>31),c=k&4294967295,k=0;3>k;++k)g=c>>>(k<<3),g^=Math.floor(256*Math.random()),e.putByte(String.fromCharCode(g&255));return e.getBytes(a)} -var k={plugin:a,key:null,seed:null,time:null,reseeds:0,generated:0};a=a.md;for(var h=Array(32),m=0;32>m;++m)h[m]=a.create();return k.pools=h,k.pool=0,k.generate=function(a,f){function e(d){if(d)return f(d);if(B.length()>=a)return f(null,B.getBytes(a));1048575> -f&255);k.collect(c)},k.registerWorker=function(a){a===self?k.seedFile=function(a,b){function c(a){a=a.data;a.forge&&a.forge.prng&&(self.removeEventListener("message",c),b(a.forge.prng.err,a.forge.prng.bytes))}self.addEventListener("message",c);self.postMessage({forge:{prng:{needed:a}}})}:a.addEventListener("message",function(b){b=b.data;b.forge&&b.forge.prng&&k.seedFile(b.forge.prng.needed,function(b,c){a.postMessage({forge:{prng:{err:b,bytes:c}}})})})},k}}if("function"!=typeof b){if("object"!=typeof module|| -!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var f=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.prng)return b.prng;b.defined.prng=!0;for(var e=0;er)return m(null,v);t.start(null,null);t.update(c);t.update(b.util.int32ToBytes(C)); +B=q=t.digest().getBytes();u=2;e()}function e(){if(u<=h)return t.start(null,null),t.update(q),G=t.digest().getBytes(),B=b.util.xorBytes(B,G,l),q=G,++u,b.util.setImmediate(e);v+=C4294967295*l){a=Error("Derived key is too long.");if(m)return m(a);throw a;}var r=Math.ceil(f/l),p=f-(r-1)*l,t=b.hmac.create(); +t.start(g,a);var v="",B,G,q;if(!m){for(var C=1;C<=r;++C){t.start(null,null);t.update(c);t.update(b.util.int32ToBytes(C));B=q=t.digest().getBytes();for(var u=2;u<=h;++u)t.start(null,null),t.update(q),G=t.digest().getBytes(),B=b.util.xorBytes(B,G,l),q=G;v+=Cc;++c)b=31===b?2147483648:b<<2,0===b%f.reseeds&&(a.update(f.pools[c].digest().getBytes()),f.pools[c].start());b=a.digest().getBytes();a.start();a.update(b);a=a.digest().getBytes();f.key=f.plugin.formatKey(b);f.seed=f.plugin.formatSeed(a);f.reseeds=4294967295===f.reseeds?0:f.reseeds+1;f.generated=0}function k(a){var c=null;if("undefined"!=typeof window){var d=window.crypto||window.msCrypto;d&&d.getRandomValues&&(c=function(a){return d.getRandomValues(a)})}var h=b.util.createBuffer();if(c)for(;h.length()< +a;){var f=Math.max(1,Math.min(a-h.length(),65536)/4),k=new Uint32Array(Math.floor(f));try{for(c(k),f=0;f>16),f+=(c&32767)<<16,f+=c>>15,f=(f&2147483647)+(f>>31),c=f&4294967295,f=0;3>f;++f)k=c>>>(f<<3),k^=Math.floor(256*Math.random()),h.putByte(String.fromCharCode(k&255));return h.getBytes(a)} +var f={plugin:a,key:null,seed:null,time:null,reseeds:0,generated:0};a=a.md;for(var g=Array(32),m=0;32>m;++m)g[m]=a.create();return f.pools=g,f.pool=0,f.generate=function(a,d){function h(e){if(e)return d(e);if(B.length()>=a)return d(null,B.getBytes(a));1048575> +d&255);f.collect(c)},f.registerWorker=function(a){a===self?f.seedFile=function(a,b){function c(a){a=a.data;a.forge&&a.forge.prng&&(self.removeEventListener("message",c),b(a.forge.prng.err,a.forge.prng.bytes))}self.addEventListener("message",c);self.postMessage({forge:{prng:{needed:a}}})}:a.addEventListener("message",function(b){b=b.data;b.forge&&b.forge.prng&&f.seedFile(b.forge.prng.needed,function(b,c){a.postMessage({forge:{prng:{err:b,bytes:c}}})})})},f}}if("function"!=typeof b){if("object"!=typeof module|| +!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.prng)return b.prng;b.defined.prng=!0;for(var h=0;h>(g&7),k;for(k=c;128>k;k++)f.putByte(b[f.at(k-1)+f.at(k-c)&255]);f.setAt(128-e,b[f.at(128- -e)&g]);for(k=127-e;0<=k;k--)f.setAt(k,b[f.at(k+1)^f.at(k+e)]);return f};var e=function(b,e,f){var k=!1,g=null,h=null,m=null,n,d,l,r,p=[];b=a.rc2.expandKey(b,e);for(l=0;64>l;l++)p.push(b.getInt16Le());f?(n=function(a){for(l=0;4>l;l++){a[l]+=p[r]+(a[(l+3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);var b=a[l],f=c[l];a[l]=b<>16-f;r++}},d=function(a){for(l=0;4>l;l++)a[l]+=p[a[(l+3)%4]&63]}):(n=function(a){for(l=3;0<=l;l--){var b=a[l],f=c[l];a[l]=(b&65535)>>f|b<<16-f&65535;a[l]-=p[r]+(a[(l+ -3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);r--}},d=function(a){for(l=3;0<=l;l--)a[l]-=p[a[(l+3)%4]&63]});var t=null;return t={start:function(b,c){b&&"string"==typeof b&&(b=a.util.createBuffer(b));k=!1;g=a.util.createBuffer();h=c||new a.util.createBuffer;m=b;t.output=h},update:function(a){for(k||g.putBuffer(a);8<=g.length();){a=[[5,n],[1,d],[6,n],[1,d],[5,n]];var b=[];for(l=0;4>l;l++){var c=g.getInt16Le();null!==m&&(f?c^=m.getInt16Le():m.putInt16Le(c));b.push(c&65535)}r=f?0:63;for(c=0;cl;l++)null!==m&&(f?m.putInt16Le(b[l]):b[l]^=m.getInt16Le()),h.putInt16Le(b[l])}},finish:function(a){var b=!0;if(f)if(a)b=a(8,g,!f);else{var c=8===g.length()?8:8-g.length();g.fillWithByte(c,c)}b&&(k=!0,t.update());!f&&(b=0===g.length())&&(a?b=a(8,h,!f):(a=h.length(),c=h.at(a-1),c>a?b=!1:h.truncate(c)));return b}},t};a.rc2.startEncrypting=function(b,c,f){b=a.rc2.createEncryptionCipher(b,128);return b.start(c,f),b};a.rc2.createEncryptionCipher=function(a,b){return e(a, -b,!0)};a.rc2.startDecrypting=function(b,c,f){b=a.rc2.createDecryptionCipher(b,128);return b.start(c,f),b};a.rc2.createDecryptionCipher=function(a,b){return e(a,b,!1)}}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var e=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rc2)return b.rc2;b.defined.rc2=!0;for(var f= -0;f>=15;0<=--g;){var h=this.data[a]&32767,m=this.data[a++]>>15,d=b*h+m*k,h=k*h+((d&32767)<<15)+c.data[e]+(f&1073741823);f=(h>>>30)+(d>>>15)+b*m+(f>>>30);c.data[e++]=h&1073741823}return f}function k(a,b,c,e,f,g){var k=b&16383;for(b>>=14;0<=--g;){var h=this.data[a]&16383,m= -this.data[a++]>>14,d=b*h+m*k,h=k*h+((d&16383)<<14)+c.data[e]+f;f=(h>>28)+(d>>14)+b*m;c.data[e++]=h&268435455}return f}function h(a,b){a=L[a.charCodeAt(b)];return null==a?-1:a}function d(a){var b=c();return b.fromInt(a),b}function l(a){var b=1,c;return 0!=(c=a>>>16)&&(a=c,b+=16),0!=(c=a>>8)&&(a=c,b+=8),0!=(c=a>>4)&&(a=c,b+=4),0!=(c=a>>2)&&(a=c,b+=2),0!=a>>1&&(b+=1),b}function q(a){this.m=a}function A(a){this.m=a;this.mp=a.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<=u;++u)L[E++]=u;E=97;for(u=10;36>u;++u)L[E++]=u;E=65;for(u=10;36>u;++u)L[E++]=u;q.prototype.convert=function(a){return 0>a.s||0<=a.compareTo(this.m)?a.mod(this.m):a};q.prototype.revert=function(a){return a};q.prototype.reduce=function(a){a.divRemTo(this.m,null, -a)};q.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};q.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};A.prototype.convert=function(a){var e=c();return a.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),0>a.s&&0>15)*this.mpl&this.um)<<15)&a.DM,c=b+this.m.t;for(a.data[c]+=this.m.am(0,e,a,b,0,this.m.t);a.data[c]>=a.DV;)a.data[c]-=a.DV,a.data[++c]++}a.clamp();a.drShiftTo(this.m.t,a);0<=a.compareTo(this.m)&&a.subTo(this.m,a)};A.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};A.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};b.prototype.copyTo=function(a){for(var b=this.t-1;0<=b;--b)a.data[b]=this.data[b];a.t=this.t;a.s=this.s};b.prototype.fromInt=function(a){this.t= -1;this.s=0>a?-1:0;0a?this.data[0]=a+this.DV:this.t=0};b.prototype.fromString=function(a,c){if(16==c)c=4;else if(8==c)c=3;else if(256==c)c=8;else if(2==c)c=1;else if(32==c)c=5;else{if(4!=c){this.fromRadix(a,c);return}c=2}this.s=this.t=0;for(var e=a.length,f=!1,g=0;0<=--e;){var k=8==c?a[e]&255:h(a,e);0>k?"-"==a.charAt(e)&&(f=!0):(f=!1,0==g?this.data[this.t++]=k:g+c>this.DB?(this.data[this.t-1]|=(k&(1<>this.DB-g):this.data[this.t-1]|=k<=this.DB&&(g-=this.DB))}8==c&&0!=(a[0]&128)&&(this.s=-1,0>e|g,g=(this.data[k]&f)<=this.t)b.t=0;else{a%=this.DB;var e=this.DB-a,f=(1<>a;for(var g=c+1;g>a;0>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;c>=this.DB;e-=a.s}b.s=0>e?-1:0;-1>e?b.data[c++]=this.DV+e:0=b.DV&&(a.data[c+b.t]-=b.DV,a.data[c+b.t+1]=1)}0=g.t)){var k=this.abs();if(k.t>this.F2:0),n=this.FV/B,B=(1<m&&b.ZERO.subTo(f,f)}}}};b.prototype.invDigit=function(){if(1>this.t)return 0;var a=this.data[0];if(0==(a&1))return 0;var b=a&3;return b=b*(2-(a&15)*b)& -15,b=b*(2-(a&255)*b)&255,b=b*(2-((a&65535)*b&65535))&65535,b=b*(2-a*b%this.DV)%this.DV,0a)return b.ONE;var f=c(),g=c(),k=e.convert(this),h=l(a)-1;for(k.copyTo(f);0<=--h;)if(e.sqrTo(f,g),0<(a&1<this.s)return"-"+this.negate().toString(a);if(16==a)a=4;else if(8==a)a= -3;else if(2==a)a=1;else if(32==a)a=5;else{if(4!=a)return this.toRadix(a);a=2}var b=(1<>k)&&(e=!0,f="0123456789abcdefghijklmnopqrstuvwxyz".charAt(c));0<=g;)k>(k+=this.DB-a)):(c=this.data[g]>>(k-=a)&b,0>=k&&(k+=this.DB,--g)),0this.s?this.negate():this};b.prototype.compareTo=function(a){var b=this.s-a.s;if(0!=b)return b;var c=this.t,b=c-a.t;if(0!=b)return 0>this.s?-b:b;for(;0<=--c;)if(0!=(b=this.data[c]-a.data[c]))return b;return 0};b.prototype.bitLength=function(){return 0>=this.t?0:this.DB*(this.t-1)+l(this.data[this.t-1]^this.s&this.DM)};b.prototype.mod=function(a){var e=c();return this.abs().divRemTo(a,null,e),0>this.s&&0a||b.isEven()?c=new q(b):c=new A(b),this.exp(a,c)};b.ZERO=d(0);b.ONE=d(1);z.prototype.convert=F;z.prototype.revert=F;z.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c)};z.prototype.sqrTo=function(a,b){a.squareTo(b)};B.prototype.convert=function(a){if(0>a.s||a.t>2*this.m.t)return a.mod(this.m);if(0>a.compareTo(this.m))return a;var b=c();return a.copyTo(b),this.reduce(b),b};B.prototype.revert=function(a){return a};B.prototype.reduce=function(a){a.drShiftTo(this.m.t-1, +2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],c=[1,2,3,5];a.rc2=a.rc2||{};a.rc2.expandKey=function(c,d){"string"==typeof c&&(c=a.util.createBuffer(c));d=d||128;var h=c;c=c.length();var f=d;d=Math.ceil(f/8);var f=255>>(f&7),k;for(k=c;128>k;k++)h.putByte(b[h.at(k-1)+h.at(k-c)&255]);h.setAt(128-d,b[h.at(128- +d)&f]);for(k=127-d;0<=k;k--)h.setAt(k,b[h.at(k+1)^h.at(k+d)]);return h};var d=function(b,d,h){var f=!1,k=null,g=null,m=null,n,e,l,r,p=[];b=a.rc2.expandKey(b,d);for(l=0;64>l;l++)p.push(b.getInt16Le());h?(n=function(a){for(l=0;4>l;l++){a[l]+=p[r]+(a[(l+3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);var b=a[l],d=c[l];a[l]=b<>16-d;r++}},e=function(a){for(l=0;4>l;l++)a[l]+=p[a[(l+3)%4]&63]}):(n=function(a){for(l=3;0<=l;l--){var b=a[l],d=c[l];a[l]=(b&65535)>>d|b<<16-d&65535;a[l]-=p[r]+(a[(l+ +3)%4]&a[(l+2)%4])+(~a[(l+3)%4]&a[(l+1)%4]);r--}},e=function(a){for(l=3;0<=l;l--)a[l]-=p[a[(l+3)%4]&63]});var t=null;return t={start:function(b,c){b&&"string"==typeof b&&(b=a.util.createBuffer(b));f=!1;k=a.util.createBuffer();g=c||new a.util.createBuffer;m=b;t.output=g},update:function(a){for(f||k.putBuffer(a);8<=k.length();){a=[[5,n],[1,e],[6,n],[1,e],[5,n]];var b=[];for(l=0;4>l;l++){var c=k.getInt16Le();null!==m&&(h?c^=m.getInt16Le():m.putInt16Le(c));b.push(c&65535)}r=h?0:63;for(c=0;cl;l++)null!==m&&(h?m.putInt16Le(b[l]):b[l]^=m.getInt16Le()),g.putInt16Le(b[l])}},finish:function(a){var b=!0;if(h)if(a)b=a(8,k,!h);else{var c=8===k.length()?8:8-k.length();k.fillWithByte(c,c)}b&&(f=!0,t.update());!h&&(b=0===k.length())&&(a?b=a(8,g,!h):(a=g.length(),c=g.at(a-1),c>a?b=!1:g.truncate(c)));return b}},t};a.rc2.startEncrypting=function(b,c,d){b=a.rc2.createEncryptionCipher(b,128);return b.start(c,d),b};a.rc2.createEncryptionCipher=function(a,b){return d(a, +b,!0)};a.rc2.startDecrypting=function(b,c,d){b=a.rc2.createDecryptionCipher(b,128);return b.start(c,d),b};a.rc2.createDecryptionCipher=function(a,b){return d(a,b,!1)}}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rc2)return b.rc2;b.defined.rc2=!0;for(var h= +0;h>=15;0<=--f;){var g=this.data[a]&32767,m=this.data[a++]>>15,e=b*g+m*k,g=k*g+((e&32767)<<15)+c.data[d]+(h&1073741823);h=(g>>>30)+(e>>>15)+b*m+(h>>>30);c.data[d++]=g&1073741823}return h}function k(a,b,c,d,h,f){var k=b&16383;for(b>>=14;0<=--f;){var g=this.data[a]&16383,m= +this.data[a++]>>14,e=b*g+m*k,g=k*g+((e&16383)<<14)+c.data[d]+h;h=(g>>28)+(e>>14)+b*m;c.data[d++]=g&268435455}return h}function g(a,b){a=L[a.charCodeAt(b)];return null==a?-1:a}function e(a){var b=c();return b.fromInt(a),b}function l(a){var b=1,c;return 0!=(c=a>>>16)&&(a=c,b+=16),0!=(c=a>>8)&&(a=c,b+=8),0!=(c=a>>4)&&(a=c,b+=4),0!=(c=a>>2)&&(a=c,b+=2),0!=a>>1&&(b+=1),b}function q(a){this.m=a}function A(a){this.m=a;this.mp=a.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<=u;++u)L[E++]=u;E=97;for(u=10;36>u;++u)L[E++]=u;E=65;for(u=10;36>u;++u)L[E++]=u;q.prototype.convert=function(a){return 0>a.s||0<=a.compareTo(this.m)?a.mod(this.m):a};q.prototype.revert=function(a){return a};q.prototype.reduce=function(a){a.divRemTo(this.m,null, +a)};q.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};q.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};A.prototype.convert=function(a){var d=c();return a.abs().dlShiftTo(this.m.t,d),d.divRemTo(this.m,null,d),0>a.s&&0>15)*this.mpl&this.um)<<15)&a.DM,c=b+this.m.t;for(a.data[c]+=this.m.am(0,d,a,b,0,this.m.t);a.data[c]>=a.DV;)a.data[c]-=a.DV,a.data[++c]++}a.clamp();a.drShiftTo(this.m.t,a);0<=a.compareTo(this.m)&&a.subTo(this.m,a)};A.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};A.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};b.prototype.copyTo=function(a){for(var b=this.t-1;0<=b;--b)a.data[b]=this.data[b];a.t=this.t;a.s=this.s};b.prototype.fromInt=function(a){this.t= +1;this.s=0>a?-1:0;0a?this.data[0]=a+this.DV:this.t=0};b.prototype.fromString=function(a,c){if(16==c)c=4;else if(8==c)c=3;else if(256==c)c=8;else if(2==c)c=1;else if(32==c)c=5;else{if(4!=c){this.fromRadix(a,c);return}c=2}this.s=this.t=0;for(var d=a.length,h=!1,f=0;0<=--d;){var k=8==c?a[d]&255:g(a,d);0>k?"-"==a.charAt(d)&&(h=!0):(h=!1,0==f?this.data[this.t++]=k:f+c>this.DB?(this.data[this.t-1]|=(k&(1<>this.DB-f):this.data[this.t-1]|=k<=this.DB&&(f-=this.DB))}8==c&&0!=(a[0]&128)&&(this.s=-1,0>d|f,f=(this.data[k]&h)<=this.t)b.t=0;else{a%=this.DB;var d=this.DB-a,h=(1<>a;for(var f=c+1;f>a;0>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d-=a.s}b.s=0>d?-1:0;-1>d?b.data[c++]=this.DV+d:0=b.DV&&(a.data[c+b.t]-=b.DV,a.data[c+b.t+1]=1)}0=f.t)){var k=this.abs();if(k.t>this.F2:0),n=this.FV/B,B=(1<m&&b.ZERO.subTo(h,h)}}}};b.prototype.invDigit=function(){if(1>this.t)return 0;var a=this.data[0];if(0==(a&1))return 0;var b=a&3;return b=b*(2-(a&15)*b)& +15,b=b*(2-(a&255)*b)&255,b=b*(2-((a&65535)*b&65535))&65535,b=b*(2-a*b%this.DV)%this.DV,0a)return b.ONE;var h=c(),f=c(),k=d.convert(this),g=l(a)-1;for(k.copyTo(h);0<=--g;)if(d.sqrTo(h,f),0<(a&1<this.s)return"-"+this.negate().toString(a);if(16==a)a=4;else if(8==a)a= +3;else if(2==a)a=1;else if(32==a)a=5;else{if(4!=a)return this.toRadix(a);a=2}var b=(1<>k)&&(d=!0,h="0123456789abcdefghijklmnopqrstuvwxyz".charAt(c));0<=f;)k>(k+=this.DB-a)):(c=this.data[f]>>(k-=a)&b,0>=k&&(k+=this.DB,--f)),0this.s?this.negate():this};b.prototype.compareTo=function(a){var b=this.s-a.s;if(0!=b)return b;var c=this.t,b=c-a.t;if(0!=b)return 0>this.s?-b:b;for(;0<=--c;)if(0!=(b=this.data[c]-a.data[c]))return b;return 0};b.prototype.bitLength=function(){return 0>=this.t?0:this.DB*(this.t-1)+l(this.data[this.t-1]^this.s&this.DM)};b.prototype.mod=function(a){var d=c();return this.abs().divRemTo(a,null,d),0>this.s&&0a||b.isEven()?c=new q(b):c=new A(b),this.exp(a,c)};b.ZERO=e(0);b.ONE=e(1);z.prototype.convert=F;z.prototype.revert=F;z.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c)};z.prototype.sqrTo=function(a,b){a.squareTo(b)};B.prototype.convert=function(a){if(0>a.s||a.t>2*this.m.t)return a.mod(this.m);if(0>a.compareTo(this.m))return a;var b=c();return a.copyTo(b),this.reduce(b),b};B.prototype.revert=function(a){return a};B.prototype.reduce=function(a){a.drShiftTo(this.m.t-1, this.r2);a.t>this.m.t+1&&(a.t=this.m.t+1,a.clamp());this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);for(this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>a.compareTo(this.r2);)a.dAddOffset(1,this.m.t+1);for(a.subTo(this.r2,a);0<=a.compareTo(this.m);)a.subTo(this.m,a)};B.prototype.mulTo=function(a,b,c){a.multiplyTo(b,c);this.reduce(c)};B.prototype.sqrTo=function(a,b){a.squareTo(b);this.reduce(b)};var O=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113, 127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],J=67108864/O[O.length-1];b.prototype.chunkSize=function(a){return Math.floor(Math.LN2*this.DB/Math.log(a))};b.prototype.toRadix=function(a){null==a&&(a=10);if(0==this.signum()||2>a||36B?"-"==a.charAt(d)&&0==this.signum()&&(g=!0):(m=c*m+B,++k>=e&&(this.dMultiply(f),this.dAddOffset(m,0),k=0,m=0))}0a)this.fromInt(1);else for(this.fromNumber(a,e),this.testBit(a-1)||this.bitwiseTo(b.ONE.shiftLeft(a-1),y,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(c);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(b.ONE.shiftLeft(a-1),this);else{e=[];var f=a&7;e.length=(a>>3)+1;c.nextBytes(e);0>=this.DB;if(a.t>=this.DB;e+=this.s}else{for(e+=this.s;c>=this.DB;e+=a.s}b.s=0>e?-1:0;0e&&(b.data[c++]=this.DV+e);b.t=c;b.clamp()};b.prototype.dMultiply=function(a){this.data[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()};b.prototype.dAddOffset=function(a,b){if(0!=a){for(;this.t<=b;)this.data[this.t++]=0;for(this.data[b]+=a;this.data[b]>=this.DV;)this.data[b]-=this.DV,++b>=this.t&&(this.data[this.t++]= -0),++this.data[b]}};b.prototype.multiplyLowerTo=function(a,b,c){var e=Math.min(this.t+a.t,b);c.s=0;for(c.t=e;0=a)return 0;var b=this.DV%a,c=0>this.s?a-1:0;if(0=e)return!1;for(var f=c.shiftRight(e),g=G(),k,h=0;h=k.compareTo(b.ONE)||0<=k.compareTo(c));k=k.modPow(f,this);if(0!=k.compareTo(b.ONE)&&0!=k.compareTo(c)){for(var m=1;m++B?"-"==a.charAt(e)&&0==this.signum()&&(f=!0):(m=c*m+B,++k>=d&&(this.dMultiply(h),this.dAddOffset(m,0),k=0,m=0))}0a)this.fromInt(1);else for(this.fromNumber(a,d),this.testBit(a-1)||this.bitwiseTo(b.ONE.shiftLeft(a-1),y,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(c);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(b.ONE.shiftLeft(a-1),this);else{d=[];var h=a&7;d.length=(a>>3)+1;c.nextBytes(d);0>=this.DB;if(a.t>=this.DB;d+=this.s}else{for(d+=this.s;c>=this.DB;d+=a.s}b.s=0>d?-1:0;0d&&(b.data[c++]=this.DV+d);b.t=c;b.clamp()};b.prototype.dMultiply=function(a){this.data[this.t]=this.am(0,a-1,this,0,0,this.t);++this.t;this.clamp()};b.prototype.dAddOffset=function(a,b){if(0!=a){for(;this.t<=b;)this.data[this.t++]=0;for(this.data[b]+=a;this.data[b]>=this.DV;)this.data[b]-=this.DV,++b>=this.t&&(this.data[this.t++]= +0),++this.data[b]}};b.prototype.multiplyLowerTo=function(a,b,c){var d=Math.min(this.t+a.t,b);c.s=0;for(c.t=d;0=a)return 0;var b=this.DV%a,c=0>this.s?a-1:0;if(0=d)return!1;for(var h=c.shiftRight(d),f=G(),k,g=0;g=k.compareTo(b.ONE)||0<=k.compareTo(c));k=k.modPow(h,this);if(0!=k.compareTo(b.ONE)&&0!=k.compareTo(c)){for(var m=1;m++this.s){if(1==this.t)return this.data[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this.data[0];if(0==this.t)return 0}return(this.data[1]&(1<<32-this.DB)-1)<>24};b.prototype.shortValue= -function(){return 0==this.t?this.s:this.data[0]<<16>>16};b.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this.data[0]?0:1};b.prototype.toByteArray=function(){var a=this.t,b=[];b[0]=this.s;var c=this.DB-a*this.DB%8,e,f=0;if(0>c)!=(this.s&this.DM)>>c&&(b[f++]=e|this.s<c?(e=(this.data[a]&(1<>(c+=this.DB-8)):(e=this.data[a]>>(c-=8)&255,0>=c&&(c+=this.DB,--a)),0!=(e&128)&&(e|=-256),0==f&& -(this.s&128)!=(e&128)&&++f,0this.compareTo(a)?this:a};b.prototype.max=function(a){return 0a?this.rShiftTo(-a,b):this.lShiftTo(a,b),b};b.prototype.shiftRight=function(a){var b=c();return 0>a?this.lShiftTo(-a,b):this.rShiftTo(a,b),b};b.prototype.getLowestSetBit=function(){for(var a=0;a>=16,e+=16), -0==(c&255)&&(c>>=8,e+=8),0==(c&15)&&(c>>=4,e+=4),0==(c&3)&&(c>>=2,e+=2),0==(c&1)&&++e,e);return b+a}return 0>this.s?this.t*this.DB:-1};b.prototype.bitCount=function(){for(var a=0,b=this.s&this.DM,c=0;c=this.t?0!=this.s:0!=(this.data[b]&1<=e)return g;18>e?f=1:48>e?f=3:144>e?f=4:768>e?f=5:f=6;8>e?k=new q(b):b.isEven()?k=new B(b):k=new A(b);b=[];var h=3,m=f-1,n=(1<=m?p=a.data[r]>>e-m&n:(p=(a.data[r]&(1<>this.DB+e-m));for(h=f;0==(p&1);)p>>=1,--h;0>(e-=h)&&(e+=this.DB, ---r);if(t)b[p].copyTo(g),t=!1;else{for(;1--e&&(e=this.DB-1,--r)}return k.revert(g)};b.prototype.modInverse=function(a){var c=a.isEven();if(this.isEven()&&c||0==a.signum())return b.ZERO;for(var e=a.clone(),f=this.clone(),g=d(1),k=d(0),h=d(0),m=d(1);0!=e.signum();){for(;e.isEven();)e.rShiftTo(1,e),c?(g.isEven()&&k.isEven()||(g.addTo(this,g),k.subTo(a,k)),g.rShiftTo(1, -g)):k.isEven()||k.subTo(a,k),k.rShiftTo(1,k);for(;f.isEven();)f.rShiftTo(1,f),c?(h.isEven()&&m.isEven()||(h.addTo(this,h),m.subTo(a,m)),h.rShiftTo(1,h)):m.isEven()||m.subTo(a,m),m.rShiftTo(1,m);0<=e.compareTo(f)?(e.subTo(f,e),c&&g.subTo(h,g),k.subTo(m,k)):(f.subTo(e,f),c&&h.subTo(g,h),m.subTo(k,m))}return 0!=f.compareTo(b.ONE)?b.ZERO:0<=m.compareTo(a)?m.subtract(a):0>m.signum()?(m.addTo(a,m),0>m.signum()?m.add(a):m):m};b.prototype.pow=function(a){return this.exp(a,new z)};b.prototype.gcd=function(a){var b= -0>this.s?this.negate():this.clone();a=0>a.s?a.negate():a.clone();0>b.compareTo(a)&&(a=b=a);var c=b.getLowestSetBit(),e=a.getLowestSetBit();if(0>e)return b;c>24&255,k>>16&255,k>>8&255,k&255);e.start();e.update(b+h);f+=e.digest().getBytes()}return f.substring(0,c)}var c=a.pkcs1=a.pkcs1||{};c.encode_rsa_oaep=function(c,e,f,g,k){var h,m,d,l;"string"==typeof f?(h=f,m=g||void 0,d=k||void 0):f&&(h=f.label||void 0,m=f.seed||void 0,d=f.md||void 0,f.mgf1&&f.mgf1.md&&(l=f.mgf1.md));d?d.start():d=a.md.sha1.create();l||(l=d);c=Math.ceil(c.n.bitLength()/8);f=c-2*d.digestLength-2;if(e.length> -f)throw l=Error("RSAES-OAEP input message length is too long."),l.length=e.length,l.maxLength=f,l;h||(h="");d.update(h,"raw");h=d.digest();g="";f-=e.length;for(k=0;k -b&&(m=g(b,e));if(m.isProbablePrime(B))return h(null,m);m.dAddOffset(l[d++%8],0)}while(0>n||+new Date-rb&&(m=g(b,e));f=m.toString(16);a.target.postMessage({hex:f,workLoad:l});m.dAddOffset(n,0)}}B=Math.max(1,B);for(var c=[],f=0;f=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if(!a.prime){var h= -a.prime=a.prime||{},d=a.jsbn.BigInteger,l=[6,4,2,4,2,4,6,2],q=new d(null);q.fromInt(30);var A=function(a,b){return a|b};h.generateProbablePrime=function(c,e,f){"function"==typeof e&&(f=e,e={});e=e||{};var g=e.algorithm||"PRIMEINC";"string"==typeof g&&(g={name:g});g.options=g.options||{};var k=e.prng||a.random;e={nextBytes:function(a){for(var b=k.getBytesSync(a.length),c=0;cc-11)throw f=Error("Message is too long for PKCS#1 v1.5 padding."),f.length=b.length,f.max=c-11,f;f.putByte(0);f.putByte(e);c=c-3-b.length;if(0===e||1===e){e=0===e?0:255;for(var g=0;gb.p.compareTo(b.q)&&(a=b.p,b.p=b.q,b.q=a);0!==b.p.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)? -(b.p=null,f()):0!==b.q.subtract(h.ONE).gcd(b.e).compareTo(h.ONE)?(b.q=null,g(b.qBits,k)):(b.p1=b.p.subtract(h.ONE),b.q1=b.q.subtract(h.ONE),b.phi=b.p1.multiply(b.q1),0!==b.phi.gcd(b.e).compareTo(h.ONE)?(b.p=b.q=null,f()):(b.n=b.p.multiply(b.q),b.n.bitLength()!==b.bits?(b.q=null,g(b.qBits,k)):(a=b.e.modInverse(b.phi),b.keys={privateKey:l.rsa.setPrivateKey(b.n,b.e,a,b.p,b.q,a.mod(b.p1),a.mod(b.q1),b.q.modInverse(b.p)),publicKey:l.rsa.setPublicKey(b.n,b.e)},e(null,b.keys))))}"function"==typeof c&&(e= -c,c={});c=c||{};var m={algorithm:{name:c.algorithm||"PRIMEINC",options:{workers:c.workers||2,workLoad:c.workLoad||100,workerScript:c.workerScript}}};"prng"in c&&(m.prng=c.prng);f()}function g(b){b=b.toString(16);return"8"<=b[0]&&(b="00"+b),a.util.hexToBytes(b)}function k(a){return 100>=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if("undefined"==typeof h)var h=a.jsbn.BigInteger;var d=a.asn1;a.pki=a.pki||{};a.pki.rsa=a.rsa=a.rsa||{};var l=a.pki, -q=[6,4,2,4,2,4,6,2],A={name:"PrivateKeyInfo",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:d.Class.UNIVERSAL, -type:d.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},D={name:"RSAPrivateKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"}, -{name:"RSAPrivateKey.privateExponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2", -tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},y={name:"RSAPublicKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:d.Class.UNIVERSAL,type:d.Type.INTEGER, -constructed:!1,capture:"publicKeyExponent"}]},w=a.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:d.Class.UNIVERSAL,type:d.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:d.Class.UNIVERSAL, -type:d.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:d.Class.UNIVERSAL,type:d.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},x=function(a){var b;if(a.algorithm in l.oids){b=l.oids[a.algorithm];var c=d.oidToDer(b).getBytes();b=d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[]);var e=d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[]);e.value.push(d.create(d.Class.UNIVERSAL,d.Type.OID,!1,c));e.value.push(d.create(d.Class.UNIVERSAL, -d.Type.NULL,!1,""));a=d.create(d.Class.UNIVERSAL,d.Type.OCTETSTRING,!1,a.digest().getBytes());return b.value.push(e),b.value.push(a),d.toDer(b).getBytes()}b=Error("Unknown message digest algorithm.");throw b.algorithm=a.algorithm,b;},z=function(b,c,e){if(e)return b.modPow(c.e,c.n);if(!c.p||!c.q)return b.modPow(c.d,c.n);c.dP||(c.dP=c.d.mod(c.p.subtract(h.ONE)));c.dQ||(c.dQ=c.d.mod(c.q.subtract(h.ONE)));c.qInv||(c.qInv=c.q.modInverse(c.p));do e=(new h(a.util.bytesToHex(a.random.getBytes(c.n.bitLength()/ -8)),16)).mod(c.n);while(e.equals(h.ZERO));b=b.multiply(e.modPow(c.e,c.n)).mod(c.n);var f=b.mod(c.p).modPow(c.dP,c.p);for(b=b.mod(c.q).modPow(c.dQ,c.q);0>f.compareTo(b);)f=f.add(c.p);b=f.subtract(b).multiply(c.qInv).mod(c.p).multiply(c.q).add(b);return b=b.multiply(e.modInverse(c.n)).mod(c.n),b};l.rsa.encrypt=function(c,e,f){var g=f,k,m=Math.ceil(e.n.bitLength()/8);!1!==f&&!0!==f?(g=2===f,k=b(c,e,f)):(k=a.util.createBuffer(),k.putBytes(c));c=new h(k.toHex(),16);e=z(c,e,g).toString(16);g=a.util.createBuffer(); -for(m-=Math.ceil(e.length/2);0>1,pBits:b-(b>>1),pqState:0,num:null, -keys:null},g.e.fromInt(g.eInt),g};l.rsa.stepKeyPairGenerationState=function(a,b){"algorithm"in a||(a.algorithm="PRIMEINC");var c=new h(null);c.fromInt(30);for(var e=0,f=function(a,b){return a|b},g=+new Date,m,d=0;null===a.keys&&(0>=b||dm?a.pqState= -0:a.num.isProbablePrime(k(a.num.bitLength()))?++a.pqState:a.num.dAddOffset(q[e++%8],0):2===a.pqState?a.pqState=0===a.num.subtract(h.ONE).gcd(a.e).compareTo(h.ONE)?3:0:3===a.pqState&&(a.pqState=0,null===a.p?a.p=a.num:a.q=a.num,null!==a.p&&null!==a.q&&++a.state,a.num=null)}else 1===a.state?(0>a.p.compareTo(a.q)&&(a.num=a.p,a.p=a.q,a.q=a.num),++a.state):2===a.state?(a.p1=a.p.subtract(h.ONE),a.q1=a.q.subtract(h.ONE),a.phi=a.p1.multiply(a.q1),++a.state):3===a.state?0===a.phi.gcd(a.e).compareTo(h.ONE)? -++a.state:(a.p=null,a.q=null,a.state=0):4===a.state?(a.n=a.p.multiply(a.q),a.n.bitLength()===a.bits?++a.state:(a.q=null,a.state=0)):5===a.state&&(m=a.e.modInverse(a.phi),a.keys={privateKey:l.rsa.setPrivateKey(a.n,a.e,m,a.p,a.q,m.mod(a.p1),m.mod(a.q1),a.q.modInverse(a.p)),publicKey:l.rsa.setPublicKey(a.n,a.e)});m=+new Date;d+=m-g;g=m}return null!==a.keys};l.rsa.generateKeyPair=function(a,b,c,f){1===arguments.length?"object"==typeof a?(c=a,a=void 0):"function"==typeof a&&(f=a,a=void 0):2===arguments.length? -"number"==typeof a?"function"==typeof b?(f=b,b=void 0):"number"!=typeof b&&(c=b,b=void 0):(c=a,f=b,a=void 0,b=void 0):3===arguments.length&&("number"==typeof b?"function"==typeof c&&(f=c,c=void 0):(f=c,c=b,b=void 0));c=c||{};void 0===a&&(a=c.bits||2048);void 0===b&&(b=c.e||65537);var g=l.rsa.createKeyPairGenerationState(a,b,c);if(!f)return l.rsa.stepKeyPairGenerationState(g,0),g.keys;e(g,c,f)};l.setRsaPublicKey=l.rsa.setPublicKey=function(e,f){var g={n:e,e:f};return g.encrypt=function(c,e,f){"string"== -typeof e?e=e.toUpperCase():void 0===e&&(e="RSAES-PKCS1-V1_5");if("RSAES-PKCS1-V1_5"===e)e={encode:function(a,c,e){return b(a,c,2).getBytes()}};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={encode:function(b,c){return a.pkcs1.encode_rsa_oaep(c,b,f)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(e))e={encode:function(a){return a}};else if("string"==typeof e)throw Error('Unsupported encryption scheme: "'+e+'".');c=e.encode(c,g,!0);return l.rsa.encrypt(c,g,!0)},g.verify=function(a,b,e){"string"==typeof e? -e=e.toUpperCase():void 0===e&&(e="RSASSA-PKCS1-V1_5");if("RSASSA-PKCS1-V1_5"===e)e={verify:function(a,b){b=c(b,g,!0);b=d.fromDer(b);return a===b.value[1].value}};else if("NONE"===e||"NULL"===e||null===e)e={verify:function(a,b){return b=c(b,g,!0),a===b}};b=l.rsa.decrypt(b,g,!0,!1);return e.verify(a,b,g.n.bitLength())},g};l.setRsaPrivateKey=l.rsa.setPrivateKey=function(b,e,f,g,k,h,m,d){var B={n:b,e:e,d:f,p:g,q:k,dP:h,dQ:m,qInv:d};return B.decrypt=function(b,e,f){"string"==typeof e?e=e.toUpperCase(): -void 0===e&&(e="RSAES-PKCS1-V1_5");b=l.rsa.decrypt(b,B,!1,!1);if("RSAES-PKCS1-V1_5"===e)e={decode:c};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={decode:function(b,c){return a.pkcs1.decode_rsa_oaep(c,b,f)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(e))throw Error('Unsupported encryption scheme: "'+e+'".');e={decode:function(a){return a}}}return e.decode(b,B,!1)},B.sign=function(a,b){var c=!1;"string"==typeof b&&(b=b.toUpperCase());if(void 0===b||"RSASSA-PKCS1-V1_5"===b)b={encode:x},c=1;else if("NONE"=== -b||"NULL"===b||null===b)b={encode:function(){return a}},c=1;b=b.encode(a,B.n.bitLength());return l.rsa.encrypt(b,B,c)},B};l.wrapRsaPrivateKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,d.integerToDer(0).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.OID,!1,d.oidToDer(l.oids.rsaEncryption).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.NULL,!1,"")]),d.create(d.Class.UNIVERSAL,d.Type.OCTETSTRING, -!1,d.toDer(a).getBytes())])};l.privateKeyFromAsn1=function(b){var c={},e=[];d.validate(b,A,c,e)&&(b=d.fromDer(a.util.createBuffer(c.privateKey)));c={};e=[];if(!d.validate(b,D,c,e))throw b=Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey."),b.errors=e,b;var f,g,k,m,n,r,p,t;return f=a.util.createBuffer(c.privateKeyModulus).toHex(),g=a.util.createBuffer(c.privateKeyPublicExponent).toHex(),k=a.util.createBuffer(c.privateKeyPrivateExponent).toHex(),m=a.util.createBuffer(c.privateKeyPrime1).toHex(), -n=a.util.createBuffer(c.privateKeyPrime2).toHex(),r=a.util.createBuffer(c.privateKeyExponent1).toHex(),p=a.util.createBuffer(c.privateKeyExponent2).toHex(),t=a.util.createBuffer(c.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new h(f,16),new h(g,16),new h(k,16),new h(m,16),new h(n,16),new h(r,16),new h(p,16),new h(t,16))};l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,d.integerToDer(0).getBytes()), -d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.n)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.e)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.d)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.p)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.q)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.dP)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.dQ)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.qInv))])};l.publicKeyFromAsn1=function(b){var c={},e=[];if(d.validate(b,w,c,e)){e= -d.derToOid(c.publicKeyOid);if(e!==l.oids.rsaEncryption)throw c=Error("Cannot read public key. Unknown OID."),c.oid=e,c;b=c.rsaPublicKey}e=[];if(!d.validate(b,y,c,e))throw c=Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey."),c.errors=e,c;e=a.util.createBuffer(c.publicKeyModulus).toHex();c=a.util.createBuffer(c.publicKeyExponent).toHex();return l.setRsaPublicKey(new h(e,16),new h(c,16))};l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(a){return d.create(d.Class.UNIVERSAL, -d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.OID,!1,d.oidToDer(l.oids.rsaEncryption).getBytes()),d.create(d.Class.UNIVERSAL,d.Type.NULL,!1,"")]),d.create(d.Class.UNIVERSAL,d.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(a)])])};l.publicKeyToRSAPublicKey=function(a){return d.create(d.Class.UNIVERSAL,d.Type.SEQUENCE,!0,[d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.n)),d.create(d.Class.UNIVERSAL,d.Type.INTEGER,!1,g(a.e))])}}if("function"!=typeof b){if("object"!= -typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var e=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rsa)return b.rsa;b.defined.rsa=!0;for(var f=0;f>=8,x+=w.at(d)+A.at(d),A.setAt(d,x&255);C.putBuffer(A)}r=C;n.putBuffer(v)}return n.truncate(n.length()-g),n};g.pbe.getCipher=function(a,b,c){switch(a){case g.oids.pkcs5PBES2:return g.pbe.getCipherForPBES2(a,b,c);case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case g.oids["pbewithSHAAnd40BitRC2-CBC"]:return g.pbe.getCipherForPKCS12PBE(a, -b,c);default:throw b=Error("Cannot read encrypted PBE data block. Unsupported OID."),b.oid=a,b.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],b;}};g.pbe.getCipherForPBES2=function(b,c,f){var k={};b=[];if(!e.validate(c,d,k,b)){var h=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw h.errors=b,h;}b=e.derToOid(k.kdfOid);if(b!==g.oids.pkcs5PBKDF2)throw h=Error("Cannot read encrypted private key. Unsupported key derivation function OID."), -h.oid=b,h.supportedOids=["pkcs5PBKDF2"],h;b=e.derToOid(k.encOid);if(b!==g.oids["aes128-CBC"]&&b!==g.oids["aes192-CBC"]&&b!==g.oids["aes256-CBC"]&&b!==g.oids["des-EDE3-CBC"]&&b!==g.oids.desCBC)throw h=Error("Cannot read encrypted private key. Unsupported encryption scheme OID."),h.oid=b,h.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],h;c=k.kdfSalt;var m=a.util.createBuffer(k.kdfIterationCount),m=m.getInt(m.length()<<3),l;switch(g.oids[b]){case "aes128-CBC":l=16;h=a.aes.createDecryptionCipher; -break;case "aes192-CBC":l=24;h=a.aes.createDecryptionCipher;break;case "aes256-CBC":l=32;h=a.aes.createDecryptionCipher;break;case "des-EDE3-CBC":l=24;h=a.des.createDecryptionCipher;break;case "desCBC":l=8,h=a.des.createDecryptionCipher}b=a.pkcs5.pbkdf2(f,c,m,l);k=k.encIv;h=h(b);return h.start(k),h};g.pbe.getCipherForPKCS12PBE=function(b,c,f){var k={},h=[];if(!e.validate(c,l,k,h))throw f=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo."), -f.errors=h,f;var h=a.util.createBuffer(k.salt),k=a.util.createBuffer(k.iterations),k=k.getInt(k.length()<<3),d;switch(b){case g.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:d=24;c=8;b=a.des.startDecrypting;break;case g.oids["pbewithSHAAnd40BitRC2-CBC"]:d=5;c=8;b=function(b,c){b=a.rc2.createDecryptionCipher(b,40);return b.start(c,null),b};break;default:throw f=Error("Cannot read PKCS #12 PBE data block. Unsupported OID."),f.oid=b,f;}d=g.pbe.generatePkcs12Key(f,h,1,k,d);f=g.pbe.generatePkcs12Key(f,h,2,k, -c);return b(d,f)};g.pbe.opensslDeriveBytes=function(c,e,f,g){if("undefined"==typeof g||null===g)g=a.md.md5.create();null===e&&(e="");for(var k=[b(g,c+e)],h=16,d=1;h>16};b.prototype.signum=function(){return 0>this.s?-1:0>=this.t||1==this.t&&0>=this.data[0]?0:1};b.prototype.toByteArray=function(){var a=this.t,b=[];b[0]=this.s;var c=this.DB-a*this.DB%8,d,h=0;if(0>c)!=(this.s&this.DM)>>c&&(b[h++]=d|this.s<c?(d=(this.data[a]&(1<>(c+=this.DB-8)):(d=this.data[a]>>(c-=8)&255,0>=c&&(c+=this.DB,--a)),0!=(d&128)&&(d|=-256),0==h&& +(this.s&128)!=(d&128)&&++h,0this.compareTo(a)?this:a};b.prototype.max=function(a){return 0a?this.rShiftTo(-a,b):this.lShiftTo(a,b),b};b.prototype.shiftRight=function(a){var b=c();return 0>a?this.lShiftTo(-a,b):this.rShiftTo(a,b),b};b.prototype.getLowestSetBit=function(){for(var a=0;a>=16,d+=16), +0==(c&255)&&(c>>=8,d+=8),0==(c&15)&&(c>>=4,d+=4),0==(c&3)&&(c>>=2,d+=2),0==(c&1)&&++d,d);return b+a}return 0>this.s?this.t*this.DB:-1};b.prototype.bitCount=function(){for(var a=0,b=this.s&this.DM,c=0;c=this.t?0!=this.s:0!=(this.data[b]&1<=d)return f;18>d?h=1:48>d?h=3:144>d?h=4:768>d?h=5:h=6;8>d?k=new q(b):b.isEven()?k=new B(b):k=new A(b);b=[];var g=3,m=h-1,n=(1<=m?p=a.data[r]>>d-m&n:(p=(a.data[r]&(1<>this.DB+d-m));for(g=h;0==(p&1);)p>>=1,--g;0>(d-=g)&&(d+=this.DB, +--r);if(t)b[p].copyTo(f),t=!1;else{for(;1--d&&(d=this.DB-1,--r)}return k.revert(f)};b.prototype.modInverse=function(a){var c=a.isEven();if(this.isEven()&&c||0==a.signum())return b.ZERO;for(var d=a.clone(),h=this.clone(),f=e(1),k=e(0),g=e(0),m=e(1);0!=d.signum();){for(;d.isEven();)d.rShiftTo(1,d),c?(f.isEven()&&k.isEven()||(f.addTo(this,f),k.subTo(a,k)),f.rShiftTo(1, +f)):k.isEven()||k.subTo(a,k),k.rShiftTo(1,k);for(;h.isEven();)h.rShiftTo(1,h),c?(g.isEven()&&m.isEven()||(g.addTo(this,g),m.subTo(a,m)),g.rShiftTo(1,g)):m.isEven()||m.subTo(a,m),m.rShiftTo(1,m);0<=d.compareTo(h)?(d.subTo(h,d),c&&f.subTo(g,f),k.subTo(m,k)):(h.subTo(d,h),c&&g.subTo(f,g),m.subTo(k,m))}return 0!=h.compareTo(b.ONE)?b.ZERO:0<=m.compareTo(a)?m.subtract(a):0>m.signum()?(m.addTo(a,m),0>m.signum()?m.add(a):m):m};b.prototype.pow=function(a){return this.exp(a,new z)};b.prototype.gcd=function(a){var b= +0>this.s?this.negate():this.clone();a=0>a.s?a.negate():a.clone();0>b.compareTo(a)&&(a=b=a);var c=b.getLowestSetBit(),d=a.getLowestSetBit();if(0>d)return b;c>24&255,k>>16&255,k>>8&255,k&255);d.start();d.update(b+g);h+=d.digest().getBytes()}return h.substring(0,c)}var c=a.pkcs1=a.pkcs1||{};c.encode_rsa_oaep=function(c,d,h,f,k){var g,m,e,n;"string"==typeof h?(g=h,m=f||void 0,e=k||void 0):h&&(g=h.label||void 0,m=h.seed||void 0,e=h.md||void 0,h.mgf1&&h.mgf1.md&&(n=h.mgf1.md));e?e.start():e=a.md.sha1.create();n||(n=e);c=Math.ceil(c.n.bitLength()/8);h=c-2*e.digestLength-2;if(d.length> +h)throw n=Error("RSAES-OAEP input message length is too long."),n.length=d.length,n.maxLength=h,n;g||(g="");e.update(g,"raw");g=e.digest();f="";h-=d.length;for(k=0;k +b&&(m=f(b,d));if(m.isProbablePrime(B))return g(null,m);m.dAddOffset(l[e++%8],0)}while(0>n||+new Date-rb&&(m=f(b,d));h=m.toString(16);a.target.postMessage({hex:h,workLoad:n});m.dAddOffset(l,0)}}B=Math.max(1,B);for(var c=[],h=0;h=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if(!a.prime){var g= +a.prime=a.prime||{},e=a.jsbn.BigInteger,l=[6,4,2,4,2,4,6,2],q=new e(null);q.fromInt(30);var A=function(a,b){return a|b};g.generateProbablePrime=function(c,d,h){"function"==typeof d&&(h=d,d={});d=d||{};var f=d.algorithm||"PRIMEINC";"string"==typeof f&&(f={name:f});f.options=f.options||{};var k=d.prng||a.random;d={nextBytes:function(a){for(var b=k.getBytesSync(a.length),c=0;cc-11)throw h=Error("Message is too long for PKCS#1 v1.5 padding."),h.length=b.length,h.max=c-11,h;h.putByte(0);h.putByte(d);c=c-3-b.length;if(0===d||1===d){d=0===d?0:255;for(var f=0;fb.p.compareTo(b.q)&&(a=b.p,b.p=b.q,b.q=a);0!==b.p.subtract(g.ONE).gcd(b.e).compareTo(g.ONE)? +(b.p=null,h()):0!==b.q.subtract(g.ONE).gcd(b.e).compareTo(g.ONE)?(b.q=null,f(b.qBits,k)):(b.p1=b.p.subtract(g.ONE),b.q1=b.q.subtract(g.ONE),b.phi=b.p1.multiply(b.q1),0!==b.phi.gcd(b.e).compareTo(g.ONE)?(b.p=b.q=null,h()):(b.n=b.p.multiply(b.q),b.n.bitLength()!==b.bits?(b.q=null,f(b.qBits,k)):(a=b.e.modInverse(b.phi),b.keys={privateKey:l.rsa.setPrivateKey(b.n,b.e,a,b.p,b.q,a.mod(b.p1),a.mod(b.q1),b.q.modInverse(b.p)),publicKey:l.rsa.setPublicKey(b.n,b.e)},d(null,b.keys))))}"function"==typeof c&&(d= +c,c={});c=c||{};var m={algorithm:{name:c.algorithm||"PRIMEINC",options:{workers:c.workers||2,workLoad:c.workLoad||100,workerScript:c.workerScript}}};"prng"in c&&(m.prng=c.prng);h()}function f(b){b=b.toString(16);return"8"<=b[0]&&(b="00"+b),a.util.hexToBytes(b)}function k(a){return 100>=a?27:150>=a?18:200>=a?15:250>=a?12:300>=a?9:350>=a?8:400>=a?7:500>=a?6:600>=a?5:800>=a?4:1250>=a?3:2}if("undefined"==typeof g)var g=a.jsbn.BigInteger;var e=a.asn1;a.pki=a.pki||{};a.pki.rsa=a.rsa=a.rsa||{};var l=a.pki, +q=[6,4,2,4,2,4,6,2],A={name:"PrivateKeyInfo",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:e.Class.UNIVERSAL, +type:e.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},D={name:"RSAPrivateKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"}, +{name:"RSAPrivateKey.privateExponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2", +tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},y={name:"RSAPublicKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:e.Class.UNIVERSAL,type:e.Type.INTEGER, +constructed:!1,capture:"publicKeyExponent"}]},w=a.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:e.Class.UNIVERSAL,type:e.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:e.Class.UNIVERSAL, +type:e.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:e.Class.UNIVERSAL,type:e.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},x=function(a){var b;if(a.algorithm in l.oids){b=l.oids[a.algorithm];var c=e.oidToDer(b).getBytes();b=e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[]);var d=e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[]);d.value.push(e.create(e.Class.UNIVERSAL,e.Type.OID,!1,c));d.value.push(e.create(e.Class.UNIVERSAL, +e.Type.NULL,!1,""));a=e.create(e.Class.UNIVERSAL,e.Type.OCTETSTRING,!1,a.digest().getBytes());return b.value.push(d),b.value.push(a),e.toDer(b).getBytes()}b=Error("Unknown message digest algorithm.");throw b.algorithm=a.algorithm,b;},z=function(b,c,d){if(d)return b.modPow(c.e,c.n);if(!c.p||!c.q)return b.modPow(c.d,c.n);c.dP||(c.dP=c.d.mod(c.p.subtract(g.ONE)));c.dQ||(c.dQ=c.d.mod(c.q.subtract(g.ONE)));c.qInv||(c.qInv=c.q.modInverse(c.p));do d=(new g(a.util.bytesToHex(a.random.getBytes(c.n.bitLength()/ +8)),16)).mod(c.n);while(d.equals(g.ZERO));b=b.multiply(d.modPow(c.e,c.n)).mod(c.n);var h=b.mod(c.p).modPow(c.dP,c.p);for(b=b.mod(c.q).modPow(c.dQ,c.q);0>h.compareTo(b);)h=h.add(c.p);b=h.subtract(b).multiply(c.qInv).mod(c.p).multiply(c.q).add(b);return b=b.multiply(d.modInverse(c.n)).mod(c.n),b};l.rsa.encrypt=function(c,d,h){var f=h,k,m=Math.ceil(d.n.bitLength()/8);!1!==h&&!0!==h?(f=2===h,k=b(c,d,h)):(k=a.util.createBuffer(),k.putBytes(c));c=new g(k.toHex(),16);d=z(c,d,f).toString(16);f=a.util.createBuffer(); +for(m-=Math.ceil(d.length/2);0>1,pBits:b-(b>>1),pqState:0,num:null, +keys:null},f.e.fromInt(f.eInt),f};l.rsa.stepKeyPairGenerationState=function(a,b){"algorithm"in a||(a.algorithm="PRIMEINC");var c=new g(null);c.fromInt(30);for(var d=0,h=function(a,b){return a|b},f=+new Date,m,e=0;null===a.keys&&(0>=b||em?a.pqState= +0:a.num.isProbablePrime(k(a.num.bitLength()))?++a.pqState:a.num.dAddOffset(q[d++%8],0):2===a.pqState?a.pqState=0===a.num.subtract(g.ONE).gcd(a.e).compareTo(g.ONE)?3:0:3===a.pqState&&(a.pqState=0,null===a.p?a.p=a.num:a.q=a.num,null!==a.p&&null!==a.q&&++a.state,a.num=null)}else 1===a.state?(0>a.p.compareTo(a.q)&&(a.num=a.p,a.p=a.q,a.q=a.num),++a.state):2===a.state?(a.p1=a.p.subtract(g.ONE),a.q1=a.q.subtract(g.ONE),a.phi=a.p1.multiply(a.q1),++a.state):3===a.state?0===a.phi.gcd(a.e).compareTo(g.ONE)? +++a.state:(a.p=null,a.q=null,a.state=0):4===a.state?(a.n=a.p.multiply(a.q),a.n.bitLength()===a.bits?++a.state:(a.q=null,a.state=0)):5===a.state&&(m=a.e.modInverse(a.phi),a.keys={privateKey:l.rsa.setPrivateKey(a.n,a.e,m,a.p,a.q,m.mod(a.p1),m.mod(a.q1),a.q.modInverse(a.p)),publicKey:l.rsa.setPublicKey(a.n,a.e)});m=+new Date;e+=m-f;f=m}return null!==a.keys};l.rsa.generateKeyPair=function(a,b,c,h){1===arguments.length?"object"==typeof a?(c=a,a=void 0):"function"==typeof a&&(h=a,a=void 0):2===arguments.length? +"number"==typeof a?"function"==typeof b?(h=b,b=void 0):"number"!=typeof b&&(c=b,b=void 0):(c=a,h=b,a=void 0,b=void 0):3===arguments.length&&("number"==typeof b?"function"==typeof c&&(h=c,c=void 0):(h=c,c=b,b=void 0));c=c||{};void 0===a&&(a=c.bits||2048);void 0===b&&(b=c.e||65537);var f=l.rsa.createKeyPairGenerationState(a,b,c);if(!h)return l.rsa.stepKeyPairGenerationState(f,0),f.keys;d(f,c,h)};l.setRsaPublicKey=l.rsa.setPublicKey=function(d,h){var f={n:d,e:h};return f.encrypt=function(c,d,h){"string"== +typeof d?d=d.toUpperCase():void 0===d&&(d="RSAES-PKCS1-V1_5");if("RSAES-PKCS1-V1_5"===d)d={encode:function(a,c,d){return b(a,c,2).getBytes()}};else if("RSA-OAEP"===d||"RSAES-OAEP"===d)d={encode:function(b,c){return a.pkcs1.encode_rsa_oaep(c,b,h)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(d))d={encode:function(a){return a}};else if("string"==typeof d)throw Error('Unsupported encryption scheme: "'+d+'".');c=d.encode(c,f,!0);return l.rsa.encrypt(c,f,!0)},f.verify=function(a,b,d){"string"==typeof d? +d=d.toUpperCase():void 0===d&&(d="RSASSA-PKCS1-V1_5");if("RSASSA-PKCS1-V1_5"===d)d={verify:function(a,b){b=c(b,f,!0);b=e.fromDer(b);return a===b.value[1].value}};else if("NONE"===d||"NULL"===d||null===d)d={verify:function(a,b){return b=c(b,f,!0),a===b}};b=l.rsa.decrypt(b,f,!0,!1);return d.verify(a,b,f.n.bitLength())},f};l.setRsaPrivateKey=l.rsa.setPrivateKey=function(b,d,h,f,k,g,m,e){var n={n:b,e:d,d:h,p:f,q:k,dP:g,dQ:m,qInv:e};return n.decrypt=function(b,d,h){"string"==typeof d?d=d.toUpperCase(): +void 0===d&&(d="RSAES-PKCS1-V1_5");b=l.rsa.decrypt(b,n,!1,!1);if("RSAES-PKCS1-V1_5"===d)d={decode:c};else if("RSA-OAEP"===d||"RSAES-OAEP"===d)d={decode:function(b,c){return a.pkcs1.decode_rsa_oaep(c,b,h)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(d))throw Error('Unsupported encryption scheme: "'+d+'".');d={decode:function(a){return a}}}return d.decode(b,n,!1)},n.sign=function(a,b){var c=!1;"string"==typeof b&&(b=b.toUpperCase());if(void 0===b||"RSASSA-PKCS1-V1_5"===b)b={encode:x},c=1;else if("NONE"=== +b||"NULL"===b||null===b)b={encode:function(){return a}},c=1;b=b.encode(a,n.n.bitLength());return l.rsa.encrypt(b,n,c)},n};l.wrapRsaPrivateKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,e.integerToDer(0).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.OID,!1,e.oidToDer(l.oids.rsaEncryption).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.NULL,!1,"")]),e.create(e.Class.UNIVERSAL,e.Type.OCTETSTRING, +!1,e.toDer(a).getBytes())])};l.privateKeyFromAsn1=function(b){var c={},d=[];e.validate(b,A,c,d)&&(b=e.fromDer(a.util.createBuffer(c.privateKey)));c={};d=[];if(!e.validate(b,D,c,d))throw b=Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey."),b.errors=d,b;var h,f,k,m,n,r,p,t;return h=a.util.createBuffer(c.privateKeyModulus).toHex(),f=a.util.createBuffer(c.privateKeyPublicExponent).toHex(),k=a.util.createBuffer(c.privateKeyPrivateExponent).toHex(),m=a.util.createBuffer(c.privateKeyPrime1).toHex(), +n=a.util.createBuffer(c.privateKeyPrime2).toHex(),r=a.util.createBuffer(c.privateKeyExponent1).toHex(),p=a.util.createBuffer(c.privateKeyExponent2).toHex(),t=a.util.createBuffer(c.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new g(h,16),new g(f,16),new g(k,16),new g(m,16),new g(n,16),new g(r,16),new g(p,16),new g(t,16))};l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,e.integerToDer(0).getBytes()), +e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.n)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.e)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.d)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.p)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.q)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.dP)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.dQ)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.qInv))])};l.publicKeyFromAsn1=function(b){var c={},d=[];if(e.validate(b,w,c,d)){d= +e.derToOid(c.publicKeyOid);if(d!==l.oids.rsaEncryption)throw c=Error("Cannot read public key. Unknown OID."),c.oid=d,c;b=c.rsaPublicKey}d=[];if(!e.validate(b,y,c,d))throw c=Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey."),c.errors=d,c;d=a.util.createBuffer(c.publicKeyModulus).toHex();c=a.util.createBuffer(c.publicKeyExponent).toHex();return l.setRsaPublicKey(new g(d,16),new g(c,16))};l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(a){return e.create(e.Class.UNIVERSAL, +e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.OID,!1,e.oidToDer(l.oids.rsaEncryption).getBytes()),e.create(e.Class.UNIVERSAL,e.Type.NULL,!1,"")]),e.create(e.Class.UNIVERSAL,e.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(a)])])};l.publicKeyToRSAPublicKey=function(a){return e.create(e.Class.UNIVERSAL,e.Type.SEQUENCE,!0,[e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.n)),e.create(e.Class.UNIVERSAL,e.Type.INTEGER,!1,f(a.e))])}}if("function"!=typeof b){if("object"!= +typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.rsa)return b.rsa;b.defined.rsa=!0;for(var h=0;h>=8,x+=w.at(e)+A.at(e),A.setAt(e,x&255);C.putBuffer(A)}r=C;n.putBuffer(v)}return n.truncate(n.length()-f),n};f.pbe.getCipher=function(a,b,c){switch(a){case f.oids.pkcs5PBES2:return f.pbe.getCipherForPBES2(a,b,c);case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case f.oids["pbewithSHAAnd40BitRC2-CBC"]:return f.pbe.getCipherForPKCS12PBE(a, +b,c);default:throw b=Error("Cannot read encrypted PBE data block. Unsupported OID."),b.oid=a,b.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],b;}};f.pbe.getCipherForPBES2=function(b,c,h){var k={};b=[];if(!d.validate(c,e,k,b)){var g=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw g.errors=b,g;}b=d.derToOid(k.kdfOid);if(b!==f.oids.pkcs5PBKDF2)throw g=Error("Cannot read encrypted private key. Unsupported key derivation function OID."), +g.oid=b,g.supportedOids=["pkcs5PBKDF2"],g;b=d.derToOid(k.encOid);if(b!==f.oids["aes128-CBC"]&&b!==f.oids["aes192-CBC"]&&b!==f.oids["aes256-CBC"]&&b!==f.oids["des-EDE3-CBC"]&&b!==f.oids.desCBC)throw g=Error("Cannot read encrypted private key. Unsupported encryption scheme OID."),g.oid=b,g.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],g;c=k.kdfSalt;var m=a.util.createBuffer(k.kdfIterationCount),m=m.getInt(m.length()<<3),l;switch(f.oids[b]){case "aes128-CBC":l=16;g=a.aes.createDecryptionCipher; +break;case "aes192-CBC":l=24;g=a.aes.createDecryptionCipher;break;case "aes256-CBC":l=32;g=a.aes.createDecryptionCipher;break;case "des-EDE3-CBC":l=24;g=a.des.createDecryptionCipher;break;case "desCBC":l=8,g=a.des.createDecryptionCipher}b=a.pkcs5.pbkdf2(h,c,m,l);k=k.encIv;g=g(b);return g.start(k),g};f.pbe.getCipherForPKCS12PBE=function(b,c,h){var k={},g=[];if(!d.validate(c,l,k,g))throw h=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo."), +h.errors=g,h;var g=a.util.createBuffer(k.salt),k=a.util.createBuffer(k.iterations),k=k.getInt(k.length()<<3),e;switch(b){case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:e=24;c=8;b=a.des.startDecrypting;break;case f.oids["pbewithSHAAnd40BitRC2-CBC"]:e=5;c=8;b=function(b,c){b=a.rc2.createDecryptionCipher(b,40);return b.start(c,null),b};break;default:throw h=Error("Cannot read PKCS #12 PBE data block. Unsupported OID."),h.oid=b,h;}e=f.pbe.generatePkcs12Key(h,g,1,k,e);h=f.pbe.generatePkcs12Key(h,g,2,k, +c);return b(e,h)};f.pbe.opensslDeriveBytes=function(c,d,h,f){if("undefined"==typeof f||null===f)f=a.md.md5.create();null===d&&(d="");for(var k=[b(f,c+d)],g=16,e=1;g>8*l-f&255;return n=String.fromCharCode(n.charCodeAt(0)&~f)+ -n.substr(1),n+b+String.fromCharCode(188)},l.verify=function(b,f,k){var d;d=k-1;k=Math.ceil(d/8);f=f.substr(-k);if(k>8*k-d&255;if(0!==(l.charCodeAt(0)&n))throw Error("Bits beyond keysize not zero as expected.");var r=e.generate(f,m),B="";for(d=0;dh.length)throw Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime."); -k.validity.notBefore=h[0];k.validity.notAfter=h[1];k.tbsCertificate=g.tbsCertificate;if(f){k.md=null;if(k.signatureOid in q)switch(h=q[k.signatureOid],h){case "sha1WithRSAEncryption":k.md=a.md.sha1.create();break;case "md5WithRSAEncryption":k.md=a.md.md5.create();break;case "sha256WithRSAEncryption":k.md=a.md.sha256.create();break;case "RSASSA-PSS":k.md=a.md.sha256.create()}if(null===k.md)throw g=Error("Could not compute certificate digest. Unknown signature OID."),g.signatureOid=k.signatureOid,g; -f=d.toDer(k.tbsCertificate);k.md.update(f.getBytes())}f=a.md.sha1.create();k.issuer.getField=function(a){return b(k.issuer,a)};k.issuer.addField=function(a){e([a]);k.issuer.attributes.push(a)};k.issuer.attributes=l.RDNAttributesAsArray(g.certIssuer,f);g.certIssuerUniqueId&&(k.issuer.uniqueId=g.certIssuerUniqueId);k.issuer.hash=f.digest().toHex();f=a.md.sha1.create();return k.subject.getField=function(a){return b(k.subject,a)},k.subject.addField=function(a){e([a]);k.subject.attributes.push(a)},k.subject.attributes= -l.RDNAttributesAsArray(g.certSubject,f),g.certSubjectUniqueId&&(k.subject.uniqueId=g.certSubjectUniqueId),k.subject.hash=f.digest().toHex(),g.certExtensions?k.extensions=l.certificateExtensionsFromAsn1(g.certExtensions):k.extensions=[],k.publicKey=l.publicKeyFromAsn1(g.subjectPublicKeyInfo),k};l.certificateExtensionsFromAsn1=function(a){for(var b=[],c=0;cm.validity.notAfter)h={message:"Certificate is not valid yet or has expired.", -error:l.certificateError.certificate_expired,notBefore:m.validity.notBefore,notAfter:m.validity.notAfter,now:g};if(null===h){n=c[0]||b.getIssuer(m);null===n&&m.isIssuer(m)&&(r=!0,n=m);if(n){var B=n;a.util.isArray(B)||(B=[B]);for(var t=!1;!t&&0d.pathLenConstraint&&(h={message:"Certificate basicConstraints pathLenConstraint violated.", -error:l.certificateError.bad_certificate}));m=null===h?!0:h.error;d=e?e(m,k,f):m;if(!0!==d){!0===m&&(h={message:"The application rejected the certificate.",error:l.certificateError.bad_certificate});if(d||0===d)"object"!=typeof d||a.util.isArray(d)?"string"==typeof d&&(h.error=d):(d.message&&(h.message=d.message),d.error&&(h.error=d.error));throw h;}h=null;d=!1;++k}while(0>1,h=g+(b.length&1),k=b.substr(0,h),h=b.substr(g,h);b=a.util.createBuffer(); -g=a.hmac.create();e=c+e;var m=Math.ceil(f/16);c=Math.ceil(f/20);g.start("MD5",k);k=a.util.createBuffer();b.putBytes(e);for(var l=0;le)b.error(b,{message:h?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});else{c=c.fragment;var k=c.length(),f={version:{major:c.getByte(),minor:c.getByte()},random:a.util.createBuffer(c.getBytes(32)),session_id:g(c,1),extensions:[]};h?(f.cipher_suite= -c.getBytes(2),f.compression_method=c.getByte()):(f.cipher_suites=g(c,2),f.compression_methods=g(c,1));k=e-(k-c.length());if(0c.version.minor)e=null,f="";0===f.length&&(f=a.random.getBytes(32));b.session.id=f;b.session.clientHelloVersion=c.version;b.session.sp={};if(e)b.version=b.session.version=e.version,b.session.sp=e.sp;else{for(var g,f=1;fe)return b.error(b,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.illegal_parameter}});e=g(c.fragment,3);var f,h;c=[];try{for(;0e)return b.error(b,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unsupported_certificate}});c=g(c.fragment,2).getBytes();e=null;if(b.getPrivateKey)try{e=b.getPrivateKey(b,b.session.serverCertificate),e=a.pki.privateKeyFromPem(e)}catch(qa){b.error(b,{message:"Could not get private key.",cause:qa,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}})}if(null=== -e)return b.error(b,{message:"No private key set.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}});try{var f=b.session.sp;f.pre_master_secret=e.decrypt(c);var h=b.session.clientHelloVersion;if(h.major!==f.pre_master_secret.charCodeAt(0)||h.minor!==f.pre_master_secret.charCodeAt(1))throw Error("TLS version rollback attack detected.");}catch(qa){f.pre_master_secret=a.random.getBytes(48)}b.expect=G;null!==b.session.clientCertificate&&(b.expect=B);b.process()}; -d.handleCertificateRequest=function(a,b,c){if(3>c)return a.error(a,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});b=b.fragment;b={certificate_types:g(b,1),certificate_authorities:g(b,2)};a.session.certificateRequest=b;a.expect=A;a.process()};d.handleCertificateVerify=function(b,c,e){if(2>e)return b.error(b,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.illegal_parameter}});e=c.fragment;e.read-=4;c=e.bytes();e.read+=4;e=g(e,2).getBytes();var f=a.util.createBuffer();f.putBuffer(b.session.md5.digest());f.putBuffer(b.session.sha1.digest());f=f.getBytes();try{if(!b.session.clientCertificate.publicKey.verify(f,e,"NONE"))throw Error("CertificateVerify signature does not match.");b.session.md5.update(c);b.session.sha1.update(c)}catch(pa){return b.error(b,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.handshake_failure}})}b.expect=G;b.process()};d.handleServerHelloDone=function(b,c,e){if(0e.length())return b.fragmented=c,c.fragment=a.util.createBuffer(),e.read-=4,b.process();b.fragmented=null;e.read-=4;var h=e.bytes(g+4);e.read+=4;f in K[b.entity][b.expect]?(b.entity===d.ConnectionEnd.server&&!b.open&&!b.fail&&(b.handshaking=!0,b.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:a.md.md5.create(),sha1:a.md.sha1.create()}),f!==d.HandshakeType.hello_request&&f!==d.HandshakeType.certificate_verify&& -f!==d.HandshakeType.finished&&(b.session.md5.update(h),b.session.sha1.update(h)),K[b.entity][b.expect][f](b,c,g)):d.handleUnexpected(b,c)};d.handleApplicationData=function(a,b){a.data.putBuffer(b.fragment);a.dataReady(a);a.process()};d.handleHeartbeat=function(b,c){var e=c.fragment;c=e.getByte();var f=e.getInt16(),e=e.getBytes(f);if(c===d.HeartbeatMessageType.heartbeat_request){if(b.handshaking||f>e.length)return b.process();d.queue(b,d.createRecord(b,{type:d.ContentType.heartbeat,data:d.createHeartbeat(d.HeartbeatMessageType.heartbeat_response, -e)}));d.flush(b)}else if(c===d.HeartbeatMessageType.heartbeat_response){if(e!==b.expectedHeartbeatPayload)return b.process();b.heartbeatReceived&&b.heartbeatReceived(b,a.util.createBuffer(e))}b.process()};var k=1,l=2,q=3,A=4,D=5,y=6,w=7,x=8,z=1,F=2,B=3,G=4,E=5,L=6,u=d.handleUnexpected,O=d.handleChangeCipherSpec,J=d.handleAlert,I=d.handleHandshake,T=d.handleApplicationData,Q=d.handleHeartbeat,ea=[];ea[d.ConnectionEnd.client]=[[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[O,J,u,u,Q], -[u,J,I,u,Q],[u,J,I,T,Q],[u,J,I,u,Q]];ea[d.ConnectionEnd.server]=[[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[O,J,u,u,Q],[u,J,I,u,Q],[u,J,I,T,Q],[u,J,I,u,Q]];var O=d.handleHelloRequest,J=d.handleCertificate,I=d.handleServerKeyExchange,T=d.handleCertificateRequest,Q=d.handleServerHelloDone,S=d.handleFinished,K=[];K[d.ConnectionEnd.client]=[[u,u,d.handleServerHello,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,J,I,T,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,I,T,Q,u,u,u,u,u,u],[O,u,u, -u,u,u,u,u,u,u,u,u,u,T,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,S],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u]];K[d.ConnectionEnd.server]=[[u,d.handleClientHello,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,J,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,d.handleClientKeyExchange,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,d.handleCertificateVerify, -u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,S],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u]];d.generateKeys=function(a,c){var e=c.client_random+c.server_random;a.session.resuming||(c.master_secret=b(c.pre_master_secret,"master secret",e,48).bytes(),c.pre_master_secret=null);var e=c.server_random+c.client_random,f=2*c.mac_key_length+2*c.enc_key_length;(a=a.version.major===d.Versions.TLS_1_0.major&&a.version.minor=== -d.Versions.TLS_1_0.minor)&&(f+=2*c.fixed_iv_length);e=b(c.master_secret,"key expansion",e,f);f={client_write_MAC_key:e.getBytes(c.mac_key_length),server_write_MAC_key:e.getBytes(c.mac_key_length),client_write_key:e.getBytes(c.enc_key_length),server_write_key:e.getBytes(c.enc_key_length)};return a&&(f.client_write_IV=e.getBytes(c.fixed_iv_length),f.server_write_IV=e.getBytes(c.fixed_iv_length)),f};d.createConnectionState=function(a){var b=a.entity===d.ConnectionEnd.client,f=function(){var a={sequenceNumber:[0, -0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(a){return!0},compressionState:null,compressFunction:function(a){return!0},updateSequenceNumber:function(){4294967295===a.sequenceNumber[1]?(a.sequenceNumber[1]=0,++a.sequenceNumber[0]):++a.sequenceNumber[1]}};return a},g={read:f(),write:f()};g.read.update=function(a,b){return g.read.cipherFunction(b,g.read)?g.read.compressFunction(a,b,g.read)||a.error(a,{message:"Could not decompress record.",send:!0,alert:{level:d.Alert.Level.fatal, -description:d.Alert.Description.decompression_failure}}):a.error(a,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.bad_record_mac}}),!a.fail};g.write.update=function(a,b){return g.write.compressFunction(a,b,g.write)?g.write.cipherFunction(b,g.write)||a.error(a,{message:"Could not encrypt record.",send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}):a.error(a,{message:"Could not compress record.", -send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}),!a.fail};if(a.session)switch(f=a.session.sp,a.session.cipherSuite.initSecurityParameters(f),f.keys=d.generateKeys(a,f),g.read.macKey=b?f.keys.server_write_MAC_key:f.keys.client_write_MAC_key,g.write.macKey=b?f.keys.client_write_MAC_key:f.keys.server_write_MAC_key,a.session.cipherSuite.initConnectionState(g,a,f),f.compression_algorithm){case d.CompressionMethod.none:break;case d.CompressionMethod.deflate:g.read.compressFunction= -e;g.write.compressFunction=c;break;default:throw Error("Unsupported compression algorithm.");}return g};d.createRandom=function(){var b=new Date,b=+b+6E4*b.getTimezoneOffset(),c=a.util.createBuffer();return c.putInt32(b),c.putBytes(a.random.getBytes(28)),c};d.createRecord=function(a,b){return b.data?{type:b.type,version:{major:a.version.major,minor:a.version.minor},length:b.data.length(),fragment:b.data}:null};d.createAlert=function(b,c){var e=a.util.createBuffer();return e.putByte(c.level),e.putByte(c.description), -d.createRecord(b,{type:d.ContentType.alert,data:e})};d.createClientHello=function(b){b.session.clientHelloVersion={major:b.version.major,minor:b.version.minor};for(var c=a.util.createBuffer(),e=0;ed.MaxFragment;)e.push(d.createRecord(b,{type:c.type,data:a.util.createBuffer(f.slice(0,d.MaxFragment))})),f=f.slice(d.MaxFragment);0e?c=5-e:(h.record={type:b.getByte(),version:{major:b.getByte(),minor:b.getByte()},length:b.getInt16(),fragment:a.util.createBuffer(),ready:!1},(b=h.record.version.major===h.version.major)&&h.session&& -h.session.version&&(b=h.record.version.minor===h.version.minor),b||h.error(h,{message:"Incompatible TLS version.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.protocol_version}}))}if(!h.fail&&null!==h.record&&!h.record.ready){c=h;b=0;var e=c.input,f=e.length();f=h.Versions.TLS_1_1.minor&&c.output.putBytes(d),c.update(b.fragment),c.finish(e)&&(b.fragment=c.output,b.length=b.fragment.length(),f=!0),f}function e(a,b,c){c||(a-=b.length()%a,b.fillWithByte(a-1,a));return!0}function g(a,b,c){a= -!0;if(c){c=b.length();for(var e=b.last(),f=c-1-e;f=d?(b.fragment=f.output.getBytes(l-d),m=f.output.getBytes(d)):b.fragment=f.output.getBytes(); -b.fragment=a.util.createBuffer(b.fragment);b.length=b.fragment.length();b=c.macFunction(c.macKey,c.sequenceNumber,b);c.updateSequenceNumber();c=c.macKey;f=a.hmac.create();return e=(f.start("SHA1",c),f.update(m),m=f.digest().getBytes(),f.start(null,null),f.update(b),b=f.digest().getBytes(),m===b)&&e,e}var h=a.tls;h.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=h.BulkCipherAlgorithm.aes;a.cipher_type= -h.CipherType.block;a.enc_key_length=16;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm=h.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};h.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=h.BulkCipherAlgorithm.aes;a.cipher_type=h.CipherType.block;a.enc_key_length=32;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm= -h.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};var k=0}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var e=!0;b=function(b,c){c(a,module)}}var g,d=function(a,b){b.exports=function(b){var e=g.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.aesCipherSuites)return b.aesCipherSuites;b.defined.aesCipherSuites=!0;for(var f=0;f>8*l-h&255;return n=String.fromCharCode(n.charCodeAt(0)&~h)+ +n.substr(1),n+b+String.fromCharCode(188)},l.verify=function(b,h,g){var e;e=g-1;g=Math.ceil(e/8);h=h.substr(-g);if(g>8*g-e&255;if(0!==(l.charCodeAt(0)&n))throw Error("Bits beyond keysize not zero as expected.");var r=d.generate(h,m),B="";for(e=0;eg.length)throw Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime."); +k.validity.notBefore=g[0];k.validity.notAfter=g[1];k.tbsCertificate=f.tbsCertificate;if(h){k.md=null;if(k.signatureOid in q)switch(g=q[k.signatureOid],g){case "sha1WithRSAEncryption":k.md=a.md.sha1.create();break;case "md5WithRSAEncryption":k.md=a.md.md5.create();break;case "sha256WithRSAEncryption":k.md=a.md.sha256.create();break;case "RSASSA-PSS":k.md=a.md.sha256.create()}if(null===k.md)throw f=Error("Could not compute certificate digest. Unknown signature OID."),f.signatureOid=k.signatureOid,f; +h=e.toDer(k.tbsCertificate);k.md.update(h.getBytes())}h=a.md.sha1.create();k.issuer.getField=function(a){return b(k.issuer,a)};k.issuer.addField=function(a){d([a]);k.issuer.attributes.push(a)};k.issuer.attributes=l.RDNAttributesAsArray(f.certIssuer,h);f.certIssuerUniqueId&&(k.issuer.uniqueId=f.certIssuerUniqueId);k.issuer.hash=h.digest().toHex();h=a.md.sha1.create();return k.subject.getField=function(a){return b(k.subject,a)},k.subject.addField=function(a){d([a]);k.subject.attributes.push(a)},k.subject.attributes= +l.RDNAttributesAsArray(f.certSubject,h),f.certSubjectUniqueId&&(k.subject.uniqueId=f.certSubjectUniqueId),k.subject.hash=h.digest().toHex(),f.certExtensions?k.extensions=l.certificateExtensionsFromAsn1(f.certExtensions):k.extensions=[],k.publicKey=l.publicKeyFromAsn1(f.subjectPublicKeyInfo),k};l.certificateExtensionsFromAsn1=function(a){for(var b=[],c=0;cm.validity.notAfter)e={message:"Certificate is not valid yet or has expired.", +error:l.certificateError.certificate_expired,notBefore:m.validity.notBefore,notAfter:m.validity.notAfter,now:f};if(null===e){n=c[0]||b.getIssuer(m);null===n&&m.isIssuer(m)&&(r=!0,n=m);if(n){var B=n;a.util.isArray(B)||(B=[B]);for(var t=!1;!t&&0g.pathLenConstraint&&(e={message:"Certificate basicConstraints pathLenConstraint violated.", +error:l.certificateError.bad_certificate}));m=null===e?!0:e.error;g=d?d(m,k,h):m;if(!0!==g){!0===m&&(e={message:"The application rejected the certificate.",error:l.certificateError.bad_certificate});if(g||0===g)"object"!=typeof g||a.util.isArray(g)?"string"==typeof g&&(e.error=g):(g.message&&(e.message=g.message),g.error&&(e.error=g.error));throw e;}e=null;g=!1;++k}while(0>1,e=g+(b.length&1),k=b.substr(0,e),e=b.substr(g,e);b=a.util.createBuffer(); +g=a.hmac.create();d=c+d;var m=Math.ceil(h/16);c=Math.ceil(h/20);g.start("MD5",k);k=a.util.createBuffer();b.putBytes(d);for(var l=0;ld)b.error(b,{message:e?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.illegal_parameter}});else{c=c.fragment;var k=c.length(),h={version:{major:c.getByte(),minor:c.getByte()},random:a.util.createBuffer(c.getBytes(32)),session_id:f(c,1),extensions:[]};e?(h.cipher_suite= +c.getBytes(2),h.compression_method=c.getByte()):(h.cipher_suites=f(c,2),h.compression_methods=f(c,1));k=d-(k-c.length());if(0c.version.minor)d=null,h="";0===h.length&&(h=a.random.getBytes(32));b.session.id=h;b.session.clientHelloVersion=c.version;b.session.sp={};if(d)b.version=b.session.version=d.version,b.session.sp=d.sp;else{for(var f,h=1;hd)return b.error(b,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:g.Alert.Level.fatal, +description:g.Alert.Description.illegal_parameter}});d=f(c.fragment,3);var h,e;c=[];try{for(;0d)return b.error(b,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.unsupported_certificate}});c=f(c.fragment,2).getBytes();d=null;if(b.getPrivateKey)try{d=b.getPrivateKey(b,b.session.serverCertificate),d=a.pki.privateKeyFromPem(d)}catch(qa){b.error(b,{message:"Could not get private key.",cause:qa,send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.internal_error}})}if(null=== +d)return b.error(b,{message:"No private key set.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.internal_error}});try{var h=b.session.sp;h.pre_master_secret=d.decrypt(c);var e=b.session.clientHelloVersion;if(e.major!==h.pre_master_secret.charCodeAt(0)||e.minor!==h.pre_master_secret.charCodeAt(1))throw Error("TLS version rollback attack detected.");}catch(qa){h.pre_master_secret=a.random.getBytes(48)}b.expect=G;null!==b.session.clientCertificate&&(b.expect=B);b.process()}; +g.handleCertificateRequest=function(a,b,c){if(3>c)return a.error(a,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.illegal_parameter}});b=b.fragment;b={certificate_types:f(b,1),certificate_authorities:f(b,2)};a.session.certificateRequest=b;a.expect=A;a.process()};g.handleCertificateVerify=function(b,c,d){if(2>d)return b.error(b,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:g.Alert.Level.fatal, +description:g.Alert.Description.illegal_parameter}});d=c.fragment;d.read-=4;c=d.bytes();d.read+=4;d=f(d,2).getBytes();var h=a.util.createBuffer();h.putBuffer(b.session.md5.digest());h.putBuffer(b.session.sha1.digest());h=h.getBytes();try{if(!b.session.clientCertificate.publicKey.verify(h,d,"NONE"))throw Error("CertificateVerify signature does not match.");b.session.md5.update(c);b.session.sha1.update(c)}catch(pa){return b.error(b,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:g.Alert.Level.fatal, +description:g.Alert.Description.handshake_failure}})}b.expect=G;b.process()};g.handleServerHelloDone=function(b,c,d){if(0d.length())return b.fragmented=c,c.fragment=a.util.createBuffer(),d.read-=4,b.process();b.fragmented=null;d.read-=4;var e=d.bytes(f+4);d.read+=4;h in K[b.entity][b.expect]?(b.entity===g.ConnectionEnd.server&&!b.open&&!b.fail&&(b.handshaking=!0,b.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:a.md.md5.create(),sha1:a.md.sha1.create()}),h!==g.HandshakeType.hello_request&&h!==g.HandshakeType.certificate_verify&& +h!==g.HandshakeType.finished&&(b.session.md5.update(e),b.session.sha1.update(e)),K[b.entity][b.expect][h](b,c,f)):g.handleUnexpected(b,c)};g.handleApplicationData=function(a,b){a.data.putBuffer(b.fragment);a.dataReady(a);a.process()};g.handleHeartbeat=function(b,c){var d=c.fragment;c=d.getByte();var h=d.getInt16(),d=d.getBytes(h);if(c===g.HeartbeatMessageType.heartbeat_request){if(b.handshaking||h>d.length)return b.process();g.queue(b,g.createRecord(b,{type:g.ContentType.heartbeat,data:g.createHeartbeat(g.HeartbeatMessageType.heartbeat_response, +d)}));g.flush(b)}else if(c===g.HeartbeatMessageType.heartbeat_response){if(d!==b.expectedHeartbeatPayload)return b.process();b.heartbeatReceived&&b.heartbeatReceived(b,a.util.createBuffer(d))}b.process()};var k=1,l=2,q=3,A=4,D=5,y=6,w=7,x=8,z=1,F=2,B=3,G=4,E=5,L=6,u=g.handleUnexpected,O=g.handleChangeCipherSpec,J=g.handleAlert,I=g.handleHandshake,T=g.handleApplicationData,Q=g.handleHeartbeat,ea=[];ea[g.ConnectionEnd.client]=[[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[O,J,u,u,Q], +[u,J,I,u,Q],[u,J,I,T,Q],[u,J,I,u,Q]];ea[g.ConnectionEnd.server]=[[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[u,J,I,u,Q],[O,J,u,u,Q],[u,J,I,u,Q],[u,J,I,T,Q],[u,J,I,u,Q]];var O=g.handleHelloRequest,J=g.handleCertificate,I=g.handleServerKeyExchange,T=g.handleCertificateRequest,Q=g.handleServerHelloDone,S=g.handleFinished,K=[];K[g.ConnectionEnd.client]=[[u,u,g.handleServerHello,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,J,I,T,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,I,T,Q,u,u,u,u,u,u],[O,u,u, +u,u,u,u,u,u,u,u,u,u,T,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,Q,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,S],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[O,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u]];K[g.ConnectionEnd.server]=[[u,g.handleClientHello,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,J,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,g.handleClientKeyExchange,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,g.handleCertificateVerify, +u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,S],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u],[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u]];g.generateKeys=function(a,c){var d=c.client_random+c.server_random;a.session.resuming||(c.master_secret=b(c.pre_master_secret,"master secret",d,48).bytes(),c.pre_master_secret=null);var d=c.server_random+c.client_random,h=2*c.mac_key_length+2*c.enc_key_length;(a=a.version.major===g.Versions.TLS_1_0.major&&a.version.minor=== +g.Versions.TLS_1_0.minor)&&(h+=2*c.fixed_iv_length);d=b(c.master_secret,"key expansion",d,h);h={client_write_MAC_key:d.getBytes(c.mac_key_length),server_write_MAC_key:d.getBytes(c.mac_key_length),client_write_key:d.getBytes(c.enc_key_length),server_write_key:d.getBytes(c.enc_key_length)};return a&&(h.client_write_IV=d.getBytes(c.fixed_iv_length),h.server_write_IV=d.getBytes(c.fixed_iv_length)),h};g.createConnectionState=function(a){var b=a.entity===g.ConnectionEnd.client,h=function(){var a={sequenceNumber:[0, +0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(a){return!0},compressionState:null,compressFunction:function(a){return!0},updateSequenceNumber:function(){4294967295===a.sequenceNumber[1]?(a.sequenceNumber[1]=0,++a.sequenceNumber[0]):++a.sequenceNumber[1]}};return a},f={read:h(),write:h()};f.read.update=function(a,b){return f.read.cipherFunction(b,f.read)?f.read.compressFunction(a,b,f.read)||a.error(a,{message:"Could not decompress record.",send:!0,alert:{level:g.Alert.Level.fatal, +description:g.Alert.Description.decompression_failure}}):a.error(a,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.bad_record_mac}}),!a.fail};f.write.update=function(a,b){return f.write.compressFunction(a,b,f.write)?f.write.cipherFunction(b,f.write)||a.error(a,{message:"Could not encrypt record.",send:!1,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.internal_error}}):a.error(a,{message:"Could not compress record.", +send:!1,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.internal_error}}),!a.fail};if(a.session)switch(h=a.session.sp,a.session.cipherSuite.initSecurityParameters(h),h.keys=g.generateKeys(a,h),f.read.macKey=b?h.keys.server_write_MAC_key:h.keys.client_write_MAC_key,f.write.macKey=b?h.keys.client_write_MAC_key:h.keys.server_write_MAC_key,a.session.cipherSuite.initConnectionState(f,a,h),h.compression_algorithm){case g.CompressionMethod.none:break;case g.CompressionMethod.deflate:f.read.compressFunction= +d;f.write.compressFunction=c;break;default:throw Error("Unsupported compression algorithm.");}return f};g.createRandom=function(){var b=new Date,b=+b+6E4*b.getTimezoneOffset(),c=a.util.createBuffer();return c.putInt32(b),c.putBytes(a.random.getBytes(28)),c};g.createRecord=function(a,b){return b.data?{type:b.type,version:{major:a.version.major,minor:a.version.minor},length:b.data.length(),fragment:b.data}:null};g.createAlert=function(b,c){var d=a.util.createBuffer();return d.putByte(c.level),d.putByte(c.description), +g.createRecord(b,{type:g.ContentType.alert,data:d})};g.createClientHello=function(b){b.session.clientHelloVersion={major:b.version.major,minor:b.version.minor};for(var c=a.util.createBuffer(),d=0;dg.MaxFragment;)d.push(g.createRecord(b,{type:c.type,data:a.util.createBuffer(h.slice(0,g.MaxFragment))})),h=h.slice(g.MaxFragment);0d?c=5-d:(e.record={type:b.getByte(),version:{major:b.getByte(),minor:b.getByte()},length:b.getInt16(),fragment:a.util.createBuffer(),ready:!1},(b=e.record.version.major===e.version.major)&&e.session&& +e.session.version&&(b=e.record.version.minor===e.version.minor),b||e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:g.Alert.Level.fatal,description:g.Alert.Description.protocol_version}}))}if(!e.fail&&null!==e.record&&!e.record.ready){c=e;b=0;var d=c.input,h=d.length();h=e.Versions.TLS_1_1.minor&&c.output.putBytes(g),c.update(b.fragment),c.finish(d)&&(b.fragment=c.output,b.length=b.fragment.length(),h=!0),h}function d(a,b,c){c||(a-=b.length()%a,b.fillWithByte(a-1,a));return!0}function f(a,b,c){a= +!0;if(c){c=b.length();for(var d=b.last(),h=c-1-d;h=g?(b.fragment=h.output.getBytes(l-g),m=h.output.getBytes(g)):b.fragment=h.output.getBytes(); +b.fragment=a.util.createBuffer(b.fragment);b.length=b.fragment.length();b=c.macFunction(c.macKey,c.sequenceNumber,b);c.updateSequenceNumber();c=c.macKey;h=a.hmac.create();return d=(h.start("SHA1",c),h.update(m),m=h.digest().getBytes(),h.start(null,null),h.update(b),b=h.digest().getBytes(),m===b)&&d,d}var e=a.tls;e.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=e.BulkCipherAlgorithm.aes;a.cipher_type= +e.CipherType.block;a.enc_key_length=16;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm=e.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};e.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(a){a.bulk_cipher_algorithm=e.BulkCipherAlgorithm.aes;a.cipher_type=e.CipherType.block;a.enc_key_length=32;a.block_length=16;a.fixed_iv_length=16;a.record_iv_length=16;a.mac_algorithm= +e.MACAlgorithm.hmac_sha1;a.mac_length=20;a.mac_key_length=20},initConnectionState:b};var k=0}if("function"!=typeof b){if("object"!=typeof module||!module.exports)return"undefined"==typeof forge&&(forge={}),c(forge);var d=!0;b=function(b,c){c(a,module)}}var f,e=function(a,b){b.exports=function(b){var d=f.map(function(b){return a(b)}).concat(c);b=b||{};b.defined=b.defined||{};if(b.defined.aesCipherSuites)return b.aesCipherSuites;b.defined.aesCipherSuites=!0;for(var h=0;h=e&&d=d&&fb.contentInfo.value.length)throw Error("Could not sign PKCS#7 message; there is no content to sign.");var h=q.derToOid(b.contentInfo.value[0].value),e=b.contentInfo.value[1],e=e.value[0],k=q.toDer(e);k.getByte();q.getBerValueLength(k);var k=k.getBytes(),m;for(m in c)c[m].start().update(k);m=new Date;for(e=0;e=this._config.preview;if(C)d.postMessage({results:a,workerId:w.WORKER_ID,finished:b}); +0,!0,[q.create(q.Class.UNIVERSAL,q.Type.OCTETSTRING,!1,c)]))}if(0!==b.signers.length){c={};for(var d=0;db.contentInfo.value.length)throw Error("Could not sign PKCS#7 message; there is no content to sign.");var e=q.derToOid(b.contentInfo.value[0].value),d=b.contentInfo.value[1],d=d.value[0],k=q.toDer(d);k.getByte();q.getBerValueLength(k);var k=k.getBytes(),m;for(m in c)c[m].start().update(k);m=new Date;for(d=0;d=this._config.preview;if(C)e.postMessage({results:a,workerId:w.WORKER_ID,finished:b}); else if(r(this._config.chunk)){this._config.chunk(a,this._handle);if(this._paused)return;this._completeResults=a=void 0}this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta);!b||!r(this._config.complete)||a&&a.meta.aborted||this._config.complete(this._completeResults);b||a&&a.meta.paused||this._nextChunk();return a}};this._sendError=function(a){r(this._config.error)? -this._config.error(a):C&&this._config.error&&d.postMessage({workerId:w.WORKER_ID,error:a,finished:!1})}}function b(b){b=b||{};b.chunkSize||(b.chunkSize=w.RemoteChunkSize);a.call(this,b);var c;this._nextChunk=v?function(){this._readChunk();this._chunkLoaded()}:function(){this._readChunk()};this.stream=function(a){this._input=a;this._nextChunk()};this._readChunk=function(){if(this._finished)this._chunkLoaded();else{c=new XMLHttpRequest;v||(c.onload=t(this._chunkLoaded,this),c.onerror=t(this._chunkError, +this._config.error(a):C&&this._config.error&&e.postMessage({workerId:w.WORKER_ID,error:a,finished:!1})}}function b(b){b=b||{};b.chunkSize||(b.chunkSize=w.RemoteChunkSize);a.call(this,b);var c;this._nextChunk=v?function(){this._readChunk();this._chunkLoaded()}:function(){this._readChunk()};this.stream=function(a){this._input=a;this._nextChunk()};this._readChunk=function(){if(this._finished)this._chunkLoaded();else{c=new XMLHttpRequest;v||(c.onload=t(this._chunkLoaded,this),c.onerror=t(this._chunkError, this));c.open("GET",this._input,!v);this._config.chunkSize&&(c.setRequestHeader("Range","bytes\x3d"+this._start+"-"+(this._start+this._config.chunkSize-1)),c.setRequestHeader("If-None-Match","webkit-no-cache"));try{c.send()}catch(B){this._chunkError(B.message)}v&&0==c.status?this._chunkError():this._start+=this._config.chunkSize}};this._chunkLoaded=function(){if(4==c.readyState)if(200>c.status||400<=c.status)this._chunkError();else{var a;if(!(a=!this._config.chunkSize)){a=this._start;var b;b=c.getResponseHeader("Content-Range"); -b=parseInt(b.substr(b.lastIndexOf("/")+1));a=a>b}this._finished=a;this.parseChunk(c.responseText)}};this._chunkError=function(a){this._sendError(c.statusText||a)}}function c(b){b=b||{};b.chunkSize||(b.chunkSize=w.LocalChunkSize);a.call(this,b);var c,e,f="undefined"!==typeof FileReader;this.stream=function(a){this._input=a;e=a.slice||a.webkitSlice||a.mozSlice;f?(c=new FileReader,c.onload=t(this._chunkLoaded,this),c.onerror=t(this._chunkError,this)):c=new FileReaderSync;this._nextChunk()};this._nextChunk= -function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size;this.parseChunk(a.target.result)}; -this._chunkError=function(){this._sendError(c.error)}}function e(b){b=b||{};a.call(this,b);var c;this.stream=function(a){c=a;return this._nextChunk()};this._nextChunk=function(){if(!this._finished){var a=this._config.chunkSize,b=a?c.substr(0,a):c;c=a?c.substr(a):"";this._finished=!c;return this.parseChunk(b)}}}function g(a){function b(){v&&n&&(c("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),n=!1);if(a.skipEmptyLines)for(var b= -0;b=t.length? -(f.__parsed_extra||(f.__parsed_extra=[]),f.__parsed_extra.push(v.data[b][d])):f[t[d]]=v.data[b][d])}a.header&&(v.data[b]=f,d>t.length?c("FieldMismatch","TooManyFields","Too many fields: expected "+t.length+" fields but parsed "+d,b):da.preview?h.abort():C(v,f)))}}this.parse=function(c,e,f){var d;if(!a.newline){var m;m=c.substr(0,1048576);m=m.split("\r");if(1==m.length)m="\n";else{for(var B=0,t=0;t=m.length/2?"\r\n":"\r"}a.newline=m}n=!1;if(!a.delimiter){m=[",","\t","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var r, -t=0;t=d)return I=I.slice(0,d),p(!0)}}return p()}for(var x=a.indexOf(b,h),T=a.indexOf(c,h);;)if('"'==a[h])for(x=h,h++;;){x=a.indexOf('"',x+1);if(-1===x)return l|| -A.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:I.length,index:h}),B();if(x===w-1)return q=a.substring(h,x).replace(/""/g,'"'),B(q);if('"'==a[x+1])x++;else{if(a[x+1]==b){u.push(a.substring(h,x).replace(/""/g,'"'));h=x+1+v;x=a.indexOf(b,h);T=a.indexOf(c,h);break}if(a.substr(x+1,C)===c){u.push(a.substring(h,x).replace(/""/g,'"'));t(x+1+C);x=a.indexOf(b,h);if(G&&(r(),k))return p();if(d&&I.length>=d)return p(!0);break}}}else if(e&&0===u.length&&a.substr(h,q)===e){if(-1== -T)return p();h=T+C;T=a.indexOf(c,h);x=a.indexOf(b,h)}else if(-1!==x&&(x=d)return p(!0)}else break;return B()};this.abort=function(){k=!0};this.getCharIndex=function(){return h}}function h(){var a=document.getElementsByTagName("script");return a.length?a[a.length-1].src:""}function k(a){var b=a.data;a=D[b.workerId];var c=!1;if(b.error)a.userError(b.error, -b.file);else if(b.results&&b.results.data){var e={abort:function(){c=!0;n(b.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:f,resume:f};if(r(a.userStep)){for(var d=0;db}this._finished=a;this.parseChunk(c.responseText)}};this._chunkError=function(a){this._sendError(c.statusText||a)}}function c(b){b=b||{};b.chunkSize||(b.chunkSize=w.LocalChunkSize);a.call(this,b);var c,d,h="undefined"!==typeof FileReader;this.stream=function(a){this._input=a;d=a.slice||a.webkitSlice||a.mozSlice;h?(c=new FileReader,c.onload=t(this._chunkLoaded,this),c.onerror=t(this._chunkError,this)):c=new FileReaderSync;this._nextChunk()};this._nextChunk= +function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size;this.parseChunk(a.target.result)}; +this._chunkError=function(){this._sendError(c.error)}}function d(b){b=b||{};a.call(this,b);var c;this.stream=function(a){c=a;return this._nextChunk()};this._nextChunk=function(){if(!this._finished){var a=this._config.chunkSize,b=a?c.substr(0,a):c;c=a?c.substr(a):"";this._finished=!c;return this.parseChunk(b)}}}function f(a){function b(){v&&n&&(c("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+w.DefaultDelimiter+"'"),n=!1);if(a.skipEmptyLines)for(var b= +0;b=t.length? +(h.__parsed_extra||(h.__parsed_extra=[]),h.__parsed_extra.push(v.data[b][f])):h[t[f]]=v.data[b][f])}a.header&&(v.data[b]=h,f>t.length?c("FieldMismatch","TooManyFields","Too many fields: expected "+t.length+" fields but parsed "+f,b):fa.preview?e.abort():C(v,h)))}}this.parse=function(c,d,h){var f;if(!a.newline){var m;m=c.substr(0,1048576);m=m.split("\r");if(1==m.length)m="\n";else{for(var B=0,t=0;t=m.length/2?"\r\n":"\r"}a.newline=m}n=!1;if(!a.delimiter){m=[",","\t","|",";",w.RECORD_SEP,w.UNIT_SEP];for(var r, +t=0;t=f)return I=I.slice(0,f),p(!0)}}return p()}for(var x=a.indexOf(b,e),T=a.indexOf(c,e);;)if('"'==a[e])for(x=e,e++;;){x=a.indexOf('"',x+1);if(-1===x)return l|| +A.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:I.length,index:e}),B();if(x===w-1)return q=a.substring(e,x).replace(/""/g,'"'),B(q);if('"'==a[x+1])x++;else{if(a[x+1]==b){u.push(a.substring(e,x).replace(/""/g,'"'));e=x+1+v;x=a.indexOf(b,e);T=a.indexOf(c,e);break}if(a.substr(x+1,C)===c){u.push(a.substring(e,x).replace(/""/g,'"'));t(x+1+C);x=a.indexOf(b,e);if(G&&(r(),k))return p();if(f&&I.length>=f)return p(!0);break}}}else if(d&&0===u.length&&a.substr(e,q)===d){if(-1== +T)return p();e=T+C;T=a.indexOf(c,e);x=a.indexOf(b,e)}else if(-1!==x&&(x=f)return p(!0)}else break;return B()};this.abort=function(){k=!0};this.getCharIndex=function(){return e}}function g(){var a=document.getElementsByTagName("script");return a.length?a[a.length-1].src:""}function k(a){var b=a.data;a=D[b.workerId];var c=!1;if(b.error)a.userError(b.error, +b.file);else if(b.results&&b.results.data){var d={abort:function(){c=!0;n(b.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:h,resume:h};if(r(a.userStep)){for(var f=0;f/g,"\x26gt;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26apos;"):a}function c(a,b,c,e){for(var f=0;f/g,"\x26gt;").replace(/"/g,"\x26quot;").replace(/'/g,"\x26apos;"):a}function c(a,b,c,d){for(var h=0;h>2],c+=chars[(d[a]&3)<<4|d[a+1]>>4],c+=chars[(d[a+1]&15)<<2|d[a+2]>>6],c+=chars[d[a+2]&63];2===b%3?c=c.substring(0,c.length-1)+"\x3d":1===b%3&&(c=c.substring(0,c.length-2)+"\x3d\x3d");return c}; -base64.decode=function(d){var a=.75*d.length,b=d.length,c=0,e,g,l,h;"\x3d"===d[d.length-1]&&(a--,"\x3d"===d[d.length-2]&&a--);for(var k=new ArrayBuffer(a),n=new Uint8Array(k),a=0;a>4,n[c++]=(g&15)<<4|l>>2,n[c++]=(l&3)<<6|h&63;return k}; -(function(d){function a(a,b,c){return b<=a&&a<=c}function b(a){if(void 0===a)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary");}function c(a){return 0<=a&&127>=a}function e(a){this.tokens=[].slice.call(a);this.tokens.reverse()}function g(a,b){if(a)throw TypeError("Decoder error");return b||65533}function l(a){throw TypeError("The code point "+a+" could not be encoded.");}function h(a){a=String(a).trim().toLowerCase();return Object.prototype.hasOwnProperty.call(R, -a)?R[a]:null}function k(a,b){return b?b[a]||null:null}function n(a,b){a=b.indexOf(a);return-1===a?null:a}function f(a){if(!("encoding-indexes"in d))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return d["encoding-indexes"][a]}function m(b){M=M||f("jis0208").map(function(b,c){return a(c,8272,8835)?null:b});return M.indexOf(b)}function p(a){var b=U=U||f("big5").map(function(a,b){return 5024>b?null:a});return 9552===a||9566===a||9569===a||9578===a||21313===a||21317=== -a?b.lastIndexOf(a):n(a,b)}function t(a,c){if(!(this instanceof t))throw TypeError("Called as a function. Did you forget 'new'?");a=void 0!==a?String(a):"utf-8";c=b(c);this._decoder=this._encoding=null;this._BOMseen=this._ignoreBOM=!1;this._error_mode="replacement";this._do_not_flush=!1;var e=h(a);if(null===e||"replacement"===e.name)throw RangeError("Unknown encoding: "+a);if(!H[e.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=e;c.fatal&& -(this._error_mode="fatal");c.ignoreBOM&&(this._ignoreBOM=!0);Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase(),this.fatal="fatal"===this._error_mode,this.ignoreBOM=this._ignoreBOM);return this}function r(a,c){if(!(this instanceof r))throw TypeError("Called as a function. Did you forget 'new'?");c=b(c);this._encoder=this._encoding=null;this._do_not_flush=!1;this._fatal=c.fatal?"fatal":"replacement";if(c.NONSTANDARD_allowLegacyEncoding){a=void 0!==a?String(a):"utf-8";c=h(a);if(null=== -c||"replacement"===c.name)throw RangeError("Unknown encoding: "+a);if(!P[c.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=c}else this._encoding=h("utf-8"),void 0!==a&&"console"in d&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase());return this}function v(b){var c=b.fatal,e=0,f=0,d=0,h=128,k=191;this.handler=function(b,m){if(-1=== -m&&0!==d)return d=0,g(c);if(-1===m)return-1;if(0===d){if(a(m,0,127))return m;if(a(m,194,223))d=1,e=m&31;else if(a(m,224,239))224===m&&(h=160),237===m&&(k=159),d=2,e=m&15;else if(a(m,240,244))240===m&&(h=144),244===m&&(k=143),d=3,e=m&7;else return g(c);return null}if(!a(m,h,k))return e=d=f=0,h=128,k=191,b.prepend(m),g(c);h=128;k=191;e=e<<6|m&63;f+=1;if(f!==d)return null;b=e;e=d=f=0;return b}}function C(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;var e,f;a(c,128,2047)?(e=1,f=192): -a(c,2048,65535)?(e=2,f=224):a(c,65536,1114111)&&(e=3,f=240);for(b=[(c>>6*e)+f];0>6*(e-1)&63),--e;return b}}function q(a,b){var e=b.fatal;this.handler=function(b,f){if(-1===f)return-1;if(c(f))return f;b=a[f-128];return null===b?g(e):b}}function A(a,b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;b=n(c,a);null===b&&l(c);return b+128}}function D(b){var e=b.fatal,d=0,h=0,m=0;this.handler=function(b,l){if(-1===l&&0===d&&0===h&&0===m)return-1;-1!==l||0===d&&0===h&&0=== -m||(m=h=d=0,g(e));var n;if(0!==m){n=null;if(a(l,48,57))if(n=10*(126*(10*(d-129)+h-48)+m-129)+l-48,39419n||1237575l?64:65;if(a(l,64,126)||a(l,128, -254))t=190*(n-129)+(l-B);n=null===t?null:k(t,f("gb18030"));null===n&&c(l)&&b.prepend(l);return null===n?g(e):n}return c(l)?l:128===l?8364:a(l,129,254)?(d=l,null):g(e)}}function y(a,b){this.handler=function(a,c){if(-1===c)return-1;if(K(c))return c;if(58853===c)return l(c);if(b&&8364===c)return 128;a=n(c,f("gb18030"));if(null!==a)return c=S(a/190)+129,a%=190,[c,a+(63>a?64:65)];if(b)return l(c);if(59335===c)a=7457;else{var e=a=0,d=f("gb18030-ranges"),g;for(g=0;gh?64:98;if(a(h,64,126)||a(h,161,254))l=157*(m-129)+(h-n);switch(l){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}m=null===l?null:k(l,f("big5"));null===m&&c(h)&& -b.prepend(h);return null===m?g(e):m}return c(h)?h:a(h,129,254)?(d=h,null):g(e)}}function x(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;var c=p(b);if(null===c)return l(b);a=S(c/157)+129;if(161>a)return l(b);b=c%157;return[a,b+(63>b?64:98)]}}function z(b){var e=b.fatal,d=!1,h=0;this.handler=function(b,m){if(-1===m&&0!==h)return h=0,g(e);if(-1===m&&0===h)return-1;if(142===h&&a(m,161,223))return h=0,65216+m;if(143===h&&a(m,161,254))return d=!0,h=m,null;if(0!==h){var l=h;h=0;var n= -null;a(l,161,254)&&a(m,161,254)&&(n=k(94*(l-161)+(m-161),f(d?"jis0212":"jis0208")));d=!1;a(m,161,254)||b.prepend(m);return null===n?g(e):n}return c(m)?m:142===m||143===m||a(m,161,254)?(h=m,null):g(e)}}function F(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return[142,c-65377+161];8722===c&&(c=65293);b=n(c,f("jis0208"));return null===b?l(c):[S(b/94)+161,b%94+161]}}function B(b){var c=b.fatal,e=0,d=0,h=!1;this.handler= -function(b,m){switch(e){default:case 0:if(27===m)return e=5,null;if(a(m,0,127)&&14!==m&&15!==m&&27!==m)return h=!1,m;if(-1===m)return-1;h=!1;return g(c);case 1:if(27===m)return e=5,null;if(92===m)return h=!1,165;if(126===m)return h=!1,8254;if(a(m,0,127)&&14!==m&&15!==m&&27!==m&&92!==m&&126!==m)return h=!1,m;if(-1===m)return-1;h=!1;return g(c);case 2:if(27===m)return e=5,null;if(a(m,33,95))return h=!1,65344+m;if(-1===m)return-1;h=!1;return g(c);case 3:if(27===m)return e=5,null;if(a(m,33,126))return h= -!1,d=m,e=4,null;if(-1===m)return-1;h=!1;return g(c);case 4:if(27===m)return e=5,g(c);if(a(m,33,126))return e=3,b=k(94*(d-33)+m-33,f("jis0208")),null===b?g(c):b;if(-1===m)return e=3,b.prepend(m),g(c);e=3;return g(c);case 5:if(36===m||40===m)return d=m,e=6,null;b.prepend(m);h=!1;e=0;return g(c);case 6:var l=d;d=0;var n=null;40===l&&66===m&&(n=0);40===l&&74===m&&(n=1);40===l&&73===m&&(n=2);36!==l||64!==m&&66!==m||(n=3);if(null!==n)return e=e=n,b=h,h=!0,b?g(c):null;b.prepend([l,m]);h=!1;e=0;return g(c)}}} -function G(a){var b=0;this.handler=function(a,c){if(-1===c&&0!==b)return a.prepend(c),b=0,[27,40,66];if(-1===c&&0===b)return-1;if(!(0!==b&&1!==b||14!==c&&15!==c&&27!==c))return l(65533);if(0===b&&K(c))return c;if(1===b&&(K(c)&&92!==c&&126!==c||165==c||8254==c)){if(K(c))return c;if(165===c)return 92;if(8254===c)return 126}if(K(c)&&0!==b)return a.prepend(c),b=0,[27,40,66];if((165===c||8254===c)&&1!==b)return a.prepend(c),b=1,[27,40,74];8722===c&&(c=65293);var e=n(c,f("jis0208"));return null===e?l(c): -2!==b?(a.prepend(c),b=2,[27,36,66]):[S(e/94)+33,e%94+33]}}function E(b){var e=b.fatal,d=0;this.handler=function(b,h){if(-1===h&&0!==d)return d=0,g(e);if(-1===h&&0===d)return-1;if(0!==d){var m=d,l=null;d=0;var n=127>h?64:65,t=160>m?129:193;if(a(h,64,126)||a(h,128,252))l=188*(m-t)+h-n;if(a(l,8836,10715))return 48508+l;m=null===l?null:k(l,f("jis0208"));null===m&&c(h)&&b.prepend(h);return null===m?g(e):m}return c(h)||128===h?h:a(h,161,223)?65216+h:a(h,129,159)||a(h,224,252)?(d=h,null):g(e)}}function L(b){this.handler= -function(b,c){if(-1===c)return-1;if(K(c)||128===c)return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return c-65377+161;8722===c&&(c=65293);b=m(c);if(null===b)return l(c);c=S(b/188);b%=188;return[c+(31>c?129:193),b+(63>b?64:65)]}}function u(b){var e=b.fatal,d=0;this.handler=function(b,h){if(-1===h&&0!==d)return d=0,g(e);if(-1===h&&0===d)return-1;if(0!==d){var m=d,l=null;d=0;a(h,65,254)&&(l=190*(m-129)+(h-65));m=null===l?null:k(l,f("euc-kr"));null===l&&c(h)&&b.prepend(h);return null=== -m?g(e):m}return c(h)?h:a(h,129,254)?(d=h,null):g(e)}}function O(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;a=n(b,f("euc-kr"));return null===a?l(b):[S(a/190)+129,a%190+65]}}function J(a,b){var c=a>>8;a&=255;return b?[c,a]:[a,c]}function I(b,c){var e=c.fatal,f=null,d=null;this.handler=function(c,h){if(-1===h&&(null!==f||null!==d))return g(e);if(-1===h&&null===f&&null===d)return-1;if(null===f)return f=h,null;h=b?(f<<8)+h:(h<<8)+f;f=null;if(null!==d){var k=d;d=null;if(a(h,56320, -57343))return 65536+1024*(k-55296)+(h-56320);c.prepend(J(h,b));return g(e)}return a(h,55296,56319)?(d=h,null):a(h,56320,57343)?g(e):h}}function T(b,c){this.handler=function(c,e){if(-1===e)return-1;if(a(e,0,65535))return J(e,b);c=J((e-65536>>10)+55296,b);e=J((e-65536&1023)+56320,b);return c.concat(e)}}function Q(a){this.handler=function(a,b){return-1===b?-1:c(b)?b:63360+b-128};project}function ea(b){this.handler=function(b,c){return-1===c?-1:K(c)?c:a(c,63360,63487)?c-63360+128:l(c)}}"undefined"!== -typeof module&&module.exports&&!d["encoding-indexes"]&&(d["encoding-indexes"]=require("./encoding-indexes.js")["encoding-indexes"]);var S=Math.floor,K=c;e.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():-1},prepend:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.push(a.pop());else this.tokens.push(a)},push:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.unshift(a.shift());else this.tokens.unshift(a)}};var N= +base64.encode=function(e){e=new Uint8Array(e);var a,b=e.length,c="";for(a=0;a>2],c+=chars[(e[a]&3)<<4|e[a+1]>>4],c+=chars[(e[a+1]&15)<<2|e[a+2]>>6],c+=chars[e[a+2]&63];2===b%3?c=c.substring(0,c.length-1)+"\x3d":1===b%3&&(c=c.substring(0,c.length-2)+"\x3d\x3d");return c}; +base64.decode=function(e){var a=.75*e.length,b=e.length,c=0,d,f,l,g;"\x3d"===e[e.length-1]&&(a--,"\x3d"===e[e.length-2]&&a--);for(var k=new ArrayBuffer(a),n=new Uint8Array(k),a=0;a>4,n[c++]=(f&15)<<4|l>>2,n[c++]=(l&3)<<6|g&63;return k}; +(function(e){function a(a,b,c){return b<=a&&a<=c}function b(a){if(void 0===a)return{};if(a===Object(a))return a;throw TypeError("Could not convert argument to dictionary");}function c(a){return 0<=a&&127>=a}function d(a){this.tokens=[].slice.call(a);this.tokens.reverse()}function f(a,b){if(a)throw TypeError("Decoder error");return b||65533}function l(a){throw TypeError("The code point "+a+" could not be encoded.");}function g(a){a=String(a).trim().toLowerCase();return Object.prototype.hasOwnProperty.call(R, +a)?R[a]:null}function k(a,b){return b?b[a]||null:null}function n(a,b){a=b.indexOf(a);return-1===a?null:a}function h(a){if(!("encoding-indexes"in e))throw Error("Indexes missing. Did you forget to include encoding-indexes.js first?");return e["encoding-indexes"][a]}function m(b){M=M||h("jis0208").map(function(b,c){return a(c,8272,8835)?null:b});return M.indexOf(b)}function p(a){var b=U=U||h("big5").map(function(a,b){return 5024>b?null:a});return 9552===a||9566===a||9569===a||9578===a||21313===a||21317=== +a?b.lastIndexOf(a):n(a,b)}function t(a,c){if(!(this instanceof t))throw TypeError("Called as a function. Did you forget 'new'?");a=void 0!==a?String(a):"utf-8";c=b(c);this._decoder=this._encoding=null;this._BOMseen=this._ignoreBOM=!1;this._error_mode="replacement";this._do_not_flush=!1;var d=g(a);if(null===d||"replacement"===d.name)throw RangeError("Unknown encoding: "+a);if(!H[d.name])throw Error("Decoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=d;c.fatal&& +(this._error_mode="fatal");c.ignoreBOM&&(this._ignoreBOM=!0);Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase(),this.fatal="fatal"===this._error_mode,this.ignoreBOM=this._ignoreBOM);return this}function r(a,c){if(!(this instanceof r))throw TypeError("Called as a function. Did you forget 'new'?");c=b(c);this._encoder=this._encoding=null;this._do_not_flush=!1;this._fatal=c.fatal?"fatal":"replacement";if(c.NONSTANDARD_allowLegacyEncoding){a=void 0!==a?String(a):"utf-8";c=g(a);if(null=== +c||"replacement"===c.name)throw RangeError("Unknown encoding: "+a);if(!P[c.name])throw Error("Encoder not present. Did you forget to include encoding-indexes.js first?");this._encoding=c}else this._encoding=g("utf-8"),void 0!==a&&"console"in e&&console.warn("TextEncoder constructor called with encoding label, which is ignored.");Object.defineProperty||(this.encoding=this._encoding.name.toLowerCase());return this}function v(b){var c=b.fatal,d=0,h=0,g=0,e=128,k=191;this.handler=function(b,m){if(-1=== +m&&0!==g)return g=0,f(c);if(-1===m)return-1;if(0===g){if(a(m,0,127))return m;if(a(m,194,223))g=1,d=m&31;else if(a(m,224,239))224===m&&(e=160),237===m&&(k=159),g=2,d=m&15;else if(a(m,240,244))240===m&&(e=144),244===m&&(k=143),g=3,d=m&7;else return f(c);return null}if(!a(m,e,k))return d=g=h=0,e=128,k=191,b.prepend(m),f(c);e=128;k=191;d=d<<6|m&63;h+=1;if(h!==g)return null;b=d;d=g=h=0;return b}}function C(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;var d,h;a(c,128,2047)?(d=1,h=192): +a(c,2048,65535)?(d=2,h=224):a(c,65536,1114111)&&(d=3,h=240);for(b=[(c>>6*d)+h];0>6*(d-1)&63),--d;return b}}function q(a,b){var d=b.fatal;this.handler=function(b,h){if(-1===h)return-1;if(c(h))return h;b=a[h-128];return null===b?f(d):b}}function A(a,b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;b=n(c,a);null===b&&l(c);return b+128}}function D(b){var d=b.fatal,g=0,e=0,m=0;this.handler=function(b,l){if(-1===l&&0===g&&0===e&&0===m)return-1;-1!==l||0===g&&0===e&&0=== +m||(m=e=g=0,f(d));var n;if(0!==m){n=null;if(a(l,48,57))if(n=10*(126*(10*(g-129)+e-48)+m-129)+l-48,39419n||1237575l?64:65;if(a(l,64,126)||a(l,128, +254))t=190*(n-129)+(l-B);n=null===t?null:k(t,h("gb18030"));null===n&&c(l)&&b.prepend(l);return null===n?f(d):n}return c(l)?l:128===l?8364:a(l,129,254)?(g=l,null):f(d)}}function y(a,b){this.handler=function(a,c){if(-1===c)return-1;if(K(c))return c;if(58853===c)return l(c);if(b&&8364===c)return 128;a=n(c,h("gb18030"));if(null!==a)return c=S(a/190)+129,a%=190,[c,a+(63>a?64:65)];if(b)return l(c);if(59335===c)a=7457;else{var d=a=0,f=h("gb18030-ranges"),g;for(g=0;ge?64:98;if(a(e,64,126)||a(e,161,254))l=157*(m-129)+(e-n);switch(l){case 1133:return[202,772];case 1135:return[202,780];case 1164:return[234,772];case 1166:return[234,780]}m=null===l?null:k(l,h("big5"));null===m&&c(e)&& +b.prepend(e);return null===m?f(d):m}return c(e)?e:a(e,129,254)?(g=e,null):f(d)}}function x(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;var c=p(b);if(null===c)return l(b);a=S(c/157)+129;if(161>a)return l(b);b=c%157;return[a,b+(63>b?64:98)]}}function z(b){var d=b.fatal,g=!1,e=0;this.handler=function(b,m){if(-1===m&&0!==e)return e=0,f(d);if(-1===m&&0===e)return-1;if(142===e&&a(m,161,223))return e=0,65216+m;if(143===e&&a(m,161,254))return g=!0,e=m,null;if(0!==e){var l=e;e=0;var n= +null;a(l,161,254)&&a(m,161,254)&&(n=k(94*(l-161)+(m-161),h(g?"jis0212":"jis0208")));g=!1;a(m,161,254)||b.prepend(m);return null===n?f(d):n}return c(m)?m:142===m||143===m||a(m,161,254)?(e=m,null):f(d)}}function F(b){this.handler=function(b,c){if(-1===c)return-1;if(K(c))return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return[142,c-65377+161];8722===c&&(c=65293);b=n(c,h("jis0208"));return null===b?l(c):[S(b/94)+161,b%94+161]}}function B(b){var c=b.fatal,d=0,g=0,e=!1;this.handler= +function(b,m){switch(d){default:case 0:if(27===m)return d=5,null;if(a(m,0,127)&&14!==m&&15!==m&&27!==m)return e=!1,m;if(-1===m)return-1;e=!1;return f(c);case 1:if(27===m)return d=5,null;if(92===m)return e=!1,165;if(126===m)return e=!1,8254;if(a(m,0,127)&&14!==m&&15!==m&&27!==m&&92!==m&&126!==m)return e=!1,m;if(-1===m)return-1;e=!1;return f(c);case 2:if(27===m)return d=5,null;if(a(m,33,95))return e=!1,65344+m;if(-1===m)return-1;e=!1;return f(c);case 3:if(27===m)return d=5,null;if(a(m,33,126))return e= +!1,g=m,d=4,null;if(-1===m)return-1;e=!1;return f(c);case 4:if(27===m)return d=5,f(c);if(a(m,33,126))return d=3,b=k(94*(g-33)+m-33,h("jis0208")),null===b?f(c):b;if(-1===m)return d=3,b.prepend(m),f(c);d=3;return f(c);case 5:if(36===m||40===m)return g=m,d=6,null;b.prepend(m);e=!1;d=0;return f(c);case 6:var l=g;g=0;var n=null;40===l&&66===m&&(n=0);40===l&&74===m&&(n=1);40===l&&73===m&&(n=2);36!==l||64!==m&&66!==m||(n=3);if(null!==n)return d=d=n,b=e,e=!0,b?f(c):null;b.prepend([l,m]);e=!1;d=0;return f(c)}}} +function G(a){var b=0;this.handler=function(a,c){if(-1===c&&0!==b)return a.prepend(c),b=0,[27,40,66];if(-1===c&&0===b)return-1;if(!(0!==b&&1!==b||14!==c&&15!==c&&27!==c))return l(65533);if(0===b&&K(c))return c;if(1===b&&(K(c)&&92!==c&&126!==c||165==c||8254==c)){if(K(c))return c;if(165===c)return 92;if(8254===c)return 126}if(K(c)&&0!==b)return a.prepend(c),b=0,[27,40,66];if((165===c||8254===c)&&1!==b)return a.prepend(c),b=1,[27,40,74];8722===c&&(c=65293);var d=n(c,h("jis0208"));return null===d?l(c): +2!==b?(a.prepend(c),b=2,[27,36,66]):[S(d/94)+33,d%94+33]}}function E(b){var d=b.fatal,g=0;this.handler=function(b,e){if(-1===e&&0!==g)return g=0,f(d);if(-1===e&&0===g)return-1;if(0!==g){var m=g,l=null;g=0;var n=127>e?64:65,t=160>m?129:193;if(a(e,64,126)||a(e,128,252))l=188*(m-t)+e-n;if(a(l,8836,10715))return 48508+l;m=null===l?null:k(l,h("jis0208"));null===m&&c(e)&&b.prepend(e);return null===m?f(d):m}return c(e)||128===e?e:a(e,161,223)?65216+e:a(e,129,159)||a(e,224,252)?(g=e,null):f(d)}}function L(b){this.handler= +function(b,c){if(-1===c)return-1;if(K(c)||128===c)return c;if(165===c)return 92;if(8254===c)return 126;if(a(c,65377,65439))return c-65377+161;8722===c&&(c=65293);b=m(c);if(null===b)return l(c);c=S(b/188);b%=188;return[c+(31>c?129:193),b+(63>b?64:65)]}}function u(b){var d=b.fatal,g=0;this.handler=function(b,e){if(-1===e&&0!==g)return g=0,f(d);if(-1===e&&0===g)return-1;if(0!==g){var m=g,l=null;g=0;a(e,65,254)&&(l=190*(m-129)+(e-65));m=null===l?null:k(l,h("euc-kr"));null===l&&c(e)&&b.prepend(e);return null=== +m?f(d):m}return c(e)?e:a(e,129,254)?(g=e,null):f(d)}}function O(a){this.handler=function(a,b){if(-1===b)return-1;if(K(b))return b;a=n(b,h("euc-kr"));return null===a?l(b):[S(a/190)+129,a%190+65]}}function J(a,b){var c=a>>8;a&=255;return b?[c,a]:[a,c]}function I(b,c){var d=c.fatal,h=null,g=null;this.handler=function(c,e){if(-1===e&&(null!==h||null!==g))return f(d);if(-1===e&&null===h&&null===g)return-1;if(null===h)return h=e,null;e=b?(h<<8)+e:(e<<8)+h;h=null;if(null!==g){var k=g;g=null;if(a(e,56320, +57343))return 65536+1024*(k-55296)+(e-56320);c.prepend(J(e,b));return f(d)}return a(e,55296,56319)?(g=e,null):a(e,56320,57343)?f(d):e}}function T(b,c){this.handler=function(c,d){if(-1===d)return-1;if(a(d,0,65535))return J(d,b);c=J((d-65536>>10)+55296,b);d=J((d-65536&1023)+56320,b);return c.concat(d)}}function Q(a){this.handler=function(a,b){return-1===b?-1:c(b)?b:63360+b-128};project}function ea(b){this.handler=function(b,c){return-1===c?-1:K(c)?c:a(c,63360,63487)?c-63360+128:l(c)}}"undefined"!== +typeof module&&module.exports&&!e["encoding-indexes"]&&(e["encoding-indexes"]=require("./encoding-indexes.js")["encoding-indexes"]);var S=Math.floor,K=c;d.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.pop():-1},prepend:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.push(a.pop());else this.tokens.push(a)},push:function(a){if(Array.isArray(a))for(;a.length;)this.tokens.unshift(a.shift());else this.tokens.unshift(a)}};var N= [{encodings:[{labels:["unicode-1-1-utf-8","utf-8","utf8"],name:"UTF-8"}],heading:"The Encoding"},{encodings:[{labels:["866","cp866","csibm866","ibm866"],name:"IBM866"},{labels:"csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2".split(" "),name:"ISO-8859-2"},{labels:"csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3".split(" "),name:"ISO-8859-3"},{labels:"csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4".split(" "), name:"ISO-8859-4"},{labels:"csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988".split(" "),name:"ISO-8859-5"},{labels:"arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987".split(" "),name:"ISO-8859-6"},{labels:"csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7 iso_8859-7:1987 sun_eu_greek".split(" "), name:"ISO-8859-7"},{labels:"csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8 iso_8859-8:1988 visual".split(" "),name:"ISO-8859-8"},{labels:["csiso88598i","iso-8859-8-i","logical"],name:"ISO-8859-8-I"},{labels:"csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6".split(" "),name:"ISO-8859-10"},{labels:["iso-8859-13","iso8859-13","iso885913"],name:"ISO-8859-13"},{labels:["iso-8859-14","iso8859-14","iso885914"],name:"ISO-8859-14"},{labels:"csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9".split(" "), @@ -649,462 +649,462 @@ name:"windows-1252"},{labels:["cp1253","windows-1253","x-cp1253"],name:"windows- "euc-jp","x-euc-jp"],name:"EUC-JP"},{labels:["csiso2022jp","iso-2022-jp"],name:"ISO-2022-JP"},{labels:"csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis".split(" "),name:"Shift_JIS"}],heading:"Legacy multi-byte Japanese encodings"},{encodings:[{labels:"cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601 windows-949".split(" "),name:"EUC-KR"}],heading:"Legacy multi-byte Korean encodings"},{encodings:[{labels:["csiso2022kr","hz-gb-2312", "iso-2022-cn","iso-2022-cn-ext","iso-2022-kr"],name:"replacement"},{labels:["utf-16be"],name:"UTF-16BE"},{labels:["utf-16","utf-16le"],name:"UTF-16LE"},{labels:["x-user-defined"],name:"x-user-defined"}],heading:"Legacy miscellaneous encodings"}],R={};N.forEach(function(a){a.encodings.forEach(function(a){a.labels.forEach(function(b){R[b]=a})})});var P={},H={},M,U;Object.defineProperty&&(Object.defineProperty(t.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}}),Object.defineProperty(t.prototype, "fatal",{get:function(){return"fatal"===this._error_mode}}),Object.defineProperty(t.prototype,"ignoreBOM",{get:function(){return this._ignoreBOM}}));t.prototype.decode=function(a,c){a="object"===typeof a&&a instanceof ArrayBuffer?new Uint8Array(a):"object"===typeof a&&"buffer"in a&&a.buffer instanceof ArrayBuffer?new Uint8Array(a.buffer,a.byteOffset,a.byteLength):new Uint8Array(0);c=b(c);this._do_not_flush||(this._decoder=H[this._encoding.name]({fatal:"fatal"===this._error_mode}),this._BOMseen=!1); -this._do_not_flush=!!c.stream;a=new e(a);c=[];for(var f;;){f=a.read();if(-1===f)break;f=this._decoder.handler(a,f);if(-1===f)break;null!==f&&(Array.isArray(f)?c.push.apply(c,f):c.push(f))}if(!this._do_not_flush){do{f=this._decoder.handler(a,a.read());if(-1===f)break;null!==f&&(Array.isArray(f)?c.push.apply(c,f):c.push(f))}while(!a.endOfStream());this._decoder=null}-1===["UTF-8","UTF-16LE","UTF-16BE"].indexOf(this._encoding.name)||this._ignoreBOM||this._BOMseen||(0=d?a+=String.fromCharCode(d):(d-=65536,a+=String.fromCharCode((d>>10)+55296,(d&1023)+56320))}return a};Object.defineProperty&&Object.defineProperty(r.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}});r.prototype.encode=function(a,c){a=void 0===a?"":String(a);c=b(c);this._do_not_flush||(this._encoder=P[this._encoding.name]({fatal:"fatal"===this._fatal}));this._do_not_flush=!!c.stream; -a=String(a);c=a.length;for(var f=0,d=[];fg||57343=g)d.push(65533);else if(55296<=g&&56319>=g)if(f===c-1)d.push(65533);else{var h=a.charCodeAt(f+1);56320<=h&&57343>=h?(d.push(65536+((g&1023)<<10)+(h&1023)),f+=1):d.push(65533)}f+=1}a=new e(d);for(c=[];;){f=a.read();if(-1===f)break;f=this._encoder.handler(a,f);if(-1===f)break;Array.isArray(f)?c.push.apply(c,f):c.push(f)}if(!this._do_not_flush){for(;;){f=this._encoder.handler(a, -a.read());if(-1===f)break;Array.isArray(f)?c.push.apply(c,f):c.push(f)}this._encoder=null}return new Uint8Array(c)};P["UTF-8"]=function(a){return new C(a)};H["UTF-8"]=function(a){return new v(a)};(function(){"encoding-indexes"in d&&N.forEach(function(a){"Legacy single-byte encodings"===a.heading&&a.encodings.forEach(function(a){a=a.name;var b=f(a.toLowerCase());H[a]=function(a){return new q(b,a)};P[a]=function(a){return new A(b,a)}})})})();H.GBK=function(a){return new D(a)};P.GBK=function(a){return new y(a, +this._do_not_flush=!!c.stream;a=new d(a);c=[];for(var h;;){h=a.read();if(-1===h)break;h=this._decoder.handler(a,h);if(-1===h)break;null!==h&&(Array.isArray(h)?c.push.apply(c,h):c.push(h))}if(!this._do_not_flush){do{h=this._decoder.handler(a,a.read());if(-1===h)break;null!==h&&(Array.isArray(h)?c.push.apply(c,h):c.push(h))}while(!a.endOfStream());this._decoder=null}-1===["UTF-8","UTF-16LE","UTF-16BE"].indexOf(this._encoding.name)||this._ignoreBOM||this._BOMseen||(0=f?a+=String.fromCharCode(f):(f-=65536,a+=String.fromCharCode((f>>10)+55296,(f&1023)+56320))}return a};Object.defineProperty&&Object.defineProperty(r.prototype,"encoding",{get:function(){return this._encoding.name.toLowerCase()}});r.prototype.encode=function(a,c){a=void 0===a?"":String(a);c=b(c);this._do_not_flush||(this._encoder=P[this._encoding.name]({fatal:"fatal"===this._fatal}));this._do_not_flush=!!c.stream; +a=String(a);c=a.length;for(var h=0,f=[];he||57343=e)f.push(65533);else if(55296<=e&&56319>=e)if(h===c-1)f.push(65533);else{var g=a.charCodeAt(h+1);56320<=g&&57343>=g?(f.push(65536+((e&1023)<<10)+(g&1023)),h+=1):f.push(65533)}h+=1}a=new d(f);for(c=[];;){h=a.read();if(-1===h)break;h=this._encoder.handler(a,h);if(-1===h)break;Array.isArray(h)?c.push.apply(c,h):c.push(h)}if(!this._do_not_flush){for(;;){h=this._encoder.handler(a, +a.read());if(-1===h)break;Array.isArray(h)?c.push.apply(c,h):c.push(h)}this._encoder=null}return new Uint8Array(c)};P["UTF-8"]=function(a){return new C(a)};H["UTF-8"]=function(a){return new v(a)};(function(){"encoding-indexes"in e&&N.forEach(function(a){"Legacy single-byte encodings"===a.heading&&a.encodings.forEach(function(a){a=a.name;var b=h(a.toLowerCase());H[a]=function(a){return new q(b,a)};P[a]=function(a){return new A(b,a)}})})})();H.GBK=function(a){return new D(a)};P.GBK=function(a){return new y(a, !0)};P.gb18030=function(a){return new y(a)};H.gb18030=function(a){return new D(a)};P.Big5=function(a){return new x(a)};H.Big5=function(a){return new w(a)};P["EUC-JP"]=function(a){return new F(a)};H["EUC-JP"]=function(a){return new z(a)};P["ISO-2022-JP"]=function(a){return new G(a)};H["ISO-2022-JP"]=function(a){return new B(a)};P.Shift_JIS=function(a){return new L(a)};H.Shift_JIS=function(a){return new E(a)};P["EUC-KR"]=function(a){return new O(a)};H["EUC-KR"]=function(a){return new u(a)};P["UTF-16BE"]= -function(a){return new T(!0,a)};H["UTF-16BE"]=function(a){return new I(!0,a)};P["UTF-16LE"]=function(a){return new T(!1,a)};H["UTF-16LE"]=function(a){return new I(!1,a)};P["x-user-defined"]=function(a){return new ea(a)};H["x-user-defined"]=function(a){return new Q(a)};d.TextEncoder||(d.TextEncoder=r);d.TextDecoder||(d.TextDecoder=t);"undefined"!==typeof module&&module.exports&&(module.exports={TextEncoder:d.TextEncoder,TextDecoder:d.TextDecoder,EncodingIndexes:d["encoding-indexes"]})})(this||{}); -(function e$jscomp$0(a,b,c){function e(h,k){if(!b[h]){if(!a[h]){var l="function"==typeof require&&require;if(!k&&l)return l(h,!0);if(g)return g(h,!0);k=Error("Cannot find module '"+h+"'");throw k.code="MODULE_NOT_FOUND",k;}k=b[h]={exports:{}};a[h][0].call(k.exports,function(b){var c=a[h][1][b];return e(c?c:b)},k,k.exports,e$jscomp$0,a,b,c)}return b[h].exports}for(var g="function"==typeof require&&require,l=0;l=b.cmp(d)||0<=b.cmp(k));k=a;d=f;b=b.toRed(e.red(d)).redPow(k).fromRed();for(k=g;0!==b.cmp(l);)k=b,b=b.mul(b).mod(d);b=0===k.cmp(d.sub(l))?g:k}while(0===b.cmp(g));a=b.sub(l).gcd(f);return{p:a,q:f.div(a)}}},{"asn1.js":5,crypto:74}],4:[function(d,a,b){(function(b){function c(a){return b(a,"hex").toString("base64").replace(/\+/g, -"-").replace(/\//g,"_").replace(/=/g,"")}function g(a,b){b=b||{};Object.keys(b).forEach(function(c){a[c]=b[c]});return a}function l(a){return 1===a.length%2?"0"+a:a}function h(a,b){a=q.decode(a,"der");var e=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(e)};return g(a,b)}function k(a,b){a=x.decode(a,"der");var e=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(e),d:p(a.d),p:p(a.p),q:p(a.q),dp:p(a.dp),dq:p(a.dq),qi:p(a.qi)};return g(a,b)}function n(a,b){a=D.decode(a,"der");return h(a.publicKey.data,b)} -function f(a,b){a=z.decode(a,"der");return k(a.privateKey.data,b)}function m(a){a=/^-----BEGIN (RSA )?(PUBLIC|PRIVATE) KEY-----$/.exec(a);if(!a)return null;var b=!!a[1];return"PRIVATE"===a[2]?b?k:f:b?h:n}function p(a){return c(l(a.toString(16)))}function t(a){return/^[0-9]+$/.test(a)?new r.bignum(a,10):new r.bignum(b(a,"base64"))}var r=d("asn1.js"),v=d("./factor"),C=new r.bignum(1),q=r.define("RSAPublicKey",function(){this.seq().obj(this.key("n").int(),this.key("e").int())}),A=r.define("AlgorithmIdentifier", +function(a){return new T(!0,a)};H["UTF-16BE"]=function(a){return new I(!0,a)};P["UTF-16LE"]=function(a){return new T(!1,a)};H["UTF-16LE"]=function(a){return new I(!1,a)};P["x-user-defined"]=function(a){return new ea(a)};H["x-user-defined"]=function(a){return new Q(a)};e.TextEncoder||(e.TextEncoder=r);e.TextDecoder||(e.TextDecoder=t);"undefined"!==typeof module&&module.exports&&(module.exports={TextEncoder:e.TextEncoder,TextDecoder:e.TextDecoder,EncodingIndexes:e["encoding-indexes"]})})(this||{}); +(function e$jscomp$0(a,b,c){function d(g,k){if(!b[g]){if(!a[g]){var l="function"==typeof require&&require;if(!k&&l)return l(g,!0);if(f)return f(g,!0);k=Error("Cannot find module '"+g+"'");throw k.code="MODULE_NOT_FOUND",k;}k=b[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return d(c?c:b)},k,k.exports,e$jscomp$0,a,b,c)}return b[g].exports}for(var f="function"==typeof require&&require,l=0;l=b.cmp(e)||0<=b.cmp(k));k=a;e=h;b=b.toRed(d.red(e)).redPow(k).fromRed();for(k=f;0!==b.cmp(l);)k=b,b=b.mul(b).mod(e);b=0===k.cmp(e.sub(l))?f:k}while(0===b.cmp(f));a=b.sub(l).gcd(h);return{p:a,q:h.div(a)}}},{"asn1.js":5,crypto:74}],4:[function(e,a,b){(function(b){function c(a){return b(a,"hex").toString("base64").replace(/\+/g, +"-").replace(/\//g,"_").replace(/=/g,"")}function f(a,b){b=b||{};Object.keys(b).forEach(function(c){a[c]=b[c]});return a}function l(a){return 1===a.length%2?"0"+a:a}function g(a,b){a=q.decode(a,"der");var d=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(d)};return f(a,b)}function k(a,b){a=x.decode(a,"der");var d=l(a.e.toString(16));a={kty:"RSA",n:p(a.n),e:c(d),d:p(a.d),p:p(a.p),q:p(a.q),dp:p(a.dp),dq:p(a.dq),qi:p(a.qi)};return f(a,b)}function n(a,b){a=D.decode(a,"der");return g(a.publicKey.data,b)} +function h(a,b){a=z.decode(a,"der");return k(a.privateKey.data,b)}function m(a){a=/^-----BEGIN (RSA )?(PUBLIC|PRIVATE) KEY-----$/.exec(a);if(!a)return null;var b=!!a[1];return"PRIVATE"===a[2]?b?k:h:b?g:n}function p(a){return c(l(a.toString(16)))}function t(a){return/^[0-9]+$/.test(a)?new r.bignum(a,10):new r.bignum(b(a,"base64"))}var r=e("asn1.js"),v=e("./factor"),C=new r.bignum(1),q=r.define("RSAPublicKey",function(){this.seq().obj(this.key("n").int(),this.key("e").int())}),A=r.define("AlgorithmIdentifier", function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional().any())}),D=r.define("PublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("publicKey").bitstr())}),y=r.define("Version",function(){this.int({0:"two-prime",1:"multi"})}),w=r.define("OtherPrimeInfos",function(){this.seq().obj(this.key("ri").int(),this.key("di").int(),this.key("ti").int())}),x=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").use(y),this.key("n").int(), -this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int(),this.key("other").optional().use(w))}),z=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").use(y),this.key("algorithm").use(A),this.key("privateKey").bitstr())});a.exports={pem2jwk:function(a,c){a=a.toString().split(/(\r\n|\r|\n)+/g);a=a.filter(function(a){return 0!==a.trim().length});var e=m(a[0]);a=a.slice(1,-1).join("");return e(new b(a.replace(/[^\w\d\+\/=]+/g, -""),"base64"),c)},jwk2pem:function(a){var c;c={n:t(a.n),e:t(a.e),d:a.d&&t(a.d),p:a.p&&t(a.p),q:a.q&&t(a.q),dp:a.dp&&t(a.dp),dq:a.dq&&t(a.dq),qi:a.qi&&t(a.qi)};var e=!!c.d,f=e?"PRIVATE":"PUBLIC";a="-----BEGIN RSA "+f+" KEY-----\n";f="\n-----END RSA "+f+" KEY-----\n";b(0);if(e){if(!c.p){var d=v(c.e,c.d,c.n),e=d.p,d=d.q,g=c.d.mod(e.sub(C)),h=c.d.mod(d.sub(C)),k=d.invm(e);c={n:c.n,e:c.e,d:c.d,p:e,q:d,dp:g,dq:h,qi:k}}c.version="two-prime";c=x.encode(c,"der")}else c=q.encode(c,"der");c=c.toString("base64").match(/.{1,64}/g).join("\n"); -return a+c+f},BN:r.bignum}}).call(this,d("buffer").Buffer)},{"./factor":3,"asn1.js":5,buffer:65}],5:[function(d,a,b){b.bignum=d("bn.js");b.define=d("./asn1/api").define;b.base=d("./asn1/base");b.constants=d("./asn1/constants");b.decoders=d("./asn1/decoders");b.encoders=d("./asn1/encoders")},{"./asn1/api":6,"./asn1/base":8,"./asn1/constants":12,"./asn1/decoders":14,"./asn1/encoders":16,"bn.js":17}],6:[function(d,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var e=d("../asn1"), -g=d("inherits"),l=d("vm");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b=l.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");g(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder= -function(a){this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":5,inherits:1,vm:172}],7:[function(d,a,b){function c(a,b){g.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){a instanceof e||(a=new e(a,b));this.length+=a.length; -return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=d("inherits");var g=d("../base").Reporter,l=d("buffer").Buffer;a(c,g);b.DecoderBuffer=c;c.prototype.save=function(){return{offset:this.offset}};c.prototype.restore=function(a){var b=new c(this.base); +this.key("e").int(),this.key("d").int(),this.key("p").int(),this.key("q").int(),this.key("dp").int(),this.key("dq").int(),this.key("qi").int(),this.key("other").optional().use(w))}),z=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").use(y),this.key("algorithm").use(A),this.key("privateKey").bitstr())});a.exports={pem2jwk:function(a,c){a=a.toString().split(/(\r\n|\r|\n)+/g);a=a.filter(function(a){return 0!==a.trim().length});var d=m(a[0]);a=a.slice(1,-1).join("");return d(new b(a.replace(/[^\w\d\+\/=]+/g, +""),"base64"),c)},jwk2pem:function(a){var c;c={n:t(a.n),e:t(a.e),d:a.d&&t(a.d),p:a.p&&t(a.p),q:a.q&&t(a.q),dp:a.dp&&t(a.dp),dq:a.dq&&t(a.dq),qi:a.qi&&t(a.qi)};var d=!!c.d,h=d?"PRIVATE":"PUBLIC";a="-----BEGIN RSA "+h+" KEY-----\n";h="\n-----END RSA "+h+" KEY-----\n";b(0);if(d){if(!c.p){var f=v(c.e,c.d,c.n),d=f.p,f=f.q,e=c.d.mod(d.sub(C)),g=c.d.mod(f.sub(C)),k=f.invm(d);c={n:c.n,e:c.e,d:c.d,p:d,q:f,dp:e,dq:g,qi:k}}c.version="two-prime";c=x.encode(c,"der")}else c=q.encode(c,"der");c=c.toString("base64").match(/.{1,64}/g).join("\n"); +return a+c+h},BN:r.bignum}}).call(this,e("buffer").Buffer)},{"./factor":3,"asn1.js":5,buffer:65}],5:[function(e,a,b){b.bignum=e("bn.js");b.define=e("./asn1/api").define;b.base=e("./asn1/base");b.constants=e("./asn1/constants");b.decoders=e("./asn1/decoders");b.encoders=e("./asn1/encoders")},{"./asn1/api":6,"./asn1/base":8,"./asn1/constants":12,"./asn1/decoders":14,"./asn1/encoders":16,"bn.js":17}],6:[function(e,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var d=e("../asn1"), +f=e("inherits"),l=e("vm");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b=l.runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})");f(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(d.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a,b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder= +function(a){this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(d.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":5,inherits:1,vm:172}],7:[function(e,a,b){function c(a,b){f.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function d(a,b){if(Array.isArray(a))this.length=0,this.value=a.map(function(a){a instanceof d||(a=new d(a,b));this.length+=a.length; +return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=e("inherits");var f=e("../base").Reporter,l=e("buffer").Buffer;a(c,f);b.DecoderBuffer=c;c.prototype.save=function(){return{offset:this.offset}};c.prototype.restore=function(a){var b=new c(this.base); b.offset=a.offset;b.length=this.offset;this.offset=a.offset;return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+= -a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=e;e.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]=this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":8,buffer:65,inherits:1}],8:[function(d, -a,b){b.Reporter=d("./reporter").Reporter;b.DecoderBuffer=d("./buffer").DecoderBuffer;b.EncoderBuffer=d("./buffer").EncoderBuffer;b.Node=d("./node")},{"./buffer":7,"./node":9,"./reporter":10}],9:[function(d,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null;c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.parent||(c.children=[],this._wrap())} -var e=d("../base").Reporter,g=d("../base").EncoderBuffer,l=d("minimalistic-assert");d="seq seqof set setof octstr bitstr objid bool gentime utctime null_ enum int ia5str".split(" ");var h="key obj use optional explicit implicit def choice any".split(" ").concat(d);a.exports=c;var k="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c= -new this.constructor(b.parent);c._baseState=b;return c};c.prototype._wrap=function(){var a=this._baseState;h.forEach(function(b){this[b]=function(){var c=new this.constructor(this);a.children.push(c);return c[b].apply(c,arguments)}},this)};c.prototype._init=function(a){var b=this._baseState;l(null===b.parent);a.call(this);b.children=b.children.filter(function(a){return a._baseState.parent===this},this);l.equal(b.children.length,1,"Root node can have only one child")};c.prototype._useArgs=function(a){var b= +a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=d;d.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]=this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":8,buffer:65,inherits:1}],8:[function(e, +a,b){b.Reporter=e("./reporter").Reporter;b.DecoderBuffer=e("./buffer").DecoderBuffer;b.EncoderBuffer=e("./buffer").EncoderBuffer;b.Node=e("./node")},{"./buffer":7,"./node":9,"./reporter":10}],9:[function(e,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null;c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.parent||(c.children=[],this._wrap())} +var d=e("../base").Reporter,f=e("../base").EncoderBuffer,l=e("minimalistic-assert");e="seq seqof set setof octstr bitstr objid bool gentime utctime null_ enum int ia5str".split(" ");var g="key obj use optional explicit implicit def choice any".split(" ").concat(e);a.exports=c;var k="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};k.forEach(function(c){b[c]=a[c]});var c= +new this.constructor(b.parent);c._baseState=b;return c};c.prototype._wrap=function(){var a=this._baseState;g.forEach(function(b){this[b]=function(){var c=new this.constructor(this);a.children.push(c);return c[b].apply(c,arguments)}},this)};c.prototype._init=function(a){var b=this._baseState;l(null===b.parent);a.call(this);b.children=b.children.filter(function(a){return a._baseState.parent===this},this);l.equal(b.children.length,1,"Root node can have only one child")};c.prototype._useArgs=function(a){var b= this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this);0!==c.length&&(l(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this},this));0!==a.length&&(l(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!==typeof a||a.constructor!==Object)return a;var b={};Object.keys(a).forEach(function(c){c==(c|0)&&(c|=0);b[a[c]]=c});return b}))};"_peekTag _decodeTag _use _decodeStr _decodeObjid _decodeTime _decodeNull _decodeInt _decodeBool _decodeList _encodeComposite _encodeStr _encodeObjid _encodeTime _encodeNull _encodeInt _encodeBool".split(" ").forEach(function(a){c.prototype[a]= -function(){throw Error(a+" not implemented for encoding: "+this._baseState.enc);}});d.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);l(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){var b=this._baseState;l(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;l(null===b["default"]);b["default"]=a;b.optional= +function(){throw Error(a+" not implemented for encoding: "+this._baseState.enc);}});e.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);l(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){var b=this._baseState;l(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;l(null===b["default"]);b["default"]=a;b.optional= !0;return this};c.prototype.explicit=function(a){var b=this._baseState;l(null===b.explicit&&null===b.implicit);b.explicit=a;return this};c.prototype.implicit=function(a){var b=this._baseState;l(null===b.explicit&&null===b.implicit);b.implicit=a;return this};c.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);a.obj=!0;0!==b.length&&this._useArgs(b);return this};c.prototype.key=function(a){var b=this._baseState;l(null===b.key);b.key=a;return this};c.prototype.any= -function(){this._baseState.any=!0;return this};c.prototype.choice=function(a){var b=this._baseState;l(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c=b["default"],e=!0,d;null!==b.key&&(d=a.enterKey(b.key));if(b.optional&&(e=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(e)))return e; -var g;b.obj&&e&&(g=a.enterObject());if(e){if(null!==b.explicit){var h=this._decodeTag(a,b.explicit);if(a.isError(h))return h;a=h}if(null===b.use&&null===b.choice){if(b.any)var k=a.save();h=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(h))return h;b.any?c=a.raw(k):a=h}b.any||(c=null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a));if(a.isError(c))return c;if(!b.any&&null===b.choice&&null!==b.children&&b.children.some(function(b){b._decode(a)}))return err}b.obj&& -e&&(c=a.leaveObject(g));null===b.key||null===c&&!0!==e||a.leaveKey(d,b.key,c);return c};c.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a||"ia5str"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b): +function(){this._baseState.any=!0;return this};c.prototype.choice=function(a){var b=this._baseState;l(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype._decode=function(a){var b=this._baseState;if(null===b.parent)return a.wrapResult(b.children[0]._decode(a));var c=b["default"],d=!0,f;null!==b.key&&(f=a.enterKey(b.key));if(b.optional&&(d=this._peekTag(a,null!==b.explicit?b.explicit:null!==b.implicit?b.implicit:b.tag||0),a.isError(d)))return d; +var e;b.obj&&d&&(e=a.enterObject());if(d){if(null!==b.explicit){var g=this._decodeTag(a,b.explicit);if(a.isError(g))return g;a=g}if(null===b.use&&null===b.choice){if(b.any)var k=a.save();g=this._decodeTag(a,null!==b.implicit?b.implicit:b.tag,b.any);if(a.isError(g))return g;b.any?c=a.raw(k):a=g}b.any||(c=null===b.choice?this._decodeGeneric(b.tag,a):this._decodeChoice(a));if(a.isError(c))return c;if(!b.any&&null===b.choice&&null!==b.children&&b.children.some(function(b){b._decode(a)}))return err}b.obj&& +d&&(c=a.leaveObject(e));null===b.key||null===c&&!0!==d||a.leaveKey(f,b.key,c);return c};c.prototype._decodeGeneric=function(a,b){var c=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,c.args[0]):"octstr"===a||"bitstr"===a||"ia5str"===a?this._decodeStr(b,a):"objid"===a&&c.args?this._decodeObjid(b,c.args[0],c.args[1]):"objid"===a?this._decodeObjid(b,null,null):"gentime"===a||"utctime"===a?this._decodeTime(b,a):"null_"===a?this._decodeNull(b):"bool"===a?this._decodeBool(b): "int"===a||"enum"===a?this._decodeInt(b,c.args&&c.args[0]):null!==c.use?this._getUse(c.use,b._reporterState.obj)._decode(b):b.error("unknown tag: "+a)};c.prototype._getUse=function(a,b){var c=this._baseState;c.useDecoder=this._use(a,b);l(null===c.useDecoder._baseState.parent);c.useDecoder=c.useDecoder._baseState.children[0];c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit);return c.useDecoder};c.prototype._decodeChoice=function(a){var b= -this._baseState,c=null,e=!1;Object.keys(b.choice).some(function(f){var d=a.save(),g=b.choice[f];try{var h=g._decode(a);if(a.isError(h))return!1;c={type:f,value:h};e=!0}catch(q){return a.restore(d),!1}return!0},this);return e?c:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)};c.prototype._encode=function(a,b,c){var e=this._baseState;if(null===e["default"]||e["default"]!==a)if(a=this._encodeValue(a,b,c),void 0!==a&&!this._skipDefault(a,b,c))return a}; -c.prototype._encodeValue=function(a,b,c){var f=this._baseState;if(null===f.parent)return f.children[0]._encode(a,b||new e);var d=null;this.reporter=b;if(f.optional&&void 0===a)if(null!==f["default"])a=f["default"];else return;var g=null,h=!1;if(f.any)d=this._createEncoderBuffer(a);else if(f.choice)d=this._encodeChoice(a,b);else if(f.children)g=f.children.map(function(c){if("null_"===c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var e= -b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(e);return c},this).filter(function(a){return a}),g=this._createEncoderBuffer(g);else if("seqof"===f.tag||"setof"===f.tag){if(!f.args||1!==f.args.length)return b.error("Too many args for : "+f.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");g=this.clone();g._baseState.implicit=null;g=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0], -a)._encode(c,b)},g))}else null!==f.use?d=this._getUse(f.use,c)._encode(a,b):(g=this._encodePrimitive(f.tag,a),h=!0);if(!f.any&&null===f.choice){c=null!==f.implicit?f.implicit:f.tag;var k=null===f.implicit?"universal":"context";null===c?null===f.use&&b.error("Tag could be ommited only for .use()"):null===f.use&&(d=this._encodeComposite(c,h,k,g))}null!==f.explicit&&(d=this._encodeComposite(f.explicit,!1,"context",d));return d};c.prototype._encodeChoice=function(a,b){var c=this._baseState,e=c.choice[a.type]; -e||l(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return e._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a||"ia5str"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b, -c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw Error("Unsupported tag: "+a);}},{"../base":8,"minimalistic-assert":2}],10:[function(d,a,b){function c(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a;this.rethrow(b)}d=d("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof e};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.leaveKey=function(a,b,c){var e=this._reporterState; -e.path=e.path.slice(0,a-1);null!==e.obj&&(e.obj[b]=c)};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof e;a=c?a:new e(b.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b= -this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};d(e,Error);e.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace(this,e);return this}},{inherits:1}],11:[function(d,a,b){d=d("../constants");b.tagClass={0:"universal",1:"application",2:"context",3:"private"};b.tagClassByName=d._reverse(b.tagClass);b.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real", -10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};b.tagByName=d._reverse(b.tag)},{"../constants":12}],12:[function(d,a,b){b._reverse=function(a){var b={};Object.keys(a).forEach(function(c){(c|0)==c&&(c|=0);b[a[c]]=c});return b};b.der=d("./der")},{"./der":11}],13:[function(d,a,b){function c(a){this.enc="der";this.name= -a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var e=n.tagClass[c>>6],f=0===(c&32);if(31===(c&31))for(var d=c,c=0;128===(d&128);){d=a.readUInt8(b);if(a.isError(d))return d;c<<=7;c|=d&127}else c&=31;return{cls:e,primitive:f,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var e=a.readUInt8(c);if(a.isError(e))return e;if(!b&&128===e)return null;if(0===(e&128))return e;b=e&127;if(4<=b)return a.error("length octect is too long"); -for(var f=e=0;fb?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,e,f,d,a,0)};e.prototype._decodeNull=function(a){return null};e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};e.prototype._decodeInt=function(a,b){var c=0,e=a.raw();if(3< -e.length)return new k(e);for(;!a.isEmpty();){c<<=8;e=a.readUInt8();if(a.isError(e))return e;c|=e}b&&(c=b[c]||c);return c};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(d,a,b){b.der=d("./der")},{"./der":13}],15:[function(d,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a){return 10>=a?"0"+a:a}b=d("inherits"); -var l=d("buffer").Buffer;d=d("../../asn1");var h=d.base,k=d.bignum,n=d.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a,b).join()};b(e,h.Node);e.prototype._encodeComposite=function(a,b,c,e){a:{var f=a;a=this.reporter;"seqof"===f?f="seq":"setof"===f&&(f="set");if(n.tagByName.hasOwnProperty(f))f=n.tagByName[f];else if("number"!==typeof f||(f|0)!==f){a=a.error("Unknown tag: "+f);break a}31<=f?a=a.error("Multi-octet tag encoding unsupported"):(b||(f|=32),a=f|=n.tagClassByName[c|| -"universal"]<<6)}if(128>e.length)return b=new l(2),b[0]=a,b[1]=e.length,this._createEncoderBuffer([b,e]);f=1;for(c=e.length;256<=c;c>>=8)f++;b=new l(2+f);b[0]=a;b[1]=128|f;c=1+f;for(a=e.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,e])};e.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([a.unused|0,a.data]):"ia5str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")}; -e.prototype._encodeObjid=function(a,b,c){if("string"===typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(b=0;b>=7)e++;var e=new l(e),f=e.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],e[f--]=c&127;0<(c>>=7);)e[f--]=128|c&127;return this._createEncoderBuffer(e)};e.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[a.getFullYear(),g(a.getUTCMonth()+1),g(a.getUTCDate()),g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[a.getFullYear()%100,g(a.getUTCMonth()+1),g(a.getUTCDate()), -g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};e.prototype._encodeNull=function(){return this._createEncoderBuffer("")};e.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}null!== -k&&a instanceof k&&(b=a.toArray(),!1===a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? -255:0)};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};e.prototype._skipDefault=function(a,b,c){var e=this._baseState;if(null===e["default"])return!1;a=a.join();void 0===e.defaultBuffer&&(e.defaultBuffer=this._encodeValue(e["default"],b,c).join());if(a.length!==e.defaultBuffer.length)return!1;for(b=0;b=f?e|f-49+10:17<=f&&22>=f?e|f-17+10:e|f&15;return e}function n(a,b,c,e){var f=0;for(c=Math.min(a.length,c);ba&&(this.sign=!0,a=-a),67108864>a?(this.words=[a&67108863],this.length=1):(this.words=[a&67108863,a/67108864&67108863],this.length=2);else{if("object"===typeof a)return this._initArray(a,b,e);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");e=0;"-"=== -a[0]&&e++;16===b?this._parseHex(a,e):this._parseBase(a,b,e);"-"===a[0]&&(this.sign=!0);this.strip()}};d.prototype._initArray=function(a,b,e){c("number"===typeof a.length);this.length=Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863;f+=24;26<=f&&(f-=26,e++)}else if("le"===e)for(e=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);return this.strip()};d.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6){var d=k(a,c,c+6);this.words[f]|=d<>>26-e&4194303;e+=24;26<=e&&(e-=26,f++)}c+6!==b&&(d=k(a,b,c+6),this.words[f]|=d<>>26-e&4194303); -this.strip()};d.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var e=0,f=1;67108863>=f;f*=b)e++;e--;for(var f=f/b|0,d=a.length-c,g=d%e,d=Math.min(d,d-g)+c,h=c;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==g){e=1;c=n(a,h,a.length,b);for(h=0;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};d.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215,e=0!==f||d!==this.length-1?q[6-h.length]+h+e:h+e;a+=2;26<=a&&(a-=26,d--)}for(0!==f&&(e=f.toString(16)+e);0!==e.length%b;)e="0"+e;this.sign&&(e="-"+e);return e}if(a===(a|0)&&2<=a&&36>=a){b=A[a];f=D[a];e="";d=this.clone();for(d.sign=!1;0!==d.cmpn(0);)g=d.modn(f).toString(a),d=d.idivn(f),e=0!==d.cmpn(0)?q[b-g.length]+g+e:g+e;0===this.cmpn(0)&&(e="0"+e);this.sign&&(e="-"+e);return e}c(!1,"Base should be between 2 and 36")};d.prototype.toJSON= -function(){return this.toString(16)};d.prototype.toArray=function(){this.strip();var a=Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var e=b.andln(255);b.ishrn(8);a[a.length-c-1]=e}return a};d.prototype._countBits=function(a){return 33554432<=a?26:16777216<=a?25:8388608<=a?24:4194304<=a?23:2097152<=a?22:1048576<=a?21:524288<=a?20:262144<=a?19:131072<=a?18:65536<=a?17:32768<=a?16:16384<=a?15:8192<=a?14:4096<=a?13:2048<=a?12:1024<=a?11:512<=a?10:256<=a?9:128<=a?8:64<= -a?7:32<=a?6:16<=a?5:8<=a?4:4<=a?3:2<=a?2:1<=a?1:0};d.prototype.bitLength=function(){var a;a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};d.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)};d.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();a.sign=!this.sign;return a};d.prototype.ior=function(a){for(this.sign=this.sign||a.sign;this.lengtha.length?this.clone().ior(a):a.clone().ior(this)};d.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};d.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b;this.length>a.length?b= -this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};d.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var e=a/26|0;for(a%=26;this.length<=e;)this.words[this.length++]=0;this.words[e]=b?this.words[e]|1<a.length?c=this:(c=a,a=this);for(var e=b=0;e>>=26;for(;0!==b&&e>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;ea.length?this.clone().iadd(a):a.clone().iadd(this)};d.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);a.sign=!0;return b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();b=this.cmp(a);if(0===b)return this.sign=!1,this.length=1,this.words[0]= -0,this;var c;0>26,this.words[f]=b&67108863;for(;0!==e&&f>26,this.words[f]=b&67108863;if(0===e&&f>>26,c=c&67108863,d=Math.min(e,a.length-1),g=Math.max(0,e-this.length+1);g<=d;g++)var h=(this.words[e-g]|0)*(a.words[g]|0),k=h&67108863,f=f+(h/67108864|0)|0,k=k+c|0,c=k&67108863,f=f+(k>>>26)|0;b.words[e]=c;c=f}0!==c?b.words[e]=c:b.length--;return b.strip()};d.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign;b.length=this.length+a.length;for(var c=0,e=0,f=0;f>>26)|0,e=e+(d>>>26),d=d&67108863;b.words[f]=c;c=d}0!==c?b.words[f]=c:b.length--;return b.strip()};d.prototype.mulTo=function(a,b){return 63>this.length+a.length?this._smallMulTo(a,b):this._bigMulTo(a,b)};d.prototype.mul=function(a){var b=new d(null);b.words=Array(this.length+a.length);return this.mulTo(a,b)};d.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]= -0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign;this.length+=a.length;this.words[this.length-1]=0;for(var e=this.length-2;0<=e;e--){for(var f=0,d=0,g=Math.min(e,c-1),h=Math.max(0,e-b+1);h<=g;h++)var k=e-h,k=this.words[k]*a.words[h],l=k&67108863,f=f+(k/67108864|0),l=l+d,d=l&67108863,f=f+(l>>>26);this.words[e]=d;this.words[e+1]+=f}f=0;for(k=1;k>>26;return this.strip()};d.prototype.imuln=function(a){c("number"=== -typeof a);for(var b=0,e=0;e>26,b=b+(f/67108864|0),b=b+(d>>>26);this.words[e]=d&67108863}0!==b&&(this.words[e]=b,this.length++);return this};d.prototype.sqr=function(){return this.mul(this)};d.prototype.isqr=function(){return this.mul(this)};d.prototype.ishln=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;var e=67108863>>>26-b<<26-b;if(0!==b){for(var f=0,d=0;d>>26-b}f&&(this.words[d]=f,this.length++)}if(0!==a){for(d=this.length-1;0<=d;d--)this.words[d+a]=this.words[d];for(d=0;d>>f<d)for(this.length-=d,g=0;g=b);g--){var h=this.words[g];this.words[g]=d<<26-f|h>>>f;d=h&a}e&&0!==d&&(e.words[e.length++]=d);0===this.length&&(this.words[0]=0,this.length=1);this.strip();return e?{hi:this,lo:e}:this};d.prototype.shln=function(a){return this.clone().ishln(a)};d.prototype.shrn=function(a){return this.clone().ishrn(a)};d.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a? -!1:!!(this.words[a]&1<>>b<a)return this.isubn(-a);if(this.sign){if(1===this.length&&this.words[0]a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a; -for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};d.prototype.addn=function(a){return this.clone().iaddn(a)};d.prototype.subn=function(a){return this.clone().isubn(a)};d.prototype.iabs=function(){this.sign=!1;return this};d.prototype.abs=function(){return this.clone().iabs()};d.prototype._ishlnsubmul=function(a,b,e){var f=a.length+e,d;if(this.words.length>26)-(g/67108864|0),this.words[d+e]=f&67108863;for(;d>26,this.words[d+e]=f&67108863;if(0===g)return this.strip();c(-1===g);for(d=g=0;d>26,this.words[d]=f&67108863;this.sign=!0;return this.strip()};d.prototype._wordDiv=function(a,b){var c=this.clone(),e=a,f=e.words[e.length- -1];for(a=0;33554432>f;a++)f<<=1;0!==a&&(e=e.shln(a),c.ishln(a),f=e.words[e.length-1]);var g=c.length-e.length,h;if("mod"!==b){h=new d(null);h.length=g+1;h.words=Array(h.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new d(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]), -mod:null}:"mod"===b?{div:null,mod:new d(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new d(this.modn(a.words[0]))}:this._wordDiv(a,b)};d.prototype.div=function(a){return this.divmod(a,"div").div};d.prototype.mod=function(a){return this.divmod(a,"mod").mod};d.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,e=a.shrn(1);a=a.andln(1);c=c.cmp(e);return 0>c||1===a&&0===c?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)}; -d.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,e=0,f=this.length-1;0<=f;f--)e=(b*e+this.words[f])%a;return e};d.prototype.idivn=function(a){c(67108863>=a);for(var b=0,e=this.length-1;0<=e;e--)b=this.words[e]+67108864*b,this.words[e]=b/a|0,b%=a;return this.strip()};d.prototype.divn=function(a){return this.clone().idivn(a)};d.prototype._egcd=function(a,b){c(!b.sign);c(0!==b.cmpn(0));var e=this,f=b.clone(),e=e.sign?e.mod(b):e.clone();for(b=new d(0);f.isEven();)f.ishrn(1);for(var g= -f.clone();0b.cmp(a)){var e=b,b=a;a=e}b.isub(b.div(a).mul(a))}while(0!==b.cmpn(0)&&0!==a.cmpn(0));return 0===b.cmpn(0)?a.ishln(c):b.ishln(c)};d.prototype.invm=function(a){return this._egcd(new d(1),a).mod(a)};d.prototype.isEven=function(){return 0===(this.words[0]&1)};d.prototype.isOdd=function(){return 1===(this.words[0]&1)};d.prototype.andln=function(a){return this.words[0]&a};d.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;var e=1<>>26,a&=67108863,this.words[b]=a;0!==e&&(this.words[b]=e,this.length++);return this};d.prototype.cmpn=function(a){var b=0>a;b&&(a=-a);if(this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863;this.strip();1a.length)return 1;if(this.lengthf&&(b=1);break}}return b};d.red=function(a){return new v(a)};d.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context");c(!this.sign,"red works only with positives");return a.convertTo(this)._forceRed(a)};d.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context"); -return this.red.convertFrom(this)};d.prototype._forceRed=function(a){this.red=a;return this};d.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};d.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)};d.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};d.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers"); -return this.red.sub(this,a)};d.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};d.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};d.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.mul(this,a)};d.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this, -a)};d.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};d.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};d.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};d.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this); -return this.red.invm(this)};d.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};d.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var y={k256:null,p224:null,p192:null,p25519:null};f.prototype._tmp=function(){var a=new d(null);a.words=Array(Math.ceil(this.n/13));return a};f.prototype.ireduce=function(a){var b;do b=a.ishrn(this.n,0,this.tmp),a=this.imulK(b.hi), -a=a.iadd(b.lo),b=a.bitLength();while(b>this.n);b=b>>26;a.words[c]=e}0!==b&&(a.words[a.length++]=b);return a};d._prime=function(a){if(y[a])return y[a];var b;if("k256"===a)b=new m;else if("p224"===a)b=new p;else if("p192"===a)b=new t;else if("p25519"===a)b=new r;else throw Error("Unknown prime "+a);return y[a]=b};v.prototype._verify1=function(a){c(!a.sign,"red works only with positives");c(a.red,"red works only with red numbers")};v.prototype._verify2= +this._baseState,c=null,d=!1;Object.keys(b.choice).some(function(h){var f=a.save(),e=b.choice[h];try{var g=e._decode(a);if(a.isError(g))return!1;c={type:h,value:g};d=!0}catch(q){return a.restore(f),!1}return!0},this);return d?c:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new f(a,this.reporter)};c.prototype._encode=function(a,b,c){var d=this._baseState;if(null===d["default"]||d["default"]!==a)if(a=this._encodeValue(a,b,c),void 0!==a&&!this._skipDefault(a,b,c))return a}; +c.prototype._encodeValue=function(a,b,c){var h=this._baseState;if(null===h.parent)return h.children[0]._encode(a,b||new d);var f=null;this.reporter=b;if(h.optional&&void 0===a)if(null!==h["default"])a=h["default"];else return;var e=null,g=!1;if(h.any)f=this._createEncoderBuffer(a);else if(h.choice)f=this._encodeChoice(a,b);else if(h.children)e=h.children.map(function(c){if("null_"===c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var d= +b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(d);return c},this).filter(function(a){return a}),e=this._createEncoderBuffer(e);else if("seqof"===h.tag||"setof"===h.tag){if(!h.args||1!==h.args.length)return b.error("Too many args for : "+h.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array");e=this.clone();e._baseState.implicit=null;e=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0], +a)._encode(c,b)},e))}else null!==h.use?f=this._getUse(h.use,c)._encode(a,b):(e=this._encodePrimitive(h.tag,a),g=!0);if(!h.any&&null===h.choice){c=null!==h.implicit?h.implicit:h.tag;var k=null===h.implicit?"universal":"context";null===c?null===h.use&&b.error("Tag could be ommited only for .use()"):null===h.use&&(f=this._encodeComposite(c,g,k,e))}null!==h.explicit&&(f=this._encodeComposite(h.explicit,!1,"context",f));return f};c.prototype._encodeChoice=function(a,b){var c=this._baseState,d=c.choice[a.type]; +d||l(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return d._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if("octstr"===a||"bitstr"===a||"ia5str"===a)return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a||"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b, +c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);throw Error("Unsupported tag: "+a);}},{"../base":8,"minimalistic-assert":2}],10:[function(e,a,b){function c(a){this._reporterState={obj:null,path:[],options:a||{},errors:[]}}function d(a,b){this.path=a;this.rethrow(b)}e=e("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof d};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.leaveKey=function(a,b,c){var d=this._reporterState; +d.path=d.path.slice(0,a-1);null!==d.obj&&(d.obj[b]=c)};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof d;a=c?a:new d(b.path.map(function(a){return"["+JSON.stringify(a)+"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b= +this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};e(d,Error);d.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace(this,d);return this}},{inherits:1}],11:[function(e,a,b){e=e("../constants");b.tagClass={0:"universal",1:"application",2:"context",3:"private"};b.tagClassByName=e._reverse(b.tagClass);b.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real", +10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"};b.tagByName=e._reverse(b.tag)},{"../constants":12}],12:[function(e,a,b){b._reverse=function(a){var b={};Object.keys(a).forEach(function(c){(c|0)==c&&(c|=0);b[a[c]]=c});return b};b.der=e("./der")},{"./der":11}],13:[function(e,a,b){function c(a){this.enc="der";this.name= +a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){g.Node.call(this,"der",a)}function f(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var d=n.tagClass[c>>6],h=0===(c&32);if(31===(c&31))for(var f=c,c=0;128===(f&128);){f=a.readUInt8(b);if(a.isError(f))return f;c<<=7;c|=f&127}else c&=31;return{cls:d,primitive:h,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(d&128))return d;b=d&127;if(4<=b)return a.error("length octect is too long"); +for(var h=d=0;hb?2E3+b:1900+b;else return this.error("Decoding "+b+" time is not supported yet");return Date.UTC(b,c-1,d,h,f,a,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){var c=0,d=a.raw();if(3< +d.length)return new k(d);for(;!a.isEmpty();){c<<=8;d=a.readUInt8();if(a.isError(d))return d;c|=d}b&&(c=b[c]||c);return c};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":5,inherits:1}],14:[function(e,a,b){b.der=e("./der")},{"./der":13}],15:[function(e,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new d;this.tree._init(a.body)}function d(a){g.Node.call(this,"der",a)}function f(a){return 10>=a?"0"+a:a}b=e("inherits"); +var l=e("buffer").Buffer;e=e("../../asn1");var g=e.base,k=e.bignum,n=e.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a,b).join()};b(d,g.Node);d.prototype._encodeComposite=function(a,b,c,d){a:{var f=a;a=this.reporter;"seqof"===f?f="seq":"setof"===f&&(f="set");if(n.tagByName.hasOwnProperty(f))f=n.tagByName[f];else if("number"!==typeof f||(f|0)!==f){a=a.error("Unknown tag: "+f);break a}31<=f?a=a.error("Multi-octet tag encoding unsupported"):(b||(f|=32),a=f|=n.tagClassByName[c|| +"universal"]<<6)}if(128>d.length)return b=new l(2),b[0]=a,b[1]=d.length,this._createEncoderBuffer([b,d]);f=1;for(c=d.length;256<=c;c>>=8)f++;b=new l(2+f);b[0]=a;b[1]=128|f;c=1+f;for(a=d.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,d])};d.prototype._encodeStr=function(a,b){return"octstr"===b?this._createEncoderBuffer(a):"bitstr"===b?this._createEncoderBuffer([a.unused|0,a.data]):"ia5str"===b?this._createEncoderBuffer(a):this.reporter.error("Encoding of string type: "+b+" unsupported")}; +d.prototype._encodeObjid=function(a,b,c){if("string"===typeof a){if(!b)return this.reporter.error("string objid given, but no values map found");if(!b.hasOwnProperty(a))return this.reporter.error("objid not found in values map");a=b[a].split(/\s+/g);for(b=0;b>=7)d++;var d=new l(d),f=d.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],d[f--]=c&127;0<(c>>=7);)d[f--]=128|c&127;return this._createEncoderBuffer(d)};d.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[a.getFullYear(),f(a.getUTCMonth()+1),f(a.getUTCDate()),f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[a.getFullYear()%100,f(a.getUTCMonth()+1),f(a.getUTCDate()), +f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};d.prototype._encodeNull=function(){return this._createEncoderBuffer("")};d.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}null!== +k&&a instanceof k&&(b=a.toArray(),!1===a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};d.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? +255:0)};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};d.prototype._skipDefault=function(a,b,c){var d=this._baseState;if(null===d["default"])return!1;a=a.join();void 0===d.defaultBuffer&&(d.defaultBuffer=this._encodeValue(d["default"],b,c).join());if(a.length!==d.defaultBuffer.length)return!1;for(b=0;b=f?d|f-49+10:17<=f&&22>=f?d|f-17+10:d|f&15;return d}function n(a,b,c,d){var f=0;for(c=Math.min(a.length,c);ba&&(this.sign=!0,a=-a),67108864>a?(this.words=[a&67108863],this.length=1):(this.words=[a&67108863,a/67108864&67108863],this.length=2);else{if("object"===typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");d=0;"-"=== +a[0]&&d++;16===b?this._parseHex(a,d):this._parseBase(a,b,d);"-"===a[0]&&(this.sign=!0);this.strip()}};e.prototype._initArray=function(a,b,d){c("number"===typeof a.length);this.length=Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863;f+=24;26<=f&&(f-=26,d++)}else if("le"===d)for(d=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,d++);return this.strip()};e.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length-b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6){var e=k(a,c,c+6);this.words[f]|=e<>>26-d&4194303;d+=24;26<=d&&(d-=26,f++)}c+6!==b&&(e=k(a,b,c+6),this.words[f]|=e<>>26-d&4194303); +this.strip()};e.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var d=0,f=1;67108863>=f;f*=b)d++;d--;for(var f=f/b|0,e=a.length-c,h=e%d,e=Math.min(e,e-h)+c,g=c;gthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==h){d=1;c=n(a,g,a.length,b);for(g=0;gthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};e.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215,d=0!==f||e!==this.length-1?q[6-g.length]+g+d:g+d;a+=2;26<=a&&(a-=26,e--)}for(0!==f&&(d=f.toString(16)+d);0!==d.length%b;)d="0"+d;this.sign&&(d="-"+d);return d}if(a===(a|0)&&2<=a&&36>=a){b=A[a];f=D[a];d="";e=this.clone();for(e.sign=!1;0!==e.cmpn(0);)h=e.modn(f).toString(a),e=e.idivn(f),d=0!==e.cmpn(0)?q[b-h.length]+h+d:h+d;0===this.cmpn(0)&&(d="0"+d);this.sign&&(d="-"+d);return d}c(!1,"Base should be between 2 and 36")};e.prototype.toJSON= +function(){return this.toString(16)};e.prototype.toArray=function(){this.strip();var a=Array(this.byteLength());a[0]=0;for(var b=this.clone(),c=0;0!==b.cmpn(0);c++){var d=b.andln(255);b.ishrn(8);a[a.length-c-1]=d}return a};e.prototype._countBits=function(a){return 33554432<=a?26:16777216<=a?25:8388608<=a?24:4194304<=a?23:2097152<=a?22:1048576<=a?21:524288<=a?20:262144<=a?19:131072<=a?18:65536<=a?17:32768<=a?16:16384<=a?15:8192<=a?14:4096<=a?13:2048<=a?12:1024<=a?11:512<=a?10:256<=a?9:128<=a?8:64<= +a?7:32<=a?6:16<=a?5:8<=a?4:4<=a?3:2<=a?2:1<=a?1:0};e.prototype.bitLength=function(){var a;a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};e.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)};e.prototype.neg=function(){if(0===this.cmpn(0))return this.clone();var a=this.clone();a.sign=!this.sign;return a};e.prototype.ior=function(a){for(this.sign=this.sign||a.sign;this.lengtha.length?this.clone().ior(a):a.clone().ior(this)};e.prototype.iand=function(a){this.sign=this.sign&&a.sign;var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};e.prototype.ixor=function(a){this.sign=this.sign||a.sign;var b;this.length>a.length?b= +this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};e.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var d=a/26|0;for(a%=26;this.length<=d;)this.words[this.length++]=0;this.words[d]=b?this.words[d]|1<a.length?c=this:(c=a,a=this);for(var d=b=0;d>>=26;for(;0!==b&&d>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;da.length?this.clone().iadd(a):a.clone().iadd(this)};e.prototype.isub=function(a){if(a.sign){a.sign=!1;var b=this.iadd(a);a.sign=!0;return b._normSign()}if(this.sign)return this.sign=!1,this.iadd(a),this.sign=!0,this._normSign();b=this.cmp(a);if(0===b)return this.sign=!1,this.length=1,this.words[0]= +0,this;var c;0>26,this.words[f]=b&67108863;for(;0!==d&&f>26,this.words[f]=b&67108863;if(0===d&&f>>26,c=c&67108863,e=Math.min(d,a.length-1),h=Math.max(0,d-this.length+1);h<=e;h++)var g=(this.words[d-h]|0)*(a.words[h]|0),k=g&67108863,f=f+(g/67108864|0)|0,k=k+c|0,c=k&67108863,f=f+(k>>>26)|0;b.words[d]=c;c=f}0!==c?b.words[d]=c:b.length--;return b.strip()};e.prototype._bigMulTo=function(a,b){b.sign=a.sign!==this.sign;b.length=this.length+a.length;for(var c=0,d=0,f=0;f>>26)|0,d=d+(e>>>26),e=e&67108863;b.words[f]=c;c=e}0!==c?b.words[f]=c:b.length--;return b.strip()};e.prototype.mulTo=function(a,b){return 63>this.length+a.length?this._smallMulTo(a,b):this._bigMulTo(a,b)};e.prototype.mul=function(a){var b=new e(null);b.words=Array(this.length+a.length);return this.mulTo(a,b)};e.prototype.imul=function(a){if(0===this.cmpn(0)||0===a.cmpn(0))return this.words[0]= +0,this.length=1,this;var b=this.length,c=a.length;this.sign=a.sign!==this.sign;this.length+=a.length;this.words[this.length-1]=0;for(var d=this.length-2;0<=d;d--){for(var f=0,e=0,h=Math.min(d,c-1),g=Math.max(0,d-b+1);g<=h;g++)var k=d-g,k=this.words[k]*a.words[g],l=k&67108863,f=f+(k/67108864|0),l=l+e,e=l&67108863,f=f+(l>>>26);this.words[d]=e;this.words[d+1]+=f}f=0;for(k=1;k>>26;return this.strip()};e.prototype.imuln=function(a){c("number"=== +typeof a);for(var b=0,d=0;d>26,b=b+(f/67108864|0),b=b+(e>>>26);this.words[d]=e&67108863}0!==b&&(this.words[d]=b,this.length++);return this};e.prototype.sqr=function(){return this.mul(this)};e.prototype.isqr=function(){return this.mul(this)};e.prototype.ishln=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;var d=67108863>>>26-b<<26-b;if(0!==b){for(var f=0,e=0;e>>26-b}f&&(this.words[e]=f,this.length++)}if(0!==a){for(e=this.length-1;0<=e;e--)this.words[e+a]=this.words[e];for(e=0;e>>f<e)for(this.length-=e,h=0;h=b);h--){var g=this.words[h];this.words[h]=e<<26-f|g>>>f;e=g&a}d&&0!==e&&(d.words[d.length++]=e);0===this.length&&(this.words[0]=0,this.length=1);this.strip();return d?{hi:this,lo:d}:this};e.prototype.shln=function(a){return this.clone().ishln(a)};e.prototype.shrn=function(a){return this.clone().ishrn(a)};e.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a? +!1:!!(this.words[a]&1<>>b<a)return this.isubn(-a);if(this.sign){if(1===this.length&&this.words[0]a)return this.iaddn(-a);if(this.sign)return this.sign=!1,this.iaddn(a),this.sign=!0,this;this.words[0]-=a; +for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};e.prototype.addn=function(a){return this.clone().iaddn(a)};e.prototype.subn=function(a){return this.clone().isubn(a)};e.prototype.iabs=function(){this.sign=!1;return this};e.prototype.abs=function(){return this.clone().iabs()};e.prototype._ishlnsubmul=function(a,b,d){var f=a.length+d,e;if(this.words.length>26)-(h/67108864|0),this.words[e+d]=f&67108863;for(;e>26,this.words[e+d]=f&67108863;if(0===h)return this.strip();c(-1===h);for(e=h=0;e>26,this.words[e]=f&67108863;this.sign=!0;return this.strip()};e.prototype._wordDiv=function(a,b){var c=this.clone(),d=a,f=d.words[d.length- +1];for(a=0;33554432>f;a++)f<<=1;0!==a&&(d=d.shln(a),c.ishln(a),f=d.words[d.length-1]);var h=c.length-d.length,g;if("mod"!==b){g=new e(null);g.length=h+1;g.words=Array(g.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new e(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]), +mod:null}:"mod"===b?{div:null,mod:new e(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new e(this.modn(a.words[0]))}:this._wordDiv(a,b)};e.prototype.div=function(a){return this.divmod(a,"div").div};e.prototype.mod=function(a){return this.divmod(a,"mod").mod};e.prototype.divRound=function(a){var b=this.divmod(a);if(0===b.mod.cmpn(0))return b.div;var c=b.div.sign?b.mod.isub(a):b.mod,d=a.shrn(1);a=a.andln(1);c=c.cmp(d);return 0>c||1===a&&0===c?b.div:b.div.sign?b.div.isubn(1):b.div.iaddn(1)}; +e.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,d=0,f=this.length-1;0<=f;f--)d=(b*d+this.words[f])%a;return d};e.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;0<=d;d--)b=this.words[d]+67108864*b,this.words[d]=b/a|0,b%=a;return this.strip()};e.prototype.divn=function(a){return this.clone().idivn(a)};e.prototype._egcd=function(a,b){c(!b.sign);c(0!==b.cmpn(0));var d=this,f=b.clone(),d=d.sign?d.mod(b):d.clone();for(b=new e(0);f.isEven();)f.ishrn(1);for(var h= +f.clone();0b.cmp(a)){var d=b,b=a;a=d}b.isub(b.div(a).mul(a))}while(0!==b.cmpn(0)&&0!==a.cmpn(0));return 0===b.cmpn(0)?a.ishln(c):b.ishln(c)};e.prototype.invm=function(a){return this._egcd(new e(1),a).mod(a)};e.prototype.isEven=function(){return 0===(this.words[0]&1)};e.prototype.isOdd=function(){return 1===(this.words[0]&1)};e.prototype.andln=function(a){return this.words[0]&a};e.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;var d=1<>>26,a&=67108863,this.words[b]=a;0!==d&&(this.words[b]=d,this.length++);return this};e.prototype.cmpn=function(a){var b=0>a;b&&(a=-a);if(this.sign&&!b)return-1;if(!this.sign&&b)return 1;a&=67108863;this.strip();1a.length)return 1;if(this.lengthf&&(b=1);break}}return b};e.red=function(a){return new v(a)};e.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context");c(!this.sign,"red works only with positives");return a.convertTo(this)._forceRed(a)};e.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context"); +return this.red.convertFrom(this)};e.prototype._forceRed=function(a){this.red=a;return this};e.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};e.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)};e.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};e.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers"); +return this.red.sub(this,a)};e.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};e.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};e.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.mul(this,a)};e.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this, +a)};e.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};e.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};e.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers");this.red._verify1(this);return this.red.sqrt(this)};e.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this); +return this.red.invm(this)};e.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};e.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var y={k256:null,p224:null,p192:null,p25519:null};h.prototype._tmp=function(){var a=new e(null);a.words=Array(Math.ceil(this.n/13));return a};h.prototype.ireduce=function(a){var b;do b=a.ishrn(this.n,0,this.tmp),a=this.imulK(b.hi), +a=a.iadd(b.lo),b=a.bitLength();while(b>this.n);b=b>>26;a.words[c]=d}0!==b&&(a.words[a.length++]=b);return a};e._prime=function(a){if(y[a])return y[a];var b;if("k256"===a)b=new m;else if("p224"===a)b=new p;else if("p192"===a)b=new t;else if("p25519"===a)b=new r;else throw Error("Unknown prime "+a);return y[a]=b};v.prototype._verify1=function(a){c(!a.sign,"red works only with positives");c(a.red,"red works only with red numbers")};v.prototype._verify2= function(a,b){c(!a.sign&&!b.sign,"red works only with positives");c(a.red&&a.red===b.red,"red works only with red numbers")};v.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.mod(this.m)._forceRed(this)};v.prototype.neg=function(a){a=a.clone();a.sign=!a.sign;return a.iadd(this.m)._forceRed(this)};v.prototype.add=function(a,b){this._verify2(a,b);a=a.add(b);0<=a.cmp(this.m)&&a.isub(this.m);return a._forceRed(this)};v.prototype.iadd=function(a,b){this._verify2(a, b);a=a.iadd(b);0<=a.cmp(this.m)&&a.isub(this.m);return a};v.prototype.sub=function(a,b){this._verify2(a,b);a=a.sub(b);0>a.cmpn(0)&&a.iadd(this.m);return a._forceRed(this)};v.prototype.isub=function(a,b){this._verify2(a,b);a=a.isub(b);0>a.cmpn(0)&&a.iadd(this.m);return a};v.prototype.shl=function(a,b){this._verify1(a);return this.imod(a.shln(b))};v.prototype.imul=function(a,b){this._verify2(a,b);return this.imod(a.imul(b))};v.prototype.mul=function(a,b){this._verify2(a,b);return this.imod(a.mul(b))}; -v.prototype.isqr=function(a){return this.imul(a,a)};v.prototype.sqr=function(a){return this.mul(a,a)};v.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b){var b=this.m.add(new d(1)).ishrn(2),e=this.pow(a,b);return e}for(var f=this.m.subn(1),g=0;0!==f.cmpn(0)&&0===f.andln(1);)g++,f.ishrn(1);c(0!==f.cmpn(0));for(var b=(new d(1)).toRed(this),e=b.redNeg(),h=this.m.subn(1).ishrn(1),k=this.m.bitLength(),k=(new d(2*k*k)).toRed(this);0!==this.pow(k,h).cmp(e);)k.redIAdd(e); -h=this.pow(k,f);e=this.pow(a,f.addn(1).ishrn(1));a=this.pow(a,f);for(f=g;0!==a.cmp(b);){k=a;for(g=0;0!==k.cmp(b);g++)k=k.redSqr();c(ga.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};C.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return(new d(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).ishrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)}; -C.prototype.invm=function(a){return this.imod(a.invm(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{}],18:[function(d,a,b){window.pemJwk=d("pem-jwk");a.exports=window.pemJwk},{"pem-jwk":4}],19:[function(d,a,b){arguments[4][5][0].apply(b,arguments)},{"./asn1/api":20,"./asn1/base":22,"./asn1/constants":26,"./asn1/decoders":28,"./asn1/encoders":31,"bn.js":34,dup:5}],20:[function(d,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var e=d("../asn1"), -g=d("inherits");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b;try{b=d("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(k){b=function(a){this._initNamed(a)}}g(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){a=a||"der";this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(e.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a, -b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder=function(a){a=a||"der";this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(e.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":19,inherits:119,vm:172}],21:[function(d,a,b){function c(a,b){g.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function e(a,b){if(Array.isArray(a))this.length= -0,this.value=a.map(function(a){a instanceof e||(a=new e(a,b));this.length+=a.length;return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=d("inherits");var g=d("../base").Reporter,l=d("buffer").Buffer;a(c,g);b.DecoderBuffer=c;c.prototype.save= -function(){return{offset:this.offset,reporter:g.prototype.save.call(this)}};c.prototype.restore=function(a){var b=new c(this.base);b.offset=a.offset;b.length=this.offset;this.offset=a.offset;g.prototype.restore.call(this,a.reporter);return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+ -a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+=a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=e;e.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]= -this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":22,buffer:65,inherits:119}],22:[function(d,a,b){arguments[4][8][0].apply(b,arguments)},{"./buffer":21,"./node":23,"./reporter":24,dup:8}],23:[function(d,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null; -c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.contains=null;c.parent||(c.children=[],this._wrap())}var e=d("../base").Reporter,g=d("../base").EncoderBuffer,l=d("../base").DecoderBuffer,h=d("minimalistic-assert");d="seq seqof set setof objid bool gentime utctime null_ enum int objDesc bitstr bmpstr charstr genstr graphstr ia5str iso646str numstr octstr printstr t61str unistr utf8str videostr".split(" ");var k="key obj use optional explicit implicit def choice any contains".split(" ").concat(d); +v.prototype.isqr=function(a){return this.imul(a,a)};v.prototype.sqr=function(a){return this.mul(a,a)};v.prototype.sqrt=function(a){if(0===a.cmpn(0))return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b){var b=this.m.add(new e(1)).ishrn(2),d=this.pow(a,b);return d}for(var f=this.m.subn(1),h=0;0!==f.cmpn(0)&&0===f.andln(1);)h++,f.ishrn(1);c(0!==f.cmpn(0));for(var b=(new e(1)).toRed(this),d=b.redNeg(),g=this.m.subn(1).ishrn(1),k=this.m.bitLength(),k=(new e(2*k*k)).toRed(this);0!==this.pow(k,g).cmp(d);)k.redIAdd(d); +g=this.pow(k,f);d=this.pow(a,f.addn(1).ishrn(1));a=this.pow(a,f);for(f=h;0!==a.cmp(b);){k=a;for(h=0;0!==k.cmp(b);h++)k=k.redSqr();c(ha.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};C.prototype.mul=function(a,b){if(0===a.cmpn(0)||0===b.cmpn(0))return(new e(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).ishrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)}; +C.prototype.invm=function(a){return this.imod(a.invm(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{}],18:[function(e,a,b){window.pemJwk=e("pem-jwk");a.exports=window.pemJwk},{"pem-jwk":4}],19:[function(e,a,b){arguments[4][5][0].apply(b,arguments)},{"./asn1/api":20,"./asn1/base":22,"./asn1/constants":26,"./asn1/decoders":28,"./asn1/encoders":31,"bn.js":34,dup:5}],20:[function(e,a,b){function c(a,b){this.name=a;this.body=b;this.decoders={};this.encoders={}}var d=e("../asn1"), +f=e("inherits");b.define=function(a,b){return new c(a,b)};c.prototype._createNamed=function(a){var b;try{b=e("vm").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(k){b=function(a){this._initNamed(a)}}f(b,a);b.prototype._initNamed=function(b){a.call(this,b)};return new b(this)};c.prototype._getDecoder=function(a){a=a||"der";this.decoders.hasOwnProperty(a)||(this.decoders[a]=this._createNamed(d.decoders[a]));return this.decoders[a]};c.prototype.decode=function(a, +b,c){return this._getDecoder(b).decode(a,c)};c.prototype._getEncoder=function(a){a=a||"der";this.encoders.hasOwnProperty(a)||(this.encoders[a]=this._createNamed(d.encoders[a]));return this.encoders[a]};c.prototype.encode=function(a,b,c){return this._getEncoder(b).encode(a,c)}},{"../asn1":19,inherits:119,vm:172}],21:[function(e,a,b){function c(a,b){f.call(this,b);l.isBuffer(a)?(this.base=a,this.offset=0,this.length=a.length):this.error("Input not Buffer")}function d(a,b){if(Array.isArray(a))this.length= +0,this.value=a.map(function(a){a instanceof d||(a=new d(a,b));this.length+=a.length;return a},this);else if("number"===typeof a){if(!(0<=a&&255>=a))return b.error("non-byte EncoderBuffer value");this.value=a;this.length=1}else if("string"===typeof a)this.value=a,this.length=l.byteLength(a);else if(l.isBuffer(a))this.value=a,this.length=a.length;else return b.error("Unsupported type: "+typeof a)}a=e("inherits");var f=e("../base").Reporter,l=e("buffer").Buffer;a(c,f);b.DecoderBuffer=c;c.prototype.save= +function(){return{offset:this.offset,reporter:f.prototype.save.call(this)}};c.prototype.restore=function(a){var b=new c(this.base);b.offset=a.offset;b.length=this.offset;this.offset=a.offset;f.prototype.restore.call(this,a.reporter);return b};c.prototype.isEmpty=function(){return this.offset===this.length};c.prototype.readUInt8=function(a){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(a||"DecoderBuffer overrun")};c.prototype.skip=function(a,b){if(!(this.offset+ +a<=this.length))return this.error(b||"DecoderBuffer overrun");b=new c(this.base);b._reporterState=this._reporterState;b.offset=this.offset;b.length=this.offset+a;this.offset+=a;return b};c.prototype.raw=function(a){return this.base.slice(a?a.offset:this.offset,this.length)};b.EncoderBuffer=d;d.prototype.join=function(a,b){a||(a=new l(this.length));b||(b=0);if(0===this.length)return a;Array.isArray(this.value)?this.value.forEach(function(c){c.join(a,b);b+=c.length}):("number"===typeof this.value?a[b]= +this.value:"string"===typeof this.value?a.write(this.value,b):l.isBuffer(this.value)&&this.value.copy(a,b),b+=this.length);return a}},{"../base":22,buffer:65,inherits:119}],22:[function(e,a,b){arguments[4][8][0].apply(b,arguments)},{"./buffer":21,"./node":23,"./reporter":24,dup:8}],23:[function(e,a,b){function c(a,b){var c={};this._baseState=c;c.enc=a;c.parent=b||null;c.children=null;c.tag=null;c.args=null;c.reverseArgs=null;c.choice=null;c.optional=!1;c.any=!1;c.obj=!1;c.use=null;c.useDecoder=null; +c.key=null;c["default"]=null;c.explicit=null;c.implicit=null;c.contains=null;c.parent||(c.children=[],this._wrap())}var d=e("../base").Reporter,f=e("../base").EncoderBuffer,l=e("../base").DecoderBuffer,g=e("minimalistic-assert");e="seq seqof set setof objid bool gentime utctime null_ enum int objDesc bitstr bmpstr charstr genstr graphstr ia5str iso646str numstr octstr printstr t61str unistr utf8str videostr".split(" ");var k="key obj use optional explicit implicit def choice any contains".split(" ").concat(e); a.exports=c;var n="enc parent children tag args reverseArgs choice optional any obj use alteredUse key default explicit implicit contains".split(" ");c.prototype.clone=function(){var a=this._baseState,b={};n.forEach(function(c){b[c]=a[c]});var c=new this.constructor(b.parent);c._baseState=b;return c};c.prototype._wrap=function(){var a=this._baseState;k.forEach(function(b){this[b]=function(){var c=new this.constructor(this);a.children.push(c);return c[b].apply(c,arguments)}},this)};c.prototype._init= -function(a){var b=this._baseState;h(null===b.parent);a.call(this);b.children=b.children.filter(function(a){return a._baseState.parent===this},this);h.equal(b.children.length,1,"Root node can have only one child")};c.prototype._useArgs=function(a){var b=this._baseState,c=a.filter(function(a){return a instanceof this.constructor},this);a=a.filter(function(a){return!(a instanceof this.constructor)},this);0!==c.length&&(h(null===b.children),b.children=c,c.forEach(function(a){a._baseState.parent=this}, -this));0!==a.length&&(h(null===b.args),b.args=a,b.reverseArgs=a.map(function(a){if("object"!==typeof a||a.constructor!==Object)return a;var b={};Object.keys(a).forEach(function(c){c==(c|0)&&(c|=0);b[a[c]]=c});return b}))};"_peekTag _decodeTag _use _decodeStr _decodeObjid _decodeTime _decodeNull _decodeInt _decodeBool _decodeList _encodeComposite _encodeStr _encodeObjid _encodeTime _encodeNull _encodeInt _encodeBool".split(" ").forEach(function(a){c.prototype[a]=function(){throw Error(a+" not implemented for encoding: "+ -this._baseState.enc);}});d.forEach(function(a){c.prototype[a]=function(){var b=this._baseState,c=Array.prototype.slice.call(arguments);h(null===b.tag);b.tag=a;this._useArgs(c);return this}});c.prototype.use=function(a){h(a);var b=this._baseState;h(null===b.use);b.use=a;return this};c.prototype.optional=function(){this._baseState.optional=!0;return this};c.prototype.def=function(a){var b=this._baseState;h(null===b["default"]);b["default"]=a;b.optional=!0;return this};c.prototype.explicit=function(a){var b= -this._baseState;h(null===b.explicit&&null===b.implicit);b.explicit=a;return this};c.prototype.implicit=function(a){var b=this._baseState;h(null===b.explicit&&null===b.implicit);b.implicit=a;return this};c.prototype.obj=function(){var a=this._baseState,b=Array.prototype.slice.call(arguments);a.obj=!0;0!==b.length&&this._useArgs(b);return this};c.prototype.key=function(a){var b=this._baseState;h(null===b.key);b.key=a;return this};c.prototype.any=function(){this._baseState.any=!0;return this};c.prototype.choice= -function(a){var b=this._baseState;h(null===b.choice);b.choice=a;this._useArgs(Object.keys(a).map(function(b){return a[b]}));return this};c.prototype.contains=function(a){var b=this._baseState;h(null===b.use);b.contains=a;return this};c.prototype._decode=function(a,b){var c=this._baseState;if(null===c.parent)return a.wrapResult(c.children[0]._decode(a,b));var e=c["default"],d=!0,f=null;null!==c.key&&(f=a.enterKey(c.key));if(c.optional){var g=null;null!==c.explicit?g=c.explicit:null!==c.implicit?g= -c.implicit:null!==c.tag&&(g=c.tag);if(null!==g||c.any){if(d=this._peekTag(a,g,c.any),a.isError(d))return d}else{var h=a.save();try{null===c.choice?this._decodeGeneric(c.tag,a,b):this._decodeChoice(a,b),d=!0}catch(y){d=!1}a.restore(h)}}var k;c.obj&&d&&(k=a.enterObject());if(d){if(null!==c.explicit){g=this._decodeTag(a,c.explicit);if(a.isError(g))return g;a=g}g=a.offset;if(null===c.use&&null===c.choice){c.any&&(h=a.save());var m=this._decodeTag(a,null!==c.implicit?c.implicit:c.tag,c.any);if(a.isError(m))return m; -c.any?e=a.raw(h):a=m}b&&b.track&&null!==c.tag&&b.track(a.path(),g,a.length,"tagged");b&&b.track&&null!==c.tag&&b.track(a.path(),a.offset,a.length,"content");c.any||(e=null===c.choice?this._decodeGeneric(c.tag,a,b):this._decodeChoice(a,b));if(a.isError(e))return e;c.any||null!==c.choice||null===c.children||c.children.forEach(function(c){c._decode(a,b)});!c.contains||"octstr"!==c.tag&&"bitstr"!==c.tag||(e=new l(e),e=this._getUse(c.contains,a._reporterState.obj)._decode(e,b))}c.obj&&d&&(e=a.leaveObject(k)); -null===c.key||null===e&&!0!==d?null!==f&&a.exitKey(f):a.leaveKey(f,c.key,e);return e};c.prototype._decodeGeneric=function(a,b,c){var e=this._baseState;return"seq"===a||"set"===a?null:"seqof"===a||"setof"===a?this._decodeList(b,a,e.args[0],c):/str$/.test(a)?this._decodeStr(b,a,c):"objid"===a&&e.args?this._decodeObjid(b,e.args[0],e.args[1],c):"objid"===a?this._decodeObjid(b,null,null,c):"gentime"===a||"utctime"===a?this._decodeTime(b,a,c):"null_"===a?this._decodeNull(b,c):"bool"===a?this._decodeBool(b, -c):"objDesc"===a?this._decodeStr(b,a,c):"int"===a||"enum"===a?this._decodeInt(b,e.args&&e.args[0],c):null!==e.use?this._getUse(e.use,b._reporterState.obj)._decode(b,c):b.error("unknown tag: "+a)};c.prototype._getUse=function(a,b){var c=this._baseState;c.useDecoder=this._use(a,b);h(null===c.useDecoder._baseState.parent);c.useDecoder=c.useDecoder._baseState.children[0];c.implicit!==c.useDecoder._baseState.implicit&&(c.useDecoder=c.useDecoder.clone(),c.useDecoder._baseState.implicit=c.implicit);return c.useDecoder}; -c.prototype._decodeChoice=function(a,b){var c=this._baseState,e=null,d=!1;Object.keys(c.choice).some(function(f){var g=a.save(),h=c.choice[f];try{var k=h._decode(a,b);if(a.isError(k))return!1;e={type:f,value:k};d=!0}catch(D){return a.restore(g),!1}return!0},this);return d?e:a.error("Choice not matched")};c.prototype._createEncoderBuffer=function(a){return new g(a,this.reporter)};c.prototype._encode=function(a,b,c){var e=this._baseState;if(null===e["default"]||e["default"]!==a)if(a=this._encodeValue(a, -b,c),void 0!==a&&!this._skipDefault(a,b,c))return a};c.prototype._encodeValue=function(a,b,c){var d=this._baseState;if(null===d.parent)return d.children[0]._encode(a,b||new e);var f=null;this.reporter=b;if(d.optional&&void 0===a)if(null!==d["default"])a=d["default"];else return;var g=null,h=!1;if(d.any)f=this._createEncoderBuffer(a);else if(d.choice)f=this._encodeChoice(a,b);else if(d.contains)g=this._getUse(d.contains,c)._encode(a,b),h=!0;else if(d.children)g=d.children.map(function(c){if("null_"=== -c._baseState.tag)return c._encode(null,b,a);if(null===c._baseState.key)return b.error("Child should have a key");var e=b.enterKey(c._baseState.key);if("object"!==typeof a)return b.error("Child expected, but input is not object");c=c._encode(a[c._baseState.key],b,a);b.leaveKey(e);return c},this).filter(function(a){return a}),g=this._createEncoderBuffer(g);else if("seqof"===d.tag||"setof"===d.tag){if(!d.args||1!==d.args.length)return b.error("Too many args for : "+d.tag);if(!Array.isArray(a))return b.error("seqof/setof, but data is not Array"); -g=this.clone();g._baseState.implicit=null;g=this._createEncoderBuffer(a.map(function(c){return this._getUse(this._baseState.args[0],a)._encode(c,b)},g))}else null!==d.use?f=this._getUse(d.use,c)._encode(a,b):(g=this._encodePrimitive(d.tag,a),h=!0);if(!d.any&&null===d.choice){c=null!==d.implicit?d.implicit:d.tag;var k=null===d.implicit?"universal":"context";null===c?null===d.use&&b.error("Tag could be ommited only for .use()"):null===d.use&&(f=this._encodeComposite(c,h,k,g))}null!==d.explicit&&(f= -this._encodeComposite(d.explicit,!1,"context",f));return f};c.prototype._encodeChoice=function(a,b){var c=this._baseState,e=c.choice[a.type];e||h(!1,a.type+" not found in "+JSON.stringify(Object.keys(c.choice)));return e._encode(a.value,b)};c.prototype._encodePrimitive=function(a,b){var c=this._baseState;if(/str$/.test(a))return this._encodeStr(b,a);if("objid"===a&&c.args)return this._encodeObjid(b,c.reverseArgs[0],c.args[1]);if("objid"===a)return this._encodeObjid(b,null,null);if("gentime"===a|| -"utctime"===a)return this._encodeTime(b,a);if("null_"===a)return this._encodeNull();if("int"===a||"enum"===a)return this._encodeInt(b,c.args&&c.reverseArgs[0]);if("bool"===a)return this._encodeBool(b);if("objDesc"===a)return this._encodeStr(b,a);throw Error("Unsupported tag: "+a);};c.prototype._isNumstr=function(a){return/^[0-9 ]*$/.test(a)};c.prototype._isPrintstr=function(a){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(a)}},{"../base":22,"minimalistic-assert":125}],24:[function(d,a,b){function c(a){this._reporterState= -{obj:null,path:[],options:a||{},errors:[]}}function e(a,b){this.path=a;this.rethrow(b)}d=d("inherits");b.Reporter=c;c.prototype.isError=function(a){return a instanceof e};c.prototype.save=function(){var a=this._reporterState;return{obj:a.obj,pathLen:a.path.length}};c.prototype.restore=function(a){var b=this._reporterState;b.obj=a.obj;b.path=b.path.slice(0,a.pathLen)};c.prototype.enterKey=function(a){return this._reporterState.path.push(a)};c.prototype.exitKey=function(a){var b=this._reporterState; -b.path=b.path.slice(0,a-1)};c.prototype.leaveKey=function(a,b,c){var e=this._reporterState;this.exitKey(a);null!==e.obj&&(e.obj[b]=c)};c.prototype.path=function(){return this._reporterState.path.join("/")};c.prototype.enterObject=function(){var a=this._reporterState,b=a.obj;a.obj={};return b};c.prototype.leaveObject=function(a){var b=this._reporterState,c=b.obj;b.obj=a;return c};c.prototype.error=function(a){var b=this._reporterState,c=a instanceof e;a=c?a:new e(b.path.map(function(a){return"["+JSON.stringify(a)+ -"]"}).join(""),a.message||a,a.stack);if(!b.options.partial)throw a;c||b.errors.push(a);return a};c.prototype.wrapResult=function(a){var b=this._reporterState;return b.options.partial?{result:this.isError(a)?null:a,errors:b.errors}:a};d(e,Error);e.prototype.rethrow=function(a){this.message=a+" at: "+(this.path||"(shallow)");Error.captureStackTrace&&Error.captureStackTrace(this,e);if(!this.stack)try{throw Error(this.message);}catch(l){this.stack=l.stack}return this}},{inherits:119}],25:[function(d, -a,b){arguments[4][11][0].apply(b,arguments)},{"../constants":26,dup:11}],26:[function(d,a,b){arguments[4][12][0].apply(b,arguments)},{"./der":25,dup:12}],27:[function(d,a,b){function c(a){this.enc="der";this.name=a.name;this.entity=a;this.tree=new e;this.tree._init(a.body)}function e(a){h.Node.call(this,"der",a)}function g(a,b){var c=a.readUInt8(b);if(a.isError(c))return c;var e=n.tagClass[c>>6],d=0===(c&32);if(31===(c&31))for(var f=c,c=0;128===(f&128);){f=a.readUInt8(b);if(a.isError(f))return f; -c<<=7;c|=f&127}else c&=31;return{cls:e,primitive:d,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var e=a.readUInt8(c);if(a.isError(e))return e;if(!b&&128===e)return null;if(0===(e&128))return e;b=e&127;if(4a?2E3+a:1900+a;else return a.error("Decoding "+b+" time is not supported yet");return Date.UTC(a,b-1,e,d,f,c,0)};e.prototype._decodeNull=function(a){return null};e.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};e.prototype._decodeInt=function(a,b){a=a.raw();a=new k(a);b&&(a=b[a.toString(10)]||a);return a};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":19,inherits:119}],28:[function(d,a, -b){b.der=d("./der");b.pem=d("./pem")},{"./der":27,"./pem":29}],29:[function(d,a,b){function c(a){g.call(this,a);this.enc="pem"}b=d("inherits");var e=d("buffer").Buffer,g=d("./der");b(c,g);a.exports=c;c.prototype.decode=function(a,b){a=a.toString().split(/[\r\n]+/g);for(var c=b.label.toUpperCase(),d=/^-----(BEGIN|END) ([^-]+)-----$/,f=-1,h=-1,l=0;la?"0"+a:a}b=d("inherits");var l=d("buffer").Buffer;d=d("../../asn1");var h=d.base,k=d.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a, -b).join()};b(e,h.Node);e.prototype._encodeComposite=function(a,b,c,e){a:{var d=a;a=this.reporter;"seqof"===d?d="seq":"setof"===d&&(d="set");if(k.tagByName.hasOwnProperty(d))d=k.tagByName[d];else if("number"!==typeof d||(d|0)!==d){a=a.error("Unknown tag: "+d);break a}31<=d?a=a.error("Multi-octet tag encoding unsupported"):(b||(d|=32),a=d|=k.tagClassByName[c||"universal"]<<6)}if(128>e.length)return b=new l(2),b[0]=a,b[1]=e.length,this._createEncoderBuffer([b,e]);d=1;for(c=e.length;256<=c;c>>=8)d++; -b=new l(2+d);b[0]=a;b[1]=128|d;c=1+d;for(a=e.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,e])};e.prototype._encodeStr=function(a,b){if("bitstr"===b)return this._createEncoderBuffer([a.unused|0,a.data]);if("bmpstr"===b){b=new l(2*a.length);for(var c=0;c>6],f=0===(c&32);if(31===(c&31))for(var e=c,c=0;128===(e&128);){e=a.readUInt8(b);if(a.isError(e))return e; +c<<=7;c|=e&127}else c&=31;return{cls:d,primitive:f,tag:c,tagStr:n.tag[c]}}function l(a,b,c){var d=a.readUInt8(c);if(a.isError(d))return d;if(!b&&128===d)return null;if(0===(d&128))return d;b=d&127;if(4a?2E3+a:1900+a;else return a.error("Decoding "+b+" time is not supported yet");return Date.UTC(a,b-1,d,f,e,c,0)};d.prototype._decodeNull=function(a){return null};d.prototype._decodeBool=function(a){var b=a.readUInt8();return a.isError(b)?b:0!==b};d.prototype._decodeInt=function(a,b){a=a.raw();a=new k(a);b&&(a=b[a.toString(10)]||a);return a};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getDecoder("der").tree}},{"../../asn1":19,inherits:119}],28:[function(e,a, +b){b.der=e("./der");b.pem=e("./pem")},{"./der":27,"./pem":29}],29:[function(e,a,b){function c(a){f.call(this,a);this.enc="pem"}b=e("inherits");var d=e("buffer").Buffer,f=e("./der");b(c,f);a.exports=c;c.prototype.decode=function(a,b){a=a.toString().split(/[\r\n]+/g);for(var c=b.label.toUpperCase(),e=/^-----(BEGIN|END) ([^-]+)-----$/,h=-1,g=-1,l=0;la?"0"+a:a}b=e("inherits");var l=e("buffer").Buffer;e=e("../../asn1");var g=e.base,k=e.constants.der;a.exports=c;c.prototype.encode=function(a,b){return this.tree._encode(a, +b).join()};b(d,g.Node);d.prototype._encodeComposite=function(a,b,c,d){a:{var f=a;a=this.reporter;"seqof"===f?f="seq":"setof"===f&&(f="set");if(k.tagByName.hasOwnProperty(f))f=k.tagByName[f];else if("number"!==typeof f||(f|0)!==f){a=a.error("Unknown tag: "+f);break a}31<=f?a=a.error("Multi-octet tag encoding unsupported"):(b||(f|=32),a=f|=k.tagClassByName[c||"universal"]<<6)}if(128>d.length)return b=new l(2),b[0]=a,b[1]=d.length,this._createEncoderBuffer([b,d]);f=1;for(c=d.length;256<=c;c>>=8)f++; +b=new l(2+f);b[0]=a;b[1]=128|f;c=1+f;for(a=d.length;0>=8)b[c]=a&255;return this._createEncoderBuffer([b,d])};d.prototype._encodeStr=function(a,b){if("bitstr"===b)return this._createEncoderBuffer([a.unused|0,a.data]);if("bmpstr"===b){b=new l(2*a.length);for(var c=0;c>=7)e++;var e=new l(e),d=e.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],e[d--]=c&127;0<(c>>=7);)e[d--]=128|c&127;return this._createEncoderBuffer(e)};e.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[g(a.getFullYear()),g(a.getUTCMonth()+1),g(a.getUTCDate()),g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[g(a.getFullYear()%100),g(a.getUTCMonth()+1),g(a.getUTCDate()), -g(a.getUTCHours()),g(a.getUTCMinutes()),g(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};e.prototype._encodeNull=function(){return this._createEncoderBuffer("")};e.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}"number"=== -typeof a||l.isBuffer(a)||(b=a.toArray(),!a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};e.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? -255:0)};e.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};e.prototype._skipDefault=function(a,b,c){var e=this._baseState;if(null===e["default"])return!1;a=a.join();void 0===e.defaultBuffer&&(e.defaultBuffer=this._encodeValue(e["default"],b,c).join());if(a.length!==e.defaultBuffer.length)return!1;for(b=0;b>18&63]+g[b>>12&63]+g[b>>6&63]+g[b&63]);return e.join("")}b.byteLength=function(a){return 3*a.length/4-c(a)};b.toByteArray=function(a){var b,e,d,g,k;b=a.length;g=c(a);k=new h(3*b/4-g);e=0>16&255,k[r++]=d>>8&255,k[r++]=d&255;2===g?(d= -l[a.charCodeAt(b)]<<2|l[a.charCodeAt(b+1)]>>4,k[r++]=d&255):1===g&&(d=l[a.charCodeAt(b)]<<10|l[a.charCodeAt(b+1)]<<4|l[a.charCodeAt(b+2)]>>2,k[r++]=d>>8&255,k[r++]=d&255);return k};b.fromByteArray=function(a){for(var b=a.length,c=b%3,d="",h=[],k=0,l=b-c;kl?l:k+16383));1===c?(a=a[b-1],d+=g[a>>2],d+=g[a<<4&63],d+="\x3d\x3d"):2===c&&(a=(a[b-2]<<8)+a[b-1],d+=g[a>>10],d+=g[a>>4&63],d+=g[a<<2&63],d+="\x3d");h.push(d);return h.join("")};var g=[],l=[],h="undefined"!==typeof Uint8Array? -Uint8Array:Array;for(d=0;64>d;++d)g[d]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[d],l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(d)]=d;l[45]=62;l[95]=63},{}],34:[function(d,a,b){(function(a,b){function c(a,b){if(!a)throw Error(b||"Assertion failed");}function e(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a}function h(a,b,c){if(h.isBN(a))return a;this.negative=0;this.words=null;this.length= -0;this.red=null;if(null!==a){if("le"===b||"be"===b)c=b,b=10;this._init(a||0,b||10,c||"be")}}function k(a,b,c){var e=0;for(c=Math.min(a.length,c);b=d?e|d-49+10:17<=d&&22>=d?e|d-17+10:e|d&15;return e}function n(a,b,c,e){var d=0;for(c=Math.min(a.length,c);b>>26,l=g&67108863,g=Math.min(h,b.length-1),m=Math.max(0,h-a.length+1);m<=g;m++)d=a.words[h-m|0]|0,f=b.words[m]|0,d=d*f+l,k+=d/67108864|0,l=d&67108863;c.words[h]=l|0;g=k|0}0!==g?c.words[h]=g|0:c.length--;return c.strip()}function m(a,b){this.x=a;this.y=b}function p(a,b){this.name=a;this.p=new h(b,16);this.n=this.p.bitLength();this.k=(new h(1)).iushln(this.n).isub(this.p);this.tmp=this._tmp()}function t(){p.call(this, -"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function r(){p.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){p.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){p.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function q(a){"string"===typeof a?(a=h._prime(a),this.m=a.p,this.prime=a):(c(a.gtn(1),"modulus must be greater than 1"),this.m=a, -this.prime=null)}function A(a){q.call(this,a);this.shift=this.m.bitLength();0!==this.shift%26&&(this.shift+=26-this.shift%26);this.r=(new h(1)).iushln(this.shift);this.r2=this.imod(this.r.sqr());this.rinv=this.r._invmp(this.m);this.minv=this.rinv.mul(this.r).isubn(1).div(this.m);this.minv=this.minv.umod(this.r);this.minv=this.r.sub(this.minv)}"object"===typeof a?a.exports=h:b.BN=h;h.BN=h;h.wordSize=26;var D;try{D=d("buffer").Buffer}catch(B){}h.isBN=function(a){return a instanceof h?!0:null!==a&&"object"=== -typeof a&&a.constructor.wordSize===h.wordSize&&Array.isArray(a.words)};h.max=function(a,b){return 0a.cmp(b)?a:b};h.prototype._init=function(a,b,e){if("number"===typeof a)return this._initNumber(a,b,e);if("object"===typeof a)return this._initArray(a,b,e);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");var d=0;"-"===a[0]&&d++;16===b?this._parseHex(a,d):this._parseBase(a,b,d);"-"===a[0]&&(this.negative=1);this.strip();"le"===e&& -this._initArray(this.toArray(),b,e)};h.prototype._initNumber=function(a,b,e){0>a&&(this.negative=1,a=-a);67108864>a?(this.words=[a&67108863],this.length=1):4503599627370496>a?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[a&67108863,a/67108864&67108863,1],this.length=3);"le"===e&&this._initArray(this.toArray(),b,e)};h.prototype._initArray=function(a,b,e){c("number"===typeof a.length);if(0>=a.length)return this.words=[0],this.length=1,this;this.length= -Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);else if("le"===e)for(e=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,e++);return this.strip()};h.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length- -b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6)d=k(a,c,c+6),this.words[e]|=d<>>26-f&4194303,f+=24,26<=f&&(f-=26,e++);c+6!==b&&(d=k(a,b,c+6),this.words[e]|=d<>>26-f&4194303);this.strip()};h.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var e=0,d=1;67108863>=d;d*=b)e++;e--;for(var d=d/b|0,f=a.length-c,g=f%e,f=Math.min(f,f-g)+c,h=c;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==g){e=1;c=n(a,h,a.length,b);for(h=0;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};h.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215;e=0!==d||f!==this.length-1?y[6-h.length]+h+e:h+e;a+=2;26<=a&&(a-=26,f--)}for(0!==d&&(e=d.toString(16)+e);0!==e.length%b;)e="0"+e;0!==this.negative&&(e="-"+e);return e}if(a===(a|0)&&2<=a&&36>=a){d=w[a];f=x[a];e="";g=this.clone();for(g.negative=0;!g.isZero();)h=g.modn(f).toString(a),g=g.idivn(f),e=g.isZero()?h+e:y[d-h.length]+h+e;for(this.isZero()&&(e="0"+e);0!==e.length%b;)e="0"+e;0!==this.negative&&(e="-"+e);return e}c(!1,"Base should be between 2 and 36")}; -h.prototype.toNumber=function(){var a=this.words[0];2===this.length?a+=67108864*this.words[1]:3===this.length&&1===this.words[2]?a+=4503599627370496+67108864*this.words[1]:2>>= -13);64<=a&&(b+=7,a>>>=7);8<=a&&(b+=4,a>>>=4);2<=a&&(b+=2,a>>>=2);return b+a};h.prototype._zeroBits=function(a){if(0===a)return 26;var b=0;0===(a&8191)&&(b+=13,a>>>=13);0===(a&127)&&(b+=7,a>>>=7);0===(a&15)&&(b+=4,a>>>=4);0===(a&3)&&(b+=2,a>>>=2);0===(a&1)&&b++;return b};h.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)};h.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)};h.prototype.iuand=function(a){var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};h.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)};h.prototype.iuxor=function(a){var b;this.length>a.length?b=this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};h.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)};h.prototype.inotn=function(a){c("number"===typeof a&&0<=a);var b=Math.ceil(a/26)|0;a%=26;this._expand(b);0>26-a);return this.strip()};h.prototype.notn=function(a){return this.clone().inotn(a)};h.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var e=a/26|0;a%=26;this._expand(e+1);this.words[e]=b?this.words[e]|1<a.length?c=this:(c=a,a=this);for(var e=b=0;e>>=26;for(;0!==b&&e>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;ea.length?this.clone().iadd(a):a.clone().iadd(this)};h.prototype.isub=function(a){if(0!==a.negative){a.negative=0;var b=this.iadd(a);a.negative=1;return b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();b=this.cmp(a);if(0===b)return this.negative=0,this.length=1,this.words[0]=0,this;var c;0>26,this.words[d]=b&67108863;for(;0!==e&&d>26,this.words[d]=b&67108863;if(0===e&&d>>13,n=e[1]|0,k=n&8191,t=n>>>13, -r=e[2]|0,n=r&8191,p=r>>>13,v=e[3]|0,r=v&8191,q=v>>>13,B=e[4]|0,v=B&8191,C=B>>>13,A=e[5]|0,B=A&8191,D=A>>>13,w=e[6]|0,A=w&8191,y=w>>>13,G=e[7]|0,w=G&8191,z=G>>>13,x=e[8]|0,G=x&8191,x=x>>>13,E=e[9]|0,e=E&8191,E=E>>>13,F=d[0]|0,fa=F&8191,ga=F>>>13,V=d[1]|0,F=V&8191,ha=V>>>13,W=d[2]|0,V=W&8191,ia=W>>>13,X=d[3]|0,W=X&8191,ja=X>>>13,Y=d[4]|0,X=Y&8191,ka=Y>>>13,Z=d[5]|0,Y=Z&8191,la=Z>>>13,aa=d[6]|0,Z=aa&8191,ma=aa>>>13,ba=d[7]|0,aa=ba&8191,na=ba>>>13,ca=d[8]|0,ba=ca&8191,ca=ca>>>13,da=d[9]|0,d=da&8191,da= -da>>>13;c.negative=a.negative^b.negative;c.length=19;h=Math.imul(l,fa);a=Math.imul(l,ga);a=a+Math.imul(m,fa)|0;b=Math.imul(m,ga);var ra=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ra>>>26)|0,ra=ra&67108863;h=Math.imul(k,fa);a=Math.imul(k,ga);a=a+Math.imul(t,fa)|0;b=Math.imul(t,ga);h=h+Math.imul(l,F)|0;a=a+Math.imul(l,ha)|0;a=a+Math.imul(m,F)|0;b=b+Math.imul(m,ha)|0;var sa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(sa>>>26)|0,sa=sa&67108863;h=Math.imul(n,fa);a=Math.imul(n,ga);a=a+Math.imul(p,fa)|0; -b=Math.imul(p,ga);h=h+Math.imul(k,F)|0;a=a+Math.imul(k,ha)|0;a=a+Math.imul(t,F)|0;b=b+Math.imul(t,ha)|0;h=h+Math.imul(l,V)|0;a=a+Math.imul(l,ia)|0;a=a+Math.imul(m,V)|0;b=b+Math.imul(m,ia)|0;var ta=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ta>>>26)|0,ta=ta&67108863;h=Math.imul(r,fa);a=Math.imul(r,ga);a=a+Math.imul(q,fa)|0;b=Math.imul(q,ga);h=h+Math.imul(n,F)|0;a=a+Math.imul(n,ha)|0;a=a+Math.imul(p,F)|0;b=b+Math.imul(p,ha)|0;h=h+Math.imul(k,V)|0;a=a+Math.imul(k,ia)|0;a=a+Math.imul(t,V)|0;b=b+Math.imul(t, -ia)|0;h=h+Math.imul(l,W)|0;a=a+Math.imul(l,ja)|0;a=a+Math.imul(m,W)|0;b=b+Math.imul(m,ja)|0;var ua=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ua>>>26)|0,ua=ua&67108863;h=Math.imul(v,fa);a=Math.imul(v,ga);a=a+Math.imul(C,fa)|0;b=Math.imul(C,ga);h=h+Math.imul(r,F)|0;a=a+Math.imul(r,ha)|0;a=a+Math.imul(q,F)|0;b=b+Math.imul(q,ha)|0;h=h+Math.imul(n,V)|0;a=a+Math.imul(n,ia)|0;a=a+Math.imul(p,V)|0;b=b+Math.imul(p,ia)|0;h=h+Math.imul(k,W)|0;a=a+Math.imul(k,ja)|0;a=a+Math.imul(t,W)|0;b=b+Math.imul(t,ja)|0; -h=h+Math.imul(l,X)|0;a=a+Math.imul(l,ka)|0;a=a+Math.imul(m,X)|0;b=b+Math.imul(m,ka)|0;var va=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(va>>>26)|0,va=va&67108863;h=Math.imul(B,fa);a=Math.imul(B,ga);a=a+Math.imul(D,fa)|0;b=Math.imul(D,ga);h=h+Math.imul(v,F)|0;a=a+Math.imul(v,ha)|0;a=a+Math.imul(C,F)|0;b=b+Math.imul(C,ha)|0;h=h+Math.imul(r,V)|0;a=a+Math.imul(r,ia)|0;a=a+Math.imul(q,V)|0;b=b+Math.imul(q,ia)|0;h=h+Math.imul(n,W)|0;a=a+Math.imul(n,ja)|0;a=a+Math.imul(p,W)|0;b=b+Math.imul(p,ja)|0;h=h+Math.imul(k, -X)|0;a=a+Math.imul(k,ka)|0;a=a+Math.imul(t,X)|0;b=b+Math.imul(t,ka)|0;h=h+Math.imul(l,Y)|0;a=a+Math.imul(l,la)|0;a=a+Math.imul(m,Y)|0;b=b+Math.imul(m,la)|0;var wa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(wa>>>26)|0,wa=wa&67108863;h=Math.imul(A,fa);a=Math.imul(A,ga);a=a+Math.imul(y,fa)|0;b=Math.imul(y,ga);h=h+Math.imul(B,F)|0;a=a+Math.imul(B,ha)|0;a=a+Math.imul(D,F)|0;b=b+Math.imul(D,ha)|0;h=h+Math.imul(v,V)|0;a=a+Math.imul(v,ia)|0;a=a+Math.imul(C,V)|0;b=b+Math.imul(C,ia)|0;h=h+Math.imul(r,W)|0; -a=a+Math.imul(r,ja)|0;a=a+Math.imul(q,W)|0;b=b+Math.imul(q,ja)|0;h=h+Math.imul(n,X)|0;a=a+Math.imul(n,ka)|0;a=a+Math.imul(p,X)|0;b=b+Math.imul(p,ka)|0;h=h+Math.imul(k,Y)|0;a=a+Math.imul(k,la)|0;a=a+Math.imul(t,Y)|0;b=b+Math.imul(t,la)|0;h=h+Math.imul(l,Z)|0;a=a+Math.imul(l,ma)|0;a=a+Math.imul(m,Z)|0;b=b+Math.imul(m,ma)|0;var xa=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(xa>>>26)|0,xa=xa&67108863;h=Math.imul(w,fa);a=Math.imul(w,ga);a=a+Math.imul(z,fa)|0;b=Math.imul(z,ga);h=h+Math.imul(A,F)|0;a=a+Math.imul(A, -ha)|0;a=a+Math.imul(y,F)|0;b=b+Math.imul(y,ha)|0;h=h+Math.imul(B,V)|0;a=a+Math.imul(B,ia)|0;a=a+Math.imul(D,V)|0;b=b+Math.imul(D,ia)|0;h=h+Math.imul(v,W)|0;a=a+Math.imul(v,ja)|0;a=a+Math.imul(C,W)|0;b=b+Math.imul(C,ja)|0;h=h+Math.imul(r,X)|0;a=a+Math.imul(r,ka)|0;a=a+Math.imul(q,X)|0;b=b+Math.imul(q,ka)|0;h=h+Math.imul(n,Y)|0;a=a+Math.imul(n,la)|0;a=a+Math.imul(p,Y)|0;b=b+Math.imul(p,la)|0;h=h+Math.imul(k,Z)|0;a=a+Math.imul(k,ma)|0;a=a+Math.imul(t,Z)|0;b=b+Math.imul(t,ma)|0;h=h+Math.imul(l,aa)|0; -a=a+Math.imul(l,na)|0;a=a+Math.imul(m,aa)|0;b=b+Math.imul(m,na)|0;var ya=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(ya>>>26)|0,ya=ya&67108863;h=Math.imul(G,fa);a=Math.imul(G,ga);a=a+Math.imul(x,fa)|0;b=Math.imul(x,ga);h=h+Math.imul(w,F)|0;a=a+Math.imul(w,ha)|0;a=a+Math.imul(z,F)|0;b=b+Math.imul(z,ha)|0;h=h+Math.imul(A,V)|0;a=a+Math.imul(A,ia)|0;a=a+Math.imul(y,V)|0;b=b+Math.imul(y,ia)|0;h=h+Math.imul(B,W)|0;a=a+Math.imul(B,ja)|0;a=a+Math.imul(D,W)|0;b=b+Math.imul(D,ja)|0;h=h+Math.imul(v,X)|0;a=a+ -Math.imul(v,ka)|0;a=a+Math.imul(C,X)|0;b=b+Math.imul(C,ka)|0;h=h+Math.imul(r,Y)|0;a=a+Math.imul(r,la)|0;a=a+Math.imul(q,Y)|0;b=b+Math.imul(q,la)|0;h=h+Math.imul(n,Z)|0;a=a+Math.imul(n,ma)|0;a=a+Math.imul(p,Z)|0;b=b+Math.imul(p,ma)|0;h=h+Math.imul(k,aa)|0;a=a+Math.imul(k,na)|0;a=a+Math.imul(t,aa)|0;b=b+Math.imul(t,na)|0;h=h+Math.imul(l,ba)|0;a=a+Math.imul(l,ca)|0;a=a+Math.imul(m,ba)|0;b=b+Math.imul(m,ca)|0;var za=(g+h|0)+((a&8191)<<13)|0,g=(b+(a>>>13)|0)+(za>>>26)|0,za=za&67108863;h=Math.imul(e,fa); -a=Math.imul(e,ga);a=a+Math.imul(E,fa)|0;b=Math.imul(E,ga);h=h+Math.imul(G,F)|0;a=a+Math.imul(G,ha)|0;a=a+Math.imul(x,F)|0;b=b+Math.imul(x,ha)|0;h=h+Math.imul(w,V)|0;a=a+Math.imul(w,ia)|0;a=a+Math.imul(z,V)|0;b=b+Math.imul(z,ia)|0;h=h+Math.imul(A,W)|0;a=a+Math.imul(A,ja)|0;a=a+Math.imul(y,W)|0;b=b+Math.imul(y,ja)|0;h=h+Math.imul(B,X)|0;a=a+Math.imul(B,ka)|0;a=a+Math.imul(D,X)|0;b=b+Math.imul(D,ka)|0;h=h+Math.imul(v,Y)|0;a=a+Math.imul(v,la)|0;a=a+Math.imul(C,Y)|0;b=b+Math.imul(C,la)|0;h=h+Math.imul(r, -Z)|0;a=a+Math.imul(r,ma)|0;a=a+Math.imul(q,Z)|0;b=b+Math.imul(q,ma)|0;h=h+Math.imul(n,aa)|0;a=a+Math.imul(n,na)|0;a=a+Math.imul(p,aa)|0;b=b+Math.imul(p,na)|0;h=h+Math.imul(k,ba)|0;a=a+Math.imul(k,ca)|0;a=a+Math.imul(t,ba)|0;b=b+Math.imul(t,ca)|0;h=h+Math.imul(l,d)|0;a=a+Math.imul(l,da)|0;a=a+Math.imul(m,d)|0;b=b+Math.imul(m,da)|0;l=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(l>>>26)|0;l&=67108863;h=Math.imul(e,F);a=Math.imul(e,ha);a=a+Math.imul(E,F)|0;b=Math.imul(E,ha);h=h+Math.imul(G,V)|0;a=a+Math.imul(G, -ia)|0;a=a+Math.imul(x,V)|0;b=b+Math.imul(x,ia)|0;h=h+Math.imul(w,W)|0;a=a+Math.imul(w,ja)|0;a=a+Math.imul(z,W)|0;b=b+Math.imul(z,ja)|0;h=h+Math.imul(A,X)|0;a=a+Math.imul(A,ka)|0;a=a+Math.imul(y,X)|0;b=b+Math.imul(y,ka)|0;h=h+Math.imul(B,Y)|0;a=a+Math.imul(B,la)|0;a=a+Math.imul(D,Y)|0;b=b+Math.imul(D,la)|0;h=h+Math.imul(v,Z)|0;a=a+Math.imul(v,ma)|0;a=a+Math.imul(C,Z)|0;b=b+Math.imul(C,ma)|0;h=h+Math.imul(r,aa)|0;a=a+Math.imul(r,na)|0;a=a+Math.imul(q,aa)|0;b=b+Math.imul(q,na)|0;h=h+Math.imul(n,ba)| -0;a=a+Math.imul(n,ca)|0;a=a+Math.imul(p,ba)|0;b=b+Math.imul(p,ca)|0;h=h+Math.imul(k,d)|0;a=a+Math.imul(k,da)|0;a=a+Math.imul(t,d)|0;b=b+Math.imul(t,da)|0;k=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(k>>>26)|0;k&=67108863;h=Math.imul(e,V);a=Math.imul(e,ia);a=a+Math.imul(E,V)|0;b=Math.imul(E,ia);h=h+Math.imul(G,W)|0;a=a+Math.imul(G,ja)|0;a=a+Math.imul(x,W)|0;b=b+Math.imul(x,ja)|0;h=h+Math.imul(w,X)|0;a=a+Math.imul(w,ka)|0;a=a+Math.imul(z,X)|0;b=b+Math.imul(z,ka)|0;h=h+Math.imul(A,Y)|0;a=a+Math.imul(A, -la)|0;a=a+Math.imul(y,Y)|0;b=b+Math.imul(y,la)|0;h=h+Math.imul(B,Z)|0;a=a+Math.imul(B,ma)|0;a=a+Math.imul(D,Z)|0;b=b+Math.imul(D,ma)|0;h=h+Math.imul(v,aa)|0;a=a+Math.imul(v,na)|0;a=a+Math.imul(C,aa)|0;b=b+Math.imul(C,na)|0;h=h+Math.imul(r,ba)|0;a=a+Math.imul(r,ca)|0;a=a+Math.imul(q,ba)|0;b=b+Math.imul(q,ca)|0;h=h+Math.imul(n,d)|0;a=a+Math.imul(n,da)|0;a=a+Math.imul(p,d)|0;b=b+Math.imul(p,da)|0;n=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(n>>>26)|0;n&=67108863;h=Math.imul(e,W);a=Math.imul(e,ja);a= -a+Math.imul(E,W)|0;b=Math.imul(E,ja);h=h+Math.imul(G,X)|0;a=a+Math.imul(G,ka)|0;a=a+Math.imul(x,X)|0;b=b+Math.imul(x,ka)|0;h=h+Math.imul(w,Y)|0;a=a+Math.imul(w,la)|0;a=a+Math.imul(z,Y)|0;b=b+Math.imul(z,la)|0;h=h+Math.imul(A,Z)|0;a=a+Math.imul(A,ma)|0;a=a+Math.imul(y,Z)|0;b=b+Math.imul(y,ma)|0;h=h+Math.imul(B,aa)|0;a=a+Math.imul(B,na)|0;a=a+Math.imul(D,aa)|0;b=b+Math.imul(D,na)|0;h=h+Math.imul(v,ba)|0;a=a+Math.imul(v,ca)|0;a=a+Math.imul(C,ba)|0;b=b+Math.imul(C,ca)|0;h=h+Math.imul(r,d)|0;a=a+Math.imul(r, -da)|0;a=a+Math.imul(q,d)|0;b=b+Math.imul(q,da)|0;r=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(r>>>26)|0;r&=67108863;h=Math.imul(e,X);a=Math.imul(e,ka);a=a+Math.imul(E,X)|0;b=Math.imul(E,ka);h=h+Math.imul(G,Y)|0;a=a+Math.imul(G,la)|0;a=a+Math.imul(x,Y)|0;b=b+Math.imul(x,la)|0;h=h+Math.imul(w,Z)|0;a=a+Math.imul(w,ma)|0;a=a+Math.imul(z,Z)|0;b=b+Math.imul(z,ma)|0;h=h+Math.imul(A,aa)|0;a=a+Math.imul(A,na)|0;a=a+Math.imul(y,aa)|0;b=b+Math.imul(y,na)|0;h=h+Math.imul(B,ba)|0;a=a+Math.imul(B,ca)|0;a=a+Math.imul(D, -ba)|0;b=b+Math.imul(D,ca)|0;h=h+Math.imul(v,d)|0;a=a+Math.imul(v,da)|0;a=a+Math.imul(C,d)|0;b=b+Math.imul(C,da)|0;v=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(v>>>26)|0;v&=67108863;h=Math.imul(e,Y);a=Math.imul(e,la);a=a+Math.imul(E,Y)|0;b=Math.imul(E,la);h=h+Math.imul(G,Z)|0;a=a+Math.imul(G,ma)|0;a=a+Math.imul(x,Z)|0;b=b+Math.imul(x,ma)|0;h=h+Math.imul(w,aa)|0;a=a+Math.imul(w,na)|0;a=a+Math.imul(z,aa)|0;b=b+Math.imul(z,na)|0;h=h+Math.imul(A,ba)|0;a=a+Math.imul(A,ca)|0;a=a+Math.imul(y,ba)|0;b=b+Math.imul(y, -ca)|0;h=h+Math.imul(B,d)|0;a=a+Math.imul(B,da)|0;a=a+Math.imul(D,d)|0;b=b+Math.imul(D,da)|0;B=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(B>>>26)|0;B&=67108863;h=Math.imul(e,Z);a=Math.imul(e,ma);a=a+Math.imul(E,Z)|0;b=Math.imul(E,ma);h=h+Math.imul(G,aa)|0;a=a+Math.imul(G,na)|0;a=a+Math.imul(x,aa)|0;b=b+Math.imul(x,na)|0;h=h+Math.imul(w,ba)|0;a=a+Math.imul(w,ca)|0;a=a+Math.imul(z,ba)|0;b=b+Math.imul(z,ca)|0;h=h+Math.imul(A,d)|0;a=a+Math.imul(A,da)|0;a=a+Math.imul(y,d)|0;b=b+Math.imul(y,da)|0;A=(g+h| -0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(A>>>26)|0;A&=67108863;h=Math.imul(e,aa);a=Math.imul(e,na);a=a+Math.imul(E,aa)|0;b=Math.imul(E,na);h=h+Math.imul(G,ba)|0;a=a+Math.imul(G,ca)|0;a=a+Math.imul(x,ba)|0;b=b+Math.imul(x,ca)|0;h=h+Math.imul(w,d)|0;a=a+Math.imul(w,da)|0;a=a+Math.imul(z,d)|0;b=b+Math.imul(z,da)|0;w=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(w>>>26)|0;w&=67108863;h=Math.imul(e,ba);a=Math.imul(e,ca);a=a+Math.imul(E,ba)|0;b=Math.imul(E,ca);h=h+Math.imul(G,d)|0;a=a+Math.imul(G,da)|0;a=a+Math.imul(x, -d)|0;b=b+Math.imul(x,da)|0;G=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(G>>>26)|0;G&=67108863;h=Math.imul(e,d);a=Math.imul(e,da);a=a+Math.imul(E,d)|0;b=Math.imul(E,da);m=(g+h|0)+((a&8191)<<13)|0;g=(b+(a>>>13)|0)+(m>>>26)|0;f[0]=ra;f[1]=sa;f[2]=ta;f[3]=ua;f[4]=va;f[5]=wa;f[6]=xa;f[7]=ya;f[8]=za;f[9]=l;f[10]=k;f[11]=n;f[12]=r;f[13]=v;f[14]=B;f[15]=A;f[16]=w;f[17]=G;f[18]=m&67108863;0!==g&&(f[19]=g,c.length++);return c};Math.imul||(z=f);h.prototype.mulTo=function(a,b){var c=this.length+a.length;if(10=== -this.length&&10===a.length)a=z(this,a,b);else if(63>c)a=f(this,a,b);else if(1024>c){b.negative=a.negative^this.negative;b.length=this.length+a.length;for(var e=0,d=c=0;d>>26)|0,c=c+(h>>>26),h=h&67108863;b.words[d]=e;e=h}0!==e?b.words[d]=e:b.length--;a=b.strip()}else a=(new m).mulp(this,a, -b);return a};m.prototype.makeRBT=function(a){for(var b=Array(a),c=h.prototype._countBits(a)-1,e=0;e>=1;return c};m.prototype.permute=function(a,b,c,e,d,f){for(var h=0;h>>=1)c++;return 1<=c))for(var e=0;ec?0:c/67108864|0;return a};m.prototype.convert13b=function(a,b,e,d){for(var f=0,h=0;h>>=13,e[2*h+1]=f&8191,f>>>=13;for(h=2*b;ha);for(var b=0,e=0;e>26,b=b+(d/67108864|0),b=b+(f>>>26);this.words[e]=f&67108863}0!==b&&(this.words[e]=b,this.length++);return this};h.prototype.muln= -function(a){return this.clone().imuln(a)};h.prototype.sqr=function(){return this.mul(this)};h.prototype.isqr=function(){return this.imul(this.clone())};h.prototype.pow=function(a){for(var b=Array(a.bitLength()),c=0;c>>e}if(0===b.length)return new h(1);a=this;for(c=0;c>>26-b<<26-b,d;if(0!==b){var f=0;for(d=0;d>>26-b}f&&(this.words[d]=f,this.length++)}if(0!==a){for(d=this.length-1;0<=d;d--)this.words[d+a]=this.words[d];for(d=0;d>>d<f)for(this.length-=f,h=0;h=b);h--){var g=this.words[h]|0;this.words[h]=f<<26-d|g>>>d;f=g&a}e&&0!==f&&(e.words[e.length++]=f);0===this.length&&(this.words[0]=0,this.length=1);return this.strip()};h.prototype.ishrn= -function(a,b,e){c(0===this.negative);return this.iushrn(a,b,e)};h.prototype.shln=function(a){return this.clone().ishln(a)};h.prototype.ushln=function(a){return this.clone().iushln(a)};h.prototype.shrn=function(a){return this.clone().ishrn(a)};h.prototype.ushrn=function(a){return this.clone().iushrn(a)};h.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a?!1:!!(this.words[a]&1<>>b<a);if(0>a)return this.isubn(-a);if(0!==this.negative){if(1===this.length&&(this.words[0]|0)a);if(0>a)return this.iaddn(-a);if(0!==this.negative)return this.negative=0,this.iaddn(a),this.negative=1,this;this.words[0]-= -a;if(1===this.length&&0>this.words[0])this.words[0]=-this.words[0],this.negative=1;else for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};h.prototype.addn=function(a){return this.clone().iaddn(a)};h.prototype.subn=function(a){return this.clone().isubn(a)};h.prototype.iabs=function(){this.negative=0;return this};h.prototype.abs=function(){return this.clone().iabs()};h.prototype._ishlnsubmul=function(a,b,e){var d;this._expand(a.length+e);var f, -h=0;for(d=0;d>26)-(h/67108864|0),this.words[d+e]=f&67108863;for(;d>26,this.words[d+e]=f&67108863;if(0===h)return this.strip();c(-1===h);for(d=h=0;d>26,this.words[d]=f&67108863;this.negative=1;return this.strip()};h.prototype._wordDiv=function(a,b){var c=this.clone(),e=a,d=e.words[e.length-1]|0;a=26-this._countBits(d);0!==a&&(e=e.ushln(a), -c.iushln(a),d=e.words[e.length-1]|0);var f=c.length-e.length,g;if("mod"!==b){g=new h(null);g.length=f+1;g.words=Array(g.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new h(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new h(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new h(this.modn(a.words[0]))}:this._wordDiv(a,b)};h.prototype.div=function(a){return this.divmod(a,"div",!1).div};h.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod};h.prototype.umod=function(a){return this.divmod(a,"mod", -!0).mod};h.prototype.divRound=function(a){var b=this.divmod(a);if(b.mod.isZero())return b.div;var c=0!==b.div.negative?b.mod.isub(a):b.mod,e=a.ushrn(1);a=a.andln(1);c=c.cmp(e);return 0>c||1===a&&0===c?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)};h.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,e=0,d=this.length-1;0<=d;d--)e=(b*e+(this.words[d]|0))%a;return e};h.prototype.idivn=function(a){c(67108863>=a);for(var b=0,e=this.length-1;0<=e;e--)b=(this.words[e]|0)+67108864*b, -this.words[e]=b/a|0,b%=a;return this.strip()};h.prototype.divn=function(a){return this.clone().idivn(a)};h.prototype.egcd=function(a){c(0===a.negative);c(!a.isZero());var b=this,e=a.clone(),b=0!==b.negative?b.umod(a):b.clone();a=new h(1);for(var d=new h(0),f=new h(0),g=new h(1),k=0;b.isEven()&&e.isEven();)b.iushrn(1),e.iushrn(1),++k;for(var l=e.clone(),m=b.clone();!b.isZero();){for(var n=0,t=1;0===(b.words[0]&t)&&26>n;++n,t<<=1);if(0n;++n,t<<=1);if(0k;++k,l<<=1);if(0k;++k,l<<=1);if(0b.cmpn(0)&&b.iadd(a);return b};h.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var b=this.clone();a=a.clone();b.negative=0;for(var c=a.negative=0;b.isEven()&&a.isEven();c++)b.iushrn(1), -a.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;a.isEven();)a.iushrn(1);var e=b.cmp(a);if(0>e)e=b,b=a,a=e;else if(0===e||0===a.cmpn(1))break;b.isub(a)}while(1);return a.iushln(c)};h.prototype.invm=function(a){return this.egcd(a).a.umod(a)};h.prototype.isEven=function(){return 0===(this.words[0]&1)};h.prototype.isOdd=function(){return 1===(this.words[0]&1)};h.prototype.andln=function(a){return this.words[0]&a};h.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;b=1<>>26,e=e&67108863;this.words[a]=e}0!==b&&(this.words[a]=b,this.length++);return this};h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};h.prototype.cmpn=function(a){var b=0>a;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;this.strip();1=a,"Number is too big"),b=this.words[0]|0,a=b===a?0:ba.length)return 1;if(this.lengthd&&(b=1);break}}return b};h.prototype.gtn=function(a){return 1===this.cmpn(a)};h.prototype.gt=function(a){return 1===this.cmp(a)}; -h.prototype.gten=function(a){return 0<=this.cmpn(a)};h.prototype.gte=function(a){return 0<=this.cmp(a)};h.prototype.ltn=function(a){return-1===this.cmpn(a)};h.prototype.lt=function(a){return-1===this.cmp(a)};h.prototype.lten=function(a){return 0>=this.cmpn(a)};h.prototype.lte=function(a){return 0>=this.cmp(a)};h.prototype.eqn=function(a){return 0===this.cmpn(a)};h.prototype.eq=function(a){return 0===this.cmp(a)};h.red=function(a){return new q(a)};h.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context"); -c(0===this.negative,"red works only with positives");return a.convertTo(this)._forceRed(a)};h.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};h.prototype._forceRed=function(a){this.red=a;return this};h.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};h.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)}; -h.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};h.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers");return this.red.sub(this,a)};h.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};h.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};h.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers"); -this.red._verify2(this,a);return this.red.mul(this,a)};h.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this,a)};h.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};h.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};h.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers"); -this.red._verify1(this);return this.red.sqrt(this)};h.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};h.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};h.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var F={k256:null,p224:null,p192:null,p25519:null};p.prototype._tmp= -function(){var a=new h(null);a.words=Array(Math.ceil(this.n/13));return a};p.prototype.ireduce=function(a){var b;do this.split(a,this.tmp),a=this.imulK(a),a=a.iadd(this.tmp),b=a.bitLength();while(b>this.n);b=b=a.length)a.words[0]=0,a.length=1;else{c=a.words[9];b.words[b.length++]=c&4194303;for(e=10;e>>22,c=b;c>>>=22;a.words[e-10]=c;a.length=0===c&&10>>26;a.words[c]=e}0!==b&&(a.words[a.length++]=b);return a};h._prime=function(a){if(F[a])return F[a];var b;if("k256"===a)b=new t;else if("p224"===a)b=new r;else if("p192"===a)b=new v;else if("p25519"===a)b=new C;else throw Error("Unknown prime "+a);return F[a]=b};q.prototype._verify1=function(a){c(0===a.negative,"red works only with positives");c(a.red, +2,40*a[0]+a[1])}var d=0;for(b=0;b>=7)d++;var d=new l(d),f=d.length-1;for(b=a.length-1;0<=b;b--)for(c=a[b],d[f--]=c&127;0<(c>>=7);)d[f--]=128|c&127;return this._createEncoderBuffer(d)};d.prototype._encodeTime=function(a,b){var c;a=new Date(a);"gentime"===b?c=[f(a.getFullYear()),f(a.getUTCMonth()+1),f(a.getUTCDate()),f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):"utctime"===b?c=[f(a.getFullYear()%100),f(a.getUTCMonth()+1),f(a.getUTCDate()), +f(a.getUTCHours()),f(a.getUTCMinutes()),f(a.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+b+" time is not supported yet");return this._encodeStr(c,"octstr")};d.prototype._encodeNull=function(){return this._createEncoderBuffer("")};d.prototype._encodeInt=function(a,b){if("string"===typeof a){if(!b)return this.reporter.error("String int or enum given, but no values map");if(!b.hasOwnProperty(a))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(a));a=b[a]}"number"=== +typeof a||l.isBuffer(a)||(b=a.toArray(),!a.sign&&b[0]&128&&b.unshift(0),a=new l(b));if(l.isBuffer(a)){var c=a.length;0===a.length&&c++;c=new l(c);a.copy(c);0===a.length&&(c[0]=0);return this._createEncoderBuffer(c)}if(128>a)return this._createEncoderBuffer(a);if(256>a)return this._createEncoderBuffer([0,a]);c=1;for(b=a;256<=b;b>>=8)c++;c=Array(c);for(b=c.length-1;0<=b;b--)c[b]=a&255,a>>=8;c[0]&128&&c.unshift(0);return this._createEncoderBuffer(new l(c))};d.prototype._encodeBool=function(a){return this._createEncoderBuffer(a? +255:0)};d.prototype._use=function(a,b){"function"===typeof a&&(a=a(b));return a._getEncoder("der").tree};d.prototype._skipDefault=function(a,b,c){var d=this._baseState;if(null===d["default"])return!1;a=a.join();void 0===d.defaultBuffer&&(d.defaultBuffer=this._encodeValue(d["default"],b,c).join());if(a.length!==d.defaultBuffer.length)return!1;for(b=0;b>18&63]+f[b>>12&63]+f[b>>6&63]+f[b&63]);return d.join("")}b.byteLength=function(a){return 3*a.length/4-c(a)};b.toByteArray=function(a){var b,d,f,e,k;b=a.length;e=c(a);k=new g(3*b/4-e);d=0>16&255,k[r++]=f>>8&255,k[r++]=f&255;2===e?(f= +l[a.charCodeAt(b)]<<2|l[a.charCodeAt(b+1)]>>4,k[r++]=f&255):1===e&&(f=l[a.charCodeAt(b)]<<10|l[a.charCodeAt(b+1)]<<4|l[a.charCodeAt(b+2)]>>2,k[r++]=f>>8&255,k[r++]=f&255);return k};b.fromByteArray=function(a){for(var b=a.length,c=b%3,e="",g=[],k=0,l=b-c;kl?l:k+16383));1===c?(a=a[b-1],e+=f[a>>2],e+=f[a<<4&63],e+="\x3d\x3d"):2===c&&(a=(a[b-2]<<8)+a[b-1],e+=f[a>>10],e+=f[a>>4&63],e+=f[a<<2&63],e+="\x3d");g.push(e);return g.join("")};var f=[],l=[],g="undefined"!==typeof Uint8Array? +Uint8Array:Array;for(e=0;64>e;++e)f[e]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[e],l["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;l[45]=62;l[95]=63},{}],34:[function(e,a,b){(function(a,b){function c(a,b){if(!a)throw Error(b||"Assertion failed");}function d(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a}function g(a,b,c){if(g.isBN(a))return a;this.negative=0;this.words=null;this.length= +0;this.red=null;if(null!==a){if("le"===b||"be"===b)c=b,b=10;this._init(a||0,b||10,c||"be")}}function k(a,b,c){var d=0;for(c=Math.min(a.length,c);b=e?d|e-49+10:17<=e&&22>=e?d|e-17+10:d|e&15;return d}function n(a,b,c,d){var e=0;for(c=Math.min(a.length,c);b>>26,l=g&67108863,g=Math.min(h,b.length-1),m=Math.max(0,h-a.length+1);m<=g;m++)e=a.words[h-m|0]|0,f=b.words[m]|0,e=e*f+l,k+=e/67108864|0,l=e&67108863;c.words[h]=l|0;g=k|0}0!==g?c.words[h]=g|0:c.length--;return c.strip()}function m(a,b){this.x=a;this.y=b}function p(a,b){this.name=a;this.p=new g(b,16);this.n=this.p.bitLength();this.k=(new g(1)).iushln(this.n).isub(this.p);this.tmp=this._tmp()}function t(){p.call(this, +"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function r(){p.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function v(){p.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function C(){p.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function q(a){"string"===typeof a?(a=g._prime(a),this.m=a.p,this.prime=a):(c(a.gtn(1),"modulus must be greater than 1"),this.m=a, +this.prime=null)}function A(a){q.call(this,a);this.shift=this.m.bitLength();0!==this.shift%26&&(this.shift+=26-this.shift%26);this.r=(new g(1)).iushln(this.shift);this.r2=this.imod(this.r.sqr());this.rinv=this.r._invmp(this.m);this.minv=this.rinv.mul(this.r).isubn(1).div(this.m);this.minv=this.minv.umod(this.r);this.minv=this.r.sub(this.minv)}"object"===typeof a?a.exports=g:b.BN=g;g.BN=g;g.wordSize=26;var D;try{D=e("buffer").Buffer}catch(B){}g.isBN=function(a){return a instanceof g?!0:null!==a&&"object"=== +typeof a&&a.constructor.wordSize===g.wordSize&&Array.isArray(a.words)};g.max=function(a,b){return 0a.cmp(b)?a:b};g.prototype._init=function(a,b,d){if("number"===typeof a)return this._initNumber(a,b,d);if("object"===typeof a)return this._initArray(a,b,d);"hex"===b&&(b=16);c(b===(b|0)&&2<=b&&36>=b);a=a.toString().replace(/\s+/g,"");var e=0;"-"===a[0]&&e++;16===b?this._parseHex(a,e):this._parseBase(a,b,e);"-"===a[0]&&(this.negative=1);this.strip();"le"===d&& +this._initArray(this.toArray(),b,d)};g.prototype._initNumber=function(a,b,d){0>a&&(this.negative=1,a=-a);67108864>a?(this.words=[a&67108863],this.length=1):4503599627370496>a?(this.words=[a&67108863,a/67108864&67108863],this.length=2):(c(9007199254740992>a),this.words=[a&67108863,a/67108864&67108863,1],this.length=3);"le"===d&&this._initArray(this.toArray(),b,d)};g.prototype._initArray=function(a,b,d){c("number"===typeof a.length);if(0>=a.length)return this.words=[0],this.length=1,this;this.length= +Math.ceil(a.length/3);this.words=Array(this.length);for(b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,d++);else if("le"===d)for(d=b=0;b>>26-f&67108863,f+=24,26<=f&&(f-=26,d++);return this.strip()};g.prototype._parseHex=function(a,b){this.length=Math.ceil((a.length- +b)/6);this.words=Array(this.length);for(var c=0;c=b;c-=6)e=k(a,c,c+6),this.words[d]|=e<>>26-f&4194303,f+=24,26<=f&&(f-=26,d++);c+6!==b&&(e=k(a,b,c+6),this.words[d]|=e<>>26-f&4194303);this.strip()};g.prototype._parseBase=function(a,b,c){this.words=[0];this.length=1;for(var d=0,e=1;67108863>=e;e*=b)d++;d--;for(var e=e/b|0,f=a.length-c,g=f%d,f=Math.min(f,f-g)+c,h=c;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c);if(0!==g){d=1;c=n(a,h,a.length,b);for(h=0;hthis.words[0]+c?this.words[0]+=c:this._iaddn(c)}};g.prototype.copy=function(a){a.words=Array(this.length);for(var b=0;b>>24-a&16777215;d=0!==e||f!==this.length-1?y[6-g.length]+g+d:g+d;a+=2;26<=a&&(a-=26,f--)}for(0!==e&&(d=e.toString(16)+d);0!==d.length%b;)d="0"+d;0!==this.negative&&(d="-"+d);return d}if(a===(a|0)&&2<=a&&36>=a){e=w[a];f=x[a];d="";h=this.clone();for(h.negative=0;!h.isZero();)g=h.modn(f).toString(a),h=h.idivn(f),d=h.isZero()?g+d:y[e-g.length]+g+d;for(this.isZero()&&(d="0"+d);0!==d.length%b;)d="0"+d;0!==this.negative&&(d="-"+d);return d}c(!1,"Base should be between 2 and 36")}; +g.prototype.toNumber=function(){var a=this.words[0];2===this.length?a+=67108864*this.words[1]:3===this.length&&1===this.words[2]?a+=4503599627370496+67108864*this.words[1]:2>>= +13);64<=a&&(b+=7,a>>>=7);8<=a&&(b+=4,a>>>=4);2<=a&&(b+=2,a>>>=2);return b+a};g.prototype._zeroBits=function(a){if(0===a)return 26;var b=0;0===(a&8191)&&(b+=13,a>>>=13);0===(a&127)&&(b+=7,a>>>=7);0===(a&15)&&(b+=4,a>>>=4);0===(a&3)&&(b+=2,a>>>=2);0===(a&1)&&b++;return b};g.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a};g.prototype.zeroBits=function(){if(this.isZero())return 0;for(var a=0,b=0;ba.length?this.clone().ior(a):a.clone().ior(this)};g.prototype.uor=function(a){return this.length>a.length?this.clone().iuor(a):a.clone().iuor(this)};g.prototype.iuand=function(a){var b;b=this.length>a.length?a:this;for(var c=0;ca.length?this.clone().iand(a):a.clone().iand(this)};g.prototype.uand=function(a){return this.length>a.length?this.clone().iuand(a):a.clone().iuand(this)};g.prototype.iuxor=function(a){var b;this.length>a.length?b=this:(b=a,a=this);for(var c=0;ca.length?this.clone().ixor(a):a.clone().ixor(this)};g.prototype.uxor=function(a){return this.length>a.length?this.clone().iuxor(a):a.clone().iuxor(this)};g.prototype.inotn=function(a){c("number"===typeof a&&0<=a);var b=Math.ceil(a/26)|0;a%=26;this._expand(b);0>26-a);return this.strip()};g.prototype.notn=function(a){return this.clone().inotn(a)};g.prototype.setn=function(a,b){c("number"===typeof a&&0<=a);var d=a/26|0;a%=26;this._expand(d+1);this.words[d]=b?this.words[d]|1<a.length?c=this:(c=a,a=this);for(var d=b=0;d>>=26;for(;0!==b&&d>>=26;this.length=c.length;if(0!==b)this.words[this.length]=b,this.length++;else if(c!==this)for(;da.length?this.clone().iadd(a):a.clone().iadd(this)};g.prototype.isub=function(a){if(0!==a.negative){a.negative=0;var b=this.iadd(a);a.negative=1;return b._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(a),this.negative=1,this._normSign();b=this.cmp(a);if(0===b)return this.negative=0,this.length=1,this.words[0]=0,this;var c;0>26,this.words[e]=b&67108863;for(;0!==d&&e>26,this.words[e]=b&67108863;if(0===d&&e>>13,n=d[1]|0,k=n&8191,t=n>>>13, +r=d[2]|0,n=r&8191,p=r>>>13,v=d[3]|0,r=v&8191,q=v>>>13,B=d[4]|0,v=B&8191,C=B>>>13,A=d[5]|0,B=A&8191,D=A>>>13,w=d[6]|0,A=w&8191,y=w>>>13,G=d[7]|0,w=G&8191,z=G>>>13,x=d[8]|0,G=x&8191,x=x>>>13,E=d[9]|0,d=E&8191,E=E>>>13,F=e[0]|0,fa=F&8191,ga=F>>>13,V=e[1]|0,F=V&8191,ha=V>>>13,W=e[2]|0,V=W&8191,ia=W>>>13,X=e[3]|0,W=X&8191,ja=X>>>13,Y=e[4]|0,X=Y&8191,ka=Y>>>13,Z=e[5]|0,Y=Z&8191,la=Z>>>13,aa=e[6]|0,Z=aa&8191,ma=aa>>>13,ba=e[7]|0,aa=ba&8191,na=ba>>>13,ca=e[8]|0,ba=ca&8191,ca=ca>>>13,da=e[9]|0,e=da&8191,da= +da>>>13;c.negative=a.negative^b.negative;c.length=19;g=Math.imul(l,fa);a=Math.imul(l,ga);a=a+Math.imul(m,fa)|0;b=Math.imul(m,ga);var ra=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ra>>>26)|0,ra=ra&67108863;g=Math.imul(k,fa);a=Math.imul(k,ga);a=a+Math.imul(t,fa)|0;b=Math.imul(t,ga);g=g+Math.imul(l,F)|0;a=a+Math.imul(l,ha)|0;a=a+Math.imul(m,F)|0;b=b+Math.imul(m,ha)|0;var sa=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(sa>>>26)|0,sa=sa&67108863;g=Math.imul(n,fa);a=Math.imul(n,ga);a=a+Math.imul(p,fa)|0; +b=Math.imul(p,ga);g=g+Math.imul(k,F)|0;a=a+Math.imul(k,ha)|0;a=a+Math.imul(t,F)|0;b=b+Math.imul(t,ha)|0;g=g+Math.imul(l,V)|0;a=a+Math.imul(l,ia)|0;a=a+Math.imul(m,V)|0;b=b+Math.imul(m,ia)|0;var ta=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ta>>>26)|0,ta=ta&67108863;g=Math.imul(r,fa);a=Math.imul(r,ga);a=a+Math.imul(q,fa)|0;b=Math.imul(q,ga);g=g+Math.imul(n,F)|0;a=a+Math.imul(n,ha)|0;a=a+Math.imul(p,F)|0;b=b+Math.imul(p,ha)|0;g=g+Math.imul(k,V)|0;a=a+Math.imul(k,ia)|0;a=a+Math.imul(t,V)|0;b=b+Math.imul(t, +ia)|0;g=g+Math.imul(l,W)|0;a=a+Math.imul(l,ja)|0;a=a+Math.imul(m,W)|0;b=b+Math.imul(m,ja)|0;var ua=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ua>>>26)|0,ua=ua&67108863;g=Math.imul(v,fa);a=Math.imul(v,ga);a=a+Math.imul(C,fa)|0;b=Math.imul(C,ga);g=g+Math.imul(r,F)|0;a=a+Math.imul(r,ha)|0;a=a+Math.imul(q,F)|0;b=b+Math.imul(q,ha)|0;g=g+Math.imul(n,V)|0;a=a+Math.imul(n,ia)|0;a=a+Math.imul(p,V)|0;b=b+Math.imul(p,ia)|0;g=g+Math.imul(k,W)|0;a=a+Math.imul(k,ja)|0;a=a+Math.imul(t,W)|0;b=b+Math.imul(t,ja)|0; +g=g+Math.imul(l,X)|0;a=a+Math.imul(l,ka)|0;a=a+Math.imul(m,X)|0;b=b+Math.imul(m,ka)|0;var va=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(va>>>26)|0,va=va&67108863;g=Math.imul(B,fa);a=Math.imul(B,ga);a=a+Math.imul(D,fa)|0;b=Math.imul(D,ga);g=g+Math.imul(v,F)|0;a=a+Math.imul(v,ha)|0;a=a+Math.imul(C,F)|0;b=b+Math.imul(C,ha)|0;g=g+Math.imul(r,V)|0;a=a+Math.imul(r,ia)|0;a=a+Math.imul(q,V)|0;b=b+Math.imul(q,ia)|0;g=g+Math.imul(n,W)|0;a=a+Math.imul(n,ja)|0;a=a+Math.imul(p,W)|0;b=b+Math.imul(p,ja)|0;g=g+Math.imul(k, +X)|0;a=a+Math.imul(k,ka)|0;a=a+Math.imul(t,X)|0;b=b+Math.imul(t,ka)|0;g=g+Math.imul(l,Y)|0;a=a+Math.imul(l,la)|0;a=a+Math.imul(m,Y)|0;b=b+Math.imul(m,la)|0;var wa=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(wa>>>26)|0,wa=wa&67108863;g=Math.imul(A,fa);a=Math.imul(A,ga);a=a+Math.imul(y,fa)|0;b=Math.imul(y,ga);g=g+Math.imul(B,F)|0;a=a+Math.imul(B,ha)|0;a=a+Math.imul(D,F)|0;b=b+Math.imul(D,ha)|0;g=g+Math.imul(v,V)|0;a=a+Math.imul(v,ia)|0;a=a+Math.imul(C,V)|0;b=b+Math.imul(C,ia)|0;g=g+Math.imul(r,W)|0; +a=a+Math.imul(r,ja)|0;a=a+Math.imul(q,W)|0;b=b+Math.imul(q,ja)|0;g=g+Math.imul(n,X)|0;a=a+Math.imul(n,ka)|0;a=a+Math.imul(p,X)|0;b=b+Math.imul(p,ka)|0;g=g+Math.imul(k,Y)|0;a=a+Math.imul(k,la)|0;a=a+Math.imul(t,Y)|0;b=b+Math.imul(t,la)|0;g=g+Math.imul(l,Z)|0;a=a+Math.imul(l,ma)|0;a=a+Math.imul(m,Z)|0;b=b+Math.imul(m,ma)|0;var xa=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(xa>>>26)|0,xa=xa&67108863;g=Math.imul(w,fa);a=Math.imul(w,ga);a=a+Math.imul(z,fa)|0;b=Math.imul(z,ga);g=g+Math.imul(A,F)|0;a=a+Math.imul(A, +ha)|0;a=a+Math.imul(y,F)|0;b=b+Math.imul(y,ha)|0;g=g+Math.imul(B,V)|0;a=a+Math.imul(B,ia)|0;a=a+Math.imul(D,V)|0;b=b+Math.imul(D,ia)|0;g=g+Math.imul(v,W)|0;a=a+Math.imul(v,ja)|0;a=a+Math.imul(C,W)|0;b=b+Math.imul(C,ja)|0;g=g+Math.imul(r,X)|0;a=a+Math.imul(r,ka)|0;a=a+Math.imul(q,X)|0;b=b+Math.imul(q,ka)|0;g=g+Math.imul(n,Y)|0;a=a+Math.imul(n,la)|0;a=a+Math.imul(p,Y)|0;b=b+Math.imul(p,la)|0;g=g+Math.imul(k,Z)|0;a=a+Math.imul(k,ma)|0;a=a+Math.imul(t,Z)|0;b=b+Math.imul(t,ma)|0;g=g+Math.imul(l,aa)|0; +a=a+Math.imul(l,na)|0;a=a+Math.imul(m,aa)|0;b=b+Math.imul(m,na)|0;var ya=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(ya>>>26)|0,ya=ya&67108863;g=Math.imul(G,fa);a=Math.imul(G,ga);a=a+Math.imul(x,fa)|0;b=Math.imul(x,ga);g=g+Math.imul(w,F)|0;a=a+Math.imul(w,ha)|0;a=a+Math.imul(z,F)|0;b=b+Math.imul(z,ha)|0;g=g+Math.imul(A,V)|0;a=a+Math.imul(A,ia)|0;a=a+Math.imul(y,V)|0;b=b+Math.imul(y,ia)|0;g=g+Math.imul(B,W)|0;a=a+Math.imul(B,ja)|0;a=a+Math.imul(D,W)|0;b=b+Math.imul(D,ja)|0;g=g+Math.imul(v,X)|0;a=a+ +Math.imul(v,ka)|0;a=a+Math.imul(C,X)|0;b=b+Math.imul(C,ka)|0;g=g+Math.imul(r,Y)|0;a=a+Math.imul(r,la)|0;a=a+Math.imul(q,Y)|0;b=b+Math.imul(q,la)|0;g=g+Math.imul(n,Z)|0;a=a+Math.imul(n,ma)|0;a=a+Math.imul(p,Z)|0;b=b+Math.imul(p,ma)|0;g=g+Math.imul(k,aa)|0;a=a+Math.imul(k,na)|0;a=a+Math.imul(t,aa)|0;b=b+Math.imul(t,na)|0;g=g+Math.imul(l,ba)|0;a=a+Math.imul(l,ca)|0;a=a+Math.imul(m,ba)|0;b=b+Math.imul(m,ca)|0;var za=(h+g|0)+((a&8191)<<13)|0,h=(b+(a>>>13)|0)+(za>>>26)|0,za=za&67108863;g=Math.imul(d,fa); +a=Math.imul(d,ga);a=a+Math.imul(E,fa)|0;b=Math.imul(E,ga);g=g+Math.imul(G,F)|0;a=a+Math.imul(G,ha)|0;a=a+Math.imul(x,F)|0;b=b+Math.imul(x,ha)|0;g=g+Math.imul(w,V)|0;a=a+Math.imul(w,ia)|0;a=a+Math.imul(z,V)|0;b=b+Math.imul(z,ia)|0;g=g+Math.imul(A,W)|0;a=a+Math.imul(A,ja)|0;a=a+Math.imul(y,W)|0;b=b+Math.imul(y,ja)|0;g=g+Math.imul(B,X)|0;a=a+Math.imul(B,ka)|0;a=a+Math.imul(D,X)|0;b=b+Math.imul(D,ka)|0;g=g+Math.imul(v,Y)|0;a=a+Math.imul(v,la)|0;a=a+Math.imul(C,Y)|0;b=b+Math.imul(C,la)|0;g=g+Math.imul(r, +Z)|0;a=a+Math.imul(r,ma)|0;a=a+Math.imul(q,Z)|0;b=b+Math.imul(q,ma)|0;g=g+Math.imul(n,aa)|0;a=a+Math.imul(n,na)|0;a=a+Math.imul(p,aa)|0;b=b+Math.imul(p,na)|0;g=g+Math.imul(k,ba)|0;a=a+Math.imul(k,ca)|0;a=a+Math.imul(t,ba)|0;b=b+Math.imul(t,ca)|0;g=g+Math.imul(l,e)|0;a=a+Math.imul(l,da)|0;a=a+Math.imul(m,e)|0;b=b+Math.imul(m,da)|0;l=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(l>>>26)|0;l&=67108863;g=Math.imul(d,F);a=Math.imul(d,ha);a=a+Math.imul(E,F)|0;b=Math.imul(E,ha);g=g+Math.imul(G,V)|0;a=a+Math.imul(G, +ia)|0;a=a+Math.imul(x,V)|0;b=b+Math.imul(x,ia)|0;g=g+Math.imul(w,W)|0;a=a+Math.imul(w,ja)|0;a=a+Math.imul(z,W)|0;b=b+Math.imul(z,ja)|0;g=g+Math.imul(A,X)|0;a=a+Math.imul(A,ka)|0;a=a+Math.imul(y,X)|0;b=b+Math.imul(y,ka)|0;g=g+Math.imul(B,Y)|0;a=a+Math.imul(B,la)|0;a=a+Math.imul(D,Y)|0;b=b+Math.imul(D,la)|0;g=g+Math.imul(v,Z)|0;a=a+Math.imul(v,ma)|0;a=a+Math.imul(C,Z)|0;b=b+Math.imul(C,ma)|0;g=g+Math.imul(r,aa)|0;a=a+Math.imul(r,na)|0;a=a+Math.imul(q,aa)|0;b=b+Math.imul(q,na)|0;g=g+Math.imul(n,ba)| +0;a=a+Math.imul(n,ca)|0;a=a+Math.imul(p,ba)|0;b=b+Math.imul(p,ca)|0;g=g+Math.imul(k,e)|0;a=a+Math.imul(k,da)|0;a=a+Math.imul(t,e)|0;b=b+Math.imul(t,da)|0;k=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(k>>>26)|0;k&=67108863;g=Math.imul(d,V);a=Math.imul(d,ia);a=a+Math.imul(E,V)|0;b=Math.imul(E,ia);g=g+Math.imul(G,W)|0;a=a+Math.imul(G,ja)|0;a=a+Math.imul(x,W)|0;b=b+Math.imul(x,ja)|0;g=g+Math.imul(w,X)|0;a=a+Math.imul(w,ka)|0;a=a+Math.imul(z,X)|0;b=b+Math.imul(z,ka)|0;g=g+Math.imul(A,Y)|0;a=a+Math.imul(A, +la)|0;a=a+Math.imul(y,Y)|0;b=b+Math.imul(y,la)|0;g=g+Math.imul(B,Z)|0;a=a+Math.imul(B,ma)|0;a=a+Math.imul(D,Z)|0;b=b+Math.imul(D,ma)|0;g=g+Math.imul(v,aa)|0;a=a+Math.imul(v,na)|0;a=a+Math.imul(C,aa)|0;b=b+Math.imul(C,na)|0;g=g+Math.imul(r,ba)|0;a=a+Math.imul(r,ca)|0;a=a+Math.imul(q,ba)|0;b=b+Math.imul(q,ca)|0;g=g+Math.imul(n,e)|0;a=a+Math.imul(n,da)|0;a=a+Math.imul(p,e)|0;b=b+Math.imul(p,da)|0;n=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(n>>>26)|0;n&=67108863;g=Math.imul(d,W);a=Math.imul(d,ja);a= +a+Math.imul(E,W)|0;b=Math.imul(E,ja);g=g+Math.imul(G,X)|0;a=a+Math.imul(G,ka)|0;a=a+Math.imul(x,X)|0;b=b+Math.imul(x,ka)|0;g=g+Math.imul(w,Y)|0;a=a+Math.imul(w,la)|0;a=a+Math.imul(z,Y)|0;b=b+Math.imul(z,la)|0;g=g+Math.imul(A,Z)|0;a=a+Math.imul(A,ma)|0;a=a+Math.imul(y,Z)|0;b=b+Math.imul(y,ma)|0;g=g+Math.imul(B,aa)|0;a=a+Math.imul(B,na)|0;a=a+Math.imul(D,aa)|0;b=b+Math.imul(D,na)|0;g=g+Math.imul(v,ba)|0;a=a+Math.imul(v,ca)|0;a=a+Math.imul(C,ba)|0;b=b+Math.imul(C,ca)|0;g=g+Math.imul(r,e)|0;a=a+Math.imul(r, +da)|0;a=a+Math.imul(q,e)|0;b=b+Math.imul(q,da)|0;r=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(r>>>26)|0;r&=67108863;g=Math.imul(d,X);a=Math.imul(d,ka);a=a+Math.imul(E,X)|0;b=Math.imul(E,ka);g=g+Math.imul(G,Y)|0;a=a+Math.imul(G,la)|0;a=a+Math.imul(x,Y)|0;b=b+Math.imul(x,la)|0;g=g+Math.imul(w,Z)|0;a=a+Math.imul(w,ma)|0;a=a+Math.imul(z,Z)|0;b=b+Math.imul(z,ma)|0;g=g+Math.imul(A,aa)|0;a=a+Math.imul(A,na)|0;a=a+Math.imul(y,aa)|0;b=b+Math.imul(y,na)|0;g=g+Math.imul(B,ba)|0;a=a+Math.imul(B,ca)|0;a=a+Math.imul(D, +ba)|0;b=b+Math.imul(D,ca)|0;g=g+Math.imul(v,e)|0;a=a+Math.imul(v,da)|0;a=a+Math.imul(C,e)|0;b=b+Math.imul(C,da)|0;v=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(v>>>26)|0;v&=67108863;g=Math.imul(d,Y);a=Math.imul(d,la);a=a+Math.imul(E,Y)|0;b=Math.imul(E,la);g=g+Math.imul(G,Z)|0;a=a+Math.imul(G,ma)|0;a=a+Math.imul(x,Z)|0;b=b+Math.imul(x,ma)|0;g=g+Math.imul(w,aa)|0;a=a+Math.imul(w,na)|0;a=a+Math.imul(z,aa)|0;b=b+Math.imul(z,na)|0;g=g+Math.imul(A,ba)|0;a=a+Math.imul(A,ca)|0;a=a+Math.imul(y,ba)|0;b=b+Math.imul(y, +ca)|0;g=g+Math.imul(B,e)|0;a=a+Math.imul(B,da)|0;a=a+Math.imul(D,e)|0;b=b+Math.imul(D,da)|0;B=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(B>>>26)|0;B&=67108863;g=Math.imul(d,Z);a=Math.imul(d,ma);a=a+Math.imul(E,Z)|0;b=Math.imul(E,ma);g=g+Math.imul(G,aa)|0;a=a+Math.imul(G,na)|0;a=a+Math.imul(x,aa)|0;b=b+Math.imul(x,na)|0;g=g+Math.imul(w,ba)|0;a=a+Math.imul(w,ca)|0;a=a+Math.imul(z,ba)|0;b=b+Math.imul(z,ca)|0;g=g+Math.imul(A,e)|0;a=a+Math.imul(A,da)|0;a=a+Math.imul(y,e)|0;b=b+Math.imul(y,da)|0;A=(h+g| +0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(A>>>26)|0;A&=67108863;g=Math.imul(d,aa);a=Math.imul(d,na);a=a+Math.imul(E,aa)|0;b=Math.imul(E,na);g=g+Math.imul(G,ba)|0;a=a+Math.imul(G,ca)|0;a=a+Math.imul(x,ba)|0;b=b+Math.imul(x,ca)|0;g=g+Math.imul(w,e)|0;a=a+Math.imul(w,da)|0;a=a+Math.imul(z,e)|0;b=b+Math.imul(z,da)|0;w=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(w>>>26)|0;w&=67108863;g=Math.imul(d,ba);a=Math.imul(d,ca);a=a+Math.imul(E,ba)|0;b=Math.imul(E,ca);g=g+Math.imul(G,e)|0;a=a+Math.imul(G,da)|0;a=a+Math.imul(x, +e)|0;b=b+Math.imul(x,da)|0;G=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(G>>>26)|0;G&=67108863;g=Math.imul(d,e);a=Math.imul(d,da);a=a+Math.imul(E,e)|0;b=Math.imul(E,da);m=(h+g|0)+((a&8191)<<13)|0;h=(b+(a>>>13)|0)+(m>>>26)|0;f[0]=ra;f[1]=sa;f[2]=ta;f[3]=ua;f[4]=va;f[5]=wa;f[6]=xa;f[7]=ya;f[8]=za;f[9]=l;f[10]=k;f[11]=n;f[12]=r;f[13]=v;f[14]=B;f[15]=A;f[16]=w;f[17]=G;f[18]=m&67108863;0!==h&&(f[19]=h,c.length++);return c};Math.imul||(z=h);g.prototype.mulTo=function(a,b){var c=this.length+a.length;if(10=== +this.length&&10===a.length)a=z(this,a,b);else if(63>c)a=h(this,a,b);else if(1024>c){b.negative=a.negative^this.negative;b.length=this.length+a.length;for(var d=0,e=c=0;e>>26)|0,c=c+(f>>>26),f=f&67108863;b.words[e]=d;d=f}0!==d?b.words[e]=d:b.length--;a=b.strip()}else a=(new m).mulp(this,a, +b);return a};m.prototype.makeRBT=function(a){for(var b=Array(a),c=g.prototype._countBits(a)-1,d=0;d>=1;return c};m.prototype.permute=function(a,b,c,d,e,f){for(var g=0;g>>=1)c++;return 1<=c))for(var d=0;dc?0:c/67108864|0;return a};m.prototype.convert13b=function(a,b,d,e){for(var f=0,g=0;g>>=13,d[2*g+1]=f&8191,f>>>=13;for(g=2*b;ga);for(var b=0,d=0;d>26,b=b+(e/67108864|0),b=b+(f>>>26);this.words[d]=f&67108863}0!==b&&(this.words[d]=b,this.length++);return this};g.prototype.muln= +function(a){return this.clone().imuln(a)};g.prototype.sqr=function(){return this.mul(this)};g.prototype.isqr=function(){return this.imul(this.clone())};g.prototype.pow=function(a){for(var b=Array(a.bitLength()),c=0;c>>d}if(0===b.length)return new g(1);a=this;for(c=0;c>>26-b<<26-b,e;if(0!==b){var f=0;for(e=0;e>>26-b}f&&(this.words[e]=f,this.length++)}if(0!==a){for(e=this.length-1;0<=e;e--)this.words[e+a]=this.words[e];for(e=0;e>>e<f)for(this.length-=f,g=0;g=b);g--){var h=this.words[g]|0;this.words[g]=f<<26-e|h>>>e;f=h&a}d&&0!==f&&(d.words[d.length++]=f);0===this.length&&(this.words[0]=0,this.length=1);return this.strip()};g.prototype.ishrn= +function(a,b,d){c(0===this.negative);return this.iushrn(a,b,d)};g.prototype.shln=function(a){return this.clone().ishln(a)};g.prototype.ushln=function(a){return this.clone().iushln(a)};g.prototype.shrn=function(a){return this.clone().ishrn(a)};g.prototype.ushrn=function(a){return this.clone().iushrn(a)};g.prototype.testn=function(a){c("number"===typeof a&&0<=a);var b=a%26;a=(a-b)/26;return this.length<=a?!1:!!(this.words[a]&1<>>b<a);if(0>a)return this.isubn(-a);if(0!==this.negative){if(1===this.length&&(this.words[0]|0)a);if(0>a)return this.iaddn(-a);if(0!==this.negative)return this.negative=0,this.iaddn(a),this.negative=1,this;this.words[0]-= +a;if(1===this.length&&0>this.words[0])this.words[0]=-this.words[0],this.negative=1;else for(a=0;athis.words[a];a++)this.words[a]+=67108864,--this.words[a+1];return this.strip()};g.prototype.addn=function(a){return this.clone().iaddn(a)};g.prototype.subn=function(a){return this.clone().isubn(a)};g.prototype.iabs=function(){this.negative=0;return this};g.prototype.abs=function(){return this.clone().iabs()};g.prototype._ishlnsubmul=function(a,b,d){var e;this._expand(a.length+d);var f, +g=0;for(e=0;e>26)-(g/67108864|0),this.words[e+d]=f&67108863;for(;e>26,this.words[e+d]=f&67108863;if(0===g)return this.strip();c(-1===g);for(e=g=0;e>26,this.words[e]=f&67108863;this.negative=1;return this.strip()};g.prototype._wordDiv=function(a,b){var c=this.clone(),d=a,e=d.words[d.length-1]|0;a=26-this._countBits(e);0!==a&&(d=d.ushln(a), +c.iushln(a),e=d.words[d.length-1]|0);var f=c.length-d.length,h;if("mod"!==b){h=new g(null);h.length=f+1;h.words=Array(h.length);for(var k=0;kthis.length||0>this.cmp(a)?{div:new g(0),mod:this}:1===a.length?"div"===b?{div:this.divn(a.words[0]),mod:null}:"mod"===b?{div:null,mod:new g(this.modn(a.words[0]))}:{div:this.divn(a.words[0]),mod:new g(this.modn(a.words[0]))}:this._wordDiv(a,b)};g.prototype.div=function(a){return this.divmod(a,"div",!1).div};g.prototype.mod=function(a){return this.divmod(a,"mod",!1).mod};g.prototype.umod=function(a){return this.divmod(a,"mod", +!0).mod};g.prototype.divRound=function(a){var b=this.divmod(a);if(b.mod.isZero())return b.div;var c=0!==b.div.negative?b.mod.isub(a):b.mod,d=a.ushrn(1);a=a.andln(1);c=c.cmp(d);return 0>c||1===a&&0===c?b.div:0!==b.div.negative?b.div.isubn(1):b.div.iaddn(1)};g.prototype.modn=function(a){c(67108863>=a);for(var b=67108864%a,d=0,e=this.length-1;0<=e;e--)d=(b*d+(this.words[e]|0))%a;return d};g.prototype.idivn=function(a){c(67108863>=a);for(var b=0,d=this.length-1;0<=d;d--)b=(this.words[d]|0)+67108864*b, +this.words[d]=b/a|0,b%=a;return this.strip()};g.prototype.divn=function(a){return this.clone().idivn(a)};g.prototype.egcd=function(a){c(0===a.negative);c(!a.isZero());var b=this,d=a.clone(),b=0!==b.negative?b.umod(a):b.clone();a=new g(1);for(var e=new g(0),f=new g(0),h=new g(1),k=0;b.isEven()&&d.isEven();)b.iushrn(1),d.iushrn(1),++k;for(var l=d.clone(),m=b.clone();!b.isZero();){for(var n=0,t=1;0===(b.words[0]&t)&&26>n;++n,t<<=1);if(0n;++n,t<<=1);if(0k;++k,l<<=1);if(0k;++k,l<<=1);if(0b.cmpn(0)&&b.iadd(a);return b};g.prototype.gcd=function(a){if(this.isZero())return a.abs();if(a.isZero())return this.abs();var b=this.clone();a=a.clone();b.negative=0;for(var c=a.negative=0;b.isEven()&&a.isEven();c++)b.iushrn(1), +a.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;a.isEven();)a.iushrn(1);var d=b.cmp(a);if(0>d)d=b,b=a,a=d;else if(0===d||0===a.cmpn(1))break;b.isub(a)}while(1);return a.iushln(c)};g.prototype.invm=function(a){return this.egcd(a).a.umod(a)};g.prototype.isEven=function(){return 0===(this.words[0]&1)};g.prototype.isOdd=function(){return 1===(this.words[0]&1)};g.prototype.andln=function(a){return this.words[0]&a};g.prototype.bincn=function(a){c("number"===typeof a);var b=a%26;a=(a-b)/26;b=1<>>26,d=d&67108863;this.words[a]=d}0!==b&&(this.words[a]=b,this.length++);return this};g.prototype.isZero=function(){return 1===this.length&&0===this.words[0]};g.prototype.cmpn=function(a){var b=0>a;if(0!==this.negative&&!b)return-1;if(0===this.negative&&b)return 1;this.strip();1=a,"Number is too big"),b=this.words[0]|0,a=b===a?0:ba.length)return 1;if(this.lengthe&&(b=1);break}}return b};g.prototype.gtn=function(a){return 1===this.cmpn(a)};g.prototype.gt=function(a){return 1===this.cmp(a)}; +g.prototype.gten=function(a){return 0<=this.cmpn(a)};g.prototype.gte=function(a){return 0<=this.cmp(a)};g.prototype.ltn=function(a){return-1===this.cmpn(a)};g.prototype.lt=function(a){return-1===this.cmp(a)};g.prototype.lten=function(a){return 0>=this.cmpn(a)};g.prototype.lte=function(a){return 0>=this.cmp(a)};g.prototype.eqn=function(a){return 0===this.cmpn(a)};g.prototype.eq=function(a){return 0===this.cmp(a)};g.red=function(a){return new q(a)};g.prototype.toRed=function(a){c(!this.red,"Already a number in reduction context"); +c(0===this.negative,"red works only with positives");return a.convertTo(this)._forceRed(a)};g.prototype.fromRed=function(){c(this.red,"fromRed works only with numbers in reduction context");return this.red.convertFrom(this)};g.prototype._forceRed=function(a){this.red=a;return this};g.prototype.forceRed=function(a){c(!this.red,"Already a number in reduction context");return this._forceRed(a)};g.prototype.redAdd=function(a){c(this.red,"redAdd works only with red numbers");return this.red.add(this,a)}; +g.prototype.redIAdd=function(a){c(this.red,"redIAdd works only with red numbers");return this.red.iadd(this,a)};g.prototype.redSub=function(a){c(this.red,"redSub works only with red numbers");return this.red.sub(this,a)};g.prototype.redISub=function(a){c(this.red,"redISub works only with red numbers");return this.red.isub(this,a)};g.prototype.redShl=function(a){c(this.red,"redShl works only with red numbers");return this.red.shl(this,a)};g.prototype.redMul=function(a){c(this.red,"redMul works only with red numbers"); +this.red._verify2(this,a);return this.red.mul(this,a)};g.prototype.redIMul=function(a){c(this.red,"redMul works only with red numbers");this.red._verify2(this,a);return this.red.imul(this,a)};g.prototype.redSqr=function(){c(this.red,"redSqr works only with red numbers");this.red._verify1(this);return this.red.sqr(this)};g.prototype.redISqr=function(){c(this.red,"redISqr works only with red numbers");this.red._verify1(this);return this.red.isqr(this)};g.prototype.redSqrt=function(){c(this.red,"redSqrt works only with red numbers"); +this.red._verify1(this);return this.red.sqrt(this)};g.prototype.redInvm=function(){c(this.red,"redInvm works only with red numbers");this.red._verify1(this);return this.red.invm(this)};g.prototype.redNeg=function(){c(this.red,"redNeg works only with red numbers");this.red._verify1(this);return this.red.neg(this)};g.prototype.redPow=function(a){c(this.red&&!a.red,"redPow(normalNum)");this.red._verify1(this);return this.red.pow(this,a)};var F={k256:null,p224:null,p192:null,p25519:null};p.prototype._tmp= +function(){var a=new g(null);a.words=Array(Math.ceil(this.n/13));return a};p.prototype.ireduce=function(a){var b;do this.split(a,this.tmp),a=this.imulK(a),a=a.iadd(this.tmp),b=a.bitLength();while(b>this.n);b=b=a.length)a.words[0]=0,a.length=1;else{c=a.words[9];b.words[b.length++]=c&4194303;for(d=10;d>>22,c=b;c>>>=22;a.words[d-10]=c;a.length=0===c&&10>>26;a.words[c]=d}0!==b&&(a.words[a.length++]=b);return a};g._prime=function(a){if(F[a])return F[a];var b;if("k256"===a)b=new t;else if("p224"===a)b=new r;else if("p192"===a)b=new v;else if("p25519"===a)b=new C;else throw Error("Unknown prime "+a);return F[a]=b};q.prototype._verify1=function(a){c(0===a.negative,"red works only with positives");c(a.red, "red works only with red numbers")};q.prototype._verify2=function(a,b){c(0===(a.negative|b.negative),"red works only with positives");c(a.red&&a.red===b.red,"red works only with red numbers")};q.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)};q.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)};q.prototype.add=function(a,b){this._verify2(a,b);a=a.add(b);0<=a.cmp(this.m)&&a.isub(this.m);return a._forceRed(this)}; q.prototype.iadd=function(a,b){this._verify2(a,b);a=a.iadd(b);0<=a.cmp(this.m)&&a.isub(this.m);return a};q.prototype.sub=function(a,b){this._verify2(a,b);a=a.sub(b);0>a.cmpn(0)&&a.iadd(this.m);return a._forceRed(this)};q.prototype.isub=function(a,b){this._verify2(a,b);a=a.isub(b);0>a.cmpn(0)&&a.iadd(this.m);return a};q.prototype.shl=function(a,b){this._verify1(a);return this.imod(a.ushln(b))};q.prototype.imul=function(a,b){this._verify2(a,b);return this.imod(a.imul(b))};q.prototype.mul=function(a, -b){this._verify2(a,b);return this.imod(a.mul(b))};q.prototype.isqr=function(a){return this.imul(a,a.clone())};q.prototype.sqr=function(a){return this.mul(a,a)};q.prototype.sqrt=function(a){if(a.isZero())return a.clone();var b=this.m.andln(3);c(1===b%2);if(3===b)return b=this.m.add(new h(1)).iushrn(2),this.pow(a,b);for(var e=this.m.subn(1),d=0;!e.isZero()&&0===e.andln(1);)d++,e.iushrn(1);c(!e.isZero());for(var b=(new h(1)).toRed(this),f=b.redNeg(),g=this.m.subn(1).iushrn(1),k=this.m.bitLength(),k= -(new h(2*k*k)).toRed(this);0!==this.pow(k,g).cmp(f);)k.redIAdd(f);g=this.pow(k,e);f=this.pow(a,e.addn(1).iushrn(1));a=this.pow(a,e);for(e=d;0!==a.cmp(b);){k=a;for(d=0;0!==k.cmp(b);d++)k=k.redSqr();c(d>g&1;a!==c[0]&&(a=this.sqr(a));if(0===l&&0===d)f=0;else if(d<<=1,d|=l,f++,4===f||0===e&&0===g)a=this.mul(a,c[d]),d=f=0}g=26}return a};q.prototype.convertTo=function(a){var b=a.umod(this.m);return b===a?b.clone():b};q.prototype.convertFrom=function(a){a=a.clone();a.red=null;return a}; -h.mont=function(a){return new A(a)};e(A,q);A.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))};A.prototype.convertFrom=function(a){a=this.imod(a.mul(this.rinv));a.red=null;return a};A.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;a=a.imul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.mul= -function(a,b){if(a.isZero()||b.isZero())return(new h(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{buffer:36}],35:[function(d,a,b){function c(a){this.rand=a}var e;a.exports=function(a){e||(e=new c(null)); -return e.generate(a)};a.exports.Rand=c;c.prototype.generate=function(a){return this._rand(a)};c.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);a=new Uint8Array(a);for(var b=0;b>>24]^h[l>>>16&255]^g[m>>>8&255]^c[n&255]^b[p++],t=f[l>>>24]^h[m>>>16&255]^g[n>>>8&255]^c[k&255]^b[p++],r=f[m>>>24]^h[n>>>16&255]^g[k>>>8&255]^c[l&255]^b[p++],n=f[n>>>24]^h[k>>>16&255]^g[l>>>8&255]^c[m&255]^b[p++],k=a,l=t,m=r;a=(e[k>>>24]<<24|e[l>>>16&255]<<16|e[m>>>8&255]<<8|e[n&255])^b[p++];t=(e[l>>>24]<<24|e[m>>>16&255]<<16|e[n>>>8&255]<<8|e[k&255])^b[p++];r= -(e[m>>>24]<<24|e[n>>>16&255]<<16|e[k>>>8&255]<<8|e[l&255])^b[p++];n=(e[n>>>24]<<24|e[k>>>16&255]<<16|e[l>>>8&255]<<8|e[m&255])^b[p++];return[a>>>0,t>>>0,r>>>0,n>>>0]}function l(a){this._key=c(a);this._reset()}var h=d("safe-buffer").Buffer,k=[0,1,2,4,8,16,32,64,128,27,54],n=function(){for(var a=Array(256),b=0;256>b;b++)a[b]=128>b?b<<1:b<<1^283;for(var b=[],c=[],e=[[],[],[],[]],d=[[],[],[],[]],h=0,g=0,k=0;256>k;++k){var l=g^g<<1^g<<2^g<<3^g<<4,l=l>>>8^l&255^99;b[h]=l;c[l]=h;var n=a[h],y=a[n],w=a[y], -x=257*a[l]^16843008*l;e[0][h]=x<<24|x>>>8;e[1][h]=x<<16|x>>>16;e[2][h]=x<<8|x>>>24;e[3][h]=x;x=16843009*w^65537*y^257*n^16843008*h;d[0][l]=x<<24|x>>>8;d[1][l]=x<<16|x>>>16;d[2][l]=x<<8|x>>>24;d[3][l]=x;0===h?h=g=1:(h=n^a[a[a[w^n]]],g^=a[a[g]])}return{SBOX:b,INV_SBOX:c,SUB_MIX:e,INV_SUB_MIX:d}}();l.blockSize=16;l.keySize=32;l.prototype.blockSize=l.blockSize;l.prototype.keySize=l.keySize;l.prototype._reset=function(){for(var a=this._key,b=a.length,c=b+6,e=4*(c+1),d=[],h=0;h>>24,a=n.SBOX[a>>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255],a^=k[h/b|0]<<24):6>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255]),d[h]=d[h-b]^a;b=[];for(h=0;hh||4>=a?g:n.INV_SUB_MIX[0][n.SBOX[g>>>24]]^n.INV_SUB_MIX[1][n.SBOX[g>>>16&255]]^n.INV_SUB_MIX[2][n.SBOX[g>>>8&255]]^n.INV_SUB_MIX[3][n.SBOX[g&255]]}this._nRounds=c;this._keySchedule=d;this._invKeySchedule= -b};l.prototype.encryptBlockRaw=function(a){a=c(a);return g(a,this._keySchedule,n.SUB_MIX,n.SBOX,this._nRounds)};l.prototype.encryptBlock=function(a){a=this.encryptBlockRaw(a);var b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[1],4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[3],12);return b};l.prototype.decryptBlock=function(a){a=c(a);var b=a[1];a[1]=a[3];a[3]=b;a=g(a,this._invKeySchedule,n.INV_SUB_MIX,n.INV_SBOX,this._nRounds);b=h.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[3], -4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[1],12);return b};l.prototype.scrub=function(){e(this._keySchedule);e(this._invKeySchedule);e(this._key)};a.exports.AES=l},{"safe-buffer":160}],38:[function(d,a,b){function c(a,b,c,d){l.call(this);var f=g.alloc(4,0);this._cipher=new e.AES(b);f=this._cipher.encryptBlock(f);this._ghash=new h(f);b=c;if(12===b.length)this._finID=g.concat([b,g.from([0,0,0,1])]),c=g.concat([b,g.from([0,0,0,2])]);else{c=new h(f);var f=b.length,k=f%16;c.update(b);k&&c.update(g.alloc(16- -k,0));c.update(g.alloc(8,0));b=8*f;f=g.alloc(8);f.writeUIntBE(b,0,8);c.update(f);this._finID=c.state;c=g.from(this._finID);n(c)}this._prev=g.from(c);this._cache=g.allocUnsafe(0);this._secCache=g.allocUnsafe(0);this._decrypt=d;this._len=this._alen=0;this._mode=a;this._authTag=null;this._called=!1}var e=d("./aes"),g=d("safe-buffer").Buffer,l=d("cipher-base");b=d("inherits");var h=d("./ghash"),k=d("buffer-xor"),n=d("./incr32");b(c,l);c.prototype._update=function(a){if(!this._called&&this._alen){var b= -16-this._alen%16;16>b&&(b=g.alloc(b,0),this._ghash.update(b))}this._called=!0;b=this._mode.encrypt(this,a);this._decrypt?this._ghash.update(a):this._ghash.update(b);this._len+=a.length;return b};c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var a=k(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID)),b;if(b=this._decrypt){b=this._authTag;var c=0;a.length!==b.length&&c++;for(var e=Math.min(a.length, -b.length),d=0;d>>0,0);b.writeUInt32BE(a[1]>>>0,4);b.writeUInt32BE(a[2]>>>0,8);b.writeUInt32BE(a[3]>>>0, -12);return b}function e(a){this.h=a;this.state=g.alloc(16,0);this.cache=g.allocUnsafe(0)}var g=d("safe-buffer").Buffer,l=g.alloc(16,0);e.prototype.ghash=function(a){for(var b=-1;++b++g;){if(e=0!==(this.state[~~(g/8)]&1<<7-g%8))b[0]^=a[0],b[1]^=a[1],b[2]^=a[2],b[3]^=a[3];d=0!==(a[3]&1);for(e=3;0< -e;e--)a[e]=a[e]>>>1|(a[e-1]&1)<<31;a[0]>>>=1;d&&(a[0]^=-520093696)}this.state=c(b)};e.prototype.update=function(a){for(this.cache=g.concat([this.cache,a]);16<=this.cache.length;)a=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(a)};e.prototype.final=function(a,b){this.cache.length&&this.ghash(g.concat([this.cache,l],16));this.ghash(c([0,a,0,b]));return this.state};a.exports=e},{"safe-buffer":160}],43:[function(d,a,b){a.exports=function(a){for(var b=a.length,c;b--;)if(c=a.readUInt8(b), -255===c)a.writeUInt8(0,b);else{c++;a.writeUInt8(c,b);break}}},{}],44:[function(d,a,b){var c=d("buffer-xor");b.encrypt=function(a,b){b=c(b,a._prev);a._prev=a._cipher.encryptBlock(b);return a._prev};b.decrypt=function(a,b){var e=a._prev;a._prev=b;a=a._cipher.decryptBlock(b);return c(a,e)}},{"buffer-xor":64}],45:[function(d,a,b){function c(a,b,c){var d=b.length,f=g(b,a._cache);a._cache=a._cache.slice(d);a._prev=e.concat([a._prev,c?b:f]);return f}var e=d("safe-buffer").Buffer,g=d("buffer-xor");b.encrypt= -function(a,b,d){for(var h=e.allocUnsafe(0),f;b.length;)if(0===a._cache.length&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=e.allocUnsafe(0)),a._cache.length<=b.length)f=a._cache.length,h=e.concat([h,c(a,b.slice(0,f),d)]),b=b.slice(f);else{h=e.concat([h,c(a,b,d)]);break}return h}},{"buffer-xor":64,"safe-buffer":160}],46:[function(d,a,b){var c=d("safe-buffer").Buffer;b.encrypt=function(a,b,d){for(var e=b.length,g=c.allocUnsafe(e),l=-1;++l++v;){r= -m._cipher.encryptBlock(m._prev);q=p&1<<7-v?128:0;A=r[0]^q;C+=(A&128)>>v%8;r=m;var D=m._prev;q=t?q:A;A=D.length;for(var y=-1,w=c.allocUnsafe(D.length),D=c.concat([D,c.from([q])]);++y>7;r._prev=w}g[f]=C}return g}},{"safe-buffer":160}],47:[function(d,a,b){(function(a){b.encrypt=function(b,c,d){for(var e=c.length,g=a.allocUnsafe(e),l=-1;++l>h&1;a!==c[0]&&(a=this.sqr(a));if(0===l&&0===e)f=0;else if(e<<=1,e|=l,f++,4===f||0===d&&0===h)a=this.mul(a,c[e]),e=f=0}h=26}return a};q.prototype.convertTo=function(a){var b=a.umod(this.m);return b===a?b.clone():b};q.prototype.convertFrom=function(a){a=a.clone();a.red=null;return a}; +g.mont=function(a){return new A(a)};d(A,q);A.prototype.convertTo=function(a){return this.imod(a.ushln(this.shift))};A.prototype.convertFrom=function(a){a=this.imod(a.mul(this.rinv));a.red=null;return a};A.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;a=a.imul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.mul= +function(a,b){if(a.isZero()||b.isZero())return(new g(0))._forceRed(this);a=a.mul(b);b=a.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m);b=a=a.isub(b).iushrn(this.shift);0<=a.cmp(this.m)?b=a.isub(this.m):0>a.cmpn(0)&&(b=a.iadd(this.m));return b._forceRed(this)};A.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}})("undefined"===typeof a||a,this)},{buffer:36}],35:[function(e,a,b){function c(a){this.rand=a}var d;a.exports=function(a){d||(d=new c(null)); +return d.generate(a)};a.exports.Rand=c;c.prototype.generate=function(a){return this._rand(a)};c.prototype._rand=function(a){if(this.rand.getBytes)return this.rand.getBytes(a);a=new Uint8Array(a);for(var b=0;b>>24]^g[l>>>16&255]^h[m>>>8&255]^c[n&255]^b[p++],t=f[l>>>24]^g[m>>>16&255]^h[n>>>8&255]^c[k&255]^b[p++],r=f[m>>>24]^g[n>>>16&255]^h[k>>>8&255]^c[l&255]^b[p++],n=f[n>>>24]^g[k>>>16&255]^h[l>>>8&255]^c[m&255]^b[p++],k=a,l=t,m=r;a=(d[k>>>24]<<24|d[l>>>16&255]<<16|d[m>>>8&255]<<8|d[n&255])^b[p++];t=(d[l>>>24]<<24|d[m>>>16&255]<<16|d[n>>>8&255]<<8|d[k&255])^b[p++];r= +(d[m>>>24]<<24|d[n>>>16&255]<<16|d[k>>>8&255]<<8|d[l&255])^b[p++];n=(d[n>>>24]<<24|d[k>>>16&255]<<16|d[l>>>8&255]<<8|d[m&255])^b[p++];return[a>>>0,t>>>0,r>>>0,n>>>0]}function l(a){this._key=c(a);this._reset()}var g=e("safe-buffer").Buffer,k=[0,1,2,4,8,16,32,64,128,27,54],n=function(){for(var a=Array(256),b=0;256>b;b++)a[b]=128>b?b<<1:b<<1^283;for(var b=[],c=[],d=[[],[],[],[]],e=[[],[],[],[]],f=0,g=0,k=0;256>k;++k){var l=g^g<<1^g<<2^g<<3^g<<4,l=l>>>8^l&255^99;b[f]=l;c[l]=f;var n=a[f],y=a[n],w=a[y], +x=257*a[l]^16843008*l;d[0][f]=x<<24|x>>>8;d[1][f]=x<<16|x>>>16;d[2][f]=x<<8|x>>>24;d[3][f]=x;x=16843009*w^65537*y^257*n^16843008*f;e[0][l]=x<<24|x>>>8;e[1][l]=x<<16|x>>>16;e[2][l]=x<<8|x>>>24;e[3][l]=x;0===f?f=g=1:(f=n^a[a[a[w^n]]],g^=a[a[g]])}return{SBOX:b,INV_SBOX:c,SUB_MIX:d,INV_SUB_MIX:e}}();l.blockSize=16;l.keySize=32;l.prototype.blockSize=l.blockSize;l.prototype.keySize=l.keySize;l.prototype._reset=function(){for(var a=this._key,b=a.length,c=b+6,d=4*(c+1),e=[],f=0;f>>24,a=n.SBOX[a>>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255],a^=k[f/b|0]<<24):6>>24]<<24|n.SBOX[a>>>16&255]<<16|n.SBOX[a>>>8&255]<<8|n.SBOX[a&255]),e[f]=e[f-b]^a;b=[];for(f=0;ff||4>=a?g:n.INV_SUB_MIX[0][n.SBOX[g>>>24]]^n.INV_SUB_MIX[1][n.SBOX[g>>>16&255]]^n.INV_SUB_MIX[2][n.SBOX[g>>>8&255]]^n.INV_SUB_MIX[3][n.SBOX[g&255]]}this._nRounds=c;this._keySchedule=e;this._invKeySchedule= +b};l.prototype.encryptBlockRaw=function(a){a=c(a);return f(a,this._keySchedule,n.SUB_MIX,n.SBOX,this._nRounds)};l.prototype.encryptBlock=function(a){a=this.encryptBlockRaw(a);var b=g.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[1],4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[3],12);return b};l.prototype.decryptBlock=function(a){a=c(a);var b=a[1];a[1]=a[3];a[3]=b;a=f(a,this._invKeySchedule,n.INV_SUB_MIX,n.INV_SBOX,this._nRounds);b=g.allocUnsafe(16);b.writeUInt32BE(a[0],0);b.writeUInt32BE(a[3], +4);b.writeUInt32BE(a[2],8);b.writeUInt32BE(a[1],12);return b};l.prototype.scrub=function(){d(this._keySchedule);d(this._invKeySchedule);d(this._key)};a.exports.AES=l},{"safe-buffer":160}],38:[function(e,a,b){function c(a,b,c,e){l.call(this);var h=f.alloc(4,0);this._cipher=new d.AES(b);h=this._cipher.encryptBlock(h);this._ghash=new g(h);b=c;if(12===b.length)this._finID=f.concat([b,f.from([0,0,0,1])]),c=f.concat([b,f.from([0,0,0,2])]);else{c=new g(h);var h=b.length,k=h%16;c.update(b);k&&c.update(f.alloc(16- +k,0));c.update(f.alloc(8,0));b=8*h;h=f.alloc(8);h.writeUIntBE(b,0,8);c.update(h);this._finID=c.state;c=f.from(this._finID);n(c)}this._prev=f.from(c);this._cache=f.allocUnsafe(0);this._secCache=f.allocUnsafe(0);this._decrypt=e;this._len=this._alen=0;this._mode=a;this._authTag=null;this._called=!1}var d=e("./aes"),f=e("safe-buffer").Buffer,l=e("cipher-base");b=e("inherits");var g=e("./ghash"),k=e("buffer-xor"),n=e("./incr32");b(c,l);c.prototype._update=function(a){if(!this._called&&this._alen){var b= +16-this._alen%16;16>b&&(b=f.alloc(b,0),this._ghash.update(b))}this._called=!0;b=this._mode.encrypt(this,a);this._decrypt?this._ghash.update(a):this._ghash.update(b);this._len+=a.length;return b};c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var a=k(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID)),b;if(b=this._decrypt){b=this._authTag;var c=0;a.length!==b.length&&c++;for(var d=Math.min(a.length, +b.length),e=0;e>>0,0);b.writeUInt32BE(a[1]>>>0,4);b.writeUInt32BE(a[2]>>>0,8);b.writeUInt32BE(a[3]>>>0, +12);return b}function d(a){this.h=a;this.state=f.alloc(16,0);this.cache=f.allocUnsafe(0)}var f=e("safe-buffer").Buffer,l=f.alloc(16,0);d.prototype.ghash=function(a){for(var b=-1;++b++f;){if(d=0!==(this.state[~~(f/8)]&1<<7-f%8))b[0]^=a[0],b[1]^=a[1],b[2]^=a[2],b[3]^=a[3];e=0!==(a[3]&1);for(d=3;0< +d;d--)a[d]=a[d]>>>1|(a[d-1]&1)<<31;a[0]>>>=1;e&&(a[0]^=-520093696)}this.state=c(b)};d.prototype.update=function(a){for(this.cache=f.concat([this.cache,a]);16<=this.cache.length;)a=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(a)};d.prototype.final=function(a,b){this.cache.length&&this.ghash(f.concat([this.cache,l],16));this.ghash(c([0,a,0,b]));return this.state};a.exports=d},{"safe-buffer":160}],43:[function(e,a,b){a.exports=function(a){for(var b=a.length,c;b--;)if(c=a.readUInt8(b), +255===c)a.writeUInt8(0,b);else{c++;a.writeUInt8(c,b);break}}},{}],44:[function(e,a,b){var c=e("buffer-xor");b.encrypt=function(a,b){b=c(b,a._prev);a._prev=a._cipher.encryptBlock(b);return a._prev};b.decrypt=function(a,b){var d=a._prev;a._prev=b;a=a._cipher.decryptBlock(b);return c(a,d)}},{"buffer-xor":64}],45:[function(e,a,b){function c(a,b,c){var e=b.length,g=f(b,a._cache);a._cache=a._cache.slice(e);a._prev=d.concat([a._prev,c?b:g]);return g}var d=e("safe-buffer").Buffer,f=e("buffer-xor");b.encrypt= +function(a,b,e){for(var f=d.allocUnsafe(0),g;b.length;)if(0===a._cache.length&&(a._cache=a._cipher.encryptBlock(a._prev),a._prev=d.allocUnsafe(0)),a._cache.length<=b.length)g=a._cache.length,f=d.concat([f,c(a,b.slice(0,g),e)]),b=b.slice(g);else{f=d.concat([f,c(a,b,e)]);break}return f}},{"buffer-xor":64,"safe-buffer":160}],46:[function(e,a,b){var c=e("safe-buffer").Buffer;b.encrypt=function(a,b,e){for(var d=b.length,f=c.allocUnsafe(d),l=-1;++l++v;){r= +m._cipher.encryptBlock(m._prev);q=p&1<<7-v?128:0;A=r[0]^q;C+=(A&128)>>v%8;r=m;var D=m._prev;q=t?q:A;A=D.length;for(var y=-1,w=c.allocUnsafe(D.length),D=c.concat([D,c.from([q])]);++y>7;r._prev=w}f[h]=C}return f}},{"safe-buffer":160}],47:[function(e,a,b){(function(a){b.encrypt=function(b,c,e){for(var d=c.length,f=a.allocUnsafe(d),l=-1;++l=a.cmpn(0))throw Error("invalid sig");if(a.cmp(b)>=b)throw Error("invalid sig");}var g=d("bn.js"),l=d("elliptic").ec,h=d("parse-asn1"),k=d("./curves.json");a.exports=function(a,e,d,p,t){d=h(d); -if("ec"===d.type){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");p=k[d.data.algorithm.curve.join(".")];if(!p)throw Error("unknown curve "+d.data.algorithm.curve.join("."));return(new l(p)).verify(e,a,d.data.subjectPrivateKey.data)}if("dsa"===d.type){if("dsa"!==p)throw Error("wrong public key type");p=d.data.p;t=d.data.q;var f=d.data.g;d=d.data.pub_key;var m=h.signature.decode(a,"der");a=m.s;m=m.r;c(a,t);c(m,t);var n=g.mont(p);a=a.invm(t);return 0===f.toRed(n).redPow((new g(e)).mul(a).mod(t)).fromRed().mul(d.toRed(n).redPow(m.mul(a).mod(t)).fromRed()).mod(p).mod(t).cmp(m)}if("rsa"!== -p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");e=b.concat([t,e]);t=d.modulus.byteLength();p=[1];for(f=0;e.length+p.length+2f?1:0;t=Math.min(a.length,p.length);a.length!==p.length&&(d=1);for(m=-1;++mu)throw new RangeError("Invalid typed array length");a=new Uint8Array(a);a.__proto__=e.prototype;return a}function e(a,b,c){if("number"===typeof a){if("string"===typeof b)throw Error("If encoding is specified then the first argument must be a string"); -return h(a)}return g(a,b,c)}function g(a,b,d){if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if(G(a)){if(0>b||a.byteLengtha)throw new RangeError('"size" argument must not be negative');}function h(a){l(a);return c(0>a?0:f(a)|0)}function k(a){for(var b=0>a.length?0:f(a.length)|0,e=c(b),d=0;d=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return a|0}function m(a,b){if(e.isBuffer(a))return a.length;if("function"=== -typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||G(a))return a.byteLength;"string"!==typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case "ascii":case "latin1":case "binary":return c;case "utf8":case "utf-8":case void 0:return z(a).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*c;case "hex":return c>>>1;case "base64":return E.toByteArray(x(a)).length;default:if(d)return z(a).length;b=(""+b).toLowerCase();d=!0}}function p(a,b,c){var e=!1;if(void 0=== -b||0>b)b=0;if(b>this.length)return"";if(void 0===c||c>this.length)c=this.length;if(0>=c)return"";c>>>=0;b>>>=0;if(c<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=c;c=this.length;if(!a||0>a)a=0;if(!b||0>b||b>c)b=c;e="";for(c=a;ce?"0"+e.toString(16):e.toString(16),e=a+e;return e;case "utf8":case "utf-8":return C(this,b,c);case "ascii":a="";for(c=Math.min(this.length,c);bc&&(c=-2147483648);c=+c;c!==c&&(c=f?0:a.length-1);0>c&&(c=a.length+c);if(c>=a.length){if(f)return-1;c=a.length-1}else if(0>c)if(f)c=0;else return-1;"string"===typeof b&&(b=e.from(b,d));if(e.isBuffer(b))return 0===b.length?-1:v(a,b,c,d,f);if("number"===typeof b)return b&=255,"function"===typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):v(a,[b],c,d,f);throw new TypeError("val must be string, number or Buffer"); -}function v(a,b,c,e,d){function f(a,b){return 1===h?a[b]:a.readUInt16BE(b*h)}var h=1,g=a.length,k=b.length;if(void 0!==e&&(e=String(e).toLowerCase(),"ucs2"===e||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(2>a.length||2>b.length)return-1;h=2;g/=2;k/=2;c/=2}if(d)for(e=-1;cg&&(c=g-k);0<=c;c--){g=!0;for(e=0;ed&&(f=d);break;case 2:g=a[b+1];128===(g&192)&&(d=(d&31)<<6|g&63,127d||57343d&&(f=d))}}null===f?(f= -65533,h=1):65535>>10&1023|55296),f=56320|f&1023);e.push(f);b+=h}a=e.length;if(a<=O)e=String.fromCharCode.apply(String,e);else{c="";for(b=0;ba)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length");}function A(a,b,c,d,f,h){if(!e.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>f||b< -h)throw new RangeError('"value" argument is out of bounds');if(c+d>a.length)throw new RangeError("Index out of range");}function D(a,b,c,e,d,f){if(c+e>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range");}function y(a,b,c,e,d){b=+b;c>>>=0;d||D(a,b,c,4,3.4028234663852886E38,-3.4028234663852886E38);L.write(a,b,c,e,23,4);return c+4}function w(a,b,c,e,d){b=+b;c>>>=0;d||D(a,b,c,8,1.7976931348623157E308,-1.7976931348623157E308);L.write(a,b,c,e,52,8);return c+ -8}function x(a){a=a.trim().replace(J,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="\x3d";return a}function z(a,b){b=b||Infinity;for(var c,e=a.length,d=null,f=[],h=0;hc){if(!d){if(56319c){-1<(b-=3)&&f.push(239,191,189);d=c;continue}c=(d-55296<<10|c-56320)+65536}else d&&-1<(b-=3)&&f.push(239,191,189);d=null;if(128>c){if(0>--b)break; -f.push(c)}else if(2048>c){if(0>(b-=2))break;f.push(c>>6|192,c&63|128)}else if(65536>c){if(0>(b-=3))break;f.push(c>>12|224,c>>6&63|128,c&63|128)}else if(1114112>c){if(0>(b-=4))break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw Error("Invalid code point");}return f}function F(a){for(var b=[],c=0;c=b.length||d>=a.length);++d)b[d+c]=a[d];return d}function G(a){return a instanceof ArrayBuffer|| -null!=a&&null!=a.constructor&&"ArrayBuffer"===a.constructor.name&&"number"===typeof a.byteLength}var E=d("base64-js"),L=d("ieee754");b.Buffer=e;b.SlowBuffer=function(a){+a!=a&&(a=0);return e.alloc(+a)};b.INSPECT_MAX_BYTES=50;var u=2147483647;b.kMaxLength=u;e.TYPED_ARRAY_SUPPORT=function(){try{var a=new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(T){return!1}}();e.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error|| -console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();"undefined"!==typeof Symbol&&Symbol.species&&e[Symbol.species]===e&&($jscomp.initSymbol(),Object.defineProperty(e,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));e.poolSize=8192;e.from=function(a,b,c){return g(a,b,c)};e.prototype.__proto__=Uint8Array.prototype; -e.__proto__=Uint8Array;e.alloc=function(a,b,e){l(a);a=0>=a?c(a):void 0!==b?"string"===typeof e?c(a).fill(b,e):c(a).fill(b):c(a);return a};e.allocUnsafe=function(a){return h(a)};e.allocUnsafeSlow=function(a){return h(a)};e.isBuffer=function(a){return null!=a&&!0===a._isBuffer};e.compare=function(a,b){if(!e.isBuffer(a)||!e.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,f=0,h=Math.min(c,d);fc&&(a+=" ... "));return"\x3cBuffer "+a+"\x3e"};e.prototype.compare=function(a,b,c,d,f){if(!e.isBuffer(a))throw new TypeError("Argument must be a Buffer");void 0===b&&(b=0);void 0===c&&(c=a?a.length:0);void 0===d&&(d=0);void 0===f&&(f=this.length);if(0>b||c>a.length||0>d||f>this.length)throw new RangeError("out of range index");if(d>=f&&b>=c)return 0;if(d>= -f)return-1;if(b>=c)return 1;b>>>=0;c>>>=0;d>>>=0;f>>>=0;if(this===a)return 0;var h=f-d,g=c-b,k=Math.min(h,g);d=this.slice(d,f);a=a.slice(b,c);for(b=0;b>>=0,isFinite(c)?(c>>>=0,void 0===e&&(e="utf8")):(e=c,c=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var d=this.length-b;if(void 0===c||c>d)c=d;if(0c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(d=!1;;)switch(e){case "hex":a:{b=Number(b)||0;e=this.length-b;c?(c=Number(c),c>e&&(c=e)):c=e;e=a.length;if(0!==e% -2)throw new TypeError("Invalid hex string");c>e/2&&(c=e/2);for(e=0;e(e-=2));++g)f=a.charCodeAt(g),d=f>> -8,f%=256,h.push(f),h.push(d);return B(h,this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase();d=!0}};e.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;e.prototype.slice=function(a,b){var c=this.length;a=~~a;b=void 0===b?c:~~b;0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c);b>>= -0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var e=1,d=0;++d>>=0;b>>>=0;c||q(a,b,this.length);c=this[a+--b];for(var e=1;0>>=0;b||q(a,1,this.length);return this[a]};e.prototype.readUInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]|this[a+1]<<8};e.prototype.readUInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]<< -8|this[a+1]};e.prototype.readUInt32LE=function(a,b){a>>>=0;b||q(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};e.prototype.readUInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};e.prototype.readIntLE=function(a,b,c){a>>>=0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var e=1,d=0;++d=128*e&&(c-=Math.pow(2,8*b));return c};e.prototype.readIntBE=function(a,b,c){a>>>=0;b>>>=0; -c||q(a,b,this.length);c=b;for(var e=1,d=this[a+--c];0=128*e&&(d-=Math.pow(2,8*b));return d};e.prototype.readInt8=function(a,b){a>>>=0;b||q(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};e.prototype.readInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a]|this[a+1]<<8;return a&32768?a|4294901760:a};e.prototype.readInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a+1]|this[a]<<8;return a&32768?a|4294901760:a};e.prototype.readInt32LE= -function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};e.prototype.readInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};e.prototype.readFloatLE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!0,23,4)};e.prototype.readFloatBE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!1,23,4)};e.prototype.readDoubleLE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this, -a,!0,52,8)};e.prototype.readDoubleBE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this,a,!1,52,8)};e.prototype.writeUIntLE=function(a,b,c,e){a=+a;b>>>=0;c>>>=0;e||A(this,a,b,c,Math.pow(2,8*c)-1,0);e=1;var d=0;for(this[b]=a&255;++d>>=0;c>>>=0;e||A(this,a,b,c,Math.pow(2,8*c)-1,0);e=c-1;var d=1;for(this[b+e]=a&255;0<=--e&&(d*=256);)this[b+e]=a/d&255;return b+c};e.prototype.writeUInt8=function(a,b, -c){a=+a;b>>>=0;c||A(this,a,b,1,255,0);this[b]=a&255;return b+1};e.prototype.writeUInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};e.prototype.writeUInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};e.prototype.writeUInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&255;return b+4};e.prototype.writeUInt32BE=function(a, -b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};e.prototype.writeIntLE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),A(this,a,b,c,e-1,-e));e=0;var d=1,f=0;for(this[b]=a&255;++ea&&0===f&&0!==this[b+e-1]&&(f=1),this[b+e]=(a/d>>0)-f&255;return b+c};e.prototype.writeIntBE=function(a,b,c,e){a=+a;b>>>=0;e||(e=Math.pow(2,8*c-1),A(this,a,b,c,e-1,-e));e=c-1;var d=1,f=0;for(this[b+e]=a&255;0<=--e&&(d*=256);)0> -a&&0===f&&0!==this[b+e+1]&&(f=1),this[b+e]=(a/d>>0)-f&255;return b+c};e.prototype.writeInt8=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};e.prototype.writeInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};e.prototype.writeInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};e.prototype.writeInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this, -a,b,4,2147483647,-2147483648);this[b]=a&255;this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};e.prototype.writeInt32BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};e.prototype.writeFloatLE=function(a,b,c){return y(this,a,b,!0,c)};e.prototype.writeFloatBE=function(a,b,c){return y(this,a,b,!1,c)};e.prototype.writeDoubleLE=function(a,b,c){return w(this,a,b,!0,c)};e.prototype.writeDoubleBE= -function(a,b,c){return w(this,a,b,!1,c)};e.prototype.copy=function(a,b,c,e){c||(c=0);e||0===e||(e=this.length);b>=a.length&&(b=a.length);b||(b=0);0b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>e)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length);a.length-bd)for(e=0;ef&&(a=f)}if(void 0!==d&&"string"!==typeof d)throw new TypeError("encoding must be a string");if("string"===typeof d&&!e.isEncoding(d))throw new TypeError("Unknown encoding: "+ -d);}else"number"===typeof a&&(a&=255);if(0>b||this.length>>=0;c=void 0===c?this.length:c>>>0;a||(a=0);if("number"===typeof a)for(d=b;d=a.cmpn(0))throw Error("invalid sig");if(a.cmp(b)>=b)throw Error("invalid sig");}var f=e("bn.js"),l=e("elliptic").ec,g=e("parse-asn1"),k=e("./curves.json");a.exports=function(a,d,e,p,t){e=g(e); +if("ec"===e.type){if("ecdsa"!==p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");p=k[e.data.algorithm.curve.join(".")];if(!p)throw Error("unknown curve "+e.data.algorithm.curve.join("."));return(new l(p)).verify(d,a,e.data.subjectPrivateKey.data)}if("dsa"===e.type){if("dsa"!==p)throw Error("wrong public key type");p=e.data.p;t=e.data.q;var h=e.data.g;e=e.data.pub_key;var m=g.signature.decode(a,"der");a=m.s;m=m.r;c(a,t);c(m,t);var n=f.mont(p);a=a.invm(t);return 0===h.toRed(n).redPow((new f(d)).mul(a).mod(t)).fromRed().mul(e.toRed(n).redPow(m.mul(a).mod(t)).fromRed()).mod(p).mod(t).cmp(m)}if("rsa"!== +p&&"ecdsa/rsa"!==p)throw Error("wrong public key type");d=b.concat([t,d]);t=e.modulus.byteLength();p=[1];for(h=0;d.length+p.length+2h?1:0;t=Math.min(a.length,p.length);a.length!==p.length&&(e=1);for(m=-1;++mu)throw new RangeError("Invalid typed array length");a=new Uint8Array(a);a.__proto__=d.prototype;return a}function d(a,b,c){if("number"===typeof a){if("string"===typeof b)throw Error("If encoding is specified then the first argument must be a string"); +return g(a)}return f(a,b,c)}function f(a,b,e){if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if(G(a)){if(0>b||a.byteLengtha)throw new RangeError('"size" argument must not be negative');}function g(a){l(a);return c(0>a?0:h(a)|0)}function k(a){for(var b=0>a.length?0:h(a.length)|0,d=c(b),e=0;e=u)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+u.toString(16)+" bytes");return a|0}function m(a,b){if(d.isBuffer(a))return a.length;if("function"=== +typeof ArrayBuffer.isView&&ArrayBuffer.isView(a)||G(a))return a.byteLength;"string"!==typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var e=!1;;)switch(b){case "ascii":case "latin1":case "binary":return c;case "utf8":case "utf-8":case void 0:return z(a).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2*c;case "hex":return c>>>1;case "base64":return E.toByteArray(x(a)).length;default:if(e)return z(a).length;b=(""+b).toLowerCase();e=!0}}function p(a,b,c){var d=!1;if(void 0=== +b||0>b)b=0;if(b>this.length)return"";if(void 0===c||c>this.length)c=this.length;if(0>=c)return"";c>>>=0;b>>>=0;if(c<=b)return"";for(a||(a="utf8");;)switch(a){case "hex":a=b;b=c;c=this.length;if(!a||0>a)a=0;if(!b||0>b||b>c)b=c;d="";for(c=a;cd?"0"+d.toString(16):d.toString(16),d=a+d;return d;case "utf8":case "utf-8":return C(this,b,c);case "ascii":a="";for(c=Math.min(this.length,c);bc&&(c=-2147483648);c=+c;c!==c&&(c=f?0:a.length-1);0>c&&(c=a.length+c);if(c>=a.length){if(f)return-1;c=a.length-1}else if(0>c)if(f)c=0;else return-1;"string"===typeof b&&(b=d.from(b,e));if(d.isBuffer(b))return 0===b.length?-1:v(a,b,c,e,f);if("number"===typeof b)return b&=255,"function"===typeof Uint8Array.prototype.indexOf?f?Uint8Array.prototype.indexOf.call(a,b,c):Uint8Array.prototype.lastIndexOf.call(a,b,c):v(a,[b],c,e,f);throw new TypeError("val must be string, number or Buffer"); +}function v(a,b,c,d,e){function f(a,b){return 1===g?a[b]:a.readUInt16BE(b*g)}var g=1,h=a.length,k=b.length;if(void 0!==d&&(d=String(d).toLowerCase(),"ucs2"===d||"ucs-2"===d||"utf16le"===d||"utf-16le"===d)){if(2>a.length||2>b.length)return-1;g=2;h/=2;k/=2;c/=2}if(e)for(d=-1;ch&&(c=h-k);0<=c;c--){h=!0;for(d=0;de&&(f=e);break;case 2:h=a[b+1];128===(h&192)&&(e=(e&31)<<6|h&63,127e||57343e&&(f=e))}}null===f?(f= +65533,g=1):65535>>10&1023|55296),f=56320|f&1023);d.push(f);b+=g}a=d.length;if(a<=O)d=String.fromCharCode.apply(String,d);else{c="";for(b=0;ba)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length");}function A(a,b,c,e,f,g){if(!d.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(b>f||b< +g)throw new RangeError('"value" argument is out of bounds');if(c+e>a.length)throw new RangeError("Index out of range");}function D(a,b,c,d,e,f){if(c+d>a.length)throw new RangeError("Index out of range");if(0>c)throw new RangeError("Index out of range");}function y(a,b,c,d,e){b=+b;c>>>=0;e||D(a,b,c,4,3.4028234663852886E38,-3.4028234663852886E38);L.write(a,b,c,d,23,4);return c+4}function w(a,b,c,d,e){b=+b;c>>>=0;e||D(a,b,c,8,1.7976931348623157E308,-1.7976931348623157E308);L.write(a,b,c,d,52,8);return c+ +8}function x(a){a=a.trim().replace(J,"");if(2>a.length)return"";for(;0!==a.length%4;)a+="\x3d";return a}function z(a,b){b=b||Infinity;for(var c,d=a.length,e=null,f=[],g=0;gc){if(!e){if(56319c){-1<(b-=3)&&f.push(239,191,189);e=c;continue}c=(e-55296<<10|c-56320)+65536}else e&&-1<(b-=3)&&f.push(239,191,189);e=null;if(128>c){if(0>--b)break; +f.push(c)}else if(2048>c){if(0>(b-=2))break;f.push(c>>6|192,c&63|128)}else if(65536>c){if(0>(b-=3))break;f.push(c>>12|224,c>>6&63|128,c&63|128)}else if(1114112>c){if(0>(b-=4))break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,c&63|128)}else throw Error("Invalid code point");}return f}function F(a){for(var b=[],c=0;c=b.length||e>=a.length);++e)b[e+c]=a[e];return e}function G(a){return a instanceof ArrayBuffer|| +null!=a&&null!=a.constructor&&"ArrayBuffer"===a.constructor.name&&"number"===typeof a.byteLength}var E=e("base64-js"),L=e("ieee754");b.Buffer=d;b.SlowBuffer=function(a){+a!=a&&(a=0);return d.alloc(+a)};b.INSPECT_MAX_BYTES=50;var u=2147483647;b.kMaxLength=u;d.TYPED_ARRAY_SUPPORT=function(){try{var a=new Uint8Array(1);a.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===a.foo()}catch(T){return!1}}();d.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error|| +console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");$jscomp.initSymbol();$jscomp.initSymbol();$jscomp.initSymbol();"undefined"!==typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&($jscomp.initSymbol(),Object.defineProperty(d,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}));d.poolSize=8192;d.from=function(a,b,c){return f(a,b,c)};d.prototype.__proto__=Uint8Array.prototype; +d.__proto__=Uint8Array;d.alloc=function(a,b,d){l(a);a=0>=a?c(a):void 0!==b?"string"===typeof d?c(a).fill(b,d):c(a).fill(b):c(a);return a};d.allocUnsafe=function(a){return g(a)};d.allocUnsafeSlow=function(a){return g(a)};d.isBuffer=function(a){return null!=a&&!0===a._isBuffer};d.compare=function(a,b){if(!d.isBuffer(a)||!d.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,e=b.length,f=0,g=Math.min(c,e);fc&&(a+=" ... "));return"\x3cBuffer "+a+"\x3e"};d.prototype.compare=function(a,b,c,e,f){if(!d.isBuffer(a))throw new TypeError("Argument must be a Buffer");void 0===b&&(b=0);void 0===c&&(c=a?a.length:0);void 0===e&&(e=0);void 0===f&&(f=this.length);if(0>b||c>a.length||0>e||f>this.length)throw new RangeError("out of range index");if(e>=f&&b>=c)return 0;if(e>= +f)return-1;if(b>=c)return 1;b>>>=0;c>>>=0;e>>>=0;f>>>=0;if(this===a)return 0;var g=f-e,h=c-b,k=Math.min(g,h);e=this.slice(e,f);a=a.slice(b,c);for(b=0;b>>=0,isFinite(c)?(c>>>=0,void 0===d&&(d="utf8")):(d=c,c=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var e=this.length-b;if(void 0===c||c>e)c=e;if(0c||0>b)||b>this.length)throw new RangeError("Attempt to write outside buffer bounds");d||(d="utf8");for(e=!1;;)switch(d){case "hex":a:{b=Number(b)||0;d=this.length-b;c?(c=Number(c),c>d&&(c=d)):c=d;d=a.length;if(0!==d% +2)throw new TypeError("Invalid hex string");c>d/2&&(c=d/2);for(d=0;d(d-=2));++h)f=a.charCodeAt(h),e=f>> +8,f%=256,g.push(f),g.push(e);return B(g,this,b,c);default:if(e)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase();e=!0}};d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;d.prototype.slice=function(a,b){var c=this.length;a=~~a;b=void 0===b?c:~~b;0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c);0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c);b>>= +0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var d=1,e=0;++e>>=0;b>>>=0;c||q(a,b,this.length);c=this[a+--b];for(var d=1;0>>=0;b||q(a,1,this.length);return this[a]};d.prototype.readUInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]|this[a+1]<<8};d.prototype.readUInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);return this[a]<< +8|this[a+1]};d.prototype.readUInt32LE=function(a,b){a>>>=0;b||q(a,4,this.length);return(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]};d.prototype.readUInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return 16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])};d.prototype.readIntLE=function(a,b,c){a>>>=0;b>>>=0;c||q(a,b,this.length);c=this[a];for(var d=1,e=0;++e=128*d&&(c-=Math.pow(2,8*b));return c};d.prototype.readIntBE=function(a,b,c){a>>>=0;b>>>=0; +c||q(a,b,this.length);c=b;for(var d=1,e=this[a+--c];0=128*d&&(e-=Math.pow(2,8*b));return e};d.prototype.readInt8=function(a,b){a>>>=0;b||q(a,1,this.length);return this[a]&128?-1*(255-this[a]+1):this[a]};d.prototype.readInt16LE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a]|this[a+1]<<8;return a&32768?a|4294901760:a};d.prototype.readInt16BE=function(a,b){a>>>=0;b||q(a,2,this.length);a=this[a+1]|this[a]<<8;return a&32768?a|4294901760:a};d.prototype.readInt32LE= +function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24};d.prototype.readInt32BE=function(a,b){a>>>=0;b||q(a,4,this.length);return this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]};d.prototype.readFloatLE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!0,23,4)};d.prototype.readFloatBE=function(a,b){a>>>=0;b||q(a,4,this.length);return L.read(this,a,!1,23,4)};d.prototype.readDoubleLE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this, +a,!0,52,8)};d.prototype.readDoubleBE=function(a,b){a>>>=0;b||q(a,8,this.length);return L.read(this,a,!1,52,8)};d.prototype.writeUIntLE=function(a,b,c,d){a=+a;b>>>=0;c>>>=0;d||A(this,a,b,c,Math.pow(2,8*c)-1,0);d=1;var e=0;for(this[b]=a&255;++e>>=0;c>>>=0;d||A(this,a,b,c,Math.pow(2,8*c)-1,0);d=c-1;var e=1;for(this[b+d]=a&255;0<=--d&&(e*=256);)this[b+d]=a/e&255;return b+c};d.prototype.writeUInt8=function(a,b, +c){a=+a;b>>>=0;c||A(this,a,b,1,255,0);this[b]=a&255;return b+1};d.prototype.writeUInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a&255;this[b+1]=a>>>8;return b+2};d.prototype.writeUInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,65535,0);this[b]=a>>>8;this[b+1]=a&255;return b+2};d.prototype.writeUInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b+3]=a>>>24;this[b+2]=a>>>16;this[b+1]=a>>>8;this[b]=a&255;return b+4};d.prototype.writeUInt32BE=function(a, +b,c){a=+a;b>>>=0;c||A(this,a,b,4,4294967295,0);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};d.prototype.writeIntLE=function(a,b,c,d){a=+a;b>>>=0;d||(d=Math.pow(2,8*c-1),A(this,a,b,c,d-1,-d));d=0;var e=1,f=0;for(this[b]=a&255;++da&&0===f&&0!==this[b+d-1]&&(f=1),this[b+d]=(a/e>>0)-f&255;return b+c};d.prototype.writeIntBE=function(a,b,c,d){a=+a;b>>>=0;d||(d=Math.pow(2,8*c-1),A(this,a,b,c,d-1,-d));d=c-1;var e=1,f=0;for(this[b+d]=a&255;0<=--d&&(e*=256);)0> +a&&0===f&&0!==this[b+d+1]&&(f=1),this[b+d]=(a/e>>0)-f&255;return b+c};d.prototype.writeInt8=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,1,127,-128);0>a&&(a=255+a+1);this[b]=a&255;return b+1};d.prototype.writeInt16LE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a&255;this[b+1]=a>>>8;return b+2};d.prototype.writeInt16BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,2,32767,-32768);this[b]=a>>>8;this[b+1]=a&255;return b+2};d.prototype.writeInt32LE=function(a,b,c){a=+a;b>>>=0;c||A(this, +a,b,4,2147483647,-2147483648);this[b]=a&255;this[b+1]=a>>>8;this[b+2]=a>>>16;this[b+3]=a>>>24;return b+4};d.prototype.writeInt32BE=function(a,b,c){a=+a;b>>>=0;c||A(this,a,b,4,2147483647,-2147483648);0>a&&(a=4294967295+a+1);this[b]=a>>>24;this[b+1]=a>>>16;this[b+2]=a>>>8;this[b+3]=a&255;return b+4};d.prototype.writeFloatLE=function(a,b,c){return y(this,a,b,!0,c)};d.prototype.writeFloatBE=function(a,b,c){return y(this,a,b,!1,c)};d.prototype.writeDoubleLE=function(a,b,c){return w(this,a,b,!0,c)};d.prototype.writeDoubleBE= +function(a,b,c){return w(this,a,b,!1,c)};d.prototype.copy=function(a,b,c,d){c||(c=0);d||0===d||(d=this.length);b>=a.length&&(b=a.length);b||(b=0);0b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length);a.length-be)for(d=0;df&&(a=f)}if(void 0!==e&&"string"!==typeof e)throw new TypeError("encoding must be a string");if("string"===typeof e&&!d.isEncoding(e))throw new TypeError("Unknown encoding: "+ +e);}else"number"===typeof a&&(a&=255);if(0>b||this.length>>=0;c=void 0===c?this.length:c>>>0;a||(a=0);if("number"===typeof a)for(e=b;e>>2),l=0,f=0;l>5]|=128<>>9<<4)+14]=b;b=1732584193;for(var c=-271733879,d=-1732584194,f=271733878,m=0;m>>32-d,c)}function g(a,b,c,d,g,h,k){return e(b&c|~b&d,a,b,g,h,k)}function l(a,b,c,d,g,h,k){return e(b&d|c&~d,a,b,g,h,k)}function h(a,b,c,d,g,h,k){return e(c^(b|~d),a,b,g,h,k)}function k(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}var n=d("./make-hash");a.exports=function(a){return n(a,c)}},{"./make-hash":70}],72:[function(d,a,b){function c(a,b){g.call(this,"digest"); -"string"===typeof b&&(b=l.from(b));var c="sha512"===a||"sha384"===a?128:64;this._alg=a;this._key=b;b.length>c?b=("rmd160"===a?new k:n(a)).update(b).digest():b.lengthb.length&&(b=e.concat([b,l],64));a=this._ipad=e.allocUnsafe(64);for(var c=this._opad=e.allocUnsafe(64),d=0;64>d;d++)a[d]=b[d]^54,c[d]=b[d]^92;this._hash=[a]}b=d("inherits");var e=d("safe-buffer").Buffer,g=d("cipher-base"),l=e.alloc(128);b(c,g);c.prototype._update=function(a){this._hash.push(a)};c.prototype._final=function(){var a=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,a]))};a.exports=c}, -{"cipher-base":66,inherits:119,"safe-buffer":160}],74:[function(d,a,b){b.randomBytes=b.rng=b.pseudoRandomBytes=b.prng=d("randombytes");b.createHash=b.Hash=d("create-hash");b.createHmac=b.Hmac=d("create-hmac");a=d("browserify-sign/algos");a=Object.keys(a);var c="sha1 sha224 sha256 sha384 sha512 md5 rmd160".split(" ").concat(a);b.getHashes=function(){return c};a=d("pbkdf2");b.pbkdf2=a.pbkdf2;b.pbkdf2Sync=a.pbkdf2Sync;a=d("browserify-cipher");b.Cipher=a.Cipher;b.createCipher=a.createCipher;b.Cipheriv= -a.Cipheriv;b.createCipheriv=a.createCipheriv;b.Decipher=a.Decipher;b.createDecipher=a.createDecipher;b.Decipheriv=a.Decipheriv;b.createDecipheriv=a.createDecipheriv;b.getCiphers=a.getCiphers;b.listCiphers=a.listCiphers;a=d("diffie-hellman");b.DiffieHellmanGroup=a.DiffieHellmanGroup;b.createDiffieHellmanGroup=a.createDiffieHellmanGroup;b.getDiffieHellman=a.getDiffieHellman;b.createDiffieHellman=a.createDiffieHellman;b.DiffieHellman=a.DiffieHellman;a=d("browserify-sign");b.createSign=a.createSign;b.Sign= -a.Sign;b.createVerify=a.createVerify;b.Verify=a.Verify;b.createECDH=d("create-ecdh");d=d("public-encrypt");b.publicEncrypt=d.publicEncrypt;b.privateEncrypt=d.privateEncrypt;b.publicDecrypt=d.publicDecrypt;b.privateDecrypt=d.privateDecrypt;b.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify");};b.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4, -DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":54,"browserify-sign":61,"browserify-sign/algos":58,"create-ecdh":68,"create-hash":69,"create-hmac":72,"diffie-hellman":81,pbkdf2:132,"public-encrypt":139,randombytes:145}],75:[function(d,a,b){b.utils=d("./des/utils"); -b.Cipher=d("./des/cipher");b.DES=d("./des/des");b.CBC=d("./des/cbc");b.EDE=d("./des/ede")},{"./des/cbc":76,"./des/cipher":77,"./des/des":78,"./des/ede":79,"./des/utils":80}],76:[function(d,a,b){function c(a){e.equal(a.length,8,"Invalid IV length");this.iv=Array(8);for(var b=0;b>>1],c=l.r28shl(c,d);b=l.r28shl(b,d);l.pc2(c,b,a.keys,e)}};e.prototype._update=function(a,b,c,e){var d=this._desState, -f=l.readUInt32BE(a,b);a=l.readUInt32BE(a,b+4);l.ip(f,a,d.tmp,0);f=d.tmp[0];a=d.tmp[1];"encrypt"===this.type?this._encrypt(d,f,a,d.tmp,0):this._decrypt(d,f,a,d.tmp,0);f=d.tmp[0];a=d.tmp[1];l.writeUInt32BE(c,f,e);l.writeUInt32BE(c,a,e+4)};e.prototype._pad=function(a,b){for(var c=a.length-b;b>>0;b=h}l.rip(c,b,e,d)};e.prototype._decrypt=function(a,b,c,e,d){for(var f=a.keys.length-2;0<=f;f-=2){var g=a.keys[f],h=a.keys[f+1];l.expand(c,a.tmp,0);g^=a.tmp[0];h^=a.tmp[1];g=l.substitute(g,h);g=l.permute(g);h=c;c=(b^g)>>>0;b=h}l.rip(c,b,e,d)}},{"../des":75,inherits:119,"minimalistic-assert":125}],79:[function(d,a,b){function c(a,b){g.equal(b.length,24, -"Invalid key length");var c=b.slice(0,8),e=b.slice(8,16);b=b.slice(16,24);this.ciphers="encrypt"===a?[h.create({type:"encrypt",key:c}),h.create({type:"decrypt",key:e}),h.create({type:"encrypt",key:b})]:[h.create({type:"decrypt",key:b}),h.create({type:"encrypt",key:e}),h.create({type:"decrypt",key:c})]}function e(a){l.call(this,a);this._edeState=new c(this.type,this.options.key)}var g=d("minimalistic-assert");b=d("inherits");d=d("../des");var l=d.Cipher,h=d.DES;b(e,l);a.exports=e;e.create=function(a){return new e(a)}; -e.prototype._update=function(a,b,c,e){var d=this._edeState;d.ciphers[0]._update(a,b,c,e);d.ciphers[1]._update(c,e,c,e);d.ciphers[2]._update(c,e,c,e)};e.prototype._pad=h.prototype._pad;e.prototype._unpad=h.prototype._unpad},{"../des":75,inherits:119,"minimalistic-assert":125}],80:[function(d,a,b){b.readUInt32BE=function(a,b){return(a[0+b]<<24|a[1+b]<<16|a[2+b]<<8|a[3+b])>>>0};b.writeUInt32BE=function(a,b,c){a[0+c]=b>>>24;a[1+c]=b>>>16&255;a[2+c]=b>>>8&255;a[3+c]=b&255};b.ip=function(a,b,c,e){for(var d= -0,g=0,h=6;0<=h;h-=2){for(var k=0;24>=k;k+=8)d<<=1,d|=b>>>k+h&1;for(k=0;24>=k;k+=8)d<<=1,d|=a>>>k+h&1}for(h=6;0<=h;h-=2){for(k=1;25>=k;k+=8)g<<=1,g|=b>>>k+h&1;for(k=1;25>=k;k+=8)g<<=1,g|=a>>>k+h&1}c[e+0]=d>>>0;c[e+1]=g>>>0};b.rip=function(a,b,c,e){for(var d=0,g=0,h=0;4>h;h++)for(var k=24;0<=k;k-=8)d<<=1,d|=b>>>k+h&1,d<<=1,d|=a>>>k+h&1;for(h=4;8>h;h++)for(k=24;0<=k;k-=8)g<<=1,g|=b>>>k+h&1,g<<=1,g|=a>>>k+h&1;c[e+0]=d>>>0;c[e+1]=g>>>0};b.pc1=function(a,b,c,e){for(var d=0,g=0,h=7;5<=h;h--){for(var k=0;24>= -k;k+=8)d<<=1,d|=b>>k+h&1;for(k=0;24>=k;k+=8)d<<=1,d|=a>>k+h&1}for(k=0;24>=k;k+=8)d<<=1,d|=b>>k+h&1;for(h=1;3>=h;h++){for(k=0;24>=k;k+=8)g<<=1,g|=b>>k+h&1;for(k=0;24>=k;k+=8)g<<=1,g|=a>>k+h&1}for(k=0;24>=k;k+=8)g<<=1,g|=a>>k+h&1;c[e+0]=d>>>0;c[e+1]=g>>>0};b.r28shl=function(a,b){return a<>>28-b};var c=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];b.pc2=function(a,b,e,d){for(var f=0,g=0,h=c.length>>>1,k= -0;k>>c[k]&1;for(k=h;k>>c[k]&1;e[d+0]=f>>>0;e[d+1]=g>>>0};b.expand=function(a,b,c){var e,d=0;e=(a&1)<<5|a>>>27;for(var g=23;15<=g;g-=4)e<<=6,e|=a>>>g&63;for(g=11;3<=g;g-=4)d|=a>>>g&63,d<<=6;b[c+0]=e>>>0;b[c+1]=(d|(a&31)<<1|a>>>31)>>>0};var e=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0, +b.isError=function(a){return"[object Error]"===Object.prototype.toString.call(a)||a instanceof Error};b.isFunction=function(a){return"function"===typeof a};b.isPrimitive=function(a){return null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a||"symbol"===typeof a||"undefined"===typeof a};b.isBuffer=a.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":120}],68:[function(e,a,b){(function(b){function c(a){this.curveType=k[a];this.curveType|| +(this.curveType={name:a});this.curve=new l.ec(this.curveType.name);this.keys=void 0}function f(a,c,d){Array.isArray(a)||(a=a.toArray());a=new b(a);d&&a.length>>2),l=0,h=0;l>5]|=128<>>9<<4)+14]=b;b=1732584193;for(var c=-271733879,e=-1732584194,h=271733878,m=0;m>>32-e,c)}function f(a,b,c,e,f,g,k){return d(b&c|~b&e,a,b,f,g,k)}function l(a,b,c,e,f,g,k){return d(b&e|c&~e,a,b,f,g,k)}function g(a,b,c,e,f,g,k){return d(c^(b|~e),a,b,f,g,k)}function k(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}var n=e("./make-hash");a.exports=function(a){return n(a,c)}},{"./make-hash":70}],72:[function(e,a,b){function c(a,b){f.call(this,"digest"); +"string"===typeof b&&(b=l.from(b));var c="sha512"===a||"sha384"===a?128:64;this._alg=a;this._key=b;b.length>c?b=("rmd160"===a?new k:n(a)).update(b).digest():b.lengthb.length&&(b=d.concat([b,l],64));a=this._ipad=d.allocUnsafe(64);for(var c=this._opad=d.allocUnsafe(64),e=0;64>e;e++)a[e]=b[e]^54,c[e]=b[e]^92;this._hash=[a]}b=e("inherits");var d=e("safe-buffer").Buffer,f=e("cipher-base"),l=d.alloc(128);b(c,f);c.prototype._update=function(a){this._hash.push(a)};c.prototype._final=function(){var a=this._alg(d.concat(this._hash));return this._alg(d.concat([this._opad,a]))};a.exports=c}, +{"cipher-base":66,inherits:119,"safe-buffer":160}],74:[function(e,a,b){b.randomBytes=b.rng=b.pseudoRandomBytes=b.prng=e("randombytes");b.createHash=b.Hash=e("create-hash");b.createHmac=b.Hmac=e("create-hmac");a=e("browserify-sign/algos");a=Object.keys(a);var c="sha1 sha224 sha256 sha384 sha512 md5 rmd160".split(" ").concat(a);b.getHashes=function(){return c};a=e("pbkdf2");b.pbkdf2=a.pbkdf2;b.pbkdf2Sync=a.pbkdf2Sync;a=e("browserify-cipher");b.Cipher=a.Cipher;b.createCipher=a.createCipher;b.Cipheriv= +a.Cipheriv;b.createCipheriv=a.createCipheriv;b.Decipher=a.Decipher;b.createDecipher=a.createDecipher;b.Decipheriv=a.Decipheriv;b.createDecipheriv=a.createDecipheriv;b.getCiphers=a.getCiphers;b.listCiphers=a.listCiphers;a=e("diffie-hellman");b.DiffieHellmanGroup=a.DiffieHellmanGroup;b.createDiffieHellmanGroup=a.createDiffieHellmanGroup;b.getDiffieHellman=a.getDiffieHellman;b.createDiffieHellman=a.createDiffieHellman;b.DiffieHellman=a.DiffieHellman;a=e("browserify-sign");b.createSign=a.createSign;b.Sign= +a.Sign;b.createVerify=a.createVerify;b.Verify=a.Verify;b.createECDH=e("create-ecdh");e=e("public-encrypt");b.publicEncrypt=e.publicEncrypt;b.privateEncrypt=e.privateEncrypt;b.publicDecrypt=e.publicDecrypt;b.privateDecrypt=e.privateDecrypt;b.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify");};b.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4, +DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":54,"browserify-sign":61,"browserify-sign/algos":58,"create-ecdh":68,"create-hash":69,"create-hmac":72,"diffie-hellman":81,pbkdf2:132,"public-encrypt":139,randombytes:145}],75:[function(e,a,b){b.utils=e("./des/utils"); +b.Cipher=e("./des/cipher");b.DES=e("./des/des");b.CBC=e("./des/cbc");b.EDE=e("./des/ede")},{"./des/cbc":76,"./des/cipher":77,"./des/des":78,"./des/ede":79,"./des/utils":80}],76:[function(e,a,b){function c(a){d.equal(a.length,8,"Invalid IV length");this.iv=Array(8);for(var b=0;b>>1],c=l.r28shl(c,e);b=l.r28shl(b,e);l.pc2(c,b,a.keys,d)}};d.prototype._update=function(a,b,c,d){var e=this._desState, +f=l.readUInt32BE(a,b);a=l.readUInt32BE(a,b+4);l.ip(f,a,e.tmp,0);f=e.tmp[0];a=e.tmp[1];"encrypt"===this.type?this._encrypt(e,f,a,e.tmp,0):this._decrypt(e,f,a,e.tmp,0);f=e.tmp[0];a=e.tmp[1];l.writeUInt32BE(c,f,d);l.writeUInt32BE(c,a,d+4)};d.prototype._pad=function(a,b){for(var c=a.length-b;b>>0;b=h}l.rip(c,b,d,e)};d.prototype._decrypt=function(a,b,c,d,e){for(var f=a.keys.length-2;0<=f;f-=2){var g=a.keys[f],h=a.keys[f+1];l.expand(c,a.tmp,0);g^=a.tmp[0];h^=a.tmp[1];g=l.substitute(g,h);g=l.permute(g);h=c;c=(b^g)>>>0;b=h}l.rip(c,b,d,e)}},{"../des":75,inherits:119,"minimalistic-assert":125}],79:[function(e,a,b){function c(a,b){f.equal(b.length,24, +"Invalid key length");var c=b.slice(0,8),d=b.slice(8,16);b=b.slice(16,24);this.ciphers="encrypt"===a?[g.create({type:"encrypt",key:c}),g.create({type:"decrypt",key:d}),g.create({type:"encrypt",key:b})]:[g.create({type:"decrypt",key:b}),g.create({type:"encrypt",key:d}),g.create({type:"decrypt",key:c})]}function d(a){l.call(this,a);this._edeState=new c(this.type,this.options.key)}var f=e("minimalistic-assert");b=e("inherits");e=e("../des");var l=e.Cipher,g=e.DES;b(d,l);a.exports=d;d.create=function(a){return new d(a)}; +d.prototype._update=function(a,b,c,d){var e=this._edeState;e.ciphers[0]._update(a,b,c,d);e.ciphers[1]._update(c,d,c,d);e.ciphers[2]._update(c,d,c,d)};d.prototype._pad=g.prototype._pad;d.prototype._unpad=g.prototype._unpad},{"../des":75,inherits:119,"minimalistic-assert":125}],80:[function(e,a,b){b.readUInt32BE=function(a,b){return(a[0+b]<<24|a[1+b]<<16|a[2+b]<<8|a[3+b])>>>0};b.writeUInt32BE=function(a,b,c){a[0+c]=b>>>24;a[1+c]=b>>>16&255;a[2+c]=b>>>8&255;a[3+c]=b&255};b.ip=function(a,b,c,d){for(var e= +0,f=0,g=6;0<=g;g-=2){for(var k=0;24>=k;k+=8)e<<=1,e|=b>>>k+g&1;for(k=0;24>=k;k+=8)e<<=1,e|=a>>>k+g&1}for(g=6;0<=g;g-=2){for(k=1;25>=k;k+=8)f<<=1,f|=b>>>k+g&1;for(k=1;25>=k;k+=8)f<<=1,f|=a>>>k+g&1}c[d+0]=e>>>0;c[d+1]=f>>>0};b.rip=function(a,b,c,d){for(var e=0,f=0,g=0;4>g;g++)for(var k=24;0<=k;k-=8)e<<=1,e|=b>>>k+g&1,e<<=1,e|=a>>>k+g&1;for(g=4;8>g;g++)for(k=24;0<=k;k-=8)f<<=1,f|=b>>>k+g&1,f<<=1,f|=a>>>k+g&1;c[d+0]=e>>>0;c[d+1]=f>>>0};b.pc1=function(a,b,c,d){for(var e=0,f=0,g=7;5<=g;g--){for(var k=0;24>= +k;k+=8)e<<=1,e|=b>>k+g&1;for(k=0;24>=k;k+=8)e<<=1,e|=a>>k+g&1}for(k=0;24>=k;k+=8)e<<=1,e|=b>>k+g&1;for(g=1;3>=g;g++){for(k=0;24>=k;k+=8)f<<=1,f|=b>>k+g&1;for(k=0;24>=k;k+=8)f<<=1,f|=a>>k+g&1}for(k=0;24>=k;k+=8)f<<=1,f|=a>>k+g&1;c[d+0]=e>>>0;c[d+1]=f>>>0};b.r28shl=function(a,b){return a<>>28-b};var c=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];b.pc2=function(a,b,d,e){for(var f=0,g=0,k=c.length>>>1,l= +0;l>>c[l]&1;for(l=k;l>>c[l]&1;d[e+0]=f>>>0;d[e+1]=g>>>0};b.expand=function(a,b,c){var d,e=0;d=(a&1)<<5|a>>>27;for(var f=23;15<=f;f-=4)d<<=6,d|=a>>>f&63;for(f=11;3<=f;f-=4)e|=a>>>f&63,e<<=6;b[c+0]=d>>>0;b[c+1]=(e|(a&31)<<1|a>>>31)>>>0};var d=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0, 9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2, 8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];b.substitute= -function(a,b){for(var c=0,d=0;4>d;d++)var f=a>>>18-6*d&63,f=e[64*d+f],c=c<<4,c=c|f;for(d=0;4>d;d++)f=b>>>18-6*d&63,f=e[256+64*d+f],c<<=4,c|=f;return c>>>0};var g=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];b.permute=function(a){for(var b=0,c=0;c>>g[c]&1;return b>>>0};b.padSplit=function(a,b,c){for(a=a.toString(2);a.lengthe;e+=2){for(var d=Math.ceil(Math.sqrt(e)),f=0;fa)return 2===b||5===b?new h([140,123]):new h([140,39]);b=new h(b);for(var d,g;;){for(d=new h(l(Math.ceil(a/8)));d.bitLength()>a;)d.ishrn(1);d.isEven()&&d.iadd(f);d.testn(1)||d.iadd(m);if(!b.cmp(m))for(;d.mod(k).cmp(v);)d.iadd(C);else if(!b.cmp(p))for(;d.mod(t).cmp(r);)d.iadd(C);g=d.shrn(1);if(c(g)&&c(d)&&e(g)&&e(d)&&n.test(g)&&n.test(d))return d}}var l=d("randombytes");a.exports=g;g.simpleSieve=c;g.fermatTest=e;var h=d("bn.js"), -k=new h(24),n=new (d("miller-rabin")),f=new h(1),m=new h(2),p=new h(5);new h(16);new h(8);var t=new h(10),r=new h(3);new h(7);var v=new h(11),C=new h(4);new h(12);var q=null},{"bn.js":34,"miller-rabin":124,randombytes:145}],84:[function(d,a,b){a.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"}, +function(a,b){for(var c=0,e=0;4>e;e++)var f=a>>>18-6*e&63,f=d[64*e+f],c=c<<4,c=c|f;for(e=0;4>e;e++)f=b>>>18-6*e&63,f=d[256+64*e+f],c<<=4,c|=f;return c>>>0};var f=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];b.permute=function(a){for(var b=0,c=0;c>>f[c]&1;return b>>>0};b.padSplit=function(a,b,c){for(a=a.toString(2);a.lengthd;d+=2){for(var e=Math.ceil(Math.sqrt(d)),f=0;fa)return 2===b||5===b?new g([140,123]):new g([140,39]);b=new g(b);for(var e,f;;){for(e=new g(l(Math.ceil(a/8)));e.bitLength()>a;)e.ishrn(1);e.isEven()&&e.iadd(h);e.testn(1)||e.iadd(m);if(!b.cmp(m))for(;e.mod(k).cmp(v);)e.iadd(C);else if(!b.cmp(p))for(;e.mod(t).cmp(r);)e.iadd(C);f=e.shrn(1);if(c(f)&&c(e)&&d(f)&&d(e)&&n.test(f)&&n.test(e))return e}}var l=e("randombytes");a.exports=f;f.simpleSieve=c;f.fermatTest=d;var g=e("bn.js"), +k=new g(24),n=new (e("miller-rabin")),h=new g(1),m=new g(2),p=new g(5);new g(16);new g(8);var t=new g(10),r=new g(3);new g(7);var v=new g(11),C=new g(4);new g(12);var q=null},{"bn.js":34,"miller-rabin":124,randombytes:145}],84:[function(e,a,b){a.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"}, modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"}, modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"}, modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"}, modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"}, modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}, -{}],85:[function(d,a,b){b.version=d("../package.json").version;b.utils=d("./elliptic/utils");b.rand=d("brorand");b.curve=d("./elliptic/curve");b.curves=d("./elliptic/curves");b.ec=d("./elliptic/ec");b.eddsa=d("./elliptic/eddsa")},{"../package.json":100,"./elliptic/curve":88,"./elliptic/curves":91,"./elliptic/ec":92,"./elliptic/eddsa":95,"./elliptic/utils":99,brorand:35}],86:[function(d,a,b){function c(a,b){this.type=a;this.p=new g(b.p,16);this.red=b.prime?g.red(b.prime):g.mont(this.p);this.zero=(new g(0)).toRed(this.red); -this.one=(new g(1)).toRed(this.red);this.two=(new g(2)).toRed(this.red);this.n=b.n&&new g(b.n,16);this.g=b.g&&this.pointFromJSON(b.g,b.gRed);this._wnafT1=Array(4);this._wnafT2=Array(4);this._wnafT3=Array(4);this._wnafT4=Array(4);a=this.n&&this.p.div(this.n);!a||0=f;b--)g=(g<<1)+c[b];d.push(g)}b=this.jpoint(null,null,null);for(c=this.jpoint(null,null,null);0f)break;b=c[f];n(0!==b);d="affine"===a.type?0>1]):d.mixedAdd(e[-b-1>>1].neg()):0>1]):d.add(e[-b-1>>1].neg())}return"affine"===a.type?d.toP():d};c.prototype._wnafMulAdd=function(a,b,c,e,d){for(var g=this._wnafT1,f=this._wnafT2,l=this._wnafT3, -m=0,n=0;nn)break;for(a=0;a>1]:0>m&&(t=f[a][-m-1>>1].neg()),b="affine"===t.type?b.mixedAdd(t):b.add(t))}for(n=0;n=Math.ceil((a.bitLength()+1)/b.step):!1};e.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],e=this,d=0;db[0].cmp(b[1])?b[0]:b[1],b=b.toRed(this.red));a.lambda?c=new h(a.lambda,16):(c=this._getEndoRoots(this.n),0===this.g.mul(c[0]).x.cmp(this.g.x.redMul(b))?c=c[0]:(c=c[1],n(0===this.g.mul(c).x.cmp(this.g.x.redMul(b)))));a= -a.basis?a.basis.map(function(a){return{a:new h(a.a,16),b:new h(a.b,16)}}):this._getEndoBasis(c);return{beta:b,lambda:c,basis:a}}};c.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:h.mont(a),c=(new h(2)).toRed(b).redInvm();a=c.redNeg();c=(new h(3)).toRed(b).redNeg().redSqrt().redMul(c);b=a.redAdd(c).fromRed();a=a.redSub(c).fromRed();return[b,a]};c.prototype._getEndoBasis=function(a){for(var b=this.n.ushrn(Math.floor(this.n.bitLength()/2)),c=this.n.clone(),e=new h(1),d=new h(0),g=new h(0), -f=new h(1),k,l,n,y,w,x,z=0,F;0!==a.cmpn(0);){var B=c.div(a);F=c.sub(B.mul(a));w=g.sub(B.mul(e));B=f.sub(B.mul(d));if(!n&&0>F.cmp(b))k=x.neg(),l=e,n=F.neg(),y=w;else if(n&&2===++z)break;x=F;c=a;a=F;g=e;e=w;f=d;d=B}b=F.neg();x=n.sqr().add(y.sqr());0<=b.sqr().add(w.sqr()).cmp(x)&&(b=k,w=l);n.negative&&(n=n.neg(),y=y.neg());b.negative&&(b=b.neg(),w=w.neg());return[{a:n,b:y},{a:b,b:w}]};c.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],e=b[1],d=e.b.mul(a).divRound(this.n),g=c.b.neg().mul(a).divRound(this.n), -b=d.mul(c.a),h=g.mul(e.a),c=d.mul(c.b),e=g.mul(e.b);a=a.sub(b).sub(h);b=c.add(e).neg();return{k1:a,k2:b}};c.prototype.pointFromX=function(a,b){a=new h(a,16);a.red||(a=a.toRed(this.red));var c=a.redSqr().redMul(a).redIAdd(a.redMul(this.a)).redIAdd(this.b),e=c.redSqrt();if(0!==e.redSqr().redSub(c).cmp(this.zero))throw Error("invalid point");c=e.fromRed().isOdd();if(b&&!c||!b&&c)e=e.redNeg();return this.point(a,e)};c.prototype.validate=function(a){if(a.inf)return!0;var b=a.x;a=a.y;var c=this.a.redMul(b), -b=b.redSqr().redMul(b).redIAdd(c).redIAdd(this.b);return 0===a.redSqr().redISub(b).cmpn(0)};c.prototype._endoWnafMulAdd=function(a,b,c){for(var e=this._endoWnafT1,d=this._endoWnafT2,g=0;g=f;b--)h=(h<<1)+c[b];e.push(h)}b=this.jpoint(null,null,null);for(c=this.jpoint(null,null,null);0f)break;b=c[f];n(0!==b);e="affine"===a.type?0>1]):e.mixedAdd(d[-b-1>>1].neg()):0>1]):e.add(d[-b-1>>1].neg())}return"affine"===a.type?e.toP():e};c.prototype._wnafMulAdd=function(a,b,c,d,e){for(var f=this._wnafT1,h=this._wnafT2,l=this._wnafT3, +m=0,n=0;nn)break;for(a=0;a>1]:0>m&&(t=h[a][-m-1>>1].neg()),b="affine"===t.type?b.mixedAdd(t):b.add(t))}for(n=0;n=Math.ceil((a.bitLength()+1)/b.step):!1};d.prototype._getDoubles=function(a,b){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var c=[this],d=this,e=0;eb[0].cmp(b[1])?b[0]:b[1],b=b.toRed(this.red));a.lambda?c=new g(a.lambda,16):(c=this._getEndoRoots(this.n),0===this.g.mul(c[0]).x.cmp(this.g.x.redMul(b))?c=c[0]:(c=c[1],n(0===this.g.mul(c).x.cmp(this.g.x.redMul(b)))));a= +a.basis?a.basis.map(function(a){return{a:new g(a.a,16),b:new g(a.b,16)}}):this._getEndoBasis(c);return{beta:b,lambda:c,basis:a}}};c.prototype._getEndoRoots=function(a){var b=a===this.p?this.red:g.mont(a),c=(new g(2)).toRed(b).redInvm();a=c.redNeg();c=(new g(3)).toRed(b).redNeg().redSqrt().redMul(c);b=a.redAdd(c).fromRed();a=a.redSub(c).fromRed();return[b,a]};c.prototype._getEndoBasis=function(a){for(var b=this.n.ushrn(Math.floor(this.n.bitLength()/2)),c=this.n.clone(),d=new g(1),e=new g(0),f=new g(0), +h=new g(1),k,l,n,y,w,x,z=0,F;0!==a.cmpn(0);){var B=c.div(a);F=c.sub(B.mul(a));w=f.sub(B.mul(d));B=h.sub(B.mul(e));if(!n&&0>F.cmp(b))k=x.neg(),l=d,n=F.neg(),y=w;else if(n&&2===++z)break;x=F;c=a;a=F;f=d;d=w;h=e;e=B}b=F.neg();x=n.sqr().add(y.sqr());0<=b.sqr().add(w.sqr()).cmp(x)&&(b=k,w=l);n.negative&&(n=n.neg(),y=y.neg());b.negative&&(b=b.neg(),w=w.neg());return[{a:n,b:y},{a:b,b:w}]};c.prototype._endoSplit=function(a){var b=this.endo.basis,c=b[0],d=b[1],e=d.b.mul(a).divRound(this.n),f=c.b.neg().mul(a).divRound(this.n), +b=e.mul(c.a),g=f.mul(d.a),c=e.mul(c.b),d=f.mul(d.b);a=a.sub(b).sub(g);b=c.add(d).neg();return{k1:a,k2:b}};c.prototype.pointFromX=function(a,b){a=new g(a,16);a.red||(a=a.toRed(this.red));var c=a.redSqr().redMul(a).redIAdd(a.redMul(this.a)).redIAdd(this.b),d=c.redSqrt();if(0!==d.redSqr().redSub(c).cmp(this.zero))throw Error("invalid point");c=d.fromRed().isOdd();if(b&&!c||!b&&c)d=d.redNeg();return this.point(a,d)};c.prototype.validate=function(a){if(a.inf)return!0;var b=a.x;a=a.y;var c=this.a.redMul(b), +b=b.redSqr().redMul(b).redIAdd(c).redIAdd(this.b);return 0===a.redSqr().redISub(b).cmpn(0)};c.prototype._endoWnafMulAdd=function(a,b,c){for(var d=this._endoWnafT1,e=this._endoWnafT2,f=0;f=l.cmpn(1)||0<=l.cmp(f))){var m=this.g.mul(l);if(!m.isInfinity()){var t=m.getX();c=t.umod(this.n);if(0!==c.cmpn(0)&&(l=l.invm(this.n).mul(c.mul(b.getPrivate()).iadd(a)),l=l.umod(this.n),0!==l.cmpn(0)))return a=(m.getY().isOdd()?1:0)|(0!==t.cmp(c)?2:0),d.canonical&&0d.cmpn(1)||0<=d.cmp(this.n)||0>b.cmpn(1)||0<=b.cmp(this.n))return!1;b=b.invm(this.n);a=b.mul(a).umod(this.n);b=b.mul(d).umod(this.n);if(!this.curve._maxwellTrick)return c=this.g.mulAdd(a,c.getPublic(),b),c.isInfinity()?!1:0===c.getX().umod(this.n).cmp(d);c=this.g.jmulAdd(a,c.getPublic(),b);return c.isInfinity()?!1:c.eqXToP(d)};c.prototype.recoverPubKey=function(a,b,c,d){h((3&c)===c,"The recovery param is more than two bits");b=new n(b,d);d=this.n;var g=new e(a); -a=b.r;var f=b.s,k=c&1;c>>=1;if(0<=a.cmp(this.curve.p.umod(this.curve.n))&&c)throw Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),k):this.curve.pointFromX(a,k);b=b.r.invm(d);c=d.sub(g).mul(b).umod(d);d=f.mul(b).umod(d);return this.g.mulAdd(c,a,d)};c.prototype.getKeyRecoveryParam=function(a,b,c,e){b=new n(b,e);if(null!==b.recoveryParam)return b.recoveryParam;for(e=0;4>e;e++){var d;try{d=this.recoverPubKey(a,b,e)}catch(v){continue}if(d.eq(c))return e}throw Error("Unable to find valid recovery factor"); -}},{"../../elliptic":85,"./key":93,"./signature":94,"bn.js":34,"hmac-drbg":116}],93:[function(d,a,b){function c(a,b){this.ec=a;this.pub=this.priv=null;b.priv&&this._importPrivate(b.priv,b.privEnc);b.pub&&this._importPublic(b.pub,b.pubEnc)}var e=d("bn.js"),g=d("../../elliptic").utils.assert;a.exports=c;c.fromPublic=function(a,b,e){return b instanceof c?b:new c(a,{pub:b,pubEnc:e})};c.fromPrivate=function(a,b,e){return b instanceof c?b:new c(a,{priv:b,privEnc:e})};c.prototype.validate=function(){var a= +d("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a.sha256,gRed:!1,g:["9"]});d("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", +hash:a.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var k;try{k=e("./precomputed/secp256k1")}catch(n){k=void 0}d("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", +lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",k]})},{"../elliptic":85,"./precomputed/secp256k1":98,"hash.js":104}],92:[function(e,a,b){function c(a){if(!(this instanceof +c))return new c(a);"string"===typeof a&&(g(l.curves.hasOwnProperty(a),"Unknown curve "+a),a=l.curves[a]);a instanceof l.curves.PresetCurve&&(a={curve:a});this.curve=a.curve.curve;this.n=this.curve.n;this.nh=this.n.ushrn(1);this.g=this.curve.g;this.g=a.curve.g;this.g.precompute(a.curve.n.bitLength()+1);this.hash=a.hash||a.curve.hash}var d=e("bn.js"),f=e("hmac-drbg"),l=e("../../elliptic"),g=l.utils.assert,k=e("./key"),n=e("./signature");a.exports=c;c.prototype.keyPair=function(a){return new k(this, +a)};c.prototype.keyFromPrivate=function(a,b){return k.fromPrivate(this,a,b)};c.prototype.keyFromPublic=function(a,b){return k.fromPublic(this,a,b)};c.prototype.genKeyPair=function(a){a||(a={});a=new f({hash:this.hash,pers:a.pers,persEnc:a.persEnc||"utf8",entropy:a.entropy||l.rand(this.hash.hmacStrength),entropyEnc:a.entropy&&a.entropyEnc||"utf8",nonce:this.n.toArray()});var b=this.n.byteLength(),c=this.n.sub(new d(2));do{var e=new d(a.generate(b));if(!(0=l.cmpn(1)||0<=l.cmp(h))){var m=this.g.mul(l);if(!m.isInfinity()){var t=m.getX();c=t.umod(this.n);if(0!==c.cmpn(0)&&(l=l.invm(this.n).mul(c.mul(b.getPrivate()).iadd(a)),l=l.umod(this.n),0!==l.cmpn(0)))return a=(m.getY().isOdd()?1:0)|(0!==t.cmp(c)?2:0),e.canonical&&0e.cmpn(1)||0<=e.cmp(this.n)||0>b.cmpn(1)||0<=b.cmp(this.n))return!1;b=b.invm(this.n);a=b.mul(a).umod(this.n);b=b.mul(e).umod(this.n);if(!this.curve._maxwellTrick)return c=this.g.mulAdd(a,c.getPublic(),b),c.isInfinity()?!1:0===c.getX().umod(this.n).cmp(e);c=this.g.jmulAdd(a,c.getPublic(),b);return c.isInfinity()?!1:c.eqXToP(e)};c.prototype.recoverPubKey=function(a,b,c,e){g((3&c)===c,"The recovery param is more than two bits");b=new n(b,e);e=this.n;var f=new d(a); +a=b.r;var h=b.s,k=c&1;c>>=1;if(0<=a.cmp(this.curve.p.umod(this.curve.n))&&c)throw Error("Unable to find sencond key candinate");a=c?this.curve.pointFromX(a.add(this.curve.n),k):this.curve.pointFromX(a,k);b=b.r.invm(e);c=e.sub(f).mul(b).umod(e);e=h.mul(b).umod(e);return this.g.mulAdd(c,a,e)};c.prototype.getKeyRecoveryParam=function(a,b,c,d){b=new n(b,d);if(null!==b.recoveryParam)return b.recoveryParam;for(d=0;4>d;d++){var e;try{e=this.recoverPubKey(a,b,d)}catch(v){continue}if(e.eq(c))return d}throw Error("Unable to find valid recovery factor"); +}},{"../../elliptic":85,"./key":93,"./signature":94,"bn.js":34,"hmac-drbg":116}],93:[function(e,a,b){function c(a,b){this.ec=a;this.pub=this.priv=null;b.priv&&this._importPrivate(b.priv,b.privEnc);b.pub&&this._importPublic(b.pub,b.pubEnc)}var d=e("bn.js"),f=e("../../elliptic").utils.assert;a.exports=c;c.fromPublic=function(a,b,d){return b instanceof c?b:new c(a,{pub:b,pubEnc:d})};c.fromPrivate=function(a,b,d){return b instanceof c?b:new c(a,{priv:b,privEnc:d})};c.prototype.validate=function(){var a= this.getPublic();return a.isInfinity()?{result:!1,reason:"Invalid public key"}:a.validate()?a.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N !\x3d O"}:{result:!1,reason:"Public key is not a point"}};c.prototype.getPublic=function(a,b){"string"===typeof a&&(b=a,a=null);this.pub||(this.pub=this.ec.g.mul(this.priv));return b?this.pub.encode(b,a):this.pub};c.prototype.getPrivate=function(a){return"hex"===a?this.priv.toString(16,2):this.priv};c.prototype._importPrivate= -function(a,b){this.priv=new e(a,b||16);this.priv=this.priv.umod(this.ec.curve.n)};c.prototype._importPublic=function(a,b){a.x||a.y?("mont"===this.ec.curve.type?g(a.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||g(a.x&&a.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(a.x,a.y)):this.pub=this.ec.curve.decodePoint(a,b)};c.prototype.derive=function(a){return a.mul(this.priv).getX()};c.prototype.sign=function(a,b,c){return this.ec.sign(a,this,b,c)}; -c.prototype.verify=function(a,b){return this.ec.verify(a,b,this)};c.prototype.inspect=function(){return"\x3cKey priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" \x3e"}},{"../../elliptic":85,"bn.js":34}],94:[function(d,a,b){function c(a,b){if(a instanceof c)return a;this._importDER(a,b)||(f(a.r&&a.s,"Signature without r or s"),this.r=new k(a.r,16),this.s=new k(a.s,16),this.recoveryParam=void 0===a.recoveryParam?null:a.recoveryParam)}function e(){this.place=0} -function g(a,b){var c=a[b.place++];if(!(c&128))return c;for(var c=c&15,e=0,d=0,g=b.place;db)){var c=1+(Math.log(b)/Math.LN2>>>3);for(a.push(c|128);--c;)a.push(b>>>(c<<3)&255)}a.push(b)}var k=d("bn.js"),n=d("../../elliptic").utils,f=n.assert;a.exports=c;c.prototype._importDER=function(a,b){a=n.toArray(a,b);var c=new e;if(48!==a[c.place++]|| -g(a,c)+c.place!==a.length||2!==a[c.place++])return!1;var d=g(a,c);b=a.slice(c.place,d+c.place);c.place+=d;if(2!==a[c.place++])return!1;d=g(a,c);if(a.length!==d+c.place)return!1;a=a.slice(c.place,d+c.place);0===b[0]&&b[1]&128&&(b=b.slice(1));0===a[0]&&a[1]&128&&(a=a.slice(1));this.r=new k(b);this.s=new k(a);this.recoveryParam=null;return!0};c.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();b[0]&128&&(b=[0].concat(b));c[0]&128&&(c=[0].concat(c));b=l(b);for(c=l(c);!(c[0]||c[1]& -128);)c=c.slice(1);var e=[2];h(e,b.length);e=e.concat(b);e.push(2);h(e,c.length);b=e.concat(c);c=[48];h(c,b.length);c=c.concat(b);return n.encode(c,a)}},{"../../elliptic":85,"bn.js":34}],95:[function(d,a,b){function c(a){h("ed25519"===a,"only tested with ed25519 so far");if(!(this instanceof c))return new c(a);this.curve=a=g.curves[a].curve;this.g=a.g;this.g.precompute(a.n.bitLength()+1);this.pointClass=a.point().constructor;this.encodingLength=Math.ceil(a.n.bitLength()/8);this.hash=e.sha512}var e= -d("hash.js"),g=d("../../elliptic"),l=g.utils,h=l.assert,k=l.parseBytes,n=d("./key"),f=d("./signature");a.exports=c;c.prototype.sign=function(a,b){a=k(a);var c=this.keyFromSecret(b),e=this.hashInt(c.messagePrefix(),a);b=this.g.mul(e);var d=this.encodePoint(b);a=this.hashInt(d,c.pubBytes(),a).mul(c.priv());a=e.add(a).umod(this.curve.n);return this.makeSignature({R:b,S:a,Rencoded:d})};c.prototype.verify=function(a,b,c){a=k(a);b=this.makeSignature(b);c=this.keyFromPublic(c);a=this.hashInt(b.Rencoded(), -c.pubBytes(),a);var e=this.g.mul(b.S());return b.R().add(c.pub().mul(a)).eq(e)};c.prototype.hashInt=function(){for(var a=this.hash(),b=0;bb)){var c=1+(Math.log(b)/Math.LN2>>>3);for(a.push(c|128);--c;)a.push(b>>>(c<<3)&255)}a.push(b)}var k=e("bn.js"),n=e("../../elliptic").utils,h=n.assert;a.exports=c;c.prototype._importDER=function(a,b){a=n.toArray(a,b);var c=new d;if(48!==a[c.place++]|| +f(a,c)+c.place!==a.length||2!==a[c.place++])return!1;var e=f(a,c);b=a.slice(c.place,e+c.place);c.place+=e;if(2!==a[c.place++])return!1;e=f(a,c);if(a.length!==e+c.place)return!1;a=a.slice(c.place,e+c.place);0===b[0]&&b[1]&128&&(b=b.slice(1));0===a[0]&&a[1]&128&&(a=a.slice(1));this.r=new k(b);this.s=new k(a);this.recoveryParam=null;return!0};c.prototype.toDER=function(a){var b=this.r.toArray(),c=this.s.toArray();b[0]&128&&(b=[0].concat(b));c[0]&128&&(c=[0].concat(c));b=l(b);for(c=l(c);!(c[0]||c[1]& +128);)c=c.slice(1);var d=[2];g(d,b.length);d=d.concat(b);d.push(2);g(d,c.length);b=d.concat(c);c=[48];g(c,b.length);c=c.concat(b);return n.encode(c,a)}},{"../../elliptic":85,"bn.js":34}],95:[function(e,a,b){function c(a){g("ed25519"===a,"only tested with ed25519 so far");if(!(this instanceof c))return new c(a);this.curve=a=f.curves[a].curve;this.g=a.g;this.g.precompute(a.n.bitLength()+1);this.pointClass=a.point().constructor;this.encodingLength=Math.ceil(a.n.bitLength()/8);this.hash=d.sha512}var d= +e("hash.js"),f=e("../../elliptic"),l=f.utils,g=l.assert,k=l.parseBytes,n=e("./key"),h=e("./signature");a.exports=c;c.prototype.sign=function(a,b){a=k(a);var c=this.keyFromSecret(b),d=this.hashInt(c.messagePrefix(),a);b=this.g.mul(d);var e=this.encodePoint(b);a=this.hashInt(e,c.pubBytes(),a).mul(c.priv());a=d.add(a).umod(this.curve.n);return this.makeSignature({R:b,S:a,Rencoded:e})};c.prototype.verify=function(a,b,c){a=k(a);b=this.makeSignature(b);c=this.keyFromPublic(c);a=this.hashInt(b.Rencoded(), +c.pubBytes(),a);var d=this.g.mul(b.S());return b.R().add(c.pub().mul(a)).eq(d)};c.prototype.hashInt=function(){for(var a=this.hash(),b=0;b(e>>1)-1?(e>>1)-d:d,a.isubn(d)):d=0;c.push(d);d=0!==a.cmpn(0)&&0===a.andln(e-1)?b+1:1;for(var g=1;g(d>>1)-1?(d>>1)-e:e,a.isubn(e)):e=0;c.push(e);e=0!==a.cmpn(0)&&0===a.andln(d-1)?b+1:1;for(var f=1;fa||isNaN(a))throw TypeError("n must be a positive number");this._maxListeners=a;return this};c.prototype.emit=function(a){var b, -c,d,f;this._events||(this._events={});if("error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){b=arguments[1];if(b instanceof Error)throw b;c=Error('Uncaught, unspecified "error" event. ('+b+")");c.context=b;throw c;}c=this._events[a];if(void 0===c)return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:b=Array.prototype.slice.call(arguments,1),c.apply(this, -b)}else if(g(c))for(b=Array.prototype.slice.call(arguments,1),f=c.slice(),c=f.length,d=0;db&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"===typeof console.trace&&console.trace());return this};c.prototype.on=c.prototype.addListener;c.prototype.once=function(a,b){function c(){this.removeListener(a,c);d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function"); -var d=!1;c.listener=b;this.on(a,c);return this};c.prototype.removeListener=function(a,b){var c,d,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;c=this._events[a];h=c.length;d=-1;if(c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(;0d)return this;1===c.length?(c.length=0,delete this._events[a]): -c.splice(d,1);this._events.removeListener&&this.emit("removeListener",a,b)}return this};c.prototype.removeAllListeners=function(a){var b;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);this.removeAllListeners("removeListener");this._events={};return this}b=this._events[a];if(e(b))this.removeListener(a, -b);else if(b)for(;b.length;)this.removeListener(a,b[b.length-1]);delete this._events[a];return this};c.prototype.listeners=function(a){return this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]};c.prototype.listenerCount=function(a){if(this._events){a=this._events[a];if(e(a))return 1;if(a)return a.length}return 0};c.listenerCount=function(a,b){return a.listenerCount(b)}},{}],102:[function(d,a,b){var c=d("safe-buffer").Buffer,e=d("md5.js");a.exports=function(a, -b,d,k){c.isBuffer(a)||(a=c.from(a,"binary"));if(b&&(c.isBuffer(b)||(b=c.from(b,"binary")),8!==b.length))throw new RangeError("salt should be Buffer with 8 byte length");d/=8;for(var g=c.alloc(d),h=c.alloc(k||0),l=c.alloc(0);0=this._blockSize;){for(var d=this._blockOffset;d=this._delta8)for(a=this.pending,b=a.length%this._delta8,this.pending=a.slice(a.length-b,a.length),0===this.pending.length&&(this.pending=null),a=e.join32(a,0,a.length-b,this.endian),b=0;b>>24&255;b[e++]=a>>>16&255;b[e++]=a>>>8&255;b[e++]=a&255}else for(b[e++]=a&255,b[e++]=a>>>8&255,b[e++]=a>>>16&255,b[e++]=a>>>24&255,b[e++]=0,b[e++]=0, -b[e++]=0,b[e++]=0,c=8;cthis.blockSize&&(a=(new this.Hash).update(a).digest());g(a.length<=this.blockSize);for(var b=a.length;b< -this.blockSize;b++)a.push(0);for(b=0;b=a?b^c^e:31>=a?b&c|~b&e:47>=a?(b|~c)^e:63>=a?b&e|c&~e:b^(c|~e)}var g=d("./utils");d=d("./common");var l=g.rotl32,h=g.sum32,k=g.sum32_3,n=g.sum32_4,f=d.BlockHash;g.inherits(c,f);b.ripemd160=c;c.blockSize=512;c.outSize=160;c.hmacStrength=192;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.h[0],d=this.h[1],g=this.h[2],f=this.h[3],v=this.h[4],C=c,z=d,F=g,B=f,G=v,E=0;80>E;E++)var L=h(l(n(c,e(E,d,g,f),a[m[E]+b],15>= -E?0:31>=E?1518500249:47>=E?1859775393:63>=E?2400959708:2840853838),t[E]),v),c=v,v=f,f=l(g,10),g=d,d=L,L=h(l(n(C,e(79-E,z,F,B),a[p[E]+b],15>=E?1352829926:31>=E?1548603684:47>=E?1836072691:63>=E?2053994217:0),r[E]),G),C=G,G=B,B=l(F,10),F=z,z=L;L=k(this.h[1],g,B);this.h[1]=k(this.h[2],f,G);this.h[2]=k(this.h[3],v,C);this.h[3]=k(this.h[4],c,z);this.h[4]=k(this.h[0],d,F);this.h[0]=L};c.prototype._digest=function(a){return"hex"===a?g.toHex32(this.h,"little"):g.split32(this.h,"little")};var m=[0,1,2,3,4, +{}],101:[function(e,a,b){function c(){this._events=this._events||{};this._maxListeners=this._maxListeners||void 0}function d(a){return"function"===typeof a}function f(a){return"object"===typeof a&&null!==a}a.exports=c;c.EventEmitter=c;c.prototype._events=void 0;c.prototype._maxListeners=void 0;c.defaultMaxListeners=10;c.prototype.setMaxListeners=function(a){if("number"!==typeof a||0>a||isNaN(a))throw TypeError("n must be a positive number");this._maxListeners=a;return this};c.prototype.emit=function(a){var b, +c,e,h;this._events||(this._events={});if("error"===a&&(!this._events.error||f(this._events.error)&&!this._events.error.length)){b=arguments[1];if(b instanceof Error)throw b;c=Error('Uncaught, unspecified "error" event. ('+b+")");c.context=b;throw c;}c=this._events[a];if(void 0===c)return!1;if(d(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:b=Array.prototype.slice.call(arguments,1),c.apply(this, +b)}else if(f(c))for(b=Array.prototype.slice.call(arguments,1),h=c.slice(),c=h.length,e=0;eb&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"===typeof console.trace&&console.trace());return this};c.prototype.on=c.prototype.addListener;c.prototype.once=function(a,b){function c(){this.removeListener(a,c);e||(e=!0,b.apply(this,arguments))}if(!d(b))throw TypeError("listener must be a function"); +var e=!1;c.listener=b;this.on(a,c);return this};c.prototype.removeListener=function(a,b){var c,e,g;if(!d(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;c=this._events[a];g=c.length;e=-1;if(c===b||d(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(f(c)){for(;0e)return this;1===c.length?(c.length=0,delete this._events[a]): +c.splice(e,1);this._events.removeListener&&this.emit("removeListener",a,b)}return this};c.prototype.removeAllListeners=function(a){var b;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);this.removeAllListeners("removeListener");this._events={};return this}b=this._events[a];if(d(b))this.removeListener(a, +b);else if(b)for(;b.length;)this.removeListener(a,b[b.length-1]);delete this._events[a];return this};c.prototype.listeners=function(a){return this._events&&this._events[a]?d(this._events[a])?[this._events[a]]:this._events[a].slice():[]};c.prototype.listenerCount=function(a){if(this._events){a=this._events[a];if(d(a))return 1;if(a)return a.length}return 0};c.listenerCount=function(a,b){return a.listenerCount(b)}},{}],102:[function(e,a,b){var c=e("safe-buffer").Buffer,d=e("md5.js");a.exports=function(a, +b,e,k){c.isBuffer(a)||(a=c.from(a,"binary"));if(b&&(c.isBuffer(b)||(b=c.from(b,"binary")),8!==b.length))throw new RangeError("salt should be Buffer with 8 byte length");e/=8;for(var f=c.alloc(e),g=c.alloc(k||0),l=c.alloc(0);0=this._blockSize;){for(var e=this._blockOffset;e=this._delta8)for(a=this.pending,b=a.length%this._delta8,this.pending=a.slice(a.length-b,a.length),0===this.pending.length&&(this.pending=null),a=d.join32(a,0,a.length-b,this.endian),b=0;b>>24&255;b[d++]=a>>>16&255;b[d++]=a>>>8&255;b[d++]=a&255}else for(b[d++]=a&255,b[d++]=a>>>8&255,b[d++]=a>>>16&255,b[d++]=a>>>24&255,b[d++]=0,b[d++]=0, +b[d++]=0,b[d++]=0,c=8;cthis.blockSize&&(a=(new this.Hash).update(a).digest());f(a.length<=this.blockSize);for(var b=a.length;b< +this.blockSize;b++)a.push(0);for(b=0;b=a?b^c^d:31>=a?b&c|~b&d:47>=a?(b|~c)^d:63>=a?b&d|c&~d:b^(c|~d)}var f=e("./utils");e=e("./common");var l=f.rotl32,g=f.sum32,k=f.sum32_3,n=f.sum32_4,h=e.BlockHash;f.inherits(c,h);b.ripemd160=c;c.blockSize=512;c.outSize=160;c.hmacStrength=192;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.h[0],e=this.h[1],f=this.h[2],h=this.h[3],v=this.h[4],C=c,z=e,F=f,B=h,G=v,E=0;80>E;E++)var L=g(l(n(c,d(E,e,f,h),a[m[E]+b],15>= +E?0:31>=E?1518500249:47>=E?1859775393:63>=E?2400959708:2840853838),t[E]),v),c=v,v=h,h=l(f,10),f=e,e=L,L=g(l(n(C,d(79-E,z,F,B),a[p[E]+b],15>=E?1352829926:31>=E?1548603684:47>=E?1836072691:63>=E?2053994217:0),r[E]),G),C=G,G=B,B=l(F,10),F=z,z=L;L=k(this.h[1],f,B);this.h[1]=k(this.h[2],h,G);this.h[2]=k(this.h[3],v,C);this.h[3]=k(this.h[4],c,z);this.h[4]=k(this.h[0],e,F);this.h[0]=L};c.prototype._digest=function(a){return"hex"===a?f.toHex32(this.h,"little"):f.split32(this.h,"little")};var m=[0,1,2,3,4, 5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],t=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11, -12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],r=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"./common":105,"./utils":115}],108:[function(d,a,b){b.sha1=d("./sha/1");b.sha224=d("./sha/224");b.sha256=d("./sha/256");b.sha384=d("./sha/384");b.sha512=d("./sha/512")},{"./sha/1":109,"./sha/224":110,"./sha/256":111,"./sha/384":112, -"./sha/512":113}],109:[function(d,a,b){function c(){if(!(this instanceof c))return new c;n.call(this);this.h=[1732584193,4023233417,2562383102,271733878,3285377520];this.W=Array(80)}var e=d("../utils");b=d("../common");d=d("./common");var g=e.rotl32,l=e.sum32,h=e.sum32_5,k=d.ft_1,n=b.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];e.inherits(c,n);a.exports=c;c.blockSize=512;c.outSize=160;c.hmacStrength=80;c.padLength=64;c.prototype._update=function(a,b){for(var c=this.W,e=0;16>e;e++)c[e]= -a[b+e];for(;ed;d++)c[d]= +a[b+d];for(;de;e++)c[e]=a[b+e];for(;ed;d++)c[d]=a[b+d];for(;de;e++)c[e]=a[b+e];for(;ea&&(a+=4294967296);var g=c[e-4],f=c[e-3];b=h(g,f,19);d=h(f,g,29);g=n(g,f,6);b=b^d^g;0>b&&(b+=4294967296); -var d=c[e-14],g=c[e-13],m=c[e-30],q=c[e-29],f=l(m,q,1),p=l(m,q,8),m=k(m,q,7),f=f^p^m;0>f&&(f+=4294967296);var q=c[e-30],v=c[e-29],p=h(q,v,1),m=h(q,v,8),q=n(q,v,7),p=p^m^q;0>p&&(p+=4294967296);m=c[e-32];q=c[e-31];c[e]=t(a,b,d,g,f,p,m,q);c[e+1]=r(a,b,d,g,f,p,m,q)}};c.prototype._update=function(a,b){this._prepareBlock(a,b);a=this.W;b=this.h[0];var c=this.h[1],e=this.h[2],d=this.h[3],k=this.h[4],n=this.h[5],t=this.h[6],r=this.h[7],q=this.h[8],u=this.h[9],A=this.h[10],D=this.h[11],y=this.h[12],T=this.h[13], -Q=this.h[14],ea=this.h[15];g(this.k.length===a.length);for(var S=0;SR&&(R+=4294967296);K=R;var N=q,H=u,R=h(N,H,14),P=h(N,H,18),N=h(H,N,9),R=R^P^N;0>R&&(R+=4294967296);N=R;R=q&A^~q&y;0>R&&(R+=4294967296);P=R;R=u&D^~u&T;0>R&&(R+=4294967296);var H=R,M=this.k[S],U=this.k[S+1],oa=a[S],pa=a[S+1],R=v(Q,ea,K,N,P,H,M,U,oa,pa),P=C(Q,ea,K,N,P,H,M,U,oa,pa);K=b;N=c;Q=l(K,N,28);ea=l(N,K,2);K=l(N,K,7);Q=Q^ea^K;0>Q&&(Q+=4294967296);N= -b;H=c;ea=h(N,H,28);K=h(H,N,2);N=h(H,N,7);ea=ea^K^N;0>ea&&(ea+=4294967296);K=b&e^b&k^e&k;0>K&&(K+=4294967296);N=c&d^c&n^d&n;0>N&&(N+=4294967296);H=m(Q,ea,K,N);K=p(Q,ea,K,N);Q=y;ea=T;y=A;T=D;A=q;D=u;q=m(t,r,R,P);u=p(r,r,R,P);t=k;r=n;k=e;n=d;e=b;d=c;b=m(R,P,H,K);c=p(R,P,H,K)}f(this.h,0,b,c);f(this.h,2,e,d);f(this.h,4,k,n);f(this.h,6,t,r);f(this.h,8,q,u);f(this.h,10,A,D);f(this.h,12,y,T);f(this.h,14,Q,ea)};c.prototype._digest=function(a){return"hex"===a?e.toHex32(this.h,"big"):e.split32(this.h,"big")}}, -{"../common":105,"../utils":115,"minimalistic-assert":125}],114:[function(d,a,b){function c(a,b,c){return a&b^a&c^b&c}var e=d("../utils").rotr32;b.ft_1=function(a,b,e,d){if(0===a)return b&e^~b&d;if(1===a||3===a)return b^e^d;if(2===a)return c(b,e,d)};b.ch32=function(a,b,c){return a&b^~a&c};b.maj32=c;b.p32=function(a,b,c){return a^b^c};b.s0_256=function(a){return e(a,2)^e(a,13)^e(a,22)};b.s1_256=function(a){return e(a,6)^e(a,11)^e(a,25)};b.g0_256=function(a){return e(a,7)^e(a,18)^a>>>3};b.g1_256=function(a){return e(a, -17)^e(a,19)^a>>>10}},{"../utils":115}],115:[function(d,a,b){function c(a){return(a>>>24|a>>>8&65280|a<<8&16711680|(a&255)<<24)>>>0}function e(a){return 1===a.length?"0"+a:a}function g(a){return 7===a.length?"0"+a:6===a.length?"00"+a:5===a.length?"000"+a:4===a.length?"0000"+a:3===a.length?"00000"+a:2===a.length?"000000"+a:1===a.length?"0000000"+a:a}var l=d("minimalistic-assert");d=d("inherits");b.inherits=d;b.toArray=function(a,b){if(Array.isArray(a))return a.slice();if(!a)return[];var c=[];if("string"=== -typeof a)if(!b)for(b=0;b>8,e=e&255;d?c.push(d,e):c.push(e)}else{if("hex"===b)for(a=a.replace(/[^a-z0-9]+/ig,""),0!==a.length%2&&(a="0"+a),b=0;b>>0;return c};b.split32=function(a,b){for(var c=Array(4*a.length),e=0,d=0;e>>24,c[d+1]=g>>>16&255,c[d+2]=g>>>8&255,c[d+3]=g&255):(c[d+3]=g>>>24,c[d+2]=g>>>16&255,c[d+1]=g>>>8&255,c[d]=g&255)}return c};b.rotr32=function(a,b){return a>>>b|a<<32-b};b.rotl32=function(a, -b){return a<>>32-b};b.sum32=function(a,b){return a+b>>>0};b.sum32_3=function(a,b,c){return a+b+c>>>0};b.sum32_4=function(a,b,c,e){return a+b+c+e>>>0};b.sum32_5=function(a,b,c,e,d){return a+b+c+e+d>>>0};b.sum64=function(a,b,c,e){var d=e+a[b+1]>>>0;a[b]=(d>>0;a[b+1]=d};b.sum64_hi=function(a,b,c,e){return(b+e>>>0>>0};b.sum64_lo=function(a,b,c,e){return b+e>>>0};b.sum64_4_hi=function(a,b,c,e,d,g,l,r){e=b+e>>>0;b=0+(e>>0;b+=e>> -0>>0};b.sum64_4_lo=function(a,b,c,e,d,g,l,r){return b+e+g+r>>>0};b.sum64_5_hi=function(a,b,c,e,d,g,l,r,v,C){e=b+e>>>0;b=0+(e>>0;b+=e>>0;b+=e>>0>>0};b.sum64_5_lo=function(a,b,c,e,d,g,l,r,v,C){return b+e+g+r+C>>>0};b.rotr64_hi=function(a,b,c){return(b<<32-c|a>>>c)>>>0};b.rotr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0};b.shr64_hi=function(a,b,c){return a>>>c};b.shr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0}},{inherits:119, -"minimalistic-assert":125}],116:[function(d,a,b){function c(a){if(!(this instanceof c))return new c(a);this.hash=a.hash;this.predResist=!!a.predResist;this.outLen=this.hash.outSize;this.minEntropy=a.minEntropy||this.hash.hmacStrength;this.V=this.K=this.reseedInterval=this._reseed=null;var b=g.toArray(a.entropy,a.entropyEnc||"hex"),e=g.toArray(a.nonce,a.nonceEnc||"hex");a=g.toArray(a.pers,a.persEnc||"hex");l(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(b, -e,a)}var e=d("hash.js"),g=d("minimalistic-crypto-utils"),l=d("minimalistic-assert");a.exports=c;c.prototype._init=function(a,b,c){a=a.concat(b).concat(c);this.K=Array(this.outLen/8);this.V=Array(this.outLen/8);for(b=0;b=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(a.concat(c||[]));this._reseed=1};c.prototype.generate=function(a,b,c,e){if(this._reseed>this.reseedInterval)throw Error("Reseed is required"); -"string"!==typeof b&&(e=c,c=b,b=null);c&&(c=g.toArray(c,e||"hex"),this._update(c));for(e=[];e.length>1,m=-7;h=d?h-1:0;var p=d?-1:1,t=a[b+h];h+=p;d=t&(1<<-m)-1;t>>=-m;for(m+=c;0>=-m;for(m+=l;0>1,t=23===h?Math.pow(2,-24)-Math.pow(2,-77):0;k=l?0:k-1;var r=l?1:-1,v=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,l=g):(l=Math.floor(Math.log(b)/Math.LN2),1>b*(c=Math.pow(2,-l))&&(l--,c*=2),b=1<=l+p?b+t/c:b+t*Math.pow(2,1-p),2<=b*c&&(l++, -c/=2),l+p>=g?(b=0,l=g):1<=l+p?(b=(b*c-1)*Math.pow(2,h),l+=p):(b=b*Math.pow(2,p-1)*Math.pow(2,h),l=0));for(;8<=h;a[d+k]=b&255,k+=r,b/=256,h-=8);l=l<>>32-b}function l(a, -b,c,e,d,h,f){return g(a+(b&c|~b&e)+d+h|0,f)+b|0}function h(a,b,c,e,d,h,f){return g(a+(b&e|c&~e)+d+h|0,f)+b|0}function k(a,b,c,e,d,h,f){return g(a+(b^c^e)+d+h|0,f)+b|0}function n(a,b,c,e,d,h,f){return g(a+(c^(b|~e))+d+h|0,f)+b|0}var f=d("inherits"),m=d("hash-base"),p=Array(16);f(c,m);c.prototype._update=function(){for(var a=0;16>a;++a)p[a]=this._block.readInt32LE(4*a);var a=this._a,b=this._b,c=this._c,e=this._d,a=l(a,b,c,e,p[0],3614090360,7),e=l(e,a,b,c,p[1],3905402710,12),c=l(c,e,a,b,p[2],606105819, -17),b=l(b,c,e,a,p[3],3250441966,22),a=l(a,b,c,e,p[4],4118548399,7),e=l(e,a,b,c,p[5],1200080426,12),c=l(c,e,a,b,p[6],2821735955,17),b=l(b,c,e,a,p[7],4249261313,22),a=l(a,b,c,e,p[8],1770035416,7),e=l(e,a,b,c,p[9],2336552879,12),c=l(c,e,a,b,p[10],4294925233,17),b=l(b,c,e,a,p[11],2304563134,22),a=l(a,b,c,e,p[12],1804603682,7),e=l(e,a,b,c,p[13],4254626195,12),c=l(c,e,a,b,p[14],2792965006,17),b=l(b,c,e,a,p[15],1236535329,22),a=h(a,b,c,e,p[1],4129170786,5),e=h(e,a,b,c,p[6],3225465664,9),c=h(c,e,a,b,p[11], -643717713,14),b=h(b,c,e,a,p[0],3921069994,20),a=h(a,b,c,e,p[5],3593408605,5),e=h(e,a,b,c,p[10],38016083,9),c=h(c,e,a,b,p[15],3634488961,14),b=h(b,c,e,a,p[4],3889429448,20),a=h(a,b,c,e,p[9],568446438,5),e=h(e,a,b,c,p[14],3275163606,9),c=h(c,e,a,b,p[3],4107603335,14),b=h(b,c,e,a,p[8],1163531501,20),a=h(a,b,c,e,p[13],2850285829,5),e=h(e,a,b,c,p[2],4243563512,9),c=h(c,e,a,b,p[7],1735328473,14),b=h(b,c,e,a,p[12],2368359562,20),a=k(a,b,c,e,p[5],4294588738,4),e=k(e,a,b,c,p[8],2272392833,11),c=k(c,e,a,b, -p[11],1839030562,16),b=k(b,c,e,a,p[14],4259657740,23),a=k(a,b,c,e,p[1],2763975236,4),e=k(e,a,b,c,p[4],1272893353,11),c=k(c,e,a,b,p[7],4139469664,16),b=k(b,c,e,a,p[10],3200236656,23),a=k(a,b,c,e,p[13],681279174,4),e=k(e,a,b,c,p[0],3936430074,11),c=k(c,e,a,b,p[3],3572445317,16),b=k(b,c,e,a,p[6],76029189,23),a=k(a,b,c,e,p[9],3654602809,4),e=k(e,a,b,c,p[12],3873151461,11),c=k(c,e,a,b,p[15],530742520,16),b=k(b,c,e,a,p[2],3299628645,23),a=n(a,b,c,e,p[0],4096336452,6),e=n(e,a,b,c,p[7],1126891415,10),c=n(c, -e,a,b,p[14],2878612391,15),b=n(b,c,e,a,p[5],4237533241,21),a=n(a,b,c,e,p[12],1700485571,6),e=n(e,a,b,c,p[3],2399980690,10),c=n(c,e,a,b,p[10],4293915773,15),b=n(b,c,e,a,p[1],2240044497,21),a=n(a,b,c,e,p[8],1873313359,6),e=n(e,a,b,c,p[15],4264355552,10),c=n(c,e,a,b,p[6],2734768916,15),b=n(b,c,e,a,p[13],1309151649,21),a=n(a,b,c,e,p[4],4149444226,6),e=n(e,a,b,c,p[11],3174756917,10),c=n(c,e,a,b,p[2],718787259,15),b=n(b,c,e,a,p[9],3951481745,21);this._a=this._a+a|0;this._b=this._b+b|0;this._c=this._c+c| -0;this._d=this._d+e|0};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._blockSize;){for(var d=this._blockOffset;da;++a)this._length[a]=0;return b};c.prototype._digest=function(){throw Error("_digest is not implemented");};a.exports=c},{inherits:119,"safe-buffer":160,stream:169}],124:[function(d,a,b){function c(a){this.rand=a||new g.Rand} -var e=d("bn.js"),g=d("brorand");a.exports=c;c.create=function(a){return new c(a)};c.prototype._randbelow=function(a){var b=a.bitLength(),b=Math.ceil(b/8);do var c=new e(this.rand.generate(b));while(0<=c.cmp(a));return c};c.prototype._randrange=function(a,b){b=b.sub(a);return a.add(this._randbelow(b))};c.prototype.test=function(a,b,c){var d=a.bitLength(),g=e.mont(a),h=(new e(1)).toRed(g);b||(b=Math.max(1,d/48|0));for(var d=a.subn(1),k=0;!d.testn(k);k++);a=a.shrn(k);for(var l=d.toRed(g);0>8,e=e&255;d?c.push(d,e):c.push(e)}return c};b.zero2=c;b.toHex=e;b.encode=function(a,b){return"hex"===b?e(a):a}},{}],127:[function(d,a,b){a.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb", -"2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],128:[function(d,a,b){a=d("asn1.js");b.certificate=d("./certificate");d=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(), -this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});b.RSAPrivateKey=d;d=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});b.RSAPublicKey=d;d=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}); -b.PublicKey=d;var c=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())});d=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});b.PrivateKey=d;d=a.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(), -this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});b.EncryptedPrivateKey=d;d=a.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}); -b.DSAPrivateKey=d;b.DSAparam=a.define("DSAparam",function(){this.int()});d=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(e),this.key("publicKey").optional().explicit(1).bitstr())});b.ECPrivateKey=d;var e=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});b.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":129, -"asn1.js":19}],129:[function(d,a,b){d=d("asn1.js");var c=d.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),e=d.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),g=d.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),l=d.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(g),this.key("subjectPublicKey").bitstr())}), -h=d.define("RelativeDistinguishedName",function(){this.setof(e)}),k=d.define("RDNSequence",function(){this.seqof(h)}),n=d.define("Name",function(){this.choice({rdnSequence:this.use(k)})}),f=d.define("Validity",function(){this.seq().obj(this.key("notBefore").use(c),this.key("notAfter").use(c))}),m=d.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=d.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(), -this.key("serialNumber").int(),this.key("signature").use(g),this.key("issuer").use(n),this.key("validity").use(f),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(m).optional())});d=d.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(g),this.key("signatureValue").bitstr())}); -a.exports=d},{"asn1.js":19}],130:[function(d,a,b){(function(b){var c=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,g=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,l=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,h=d("evp_bytestokey"),k=d("browserify-aes");a.exports=function(a,e){a=a.toString();var d=a.match(c),f;if(d){var n="aes"+d[1],r=new b(d[2],"hex");f=new b(d[3].replace(/\r?\n/g, -""),"base64");d=h(e,r.slice(0,8),parseInt(d[1],10)).key;e=[];n=k.createDecipheriv(n,d,r);e.push(n.update(f));e.push(n.final());f=b.concat(e)}else f=a.match(l),f=new b(f[2].replace(/\r?\n/g,""),"base64");return{tag:a.match(g)[1],data:f}}}).call(this,d("buffer").Buffer)},{"browserify-aes":39,buffer:65,evp_bytestokey:102}],131:[function(d,a,b){(function(b){function c(a){var c;"object"!==typeof a||b.isBuffer(a)||(c=a.passphrase,a=a.key);"string"===typeof a&&(a=new b(a));var e=h(a,c);a=e.tag;var e=e.data, -d;switch(a){case "CERTIFICATE":d=g.certificate.decode(e,"der").tbsCertificate.subjectPublicKeyInfo;case "PUBLIC KEY":d||(d=g.PublicKey.decode(e,"der"));c=d.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return g.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case "1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case "1.2.840.10040.4.1":return d.algorithm.params.pub_key=g.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params}; -default:throw Error("unknown key id "+c);}throw Error("unknown key type "+a);case "ENCRYPTED PRIVATE KEY":var f=e=g.EncryptedPrivateKey.decode(e,"der"),e=c,v=f.algorithm.decrypt.kde.kdeparams.salt,C=parseInt(f.algorithm.decrypt.kde.kdeparams.iters.toString(),10);d=l[f.algorithm.decrypt.cipher.algo.join(".")];a=f.algorithm.decrypt.cipher.iv;c=f.subjectPrivateKey;f=parseInt(d.split("-")[1],10)/8;e=n.pbkdf2Sync(e,v,C,f);d=k.createDecipheriv(d,e,a);a=[];a.push(d.update(c));a.push(d.final());e=b.concat(a); -case "PRIVATE KEY":d=g.PrivateKey.decode(e,"der");c=d.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return g.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case "1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:g.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case "1.2.840.10040.4.1":return d.algorithm.params.priv_key=g.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw Error("unknown key id "+c);}throw Error("unknown key type "+ -a);case "RSA PUBLIC KEY":return g.RSAPublicKey.decode(e,"der");case "RSA PRIVATE KEY":return g.RSAPrivateKey.decode(e,"der");case "DSA PRIVATE KEY":return{type:"dsa",params:g.DSAPrivateKey.decode(e,"der")};case "EC PRIVATE KEY":return e=g.ECPrivateKey.decode(e,"der"),{curve:e.parameters.value,privateKey:e.privateKey};default:throw Error("unknown key type "+a);}}var g=d("./asn1"),l=d("./aesid.json"),h=d("./fixProc"),k=d("browserify-aes"),n=d("pbkdf2");a.exports=c;c.signature=g.signature}).call(this, -d("buffer").Buffer)},{"./aesid.json":127,"./asn1":128,"./fixProc":130,"browserify-aes":39,buffer:65,pbkdf2:132}],132:[function(d,a,b){b.pbkdf2=d("./lib/async");b.pbkdf2Sync=d("./lib/sync")},{"./lib/async":133,"./lib/sync":136}],133:[function(d,a,b){(function(b,e){function c(a){if(e.process&&!e.process.browser||!t||!t.importKey||!t.deriveBits)return Promise.resolve(!1);if(void 0!==v[a])return v[a];p=p||m.alloc(8);var b=l(p,p,10,128,a).then(function(){return!0}).catch(function(){return!1});return v[a]= -b}function l(a,b,c,e,d){return t.importKey("raw",a,{name:"PBKDF2"},!1,["deriveBits"]).then(function(a){return t.deriveBits({name:"PBKDF2",salt:b,iterations:c,hash:{name:d}},a,e<<3)}).then(function(a){return m.from(a)})}function h(a,c){a.then(function(a){b.nextTick(function(){c(null,a)})},function(a){b.nextTick(function(){c(a)})})}var k=d("./precondition"),n=d("./default-encoding"),f=d("./sync"),m=d("safe-buffer").Buffer,p,t=e.crypto&&e.crypto.subtle,r={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256", -"sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},v=[];a.exports=function(a,d,g,t,p,v){m.isBuffer(a)||(a=m.from(a,n));m.isBuffer(d)||(d=m.from(d,n));k(g,t);"function"===typeof p&&(v=p,p=void 0);if("function"!==typeof v)throw Error("No callback provided to pbkdf2");p=p||"sha1";var q=r[p.toLowerCase()];if(!q||"function"!==typeof e.Promise)return b.nextTick(function(){var b;try{b=f(a,d,g,t,p)}catch(F){return v(F)}v(null,b)});h(c(q).then(function(b){return b? -l(a,d,g,t,q):f(a,d,g,t,p)}),v)}}).call(this,d("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./default-encoding":134,"./precondition":135,"./sync":136,_process:138,"safe-buffer":160}],134:[function(d,a,b){d=d("_process");d=d.browser?"utf-8":6<=parseInt(d.version.split(".")[0].slice(1),10)?"utf-8":"binary";a.exports=d},{_process:138}],135:[function(d,a,b){var c=Math.pow(2,30)-1;a.exports=function(a,b){if("number"!==typeof a)throw new TypeError("Iterations not a number"); -if(0>a)throw new TypeError("Bad iterations");if("number"!==typeof b)throw new TypeError("Key length not a number");if(0>b||b>c||b!==b)throw new TypeError("Bad key length");}},{}],136:[function(d,a,b){function c(a,b,c){var d=e(a),g="sha512"===a||"sha384"===a?128:64;b.length>g?b=d(b):b.lengtht||0<=(new h(e)).cmp(a.modulus))throw Error("decryption error");e=d?f(new h(e),a):k(e,a);var p=new b(t-e.length);p.fill(0);e=b.concat([p,e],t);if(4===m){t=e;m=a.modulus.byteLength();a=n("sha1").update(new b("")).digest();d=a.length;if(0!==t[0])throw Error("decryption error");e=t.slice(1,d+1);t=t.slice(d+1);e=l(e,g(t,d));m=l(t,g(e,m-d-1));t=m.slice(0,d);a=new b(a);t=new b(t);e=0;p=a.length;a.length!== -t.length&&(e++,p=Math.min(a.length,t.length));for(var q=-1;++q=m.length){e++;break}p=m.slice(2,t-1);m.slice(t-1,t);("0002"!==a.toString("hex")&&!d||"0001"!==a.toString("hex")&&d)&&e++;8>p.length&&e++;if(e)throw Error("decryption error");return m.slice(t)}if(3===m)return e;throw Error("unknown padding");}}).call(this, -d("buffer").Buffer)},{"./mgf":140,"./withPublic":143,"./xor":144,"bn.js":34,"browserify-rsa":57,buffer:65,"create-hash":69,"parse-asn1":131}],142:[function(d,a,b){(function(b){var c=d("parse-asn1"),g=d("randombytes"),l=d("create-hash"),h=d("./mgf"),k=d("./xor"),n=d("bn.js"),f=d("./withPublic"),m=d("browserify-rsa");a.exports=function(a,e,d){var t;t=a.padding?a.padding:d?1:4;a=c(a);if(4===t){t=a.modulus.byteLength();var r=e.length,q=l("sha1").update(new b("")).digest(),p=q.length,D=2*p;if(r>t-D-2)throw Error("message too long"); -D=new b(t-r-D-2);D.fill(0);var y=t-p-1,r=g(p);e=k(b.concat([q,D,new b([1]),e],y),h(r,y));p=k(r,h(e,p));e=new n(b.concat([new b([0]),p,e],t))}else if(1===t){p=e.length;t=a.modulus.byteLength();if(p>t-11)throw Error("message too long");if(d)p=new b(t-p-3),p.fill(255);else{for(var p=t-p-3,q=new b(p),r=0,D=g(2*p),y=0,w;rd;d++)c[d]=a[b+d];for(;da&&(a+=4294967296);var f=c[d-4],h=c[d-3];b=g(f,h,19);e=g(h,f,29);f=n(f,h,6);b=b^e^f;0>b&&(b+=4294967296); +var e=c[d-14],f=c[d-13],m=c[d-30],q=c[d-29],h=l(m,q,1),v=l(m,q,8),m=k(m,q,7),h=h^v^m;0>h&&(h+=4294967296);var q=c[d-30],p=c[d-29],v=g(q,p,1),m=g(q,p,8),q=n(q,p,7),v=v^m^q;0>v&&(v+=4294967296);m=c[d-32];q=c[d-31];c[d]=t(a,b,e,f,h,v,m,q);c[d+1]=r(a,b,e,f,h,v,m,q)}};c.prototype._update=function(a,b){this._prepareBlock(a,b);a=this.W;b=this.h[0];var c=this.h[1],d=this.h[2],e=this.h[3],k=this.h[4],n=this.h[5],t=this.h[6],r=this.h[7],q=this.h[8],u=this.h[9],A=this.h[10],D=this.h[11],y=this.h[12],T=this.h[13], +Q=this.h[14],ea=this.h[15];f(this.k.length===a.length);for(var S=0;SR&&(R+=4294967296);K=R;var N=q,H=u,R=g(N,H,14),P=g(N,H,18),N=g(H,N,9),R=R^P^N;0>R&&(R+=4294967296);N=R;R=q&A^~q&y;0>R&&(R+=4294967296);P=R;R=u&D^~u&T;0>R&&(R+=4294967296);var H=R,M=this.k[S],U=this.k[S+1],oa=a[S],pa=a[S+1],R=v(Q,ea,K,N,P,H,M,U,oa,pa),P=C(Q,ea,K,N,P,H,M,U,oa,pa);K=b;N=c;Q=l(K,N,28);ea=l(N,K,2);K=l(N,K,7);Q=Q^ea^K;0>Q&&(Q+=4294967296);N= +b;H=c;ea=g(N,H,28);K=g(H,N,2);N=g(H,N,7);ea=ea^K^N;0>ea&&(ea+=4294967296);K=b&d^b&k^d&k;0>K&&(K+=4294967296);N=c&e^c&n^e&n;0>N&&(N+=4294967296);H=m(Q,ea,K,N);K=p(Q,ea,K,N);Q=y;ea=T;y=A;T=D;A=q;D=u;q=m(t,r,R,P);u=p(r,r,R,P);t=k;r=n;k=d;n=e;d=b;e=c;b=m(R,P,H,K);c=p(R,P,H,K)}h(this.h,0,b,c);h(this.h,2,d,e);h(this.h,4,k,n);h(this.h,6,t,r);h(this.h,8,q,u);h(this.h,10,A,D);h(this.h,12,y,T);h(this.h,14,Q,ea)};c.prototype._digest=function(a){return"hex"===a?d.toHex32(this.h,"big"):d.split32(this.h,"big")}}, +{"../common":105,"../utils":115,"minimalistic-assert":125}],114:[function(e,a,b){function c(a,b,c){return a&b^a&c^b&c}var d=e("../utils").rotr32;b.ft_1=function(a,b,d,e){if(0===a)return b&d^~b&e;if(1===a||3===a)return b^d^e;if(2===a)return c(b,d,e)};b.ch32=function(a,b,c){return a&b^~a&c};b.maj32=c;b.p32=function(a,b,c){return a^b^c};b.s0_256=function(a){return d(a,2)^d(a,13)^d(a,22)};b.s1_256=function(a){return d(a,6)^d(a,11)^d(a,25)};b.g0_256=function(a){return d(a,7)^d(a,18)^a>>>3};b.g1_256=function(a){return d(a, +17)^d(a,19)^a>>>10}},{"../utils":115}],115:[function(e,a,b){function c(a){return(a>>>24|a>>>8&65280|a<<8&16711680|(a&255)<<24)>>>0}function d(a){return 1===a.length?"0"+a:a}function f(a){return 7===a.length?"0"+a:6===a.length?"00"+a:5===a.length?"000"+a:4===a.length?"0000"+a:3===a.length?"00000"+a:2===a.length?"000000"+a:1===a.length?"0000000"+a:a}var l=e("minimalistic-assert");e=e("inherits");b.inherits=e;b.toArray=function(a,b){if(Array.isArray(a))return a.slice();if(!a)return[];var c=[];if("string"=== +typeof a)if(!b)for(b=0;b>8,d=d&255;e?c.push(e,d):c.push(d)}else{if("hex"===b)for(a=a.replace(/[^a-z0-9]+/ig,""),0!==a.length%2&&(a="0"+a),b=0;b>>0;return c};b.split32=function(a,b){for(var c=Array(4*a.length),d=0,e=0;d>>24,c[e+1]=f>>>16&255,c[e+2]=f>>>8&255,c[e+3]=f&255):(c[e+3]=f>>>24,c[e+2]=f>>>16&255,c[e+1]=f>>>8&255,c[e]=f&255)}return c};b.rotr32=function(a,b){return a>>>b|a<<32-b};b.rotl32=function(a, +b){return a<>>32-b};b.sum32=function(a,b){return a+b>>>0};b.sum32_3=function(a,b,c){return a+b+c>>>0};b.sum32_4=function(a,b,c,d){return a+b+c+d>>>0};b.sum32_5=function(a,b,c,d,e){return a+b+c+d+e>>>0};b.sum64=function(a,b,c,d){var e=d+a[b+1]>>>0;a[b]=(e>>0;a[b+1]=e};b.sum64_hi=function(a,b,c,d){return(b+d>>>0>>0};b.sum64_lo=function(a,b,c,d){return b+d>>>0};b.sum64_4_hi=function(a,b,c,d,e,f,l,r){d=b+d>>>0;b=0+(d>>0;b+=d>> +0>>0};b.sum64_4_lo=function(a,b,c,d,e,f,l,r){return b+d+f+r>>>0};b.sum64_5_hi=function(a,b,c,d,e,f,l,r,v,C){d=b+d>>>0;b=0+(d>>0;b+=d>>0;b+=d>>0>>0};b.sum64_5_lo=function(a,b,c,d,e,f,l,r,v,C){return b+d+f+r+C>>>0};b.rotr64_hi=function(a,b,c){return(b<<32-c|a>>>c)>>>0};b.rotr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0};b.shr64_hi=function(a,b,c){return a>>>c};b.shr64_lo=function(a,b,c){return(a<<32-c|b>>>c)>>>0}},{inherits:119, +"minimalistic-assert":125}],116:[function(e,a,b){function c(a){if(!(this instanceof c))return new c(a);this.hash=a.hash;this.predResist=!!a.predResist;this.outLen=this.hash.outSize;this.minEntropy=a.minEntropy||this.hash.hmacStrength;this.V=this.K=this.reseedInterval=this._reseed=null;var b=f.toArray(a.entropy,a.entropyEnc||"hex"),d=f.toArray(a.nonce,a.nonceEnc||"hex");a=f.toArray(a.pers,a.persEnc||"hex");l(b.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._init(b, +d,a)}var d=e("hash.js"),f=e("minimalistic-crypto-utils"),l=e("minimalistic-assert");a.exports=c;c.prototype._init=function(a,b,c){a=a.concat(b).concat(c);this.K=Array(this.outLen/8);this.V=Array(this.outLen/8);for(b=0;b=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits");this._update(a.concat(c||[]));this._reseed=1};c.prototype.generate=function(a,b,c,d){if(this._reseed>this.reseedInterval)throw Error("Reseed is required"); +"string"!==typeof b&&(d=c,c=b,b=null);c&&(c=f.toArray(c,d||"hex"),this._update(c));for(d=[];d.length>1,m=-7;g=e?g-1:0;var p=e?-1:1,t=a[b+g];g+=p;e=t&(1<<-m)-1;t>>=-m;for(m+=c;0>=-m;for(m+=l;0>1,t=23===g?Math.pow(2,-24)-Math.pow(2,-77):0;k=l?0:k-1;var r=l?1:-1,v=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,l=f):(l=Math.floor(Math.log(b)/Math.LN2),1>b*(c=Math.pow(2,-l))&&(l--,c*=2),b=1<=l+p?b+t/c:b+t*Math.pow(2,1-p),2<=b*c&&(l++, +c/=2),l+p>=f?(b=0,l=f):1<=l+p?(b=(b*c-1)*Math.pow(2,g),l+=p):(b=b*Math.pow(2,p-1)*Math.pow(2,g),l=0));for(;8<=g;a[e+k]=b&255,k+=r,b/=256,g-=8);l=l<>>32-b}function l(a, +b,c,d,e,g,h){return f(a+(b&c|~b&d)+e+g|0,h)+b|0}function g(a,b,c,d,e,g,h){return f(a+(b&d|c&~d)+e+g|0,h)+b|0}function k(a,b,c,d,e,g,h){return f(a+(b^c^d)+e+g|0,h)+b|0}function n(a,b,c,d,e,g,h){return f(a+(c^(b|~d))+e+g|0,h)+b|0}var h=e("inherits"),m=e("hash-base"),p=Array(16);h(c,m);c.prototype._update=function(){for(var a=0;16>a;++a)p[a]=this._block.readInt32LE(4*a);var a=this._a,b=this._b,c=this._c,d=this._d,a=l(a,b,c,d,p[0],3614090360,7),d=l(d,a,b,c,p[1],3905402710,12),c=l(c,d,a,b,p[2],606105819, +17),b=l(b,c,d,a,p[3],3250441966,22),a=l(a,b,c,d,p[4],4118548399,7),d=l(d,a,b,c,p[5],1200080426,12),c=l(c,d,a,b,p[6],2821735955,17),b=l(b,c,d,a,p[7],4249261313,22),a=l(a,b,c,d,p[8],1770035416,7),d=l(d,a,b,c,p[9],2336552879,12),c=l(c,d,a,b,p[10],4294925233,17),b=l(b,c,d,a,p[11],2304563134,22),a=l(a,b,c,d,p[12],1804603682,7),d=l(d,a,b,c,p[13],4254626195,12),c=l(c,d,a,b,p[14],2792965006,17),b=l(b,c,d,a,p[15],1236535329,22),a=g(a,b,c,d,p[1],4129170786,5),d=g(d,a,b,c,p[6],3225465664,9),c=g(c,d,a,b,p[11], +643717713,14),b=g(b,c,d,a,p[0],3921069994,20),a=g(a,b,c,d,p[5],3593408605,5),d=g(d,a,b,c,p[10],38016083,9),c=g(c,d,a,b,p[15],3634488961,14),b=g(b,c,d,a,p[4],3889429448,20),a=g(a,b,c,d,p[9],568446438,5),d=g(d,a,b,c,p[14],3275163606,9),c=g(c,d,a,b,p[3],4107603335,14),b=g(b,c,d,a,p[8],1163531501,20),a=g(a,b,c,d,p[13],2850285829,5),d=g(d,a,b,c,p[2],4243563512,9),c=g(c,d,a,b,p[7],1735328473,14),b=g(b,c,d,a,p[12],2368359562,20),a=k(a,b,c,d,p[5],4294588738,4),d=k(d,a,b,c,p[8],2272392833,11),c=k(c,d,a,b, +p[11],1839030562,16),b=k(b,c,d,a,p[14],4259657740,23),a=k(a,b,c,d,p[1],2763975236,4),d=k(d,a,b,c,p[4],1272893353,11),c=k(c,d,a,b,p[7],4139469664,16),b=k(b,c,d,a,p[10],3200236656,23),a=k(a,b,c,d,p[13],681279174,4),d=k(d,a,b,c,p[0],3936430074,11),c=k(c,d,a,b,p[3],3572445317,16),b=k(b,c,d,a,p[6],76029189,23),a=k(a,b,c,d,p[9],3654602809,4),d=k(d,a,b,c,p[12],3873151461,11),c=k(c,d,a,b,p[15],530742520,16),b=k(b,c,d,a,p[2],3299628645,23),a=n(a,b,c,d,p[0],4096336452,6),d=n(d,a,b,c,p[7],1126891415,10),c=n(c, +d,a,b,p[14],2878612391,15),b=n(b,c,d,a,p[5],4237533241,21),a=n(a,b,c,d,p[12],1700485571,6),d=n(d,a,b,c,p[3],2399980690,10),c=n(c,d,a,b,p[10],4293915773,15),b=n(b,c,d,a,p[1],2240044497,21),a=n(a,b,c,d,p[8],1873313359,6),d=n(d,a,b,c,p[15],4264355552,10),c=n(c,d,a,b,p[6],2734768916,15),b=n(b,c,d,a,p[13],1309151649,21),a=n(a,b,c,d,p[4],4149444226,6),d=n(d,a,b,c,p[11],3174756917,10),c=n(c,d,a,b,p[2],718787259,15),b=n(b,c,d,a,p[9],3951481745,21);this._a=this._a+a|0;this._b=this._b+b|0;this._c=this._c+c| +0;this._d=this._d+d|0};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._blockSize;){for(var e=this._blockOffset;ea;++a)this._length[a]=0;return b};c.prototype._digest=function(){throw Error("_digest is not implemented");};a.exports=c},{inherits:119,"safe-buffer":160,stream:169}],124:[function(e,a,b){function c(a){this.rand=a||new f.Rand} +var d=e("bn.js"),f=e("brorand");a.exports=c;c.create=function(a){return new c(a)};c.prototype._randbelow=function(a){var b=a.bitLength(),b=Math.ceil(b/8);do var c=new d(this.rand.generate(b));while(0<=c.cmp(a));return c};c.prototype._randrange=function(a,b){b=b.sub(a);return a.add(this._randbelow(b))};c.prototype.test=function(a,b,c){var e=a.bitLength(),f=d.mont(a),g=(new d(1)).toRed(f);b||(b=Math.max(1,e/48|0));for(var e=a.subn(1),k=0;!e.testn(k);k++);a=a.shrn(k);for(var l=e.toRed(f);0>8,d=d&255;e?c.push(e,d):c.push(d)}return c};b.zero2=c;b.toHex=d;b.encode=function(a,b){return"hex"===b?d(a):a}},{}],127:[function(e,a,b){a.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb", +"2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],128:[function(e,a,b){a=e("asn1.js");b.certificate=e("./certificate");e=a.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(), +this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});b.RSAPrivateKey=e;e=a.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});b.RSAPublicKey=e;e=a.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}); +b.PublicKey=e;var c=a.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())});e=a.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});b.PrivateKey=e;e=a.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(), +this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});b.EncryptedPrivateKey=e;e=a.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}); +b.DSAPrivateKey=e;b.DSAparam=a.define("DSAparam",function(){this.int()});e=a.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});b.ECPrivateKey=e;var d=a.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});b.signature=a.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},{"./certificate":129, +"asn1.js":19}],129:[function(e,a,b){e=e("asn1.js");var c=e.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),d=e.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),f=e.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional())}),l=e.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(f),this.key("subjectPublicKey").bitstr())}), +g=e.define("RelativeDistinguishedName",function(){this.setof(d)}),k=e.define("RDNSequence",function(){this.seqof(g)}),n=e.define("Name",function(){this.choice({rdnSequence:this.use(k)})}),h=e.define("Validity",function(){this.seq().obj(this.key("notBefore").use(c),this.key("notAfter").use(c))}),m=e.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),p=e.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int(), +this.key("serialNumber").int(),this.key("signature").use(f),this.key("issuer").use(n),this.key("validity").use(h),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(m).optional())});e=e.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(p),this.key("signatureAlgorithm").use(f),this.key("signatureValue").bitstr())}); +a.exports=e},{"asn1.js":19}],130:[function(e,a,b){(function(b){var c=/Proc-Type: 4,ENCRYPTED\n\r?DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\n\r?\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?/m,f=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n/m,l=/^-----BEGIN ((?:.* KEY)|CERTIFICATE)-----\n\r?([0-9A-z\n\r\+\/\=]+)\n\r?-----END \1-----$/m,g=e("evp_bytestokey"),k=e("browserify-aes");a.exports=function(a,d){a=a.toString();var e=a.match(c),h;if(e){var n="aes"+e[1],r=new b(e[2],"hex");h=new b(e[3].replace(/\r?\n/g, +""),"base64");e=g(d,r.slice(0,8),parseInt(e[1],10)).key;d=[];n=k.createDecipheriv(n,e,r);d.push(n.update(h));d.push(n.final());h=b.concat(d)}else h=a.match(l),h=new b(h[2].replace(/\r?\n/g,""),"base64");return{tag:a.match(f)[1],data:h}}}).call(this,e("buffer").Buffer)},{"browserify-aes":39,buffer:65,evp_bytestokey:102}],131:[function(e,a,b){(function(b){function c(a){var c;"object"!==typeof a||b.isBuffer(a)||(c=a.passphrase,a=a.key);"string"===typeof a&&(a=new b(a));var d=g(a,c);a=d.tag;var d=d.data, +e;switch(a){case "CERTIFICATE":e=f.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case "PUBLIC KEY":e||(e=f.PublicKey.decode(d,"der"));c=e.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return f.RSAPublicKey.decode(e.subjectPublicKey.data,"der");case "1.2.840.10045.2.1":return e.subjectPrivateKey=e.subjectPublicKey,{type:"ec",data:e};case "1.2.840.10040.4.1":return e.algorithm.params.pub_key=f.DSAparam.decode(e.subjectPublicKey.data,"der"),{type:"dsa",data:e.algorithm.params}; +default:throw Error("unknown key id "+c);}throw Error("unknown key type "+a);case "ENCRYPTED PRIVATE KEY":var h=d=f.EncryptedPrivateKey.decode(d,"der"),d=c,v=h.algorithm.decrypt.kde.kdeparams.salt,C=parseInt(h.algorithm.decrypt.kde.kdeparams.iters.toString(),10);e=l[h.algorithm.decrypt.cipher.algo.join(".")];a=h.algorithm.decrypt.cipher.iv;c=h.subjectPrivateKey;h=parseInt(e.split("-")[1],10)/8;d=n.pbkdf2Sync(d,v,C,h);e=k.createDecipheriv(e,d,a);a=[];a.push(e.update(c));a.push(e.final());d=b.concat(a); +case "PRIVATE KEY":e=f.PrivateKey.decode(d,"der");c=e.algorithm.algorithm.join(".");switch(c){case "1.2.840.113549.1.1.1":return f.RSAPrivateKey.decode(e.subjectPrivateKey,"der");case "1.2.840.10045.2.1":return{curve:e.algorithm.curve,privateKey:f.ECPrivateKey.decode(e.subjectPrivateKey,"der").privateKey};case "1.2.840.10040.4.1":return e.algorithm.params.priv_key=f.DSAparam.decode(e.subjectPrivateKey,"der"),{type:"dsa",params:e.algorithm.params};default:throw Error("unknown key id "+c);}throw Error("unknown key type "+ +a);case "RSA PUBLIC KEY":return f.RSAPublicKey.decode(d,"der");case "RSA PRIVATE KEY":return f.RSAPrivateKey.decode(d,"der");case "DSA PRIVATE KEY":return{type:"dsa",params:f.DSAPrivateKey.decode(d,"der")};case "EC PRIVATE KEY":return d=f.ECPrivateKey.decode(d,"der"),{curve:d.parameters.value,privateKey:d.privateKey};default:throw Error("unknown key type "+a);}}var f=e("./asn1"),l=e("./aesid.json"),g=e("./fixProc"),k=e("browserify-aes"),n=e("pbkdf2");a.exports=c;c.signature=f.signature}).call(this, +e("buffer").Buffer)},{"./aesid.json":127,"./asn1":128,"./fixProc":130,"browserify-aes":39,buffer:65,pbkdf2:132}],132:[function(e,a,b){b.pbkdf2=e("./lib/async");b.pbkdf2Sync=e("./lib/sync")},{"./lib/async":133,"./lib/sync":136}],133:[function(e,a,b){(function(b,d){function c(a){if(d.process&&!d.process.browser||!t||!t.importKey||!t.deriveBits)return Promise.resolve(!1);if(void 0!==v[a])return v[a];p=p||m.alloc(8);var b=l(p,p,10,128,a).then(function(){return!0}).catch(function(){return!1});return v[a]= +b}function l(a,b,c,d,e){return t.importKey("raw",a,{name:"PBKDF2"},!1,["deriveBits"]).then(function(a){return t.deriveBits({name:"PBKDF2",salt:b,iterations:c,hash:{name:e}},a,d<<3)}).then(function(a){return m.from(a)})}function g(a,c){a.then(function(a){b.nextTick(function(){c(null,a)})},function(a){b.nextTick(function(){c(a)})})}var k=e("./precondition"),n=e("./default-encoding"),h=e("./sync"),m=e("safe-buffer").Buffer,p,t=d.crypto&&d.crypto.subtle,r={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256", +"sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},v=[];a.exports=function(a,e,f,t,p,v){m.isBuffer(a)||(a=m.from(a,n));m.isBuffer(e)||(e=m.from(e,n));k(f,t);"function"===typeof p&&(v=p,p=void 0);if("function"!==typeof v)throw Error("No callback provided to pbkdf2");p=p||"sha1";var q=r[p.toLowerCase()];if(!q||"function"!==typeof d.Promise)return b.nextTick(function(){var b;try{b=h(a,e,f,t,p)}catch(F){return v(F)}v(null,b)});g(c(q).then(function(b){return b? +l(a,e,f,t,q):h(a,e,f,t,p)}),v)}}).call(this,e("_process"),"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{"./default-encoding":134,"./precondition":135,"./sync":136,_process:138,"safe-buffer":160}],134:[function(e,a,b){e=e("_process");e=e.browser?"utf-8":6<=parseInt(e.version.split(".")[0].slice(1),10)?"utf-8":"binary";a.exports=e},{_process:138}],135:[function(e,a,b){var c=Math.pow(2,30)-1;a.exports=function(a,b){if("number"!==typeof a)throw new TypeError("Iterations not a number"); +if(0>a)throw new TypeError("Bad iterations");if("number"!==typeof b)throw new TypeError("Key length not a number");if(0>b||b>c||b!==b)throw new TypeError("Bad key length");}},{}],136:[function(e,a,b){function c(a,b,c){var e=d(a),f="sha512"===a||"sha384"===a?128:64;b.length>f?b=e(b):b.lengtht||0<=(new g(d)).cmp(a.modulus))throw Error("decryption error");d=e?h(new g(d),a):k(d,a);var p=new b(t-d.length);p.fill(0);d=b.concat([p,d],t);if(4===m){t=d;m=a.modulus.byteLength();a=n("sha1").update(new b("")).digest();e=a.length;if(0!==t[0])throw Error("decryption error");d=t.slice(1,e+1);t=t.slice(e+1);d=l(d,f(t,e));m=l(t,f(d,m-e-1));t=m.slice(0,e);a=new b(a);t=new b(t);d=0;p=a.length;a.length!== +t.length&&(d++,p=Math.min(a.length,t.length));for(var q=-1;++q=m.length){d++;break}p=m.slice(2,t-1);m.slice(t-1,t);("0002"!==a.toString("hex")&&!e||"0001"!==a.toString("hex")&&e)&&d++;8>p.length&&d++;if(d)throw Error("decryption error");return m.slice(t)}if(3===m)return d;throw Error("unknown padding");}}).call(this, +e("buffer").Buffer)},{"./mgf":140,"./withPublic":143,"./xor":144,"bn.js":34,"browserify-rsa":57,buffer:65,"create-hash":69,"parse-asn1":131}],142:[function(e,a,b){(function(b){var c=e("parse-asn1"),f=e("randombytes"),l=e("create-hash"),g=e("./mgf"),k=e("./xor"),n=e("bn.js"),h=e("./withPublic"),m=e("browserify-rsa");a.exports=function(a,d,e){var t;t=a.padding?a.padding:e?1:4;a=c(a);if(4===t){t=a.modulus.byteLength();var r=d.length,q=l("sha1").update(new b("")).digest(),p=q.length,D=2*p;if(r>t-D-2)throw Error("message too long"); +D=new b(t-r-D-2);D.fill(0);var y=t-p-1,r=f(p);d=k(b.concat([q,D,new b([1]),d],y),g(r,y));p=k(r,g(d,p));d=new n(b.concat([new b([0]),p,d],t))}else if(1===t){p=d.length;t=a.modulus.byteLength();if(p>t-11)throw Error("message too long");if(e)p=new b(t-p-3),p.fill(255);else{for(var p=t-p-3,q=new b(p),r=0,D=f(2*p),y=0,w;r=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var c=a;8388608<=c?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++);b.highWaterMark=c}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function m(a){var b=a._readableState;b.needReadable=!1;b.emittedReadable||(u("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?x(p,a):p(a))}function p(a){u("emit readable"); +a.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=!1;this.encoding=this.decoder=null;a.encoding&&(J||(J=e("string_decoder/").StringDecoder),this.decoder=new J(a.encoding),this.encoding=a.encoding)}function g(a){F=F||e("./_stream_duplex");if(!(this instanceof g))return new g(a);this._readableState=new l(a,this);this.readable=!0;a&&("function"===typeof a.read&&(this._read=a.read),"function"===typeof a.destroy&&(this._destroy=a.destroy));B.call(this)}function k(a,b,c,d,e){var f=a._readableState; +if(null===b)f.reading=!1,f.ended||(f.decoder&&(b=f.decoder.end())&&b.length&&(f.buffer.push(b),f.length+=f.objectMode?1:b.length),f.ended=!0,m(a));else{var g;if(!e){e=b;var h;G.isBuffer(e)||e instanceof E||"string"===typeof e||void 0===e||f.objectMode||(h=new TypeError("Invalid non-string/buffer chunk"));g=h}g?a.emit("error",g):f.objectMode||b&&0=a||0===b.length&&b.ended)return 0;if(b.objectMode)return 1;if(a!==a)return b.flowing&&b.length?b.buffer.head.data.length:b.length;if(a>b.highWaterMark){var c=a;8388608<=c?c=8388608:(c--,c|=c>>>1,c|=c>>>2,c|=c>>>4,c|=c>>>8,c|=c>>>16,c++);b.highWaterMark=c}return a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0)}function m(a){var b=a._readableState;b.needReadable=!1;b.emittedReadable||(u("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?x(p,a):p(a))}function p(a){u("emit readable"); a.emit("readable");q(a)}function t(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length=b.length)c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear();else{c=b.buffer;b=b.decoder;if(ag.length?g.length:a,d=h===g.length?d+g:d+g.slice(0,a);a-=h;if(0===a){h===g.length?(++e,c.head=b.next?b.next:c.tail=null):(c.head=b,b.data=g.slice(h));break}++e}c.length-=e;c=d}else{b=G.allocUnsafe(a);e=c.head;d=1;e.data.copy(b);for(a-=e.data.length;e=e.next;){g=e.data;h=a>g.length?g.length:a;g.copy(b,b.length-a,0,h);a-=h;if(0===a){h===g.length?(++d,c.head=e.next?e.next:c.tail=null):(c.head= -e,e.data=g.slice(h));break}++d}c.length-=d;c=b}b=c}c=b}return c}function D(a){var b=a._readableState;if(0=b.highWaterMark||b.ended))return u("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):m(this),null;a=f(a,b);if(0===a&&b.ended)return 0===b.length&&D(this),null;var e=b.needReadable;u("need readable",e);if(0===b.length||b.length-af.length?f.length:a,e=g===f.length?e+f:e+f.slice(0,a);a-=g;if(0===a){g===f.length?(++d,c.head=b.next?b.next:c.tail=null):(c.head=b,b.data=f.slice(g));break}++d}c.length-=d;c=e}else{b=G.allocUnsafe(a);d=c.head;e=1;d.data.copy(b);for(a-=d.data.length;d=d.next;){f=d.data;g=a>f.length?f.length:a;f.copy(b,b.length-a,0,g);a-=g;if(0===a){g===f.length?(++e,c.head=d.next?d.next:c.tail=null):(c.head= +d,d.data=f.slice(g));break}++e}c.length-=e;c=b}b=c}c=b}return c}function D(a){var b=a._readableState;if(0=b.highWaterMark||b.ended))return u("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):m(this),null;a=h(a,b);if(0===a&&b.ended)return 0===b.length&&D(this),null;var d=b.needReadable;u("need readable",d);if(0===b.length||b.length-a>>0);for(var b=this.head,e=0;b;)b.data.copy(a,e),e+=b.data.length,b=b.next;return a};return a}()},{"safe-buffer":160}],153:[function(d,a,b){function c(a,b){a.emit("error",b)}var e=d("process-nextick-args"); -a.exports={destroy:function(a,b){var d=this,g=this._writableState&&this._writableState.destroyed;this._readableState&&this._readableState.destroyed||g?b?b(a):!a||this._writableState&&this._writableState.errorEmitted||e(c,this,a):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(e(c,d,a),d._writableState&&(d._writableState.errorEmitted=!0)):b&&b(a)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed= -!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1);this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":137}],154:[function(d,a,b){a.exports=d("events").EventEmitter},{events:101}],155:[function(d,a,b){a.exports=d("./readable").PassThrough},{"./readable":156}],156:[function(d,a,b){b=a.exports=d("./lib/_stream_readable.js"); -b.Stream=b;b.Readable=b;b.Writable=d("./lib/_stream_writable.js");b.Duplex=d("./lib/_stream_duplex.js");b.Transform=d("./lib/_stream_transform.js");b.PassThrough=d("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":147,"./lib/_stream_passthrough.js":148,"./lib/_stream_readable.js":149,"./lib/_stream_transform.js":150,"./lib/_stream_writable.js":151}],157:[function(d,a,b){a.exports=d("./readable").Transform},{"./readable":156}],158:[function(d,a,b){a.exports=d("./lib/_stream_writable.js")}, -{"./lib/_stream_writable.js":151}],159:[function(d,a,b){(function(b){function c(){p.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}function g(a,b){return a<>>32-b}function l(a,b,c,e,d,h,f,k){return g(a+(b^c^e)+h+f|0,k)+d|0}function h(a,b,c,e,d,h,f,k){return g(a+(b&c|~b&e)+h+f|0,k)+d|0}function k(a,b,c,e,d,h,f,k){return g(a+((b|~c)^e)+h+f|0,k)+d|0}function n(a,b,c,e,d,h,f,k){return g(a+(b&e|c&~e)+h+f|0,k)+d|0}function f(a,b,c,e,d,h, -f,k){return g(a+(b^(c|~e))+h+f|0,k)+d|0}var m=d("inherits"),p=d("hash-base");m(c,p);c.prototype._update=function(){for(var a=Array(16),b=0;16>b;++b)a[b]=this._block.readInt32LE(4*b);var b=this._a,c=this._b,e=this._c,d=this._d,m=this._e,b=l(b,c,e,d,m,a[0],0,11),e=g(e,10),m=l(m,b,c,e,d,a[1],0,14),c=g(c,10),d=l(d,m,b,c,e,a[2],0,15),b=g(b,10),e=l(e,d,m,b,c,a[3],0,12),m=g(m,10),c=l(c,e,d,m,b,a[4],0,5),d=g(d,10),b=l(b,c,e,d,m,a[5],0,8),e=g(e,10),m=l(m,b,c,e,d,a[6],0,7),c=g(c,10),d=l(d,m,b,c,e,a[7],0,9), -b=g(b,10),e=l(e,d,m,b,c,a[8],0,11),m=g(m,10),c=l(c,e,d,m,b,a[9],0,13),d=g(d,10),b=l(b,c,e,d,m,a[10],0,14),e=g(e,10),m=l(m,b,c,e,d,a[11],0,15),c=g(c,10),d=l(d,m,b,c,e,a[12],0,6),b=g(b,10),e=l(e,d,m,b,c,a[13],0,7),m=g(m,10),c=l(c,e,d,m,b,a[14],0,9),d=g(d,10),b=l(b,c,e,d,m,a[15],0,8),e=g(e,10),m=h(m,b,c,e,d,a[7],1518500249,7),c=g(c,10),d=h(d,m,b,c,e,a[4],1518500249,6),b=g(b,10),e=h(e,d,m,b,c,a[13],1518500249,8),m=g(m,10),c=h(c,e,d,m,b,a[1],1518500249,13),d=g(d,10),b=h(b,c,e,d,m,a[10],1518500249,11), -e=g(e,10),m=h(m,b,c,e,d,a[6],1518500249,9),c=g(c,10),d=h(d,m,b,c,e,a[15],1518500249,7),b=g(b,10),e=h(e,d,m,b,c,a[3],1518500249,15),m=g(m,10),c=h(c,e,d,m,b,a[12],1518500249,7),d=g(d,10),b=h(b,c,e,d,m,a[0],1518500249,12),e=g(e,10),m=h(m,b,c,e,d,a[9],1518500249,15),c=g(c,10),d=h(d,m,b,c,e,a[5],1518500249,9),b=g(b,10),e=h(e,d,m,b,c,a[2],1518500249,11),m=g(m,10),c=h(c,e,d,m,b,a[14],1518500249,7),d=g(d,10),b=h(b,c,e,d,m,a[11],1518500249,13),e=g(e,10),m=h(m,b,c,e,d,a[8],1518500249,12),c=g(c,10),d=k(d,m, -b,c,e,a[3],1859775393,11),b=g(b,10),e=k(e,d,m,b,c,a[10],1859775393,13),m=g(m,10),c=k(c,e,d,m,b,a[14],1859775393,6),d=g(d,10),b=k(b,c,e,d,m,a[4],1859775393,7),e=g(e,10),m=k(m,b,c,e,d,a[9],1859775393,14),c=g(c,10),d=k(d,m,b,c,e,a[15],1859775393,9),b=g(b,10),e=k(e,d,m,b,c,a[8],1859775393,13),m=g(m,10),c=k(c,e,d,m,b,a[1],1859775393,15),d=g(d,10),b=k(b,c,e,d,m,a[2],1859775393,14),e=g(e,10),m=k(m,b,c,e,d,a[7],1859775393,8),c=g(c,10),d=k(d,m,b,c,e,a[0],1859775393,13),b=g(b,10),e=k(e,d,m,b,c,a[6],1859775393, -6),m=g(m,10),c=k(c,e,d,m,b,a[13],1859775393,5),d=g(d,10),b=k(b,c,e,d,m,a[11],1859775393,12),e=g(e,10),m=k(m,b,c,e,d,a[5],1859775393,7),c=g(c,10),d=k(d,m,b,c,e,a[12],1859775393,5),b=g(b,10),e=n(e,d,m,b,c,a[1],2400959708,11),m=g(m,10),c=n(c,e,d,m,b,a[9],2400959708,12),d=g(d,10),b=n(b,c,e,d,m,a[11],2400959708,14),e=g(e,10),m=n(m,b,c,e,d,a[10],2400959708,15),c=g(c,10),d=n(d,m,b,c,e,a[0],2400959708,14),b=g(b,10),e=n(e,d,m,b,c,a[8],2400959708,15),m=g(m,10),c=n(c,e,d,m,b,a[12],2400959708,9),d=g(d,10),b= -n(b,c,e,d,m,a[4],2400959708,8),e=g(e,10),m=n(m,b,c,e,d,a[13],2400959708,9),c=g(c,10),d=n(d,m,b,c,e,a[3],2400959708,14),b=g(b,10),e=n(e,d,m,b,c,a[7],2400959708,5),m=g(m,10),c=n(c,e,d,m,b,a[15],2400959708,6),d=g(d,10),b=n(b,c,e,d,m,a[14],2400959708,8),e=g(e,10),m=n(m,b,c,e,d,a[5],2400959708,6),c=g(c,10),d=n(d,m,b,c,e,a[6],2400959708,5),b=g(b,10),e=n(e,d,m,b,c,a[2],2400959708,12),m=g(m,10),c=f(c,e,d,m,b,a[4],2840853838,9),d=g(d,10),b=f(b,c,e,d,m,a[0],2840853838,15),e=g(e,10),m=f(m,b,c,e,d,a[5],2840853838, -5),c=g(c,10),d=f(d,m,b,c,e,a[9],2840853838,11),b=g(b,10),e=f(e,d,m,b,c,a[7],2840853838,6),m=g(m,10),c=f(c,e,d,m,b,a[12],2840853838,8),d=g(d,10),b=f(b,c,e,d,m,a[2],2840853838,13),e=g(e,10),m=f(m,b,c,e,d,a[10],2840853838,12),c=g(c,10),d=f(d,m,b,c,e,a[14],2840853838,5),b=g(b,10),e=f(e,d,m,b,c,a[1],2840853838,12),m=g(m,10),c=f(c,e,d,m,b,a[3],2840853838,13),d=g(d,10),b=f(b,c,e,d,m,a[8],2840853838,14),e=g(e,10),m=f(m,b,c,e,d,a[11],2840853838,11),c=g(c,10),d=f(d,m,b,c,e,a[6],2840853838,8),b=g(b,10),e=f(e, -d,m,b,c,a[15],2840853838,5),m=g(m,10),c=f(c,e,d,m,b,a[13],2840853838,6),d=g(d,10),p=this._a,y=this._b,w=this._c,x=this._d,z=this._e,p=f(p,y,w,x,z,a[5],1352829926,8),w=g(w,10),z=f(z,p,y,w,x,a[14],1352829926,9),y=g(y,10),x=f(x,z,p,y,w,a[7],1352829926,9),p=g(p,10),w=f(w,x,z,p,y,a[0],1352829926,11),z=g(z,10),y=f(y,w,x,z,p,a[9],1352829926,13),x=g(x,10),p=f(p,y,w,x,z,a[2],1352829926,15),w=g(w,10),z=f(z,p,y,w,x,a[11],1352829926,15),y=g(y,10),x=f(x,z,p,y,w,a[4],1352829926,5),p=g(p,10),w=f(w,x,z,p,y,a[13], -1352829926,7),z=g(z,10),y=f(y,w,x,z,p,a[6],1352829926,7),x=g(x,10),p=f(p,y,w,x,z,a[15],1352829926,8),w=g(w,10),z=f(z,p,y,w,x,a[8],1352829926,11),y=g(y,10),x=f(x,z,p,y,w,a[1],1352829926,14),p=g(p,10),w=f(w,x,z,p,y,a[10],1352829926,14),z=g(z,10),y=f(y,w,x,z,p,a[3],1352829926,12),x=g(x,10),p=f(p,y,w,x,z,a[12],1352829926,6),w=g(w,10),z=n(z,p,y,w,x,a[6],1548603684,9),y=g(y,10),x=n(x,z,p,y,w,a[11],1548603684,13),p=g(p,10),w=n(w,x,z,p,y,a[3],1548603684,15),z=g(z,10),y=n(y,w,x,z,p,a[7],1548603684,7),x=g(x, -10),p=n(p,y,w,x,z,a[0],1548603684,12),w=g(w,10),z=n(z,p,y,w,x,a[13],1548603684,8),y=g(y,10),x=n(x,z,p,y,w,a[5],1548603684,9),p=g(p,10),w=n(w,x,z,p,y,a[10],1548603684,11),z=g(z,10),y=n(y,w,x,z,p,a[14],1548603684,7),x=g(x,10),p=n(p,y,w,x,z,a[15],1548603684,7),w=g(w,10),z=n(z,p,y,w,x,a[8],1548603684,12),y=g(y,10),x=n(x,z,p,y,w,a[12],1548603684,7),p=g(p,10),w=n(w,x,z,p,y,a[4],1548603684,6),z=g(z,10),y=n(y,w,x,z,p,a[9],1548603684,15),x=g(x,10),p=n(p,y,w,x,z,a[1],1548603684,13),w=g(w,10),z=n(z,p,y,w,x, -a[2],1548603684,11),y=g(y,10),x=k(x,z,p,y,w,a[15],1836072691,9),p=g(p,10),w=k(w,x,z,p,y,a[5],1836072691,7),z=g(z,10),y=k(y,w,x,z,p,a[1],1836072691,15),x=g(x,10),p=k(p,y,w,x,z,a[3],1836072691,11),w=g(w,10),z=k(z,p,y,w,x,a[7],1836072691,8),y=g(y,10),x=k(x,z,p,y,w,a[14],1836072691,6),p=g(p,10),w=k(w,x,z,p,y,a[6],1836072691,6),z=g(z,10),y=k(y,w,x,z,p,a[9],1836072691,14),x=g(x,10),p=k(p,y,w,x,z,a[11],1836072691,12),w=g(w,10),z=k(z,p,y,w,x,a[8],1836072691,13),y=g(y,10),x=k(x,z,p,y,w,a[12],1836072691,5), -p=g(p,10),w=k(w,x,z,p,y,a[2],1836072691,14),z=g(z,10),y=k(y,w,x,z,p,a[10],1836072691,13),x=g(x,10),p=k(p,y,w,x,z,a[0],1836072691,13),w=g(w,10),z=k(z,p,y,w,x,a[4],1836072691,7),y=g(y,10),x=k(x,z,p,y,w,a[13],1836072691,5),p=g(p,10),w=h(w,x,z,p,y,a[8],2053994217,15),z=g(z,10),y=h(y,w,x,z,p,a[6],2053994217,5),x=g(x,10),p=h(p,y,w,x,z,a[4],2053994217,8),w=g(w,10),z=h(z,p,y,w,x,a[1],2053994217,11),y=g(y,10),x=h(x,z,p,y,w,a[3],2053994217,14),p=g(p,10),w=h(w,x,z,p,y,a[11],2053994217,14),z=g(z,10),y=h(y,w, -x,z,p,a[15],2053994217,6),x=g(x,10),p=h(p,y,w,x,z,a[0],2053994217,14),w=g(w,10),z=h(z,p,y,w,x,a[5],2053994217,6),y=g(y,10),x=h(x,z,p,y,w,a[12],2053994217,9),p=g(p,10),w=h(w,x,z,p,y,a[2],2053994217,12),z=g(z,10),y=h(y,w,x,z,p,a[13],2053994217,9),x=g(x,10),p=h(p,y,w,x,z,a[9],2053994217,12),w=g(w,10),z=h(z,p,y,w,x,a[7],2053994217,5),y=g(y,10),x=h(x,z,p,y,w,a[10],2053994217,15),p=g(p,10),w=h(w,x,z,p,y,a[14],2053994217,8),z=g(z,10),y=l(y,w,x,z,p,a[12],0,8),x=g(x,10),p=l(p,y,w,x,z,a[15],0,5),w=g(w,10), -z=l(z,p,y,w,x,a[10],0,12),y=g(y,10),x=l(x,z,p,y,w,a[4],0,9),p=g(p,10),w=l(w,x,z,p,y,a[1],0,12),z=g(z,10),y=l(y,w,x,z,p,a[5],0,5),x=g(x,10),p=l(p,y,w,x,z,a[8],0,14),w=g(w,10),z=l(z,p,y,w,x,a[7],0,6),y=g(y,10),x=l(x,z,p,y,w,a[6],0,8),p=g(p,10),w=l(w,x,z,p,y,a[2],0,13),z=g(z,10),y=l(y,w,x,z,p,a[13],0,6),x=g(x,10),p=l(p,y,w,x,z,a[14],0,5),w=g(w,10),z=l(z,p,y,w,x,a[0],0,15),y=g(y,10),x=l(x,z,p,y,w,a[3],0,13),p=g(p,10),w=l(w,x,z,p,y,a[9],0,11),z=g(z,10),y=l(y,w,x,z,p,a[11],0,11),x=g(x,10),a=this._b+e+x| -0;this._b=this._c+d+z|0;this._c=this._d+m+p|0;this._d=this._e+b+y|0;this._e=this._a+c+w|0;this._a=a};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._finalSize&&(this._update(this._block),this._block.fill(0));b=8*this._len; -if(4294967295>=b)this._block.writeUInt32BE(b,this._blockSize-4);else{var c=b&4294967295;this._block.writeUInt32BE((b-c)/4294967296,this._blockSize-8);this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);b=this._hash();return a?b.toString(a):b};c.prototype._update=function(){throw Error("_update must be implemented by subclass");};a.exports=c},{"safe-buffer":160}],162:[function(d,a,b){b=a.exports=function(a){a=a.toLowerCase();var c=b[a];if(!c)throw Error(a+" is not supported (we accept pull requests)"); -return new c};b.sha=d("./sha");b.sha1=d("./sha1");b.sha224=d("./sha224");b.sha256=d("./sha256");b.sha384=d("./sha384");b.sha512=d("./sha512")},{"./sha":163,"./sha1":164,"./sha224":165,"./sha256":166,"./sha384":167,"./sha512":168}],163:[function(d,a,b){function c(){this.init();this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,e);c.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c= -2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)b[k]=b[k-3]^b[k-8]^b[k-14]^b[k-16];for(a=0;80>a;++a){var k=~~(a/20),C=c<<5|c>>>27,q;q=0===k?e&d|~e&g:2===k?e&d|e&g|d&g:e^d^g;k=C+q+h+b[a]+l[k]|0;h=g;g=d;d=e<<30|e>>>2;e=c;c=k}this._a=c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d|0;this._e=h+this._e|0};c.prototype._hash= -function(){var a=g.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],164:[function(d,a,b){function c(){this.init();this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],h=Array(80);b(c,e);c.prototype.init=function(){this._a=1732584193;this._b= -4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)a=b[k-3]^b[k-8]^b[k-14]^b[k-16],b[k]=a<<1|a>>>31;for(k=0;80>k;++k){a=~~(k/20);var C=c<<5|c>>>27,q;q=0===a?e&d|~e&g:2===a?e&d|e&g|d&g:e^d^g;a=C+q+h+b[k]+l[a]|0;h=g;g=d;d=e<<30|e>>>2;e=c;c=a}this._a=c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d| -0;this._e=h+this._e|0};c.prototype._hash=function(){var a=g.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],165:[function(d,a,b){function c(){this.init();this._w=h;g.call(this,64,56)}b=d("inherits");var e=d("./sha256"),g=d("./hash"),l=d("safe-buffer").Buffer,h=Array(64);b(c,e);c.prototype.init=function(){this._a=3238371032; -this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};c.prototype._hash=function(){var a=l.allocUnsafe(28);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);return a};a.exports=c},{"./hash":161,"./sha256":166,inherits:119,"safe-buffer":160}],166:[function(d,a,b){function c(){this.init(); -this._w=h;e.call(this,64,56)}b=d("inherits");var e=d("./hash"),g=d("safe-buffer").Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350, -2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=Array(64);b(c,e);c.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};c.prototype._update= -function(a){for(var b=this._w,c=this._a|0,e=this._b|0,d=this._c|0,g=this._d|0,h=this._e|0,k=this._f|0,C=this._g|0,q=this._h|0,A=0;16>A;++A)b[A]=a.readInt32BE(4*A);for(;64>A;++A){a=b[A-2];var D=b[A-15];b[A]=((a>>>17|a<<15)^(a>>>19|a<<13)^a>>>10)+b[A-7]+((D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3)+b[A-16]|0}for(A=0;64>A;++A)a=q+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(C^h&(k^C))+l[A]+b[A]|0,D=((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+(c&e|d&(c|e))|0,q=C,C=k,k=h,h=g+a|0,g=d,d=e,e=c,c=a+D|0;this._a= -c+this._a|0;this._b=e+this._b|0;this._c=d+this._c|0;this._d=g+this._d|0;this._e=h+this._e|0;this._f=k+this._f|0;this._g=C+this._g|0;this._h=q+this._h|0};c.prototype._hash=function(){var a=g.allocUnsafe(32);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);a.writeInt32BE(this._h,28);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],167:[function(d, -a,b){function c(){this.init();this._w=h;g.call(this,128,112)}b=d("inherits");var e=d("./sha512"),g=d("./hash"),l=d("safe-buffer").Buffer,h=Array(160);b(c,e);c.prototype.init=function(){this._ah=3418070365;this._bh=1654270250;this._ch=2438529370;this._dh=355462360;this._eh=1731405415;this._fh=2394180231;this._gh=3675008525;this._hh=1203062813;this._al=3238371032;this._bl=914150663;this._cl=812702999;this._dl=4144912697;this._el=4290775857;this._fl=1750603025;this._gl=1694076839;this._hl=3204075428; -return this};c.prototype._hash=function(){function a(a,c,e){b.writeInt32BE(a,e);b.writeInt32BE(c,e+4)}var b=l.allocUnsafe(48);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);return b};a.exports=c},{"./hash":161,"./sha512":168,inherits:119,"safe-buffer":160}],168:[function(d,a,b){function c(){this.init();this._w=k;g.call(this,128,112)}function e(a,b){return a>>>0>>0?1:0}b=d("inherits");var g=d("./hash"), -l=d("safe-buffer").Buffer,h=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235, +function(){this.head=this.tail=null;this.length=0};a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c};a.prototype.concat=function(a){if(0===this.length)return c.alloc(0);if(1===this.length)return this.head.data;a=c.allocUnsafe(a>>>0);for(var b=this.head,d=0;b;)b.data.copy(a,d),d+=b.data.length,b=b.next;return a};return a}()},{"safe-buffer":160}],153:[function(e,a,b){function c(a,b){a.emit("error",b)}var d=e("process-nextick-args"); +a.exports={destroy:function(a,b){var e=this,f=this._writableState&&this._writableState.destroyed;this._readableState&&this._readableState.destroyed||f?b?b(a):!a||this._writableState&&this._writableState.errorEmitted||d(c,this,a):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(d(c,e,a),e._writableState&&(e._writableState.errorEmitted=!0)):b&&b(a)}))},undestroy:function(){this._readableState&&(this._readableState.destroyed= +!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1);this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},{"process-nextick-args":137}],154:[function(e,a,b){a.exports=e("events").EventEmitter},{events:101}],155:[function(e,a,b){a.exports=e("./readable").PassThrough},{"./readable":156}],156:[function(e,a,b){b=a.exports=e("./lib/_stream_readable.js"); +b.Stream=b;b.Readable=b;b.Writable=e("./lib/_stream_writable.js");b.Duplex=e("./lib/_stream_duplex.js");b.Transform=e("./lib/_stream_transform.js");b.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":147,"./lib/_stream_passthrough.js":148,"./lib/_stream_readable.js":149,"./lib/_stream_transform.js":150,"./lib/_stream_writable.js":151}],157:[function(e,a,b){a.exports=e("./readable").Transform},{"./readable":156}],158:[function(e,a,b){a.exports=e("./lib/_stream_writable.js")}, +{"./lib/_stream_writable.js":151}],159:[function(e,a,b){(function(b){function c(){p.call(this,64);this._a=1732584193;this._b=4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520}function f(a,b){return a<>>32-b}function l(a,b,c,d,e,g,h,k){return f(a+(b^c^d)+g+h|0,k)+e|0}function g(a,b,c,d,e,g,h,k){return f(a+(b&c|~b&d)+g+h|0,k)+e|0}function k(a,b,c,d,e,g,h,k){return f(a+((b|~c)^d)+g+h|0,k)+e|0}function n(a,b,c,d,e,g,h,k){return f(a+(b&d|c&~d)+g+h|0,k)+e|0}function h(a,b,c,d,e,g, +h,k){return f(a+(b^(c|~d))+g+h|0,k)+e|0}var m=e("inherits"),p=e("hash-base");m(c,p);c.prototype._update=function(){for(var a=Array(16),b=0;16>b;++b)a[b]=this._block.readInt32LE(4*b);var b=this._a,c=this._b,d=this._c,e=this._d,m=this._e,b=l(b,c,d,e,m,a[0],0,11),d=f(d,10),m=l(m,b,c,d,e,a[1],0,14),c=f(c,10),e=l(e,m,b,c,d,a[2],0,15),b=f(b,10),d=l(d,e,m,b,c,a[3],0,12),m=f(m,10),c=l(c,d,e,m,b,a[4],0,5),e=f(e,10),b=l(b,c,d,e,m,a[5],0,8),d=f(d,10),m=l(m,b,c,d,e,a[6],0,7),c=f(c,10),e=l(e,m,b,c,d,a[7],0,9), +b=f(b,10),d=l(d,e,m,b,c,a[8],0,11),m=f(m,10),c=l(c,d,e,m,b,a[9],0,13),e=f(e,10),b=l(b,c,d,e,m,a[10],0,14),d=f(d,10),m=l(m,b,c,d,e,a[11],0,15),c=f(c,10),e=l(e,m,b,c,d,a[12],0,6),b=f(b,10),d=l(d,e,m,b,c,a[13],0,7),m=f(m,10),c=l(c,d,e,m,b,a[14],0,9),e=f(e,10),b=l(b,c,d,e,m,a[15],0,8),d=f(d,10),m=g(m,b,c,d,e,a[7],1518500249,7),c=f(c,10),e=g(e,m,b,c,d,a[4],1518500249,6),b=f(b,10),d=g(d,e,m,b,c,a[13],1518500249,8),m=f(m,10),c=g(c,d,e,m,b,a[1],1518500249,13),e=f(e,10),b=g(b,c,d,e,m,a[10],1518500249,11), +d=f(d,10),m=g(m,b,c,d,e,a[6],1518500249,9),c=f(c,10),e=g(e,m,b,c,d,a[15],1518500249,7),b=f(b,10),d=g(d,e,m,b,c,a[3],1518500249,15),m=f(m,10),c=g(c,d,e,m,b,a[12],1518500249,7),e=f(e,10),b=g(b,c,d,e,m,a[0],1518500249,12),d=f(d,10),m=g(m,b,c,d,e,a[9],1518500249,15),c=f(c,10),e=g(e,m,b,c,d,a[5],1518500249,9),b=f(b,10),d=g(d,e,m,b,c,a[2],1518500249,11),m=f(m,10),c=g(c,d,e,m,b,a[14],1518500249,7),e=f(e,10),b=g(b,c,d,e,m,a[11],1518500249,13),d=f(d,10),m=g(m,b,c,d,e,a[8],1518500249,12),c=f(c,10),e=k(e,m, +b,c,d,a[3],1859775393,11),b=f(b,10),d=k(d,e,m,b,c,a[10],1859775393,13),m=f(m,10),c=k(c,d,e,m,b,a[14],1859775393,6),e=f(e,10),b=k(b,c,d,e,m,a[4],1859775393,7),d=f(d,10),m=k(m,b,c,d,e,a[9],1859775393,14),c=f(c,10),e=k(e,m,b,c,d,a[15],1859775393,9),b=f(b,10),d=k(d,e,m,b,c,a[8],1859775393,13),m=f(m,10),c=k(c,d,e,m,b,a[1],1859775393,15),e=f(e,10),b=k(b,c,d,e,m,a[2],1859775393,14),d=f(d,10),m=k(m,b,c,d,e,a[7],1859775393,8),c=f(c,10),e=k(e,m,b,c,d,a[0],1859775393,13),b=f(b,10),d=k(d,e,m,b,c,a[6],1859775393, +6),m=f(m,10),c=k(c,d,e,m,b,a[13],1859775393,5),e=f(e,10),b=k(b,c,d,e,m,a[11],1859775393,12),d=f(d,10),m=k(m,b,c,d,e,a[5],1859775393,7),c=f(c,10),e=k(e,m,b,c,d,a[12],1859775393,5),b=f(b,10),d=n(d,e,m,b,c,a[1],2400959708,11),m=f(m,10),c=n(c,d,e,m,b,a[9],2400959708,12),e=f(e,10),b=n(b,c,d,e,m,a[11],2400959708,14),d=f(d,10),m=n(m,b,c,d,e,a[10],2400959708,15),c=f(c,10),e=n(e,m,b,c,d,a[0],2400959708,14),b=f(b,10),d=n(d,e,m,b,c,a[8],2400959708,15),m=f(m,10),c=n(c,d,e,m,b,a[12],2400959708,9),e=f(e,10),b= +n(b,c,d,e,m,a[4],2400959708,8),d=f(d,10),m=n(m,b,c,d,e,a[13],2400959708,9),c=f(c,10),e=n(e,m,b,c,d,a[3],2400959708,14),b=f(b,10),d=n(d,e,m,b,c,a[7],2400959708,5),m=f(m,10),c=n(c,d,e,m,b,a[15],2400959708,6),e=f(e,10),b=n(b,c,d,e,m,a[14],2400959708,8),d=f(d,10),m=n(m,b,c,d,e,a[5],2400959708,6),c=f(c,10),e=n(e,m,b,c,d,a[6],2400959708,5),b=f(b,10),d=n(d,e,m,b,c,a[2],2400959708,12),m=f(m,10),c=h(c,d,e,m,b,a[4],2840853838,9),e=f(e,10),b=h(b,c,d,e,m,a[0],2840853838,15),d=f(d,10),m=h(m,b,c,d,e,a[5],2840853838, +5),c=f(c,10),e=h(e,m,b,c,d,a[9],2840853838,11),b=f(b,10),d=h(d,e,m,b,c,a[7],2840853838,6),m=f(m,10),c=h(c,d,e,m,b,a[12],2840853838,8),e=f(e,10),b=h(b,c,d,e,m,a[2],2840853838,13),d=f(d,10),m=h(m,b,c,d,e,a[10],2840853838,12),c=f(c,10),e=h(e,m,b,c,d,a[14],2840853838,5),b=f(b,10),d=h(d,e,m,b,c,a[1],2840853838,12),m=f(m,10),c=h(c,d,e,m,b,a[3],2840853838,13),e=f(e,10),b=h(b,c,d,e,m,a[8],2840853838,14),d=f(d,10),m=h(m,b,c,d,e,a[11],2840853838,11),c=f(c,10),e=h(e,m,b,c,d,a[6],2840853838,8),b=f(b,10),d=h(d, +e,m,b,c,a[15],2840853838,5),m=f(m,10),c=h(c,d,e,m,b,a[13],2840853838,6),e=f(e,10),p=this._a,y=this._b,w=this._c,x=this._d,z=this._e,p=h(p,y,w,x,z,a[5],1352829926,8),w=f(w,10),z=h(z,p,y,w,x,a[14],1352829926,9),y=f(y,10),x=h(x,z,p,y,w,a[7],1352829926,9),p=f(p,10),w=h(w,x,z,p,y,a[0],1352829926,11),z=f(z,10),y=h(y,w,x,z,p,a[9],1352829926,13),x=f(x,10),p=h(p,y,w,x,z,a[2],1352829926,15),w=f(w,10),z=h(z,p,y,w,x,a[11],1352829926,15),y=f(y,10),x=h(x,z,p,y,w,a[4],1352829926,5),p=f(p,10),w=h(w,x,z,p,y,a[13], +1352829926,7),z=f(z,10),y=h(y,w,x,z,p,a[6],1352829926,7),x=f(x,10),p=h(p,y,w,x,z,a[15],1352829926,8),w=f(w,10),z=h(z,p,y,w,x,a[8],1352829926,11),y=f(y,10),x=h(x,z,p,y,w,a[1],1352829926,14),p=f(p,10),w=h(w,x,z,p,y,a[10],1352829926,14),z=f(z,10),y=h(y,w,x,z,p,a[3],1352829926,12),x=f(x,10),p=h(p,y,w,x,z,a[12],1352829926,6),w=f(w,10),z=n(z,p,y,w,x,a[6],1548603684,9),y=f(y,10),x=n(x,z,p,y,w,a[11],1548603684,13),p=f(p,10),w=n(w,x,z,p,y,a[3],1548603684,15),z=f(z,10),y=n(y,w,x,z,p,a[7],1548603684,7),x=f(x, +10),p=n(p,y,w,x,z,a[0],1548603684,12),w=f(w,10),z=n(z,p,y,w,x,a[13],1548603684,8),y=f(y,10),x=n(x,z,p,y,w,a[5],1548603684,9),p=f(p,10),w=n(w,x,z,p,y,a[10],1548603684,11),z=f(z,10),y=n(y,w,x,z,p,a[14],1548603684,7),x=f(x,10),p=n(p,y,w,x,z,a[15],1548603684,7),w=f(w,10),z=n(z,p,y,w,x,a[8],1548603684,12),y=f(y,10),x=n(x,z,p,y,w,a[12],1548603684,7),p=f(p,10),w=n(w,x,z,p,y,a[4],1548603684,6),z=f(z,10),y=n(y,w,x,z,p,a[9],1548603684,15),x=f(x,10),p=n(p,y,w,x,z,a[1],1548603684,13),w=f(w,10),z=n(z,p,y,w,x, +a[2],1548603684,11),y=f(y,10),x=k(x,z,p,y,w,a[15],1836072691,9),p=f(p,10),w=k(w,x,z,p,y,a[5],1836072691,7),z=f(z,10),y=k(y,w,x,z,p,a[1],1836072691,15),x=f(x,10),p=k(p,y,w,x,z,a[3],1836072691,11),w=f(w,10),z=k(z,p,y,w,x,a[7],1836072691,8),y=f(y,10),x=k(x,z,p,y,w,a[14],1836072691,6),p=f(p,10),w=k(w,x,z,p,y,a[6],1836072691,6),z=f(z,10),y=k(y,w,x,z,p,a[9],1836072691,14),x=f(x,10),p=k(p,y,w,x,z,a[11],1836072691,12),w=f(w,10),z=k(z,p,y,w,x,a[8],1836072691,13),y=f(y,10),x=k(x,z,p,y,w,a[12],1836072691,5), +p=f(p,10),w=k(w,x,z,p,y,a[2],1836072691,14),z=f(z,10),y=k(y,w,x,z,p,a[10],1836072691,13),x=f(x,10),p=k(p,y,w,x,z,a[0],1836072691,13),w=f(w,10),z=k(z,p,y,w,x,a[4],1836072691,7),y=f(y,10),x=k(x,z,p,y,w,a[13],1836072691,5),p=f(p,10),w=g(w,x,z,p,y,a[8],2053994217,15),z=f(z,10),y=g(y,w,x,z,p,a[6],2053994217,5),x=f(x,10),p=g(p,y,w,x,z,a[4],2053994217,8),w=f(w,10),z=g(z,p,y,w,x,a[1],2053994217,11),y=f(y,10),x=g(x,z,p,y,w,a[3],2053994217,14),p=f(p,10),w=g(w,x,z,p,y,a[11],2053994217,14),z=f(z,10),y=g(y,w, +x,z,p,a[15],2053994217,6),x=f(x,10),p=g(p,y,w,x,z,a[0],2053994217,14),w=f(w,10),z=g(z,p,y,w,x,a[5],2053994217,6),y=f(y,10),x=g(x,z,p,y,w,a[12],2053994217,9),p=f(p,10),w=g(w,x,z,p,y,a[2],2053994217,12),z=f(z,10),y=g(y,w,x,z,p,a[13],2053994217,9),x=f(x,10),p=g(p,y,w,x,z,a[9],2053994217,12),w=f(w,10),z=g(z,p,y,w,x,a[7],2053994217,5),y=f(y,10),x=g(x,z,p,y,w,a[10],2053994217,15),p=f(p,10),w=g(w,x,z,p,y,a[14],2053994217,8),z=f(z,10),y=l(y,w,x,z,p,a[12],0,8),x=f(x,10),p=l(p,y,w,x,z,a[15],0,5),w=f(w,10), +z=l(z,p,y,w,x,a[10],0,12),y=f(y,10),x=l(x,z,p,y,w,a[4],0,9),p=f(p,10),w=l(w,x,z,p,y,a[1],0,12),z=f(z,10),y=l(y,w,x,z,p,a[5],0,5),x=f(x,10),p=l(p,y,w,x,z,a[8],0,14),w=f(w,10),z=l(z,p,y,w,x,a[7],0,6),y=f(y,10),x=l(x,z,p,y,w,a[6],0,8),p=f(p,10),w=l(w,x,z,p,y,a[2],0,13),z=f(z,10),y=l(y,w,x,z,p,a[13],0,6),x=f(x,10),p=l(p,y,w,x,z,a[14],0,5),w=f(w,10),z=l(z,p,y,w,x,a[0],0,15),y=f(y,10),x=l(x,z,p,y,w,a[3],0,13),p=f(p,10),w=l(w,x,z,p,y,a[9],0,11),z=f(z,10),y=l(y,w,x,z,p,a[11],0,11),x=f(x,10),a=this._b+d+x| +0;this._b=this._c+e+z|0;this._c=this._d+m+p|0;this._d=this._e+b+y|0;this._e=this._a+c+w|0;this._a=a};c.prototype._digest=function(){this._block[this._blockOffset++]=128;56=this._finalSize&&(this._update(this._block),this._block.fill(0));b=8*this._len; +if(4294967295>=b)this._block.writeUInt32BE(b,this._blockSize-4);else{var c=b&4294967295;this._block.writeUInt32BE((b-c)/4294967296,this._blockSize-8);this._block.writeUInt32BE(c,this._blockSize-4)}this._update(this._block);b=this._hash();return a?b.toString(a):b};c.prototype._update=function(){throw Error("_update must be implemented by subclass");};a.exports=c},{"safe-buffer":160}],162:[function(e,a,b){b=a.exports=function(a){a=a.toLowerCase();var c=b[a];if(!c)throw Error(a+" is not supported (we accept pull requests)"); +return new c};b.sha=e("./sha");b.sha1=e("./sha1");b.sha224=e("./sha224");b.sha256=e("./sha256");b.sha384=e("./sha384");b.sha512=e("./sha512")},{"./sha":163,"./sha1":164,"./sha224":165,"./sha256":166,"./sha384":167,"./sha512":168}],163:[function(e,a,b){function c(){this.init();this._w=g;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],g=Array(80);b(c,d);c.prototype.init=function(){this._a=1732584193;this._b=4023233417;this._c= +2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,g=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)b[k]=b[k-3]^b[k-8]^b[k-14]^b[k-16];for(a=0;80>a;++a){var k=~~(a/20),C=c<<5|c>>>27,q;q=0===k?d&e|~d&f:2===k?d&e|d&f|e&f:d^e^f;k=C+q+g+b[a]+l[k]|0;g=f;f=e;e=d<<30|d>>>2;d=c;c=k}this._a=c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d|0;this._e=g+this._e|0};c.prototype._hash= +function(){var a=f.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],164:[function(e,a,b){function c(){this.init();this._w=g;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[1518500249,1859775393,-1894007588,-899497514],g=Array(80);b(c,d);c.prototype.init=function(){this._a=1732584193;this._b= +4023233417;this._c=2562383102;this._d=271733878;this._e=3285377520;return this};c.prototype._update=function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,g=this._e|0,k=0;16>k;++k)b[k]=a.readInt32BE(4*k);for(;80>k;++k)a=b[k-3]^b[k-8]^b[k-14]^b[k-16],b[k]=a<<1|a>>>31;for(k=0;80>k;++k){a=~~(k/20);var C=c<<5|c>>>27,q;q=0===a?d&e|~d&f:2===a?d&e|d&f|e&f:d^e^f;a=C+q+g+b[k]+l[a]|0;g=f;f=e;e=d<<30|d>>>2;d=c;c=a}this._a=c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d| +0;this._e=g+this._e|0};c.prototype._hash=function(){var a=f.allocUnsafe(20);a.writeInt32BE(this._a|0,0);a.writeInt32BE(this._b|0,4);a.writeInt32BE(this._c|0,8);a.writeInt32BE(this._d|0,12);a.writeInt32BE(this._e|0,16);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],165:[function(e,a,b){function c(){this.init();this._w=g;f.call(this,64,56)}b=e("inherits");var d=e("./sha256"),f=e("./hash"),l=e("safe-buffer").Buffer,g=Array(64);b(c,d);c.prototype.init=function(){this._a=3238371032; +this._b=914150663;this._c=812702999;this._d=4144912697;this._e=4290775857;this._f=1750603025;this._g=1694076839;this._h=3204075428;return this};c.prototype._hash=function(){var a=l.allocUnsafe(28);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);return a};a.exports=c},{"./hash":161,"./sha256":166,inherits:119,"safe-buffer":160}],166:[function(e,a,b){function c(){this.init(); +this._w=g;d.call(this,64,56)}b=e("inherits");var d=e("./hash"),f=e("safe-buffer").Buffer,l=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350, +2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],g=Array(64);b(c,d);c.prototype.init=function(){this._a=1779033703;this._b=3144134277;this._c=1013904242;this._d=2773480762;this._e=1359893119;this._f=2600822924;this._g=528734635;this._h=1541459225;return this};c.prototype._update= +function(a){for(var b=this._w,c=this._a|0,d=this._b|0,e=this._c|0,f=this._d|0,g=this._e|0,k=this._f|0,C=this._g|0,q=this._h|0,A=0;16>A;++A)b[A]=a.readInt32BE(4*A);for(;64>A;++A){a=b[A-2];var D=b[A-15];b[A]=((a>>>17|a<<15)^(a>>>19|a<<13)^a>>>10)+b[A-7]+((D>>>7|D<<25)^(D>>>18|D<<14)^D>>>3)+b[A-16]|0}for(A=0;64>A;++A)a=q+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))+(C^g&(k^C))+l[A]+b[A]|0,D=((c>>>2|c<<30)^(c>>>13|c<<19)^(c>>>22|c<<10))+(c&d|e&(c|d))|0,q=C,C=k,k=g,g=f+a|0,f=e,e=d,d=c,c=a+D|0;this._a= +c+this._a|0;this._b=d+this._b|0;this._c=e+this._c|0;this._d=f+this._d|0;this._e=g+this._e|0;this._f=k+this._f|0;this._g=C+this._g|0;this._h=q+this._h|0};c.prototype._hash=function(){var a=f.allocUnsafe(32);a.writeInt32BE(this._a,0);a.writeInt32BE(this._b,4);a.writeInt32BE(this._c,8);a.writeInt32BE(this._d,12);a.writeInt32BE(this._e,16);a.writeInt32BE(this._f,20);a.writeInt32BE(this._g,24);a.writeInt32BE(this._h,28);return a};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],167:[function(e, +a,b){function c(){this.init();this._w=g;f.call(this,128,112)}b=e("inherits");var d=e("./sha512"),f=e("./hash"),l=e("safe-buffer").Buffer,g=Array(160);b(c,d);c.prototype.init=function(){this._ah=3418070365;this._bh=1654270250;this._ch=2438529370;this._dh=355462360;this._eh=1731405415;this._fh=2394180231;this._gh=3675008525;this._hh=1203062813;this._al=3238371032;this._bl=914150663;this._cl=812702999;this._dl=4144912697;this._el=4290775857;this._fl=1750603025;this._gl=1694076839;this._hl=3204075428; +return this};c.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d);b.writeInt32BE(c,d+4)}var b=l.allocUnsafe(48);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);return b};a.exports=c},{"./hash":161,"./sha512":168,inherits:119,"safe-buffer":160}],168:[function(e,a,b){function c(){this.init();this._w=k;f.call(this,128,112)}function d(a,b){return a>>>0>>0?1:0}b=e("inherits");var f=e("./hash"), +l=e("safe-buffer").Buffer,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235, 1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804, 1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554, -174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],k=Array(160);b(c,g);c.prototype.init=function(){this._ah=1779033703;this._bh=3144134277;this._ch=1013904242;this._dh=2773480762;this._eh=1359893119;this._fh=2600822924;this._gh=528734635;this._hh=1541459225;this._al=4089235720;this._bl=2227873595;this._cl=4271175723; -this._dl=1595750129;this._el=2917565137;this._fl=725511199;this._gl=4215389547;this._hl=327033209;return this};c.prototype._update=function(a){for(var b=this._w,c=this._ah|0,d=this._bh|0,g=this._ch|0,k=this._dh|0,l=this._eh|0,n=this._fh|0,q=this._gh|0,A=this._hh|0,D=this._al|0,y=this._bl|0,w=this._cl|0,x=this._dl|0,z=this._el|0,F=this._fl|0,B=this._gl|0,G=this._hl|0,E=0;32>E;E+=2)b[E]=a.readInt32BE(4*E),b[E+1]=a.readInt32BE(4*E+4);for(;160>E;E+=2){a=b[E-30];var L=b[E-30+1],u=(a>>>1|L<<31)^(a>>>8| -L<<24)^a>>>7,O=(L>>>1|a<<31)^(L>>>8|a<<24)^(L>>>7|a<<25);a=b[E-4];var L=b[E-4+1],J=(a>>>19|L<<13)^(L>>>29|a<<3)^a>>>6,L=(L>>>19|a<<13)^(a>>>29|L<<3)^(L>>>6|a<<26),I=b[E-32],T=b[E-32+1];a=O+b[E-14+1]|0;u=u+b[E-14]+e(a,O)|0;a=a+L|0;u=u+J+e(a,L)|0;a=a+T|0;u=u+I+e(a,T)|0;b[E]=u;b[E+1]=a}for(E=0;160>E;E+=2){u=b[E];a=b[E+1];var L=c&d|g&(c|d),Q=D&y|w&(D|y),I=(c>>>28|D<<4)^(D>>>2|c<<30)^(D>>>7|c<<25),T=(D>>>28|c<<4)^(c>>>2|D<<30)^(c>>>7|D<<25),ea=h[E],S=h[E+1],K=q^l&(n^q),N=B^z&(F^B),J=G+((z>>>14|l<<18)^ -(z>>>18|l<<14)^(l>>>9|z<<23))|0,O=A+((l>>>14|z<<18)^(l>>>18|z<<14)^(z>>>9|l<<23))+e(J,G)|0,J=J+N|0,O=O+K+e(J,N)|0,J=J+S|0,O=O+ea+e(J,S)|0,J=J+a|0,O=O+u+e(J,a)|0;a=T+Q|0;u=I+L+e(a,T)|0;A=q;G=B;q=n;B=F;n=l;F=z;z=x+J|0;l=k+O+e(z,x)|0;k=g;x=w;g=d;w=y;d=c;y=D;D=J+a|0;c=O+u+e(D,J)|0}this._al=this._al+D|0;this._bl=this._bl+y|0;this._cl=this._cl+w|0;this._dl=this._dl+x|0;this._el=this._el+z|0;this._fl=this._fl+F|0;this._gl=this._gl+B|0;this._hl=this._hl+G|0;this._ah=this._ah+c+e(this._al,D)|0;this._bh=this._bh+ -d+e(this._bl,y)|0;this._ch=this._ch+g+e(this._cl,w)|0;this._dh=this._dh+k+e(this._dl,x)|0;this._eh=this._eh+l+e(this._el,z)|0;this._fh=this._fh+n+e(this._fl,F)|0;this._gh=this._gh+q+e(this._gl,B)|0;this._hh=this._hh+A+e(this._hl,G)|0};c.prototype._hash=function(){function a(a,c,e){b.writeInt32BE(a,e);b.writeInt32BE(c,e+4)}var b=l.allocUnsafe(64);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);a(this._gh, -this._gl,48);a(this._hh,this._hl,56);return b};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],169:[function(d,a,b){function c(){e.call(this)}a.exports=c;var e=d("events").EventEmitter;d("inherits")(c,e);c.Readable=d("readable-stream/readable.js");c.Writable=d("readable-stream/writable.js");c.Duplex=d("readable-stream/duplex.js");c.Transform=d("readable-stream/transform.js");c.PassThrough=d("readable-stream/passthrough.js");c.Stream=c;c.prototype.pipe=function(a,b){function c(b){a.writable&& -!1===a.write(b)&&t.pause&&t.pause()}function d(){t.readable&&t.resume&&t.resume()}function g(){r||(r=!0,a.end())}function f(){r||(r=!0,"function"===typeof a.destroy&&a.destroy())}function l(a){p();if(0===e.listenerCount(this,"error"))throw a;}function p(){t.removeListener("data",c);a.removeListener("drain",d);t.removeListener("end",g);t.removeListener("close",f);t.removeListener("error",l);a.removeListener("error",l);t.removeListener("end",p);t.removeListener("close",p);a.removeListener("close",p)} -var t=this;t.on("data",c);a.on("drain",d);a._isStdio||b&&!1===b.end||(t.on("end",g),t.on("close",f));var r=!1;t.on("error",l);a.on("error",l);t.on("end",p);t.on("close",p);a.on("close",p);a.emit("pipe",t);return a}},{events:101,inherits:119,"readable-stream/duplex.js":146,"readable-stream/passthrough.js":155,"readable-stream/readable.js":156,"readable-stream/transform.js":157,"readable-stream/writable.js":158}],170:[function(d,a,b){function c(a){if(!a)return"utf8";for(var b;;)switch(a){case "utf8":case "utf-8":return"utf8"; -case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return"utf16le";case "latin1":case "binary":return"latin1";case "base64":case "ascii":case "hex":return a;default:if(b)return;a=(""+a).toLowerCase();b=!0}}function e(a){var b=c(a);if("string"!==typeof b&&(r.isEncoding===v||!v(a)))throw Error("Unknown encoding: "+a);this.encoding=b||a;switch(this.encoding){case "utf16le":this.text=k;this.end=n;a=4;break;case "utf8":this.fillLast=h;a=4;break;case "base64":this.text=f;this.end=m;a=3;break;default:this.write= -p;this.end=t;return}this.lastTotal=this.lastNeed=0;this.lastChar=r.allocUnsafe(a)}function g(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:-1}function l(a,b,c){var e=b.length-1;if(eE;E+=2)b[E]=a.readInt32BE(4*E),b[E+1]=a.readInt32BE(4*E+4);for(;160>E;E+=2){a=b[E-30];var L=b[E-30+1],u=(a>>>1|L<<31)^(a>>>8| +L<<24)^a>>>7,O=(L>>>1|a<<31)^(L>>>8|a<<24)^(L>>>7|a<<25);a=b[E-4];var L=b[E-4+1],J=(a>>>19|L<<13)^(L>>>29|a<<3)^a>>>6,L=(L>>>19|a<<13)^(a>>>29|L<<3)^(L>>>6|a<<26),I=b[E-32],T=b[E-32+1];a=O+b[E-14+1]|0;u=u+b[E-14]+d(a,O)|0;a=a+L|0;u=u+J+d(a,L)|0;a=a+T|0;u=u+I+d(a,T)|0;b[E]=u;b[E+1]=a}for(E=0;160>E;E+=2){u=b[E];a=b[E+1];var L=c&e|f&(c|e),Q=D&y|w&(D|y),I=(c>>>28|D<<4)^(D>>>2|c<<30)^(D>>>7|c<<25),T=(D>>>28|c<<4)^(c>>>2|D<<30)^(c>>>7|D<<25),ea=g[E],S=g[E+1],K=q^l&(n^q),N=B^z&(F^B),J=G+((z>>>14|l<<18)^ +(z>>>18|l<<14)^(l>>>9|z<<23))|0,O=A+((l>>>14|z<<18)^(l>>>18|z<<14)^(z>>>9|l<<23))+d(J,G)|0,J=J+N|0,O=O+K+d(J,N)|0,J=J+S|0,O=O+ea+d(J,S)|0,J=J+a|0,O=O+u+d(J,a)|0;a=T+Q|0;u=I+L+d(a,T)|0;A=q;G=B;q=n;B=F;n=l;F=z;z=x+J|0;l=k+O+d(z,x)|0;k=f;x=w;f=e;w=y;e=c;y=D;D=J+a|0;c=O+u+d(D,J)|0}this._al=this._al+D|0;this._bl=this._bl+y|0;this._cl=this._cl+w|0;this._dl=this._dl+x|0;this._el=this._el+z|0;this._fl=this._fl+F|0;this._gl=this._gl+B|0;this._hl=this._hl+G|0;this._ah=this._ah+c+d(this._al,D)|0;this._bh=this._bh+ +e+d(this._bl,y)|0;this._ch=this._ch+f+d(this._cl,w)|0;this._dh=this._dh+k+d(this._dl,x)|0;this._eh=this._eh+l+d(this._el,z)|0;this._fh=this._fh+n+d(this._fl,F)|0;this._gh=this._gh+q+d(this._gl,B)|0;this._hh=this._hh+A+d(this._hl,G)|0};c.prototype._hash=function(){function a(a,c,d){b.writeInt32BE(a,d);b.writeInt32BE(c,d+4)}var b=l.allocUnsafe(64);a(this._ah,this._al,0);a(this._bh,this._bl,8);a(this._ch,this._cl,16);a(this._dh,this._dl,24);a(this._eh,this._el,32);a(this._fh,this._fl,40);a(this._gh, +this._gl,48);a(this._hh,this._hl,56);return b};a.exports=c},{"./hash":161,inherits:119,"safe-buffer":160}],169:[function(e,a,b){function c(){d.call(this)}a.exports=c;var d=e("events").EventEmitter;e("inherits")(c,d);c.Readable=e("readable-stream/readable.js");c.Writable=e("readable-stream/writable.js");c.Duplex=e("readable-stream/duplex.js");c.Transform=e("readable-stream/transform.js");c.PassThrough=e("readable-stream/passthrough.js");c.Stream=c;c.prototype.pipe=function(a,b){function c(b){a.writable&& +!1===a.write(b)&&t.pause&&t.pause()}function e(){t.readable&&t.resume&&t.resume()}function f(){r||(r=!0,a.end())}function h(){r||(r=!0,"function"===typeof a.destroy&&a.destroy())}function l(a){p();if(0===d.listenerCount(this,"error"))throw a;}function p(){t.removeListener("data",c);a.removeListener("drain",e);t.removeListener("end",f);t.removeListener("close",h);t.removeListener("error",l);a.removeListener("error",l);t.removeListener("end",p);t.removeListener("close",p);a.removeListener("close",p)} +var t=this;t.on("data",c);a.on("drain",e);a._isStdio||b&&!1===b.end||(t.on("end",f),t.on("close",h));var r=!1;t.on("error",l);a.on("error",l);t.on("end",p);t.on("close",p);a.on("close",p);a.emit("pipe",t);return a}},{events:101,inherits:119,"readable-stream/duplex.js":146,"readable-stream/passthrough.js":155,"readable-stream/readable.js":156,"readable-stream/transform.js":157,"readable-stream/writable.js":158}],170:[function(e,a,b){function c(a){if(!a)return"utf8";for(var b;;)switch(a){case "utf8":case "utf-8":return"utf8"; +case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return"utf16le";case "latin1":case "binary":return"latin1";case "base64":case "ascii":case "hex":return a;default:if(b)return;a=(""+a).toLowerCase();b=!0}}function d(a){var b=c(a);if("string"!==typeof b&&(r.isEncoding===v||!v(a)))throw Error("Unknown encoding: "+a);this.encoding=b||a;switch(this.encoding){case "utf16le":this.text=k;this.end=n;a=4;break;case "utf8":this.fillLast=g;a=4;break;case "base64":this.text=h;this.end=m;a=3;break;default:this.write= +p;this.end=t;return}this.lastTotal=this.lastNeed=0;this.lastChar=r.allocUnsafe(a)}function f(a){return 127>=a?0:6===a>>5?2:14===a>>4?3:30===a>>3?4:-1}function l(a,b,c){var d=b.length-1;if(d=c)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function n(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function f(a,b){var c=(a.length-b)%3;if(0===c)return a.toString("base64",b);this.lastNeed=3-c;this.lastTotal=3; -1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-c)}function m(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function p(a){return a.toString(this.encoding)}function t(a){return a&&a.length?this.write(a):""}var r=d("safe-buffer").Buffer,v=r.isEncoding||function(a){a=""+a;switch(a&&a.toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":case "raw":return!0; -default:return!1}};b.StringDecoder=e;e.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){b=this.fillLast(a);if(void 0===b)return"";c=this.lastNeed;this.lastNeed=0}else c=0;return ca||0>c||null==b||a+e>this.length||c+e>b.length)return!1;var g=this.substring(a,a+e),l=b.substring(c,c+e);return d?g.equalsIgnoreCase(l):g===l});String.prototype.contains||(String.prototype.contains=function(d){return 0<=this.indexOf(d)});String.prototype.getClass||(String.prototype.getClass=stjs.JavalikeGetClass); -String.valueOf=function(d){return new String(d)};var Byte=Number,Double=Number,Float=Number,Integer=Number,Long=Number,Short=Number;Number.prototype.intValue||(Number.prototype.intValue=function(){return parseInt(this)});Number.prototype.shortValue||(Number.prototype.shortValue=function(){return parseInt(this)});Number.prototype.longValue||(Number.prototype.longValue=function(){return parseInt(this)});Number.prototype.byteValue||(Number.prototype.byteValue=function(){return parseInt(this)}); +1);if(55296<=c&&56319>=c)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=a[a.length-1];return a.toString("utf16le",b,a.length-1)}function n(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):a}function h(a,b){var c=(a.length-b)%3;if(0===c)return a.toString("base64",b);this.lastNeed=3-c;this.lastTotal=3; +1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]);return a.toString("base64",b,a.length-c)}function m(a){a=a&&a.length?this.write(a):"";return this.lastNeed?a+this.lastChar.toString("base64",0,3-this.lastNeed):a}function p(a){return a.toString(this.encoding)}function t(a){return a&&a.length?this.write(a):""}var r=e("safe-buffer").Buffer,v=r.isEncoding||function(a){a=""+a;switch(a&&a.toLowerCase()){case "hex":case "utf8":case "utf-8":case "ascii":case "binary":case "base64":case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":case "raw":return!0; +default:return!1}};b.StringDecoder=d;d.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){b=this.fillLast(a);if(void 0===b)return"";c=this.lastNeed;this.lastNeed=0}else c=0;return ca||0>c||null==b||a+d>this.length||c+d>b.length)return!1;var f=this.substring(a,a+d),l=b.substring(c,c+d);return e?f.equalsIgnoreCase(l):f===l});String.prototype.contains||(String.prototype.contains=function(e){return 0<=this.indexOf(e)});String.prototype.getClass||(String.prototype.getClass=stjs.JavalikeGetClass); +String.valueOf=function(e){return new String(e)};var Byte=Number,Double=Number,Float=Number,Integer=Number,Long=Number,Short=Number;Number.prototype.intValue||(Number.prototype.intValue=function(){return parseInt(this)});Number.prototype.shortValue||(Number.prototype.shortValue=function(){return parseInt(this)});Number.prototype.longValue||(Number.prototype.longValue=function(){return parseInt(this)});Number.prototype.byteValue||(Number.prototype.byteValue=function(){return parseInt(this)}); Number.prototype.floatValue||(Number.prototype.floatValue=function(){return parseFloat(this)});Number.prototype.doubleValue||(Number.prototype.doubleValue=function(){return parseFloat(this)});Number.parseInt||(Number.parseInt=parseInt);Number.parseShort||(Number.parseShort=parseInt);Number.parseLong||(Number.parseLong=parseInt);Number.parseByte||(Number.parseByte=parseInt);Number.parseDouble||(Number.parseDouble=parseFloat);Number.parseFloat||(Number.parseFloat=parseFloat); -Number.isNaN||(Number.isNaN=isNaN);Number.prototype.isNaN||(Number.prototype.isNaN=function(){return isNaN(this)});Number.prototype.equals||(Number.prototype.equals=stjs.JavalikeEquals);Number.prototype.getClass||(Number.prototype.getClass=stjs.JavalikeGetClass);Number.valueOf=function(d){return(new Number(d)).valueOf()};Boolean.prototype.equals||(Boolean.prototype.equals=stjs.JavalikeEquals);Boolean.prototype.getClass||(Boolean.prototype.getClass=stjs.JavalikeGetClass);Boolean.valueOf=function(d){return(new Boolean(d)).valueOf()}; -stjs.global=this;stjs.skipCopy={prototype:!0,constructor:!0,$typeDescription:!0,$inherit:!0};stjs.ns=function(d){d=d.split(".");for(var a=stjs.global,b=0;ba?"0"+a:""+a}return d?""+d.getFullYear()+"-"+b(d.getMonth()+1)+"-"+b(d.getDate())+" "+b(d.getHours())+":"+b(d.getMinutes())+":"+b(d.getSeconds()):null},Enum:function(d,a){return null!=d?d.toString():null}}; -stjs.bind=function(d,a,b){var c=!1;null==a&&(a=d,d=null,c=!0);var e=null!=b;return function(){var g=arguments;e&&Array.prototype.splice.call(g,b,0,this);c&&(d=Array.prototype.shift.call(g));return"string"===typeof a?d[a].apply(d,g):a.apply(d,g)}};function exception(d){return d}function isEnum(d){return null!=d&&d.constructor==stjs.enumEntry} -stjs.parseJSON=function(){function d(a,b,c){return b?l[b]:String.fromCharCode(parseInt(c,16))}function a(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function b(b){return b?"function"==typeof b?new b:b.name?"Map"==b.name?{}:"Array"==b.name?[]:a(b.name):a(b):{}}function c(a){a=e.exec(a);return null!=a?a[0]:null}var e=/(?:false|true|null|[\{\}\[\]]|(?:-?\b(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\b)|(?:"(?:[^\0-\x08\x0a-\x1f"\\]|\\(?:["/\\bfnrt]|u[0-9A-Fa-f]{4}))*"))/g,g=/\\(?:([^u])|u(.{4}))/g, -l={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},h={},k=new String("");return function(e,h){var f,l=c(e),n=!1;"{"===l?f=b(h,null):"["===l?f=[]:(f=[],n=!0);var r,v=[f];h=[h];for(l=c(e);null!=l;l=c(e)){var C;switch(l.charCodeAt(0)){default:C=v[0];C[r||C.length]=+l;r=void 0;break;case 34:l=l.substring(1,l.length-1);-1!==l.indexOf("\\")&&(l=l.replace(g,d));C=v[0];if(!r)if(C instanceof Array)r=C.length;else{r=l||k;h[0]=C.constructor.$typeDescription?C.constructor.$typeDescription[r]:h[1].arguments[1]; -break}var q=h[0];if(q)var A=stjs.converters[q.name||q],l=A?A(l,q):a(q,l);C[r]=l;r=void 0;break;case 91:C=v[0];v.unshift(C[r||C.length]=[]);h.unshift(h[0].arguments[0]);r=void 0;break;case 93:v.shift();h.shift();break;case 102:C=v[0];C[r||C.length]=!1;r=void 0;break;case 110:C=v[0];C[r||C.length]=null;r=void 0;break;case 116:C=v[0];C[r||C.length]=!0;r=void 0;break;case 123:C=v[0];v.unshift(C[r||C.length]=b(h[0]));h.unshift(null);r=void 0;break;case 125:v.shift(),h.shift()}}if(n){if(1!==v.length)throw Error(); -f=f[0]}else if(v.length)throw Error();return f}}();stjs.isArray=function(d){return"[object Array]"===stjs.toString.call(d)}; -stjs.typefy=function(d,a){function b(a,b){var c=h[a];c||(h[a]=c=eval(a));return new c(b)}function c(a){return"function"==typeof a?a:a.arguments?eval(a.arguments[0]):"string"==typeof a?eval(a):Object}function e(a,c){if(!a)return c;var e=stjs.converters[a.name||a];return e?e(c,a):b(a,c)}if(stjs.isArray(d)){for(var g=[],l=0;la?"0"+a:""+a}return e?""+e.getFullYear()+"-"+b(e.getMonth()+1)+"-"+b(e.getDate())+" "+b(e.getHours())+":"+b(e.getMinutes())+":"+b(e.getSeconds()):null},Enum:function(e,a){return null!=e?e.toString():null}}; +stjs.bind=function(e,a,b){var c=!1;null==a&&(a=e,e=null,c=!0);var d=null!=b;return function(){var f=arguments;d&&Array.prototype.splice.call(f,b,0,this);c&&(e=Array.prototype.shift.call(f));return"string"===typeof a?e[a].apply(e,f):a.apply(e,f)}};function exception(e){return e}function isEnum(e){return null!=e&&e.constructor==stjs.enumEntry} +stjs.parseJSON=function(){function e(a,b,c){return b?l[b]:String.fromCharCode(parseInt(c,16))}function a(a,b){var c=g[a];c||(g[a]=c=eval(a));return new c(b)}function b(b){return b?"function"==typeof b?new b:b.name?"Map"==b.name?{}:"Array"==b.name?[]:a(b.name):a(b):{}}function c(a){a=d.exec(a);return null!=a?a[0]:null}var d=/(?:false|true|null|[\{\}\[\]]|(?:-?\b(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\b)|(?:"(?:[^\0-\x08\x0a-\x1f"\\]|\\(?:["/\\bfnrt]|u[0-9A-Fa-f]{4}))*"))/g,f=/\\(?:([^u])|u(.{4}))/g, +l={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},g={},k=new String("");return function(d,g){var h,l=c(d),n=!1;"{"===l?h=b(g,null):"["===l?h=[]:(h=[],n=!0);var r,v=[h];g=[g];for(l=c(d);null!=l;l=c(d)){var C;switch(l.charCodeAt(0)){default:C=v[0];C[r||C.length]=+l;r=void 0;break;case 34:l=l.substring(1,l.length-1);-1!==l.indexOf("\\")&&(l=l.replace(f,e));C=v[0];if(!r)if(C instanceof Array)r=C.length;else{r=l||k;g[0]=C.constructor.$typeDescription?C.constructor.$typeDescription[r]:g[1].arguments[1]; +break}var q=g[0];if(q)var A=stjs.converters[q.name||q],l=A?A(l,q):a(q,l);C[r]=l;r=void 0;break;case 91:C=v[0];v.unshift(C[r||C.length]=[]);g.unshift(g[0].arguments[0]);r=void 0;break;case 93:v.shift();g.shift();break;case 102:C=v[0];C[r||C.length]=!1;r=void 0;break;case 110:C=v[0];C[r||C.length]=null;r=void 0;break;case 116:C=v[0];C[r||C.length]=!0;r=void 0;break;case 123:C=v[0];v.unshift(C[r||C.length]=b(g[0]));g.unshift(null);r=void 0;break;case 125:v.shift(),g.shift()}}if(n){if(1!==v.length)throw Error(); +h=h[0]}else if(v.length)throw Error();return h}}();stjs.isArray=function(e){return"[object Array]"===stjs.toString.call(e)}; +stjs.typefy=function(e,a){function b(a,b){var c=g[a];c||(g[a]=c=eval(a));return new c(b)}function c(a){return"function"==typeof a?a:a.arguments?eval(a.arguments[0]):"string"==typeof a?eval(a):Object}function d(a,c){if(!a)return c;var d=stjs.converters[a.name||a];return d?d(c,a):b(a,c)}if(stjs.isArray(e)){for(var f=[],l=0;lTask.lastFrame+e))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};d.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()},0)):null};d.asyncContinue=function(){var a=function(){Task.asyncContinue()}; -0Task.lastFrame+d))return null==Task.updateFrameHandle&&Task.updateFrame(),setTimeout(function(){Task.delayedFunctions++;a()},0);Task.immediateFunctions++;a();return null};e.asyncImmediate=function(a){Task.tasks.push(a);Task.asyncImmediateFunctions++;return 20>Task.runningAsyncFunctions?(Task.runningAsyncFunctions++,setTimeout(function(){Task.asyncContinue()}, +0)):null};e.asyncContinue=function(){var a=function(){Task.asyncContinue()};0=this.counter}},{},{});if(document&&document.getElementsByTagName){var scripts=document.getElementsByTagName("script");window.scriptPath=scripts[scripts.length-1].src.substr(0,scripts[scripts.length-1].src.lastIndexOf("/"))+"/"} -function generateUUID(){var d=(new Date).getTime();window&&window.performance&&"function"===typeof window.performance.now&&(d+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=(d+16*Math.random())%16|0;d=Math.floor(d/16);return("x"==a?b:b&3|8).toString(16)})} -function base64ToBlob(d,a){a=a||"";d=forge.util.decode64(d);for(var b=d.length,c=Math.ceil(b/1024),e=Array(c),g=0;g=this.counter}},{},{});if(document&&document.getElementsByTagName){var scripts=document.getElementsByTagName("script");window.scriptPath=scripts[scripts.length-1].src.substr(0,scripts[scripts.length-1].src.lastIndexOf("/"))+"/"} +function generateUUID(){var e=(new Date).getTime();window&&window.performance&&"function"===typeof window.performance.now&&(e+=performance.now());return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=(e+16*Math.random())%16|0;e=Math.floor(e/16);return("x"==a?b:b&3|8).toString(16)})} +function base64ToBlob(e,a){a=a||"";e=forge.util.decode64(e);for(var b=e.length,c=Math.ceil(b/1024),d=Array(c),f=0;fa;a++)EcRsaOaepAsyncWorker.createWorker(a)}};d.createWorker=function(a){EcRsaOaepAsyncWorker.q1.push([]);EcRsaOaepAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcRsaOaepAsyncWorker.w.push(b=new Worker(window.scriptPath+ -"forgeAsync.js")):EcRsaOaepAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcRsaOaepAsyncWorker.q1[a].shift(),e=EcRsaOaepAsyncWorker.q2[a].shift();null!=b.error?null!=e&&e(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcRsaOaepAsyncWorker.q1[a].shift();var c=EcRsaOaepAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};d.encrypt=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++; -EcRsaOaepAsyncWorker.rotator%=8;var g={};g.pk=a.toPem();g.text=forge.util.encodeUtf8(c);g.cmd="encryptRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.encrypt(a,c))};d.decrypt=function(a,c,e,d){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){e(b);return}}EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%= -8;var g={};g.ppk=a.toPem();g.text=c;g.cmd="decryptRsaOaep";EcCrypto.caching?EcRsaOaepAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[a.toPem()+c]=forge.util.decodeUtf8(b);e(forge.util.decodeUtf8(b))}):EcRsaOaepAsyncWorker.q1[b].push(function(a){e(forge.util.decodeUtf8(a))});EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.decrypt(a,c))};d.sign=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b= -EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.ppk=a.toPem();g.text=forge.util.encodeUtf8(c);g.cmd="signRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.sign(a,c))};d.signSha256=function(a,c,e,d){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.ppk=a.toPem();g.text=forge.util.encodeUtf8(c); -g.cmd="signSha256RsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(d);EcRsaOaepAsyncWorker.w[b].postMessage(g)}else e(EcRsaOaep.signSha256(a,c))};d.verify=function(a,c,e,d,l){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var g={};g.pk=a.toPem();g.text=forge.util.encodeUtf8(c);g.signature=e;g.cmd="verifyRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(l); -EcRsaOaepAsyncWorker.w[b].postMessage(g)}else d(EcRsaOaep.verify(a,c,e))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}},{}),EcAesCtrAsyncWorker=function(){},EcAesCtrAsyncWorker=stjs.extend(EcAesCtrAsyncWorker,null,[],function(d,a){d.rotator=0;d.w=null;d.q1=null;d.q2=null;d.initWorker=function(){if(!(null==window&&(typeof self).equals("undefined")|| -void 0==Worker||null==Worker)&&EcRemote.async&&null==EcAesCtrAsyncWorker.w){EcAesCtrAsyncWorker.rotator=0;EcAesCtrAsyncWorker.q1=[];EcAesCtrAsyncWorker.q2=[];EcAesCtrAsyncWorker.w=[];for(var a=0;8>a;a++)EcAesCtrAsyncWorker.createWorker(a)}};d.createWorker=function(a){EcAesCtrAsyncWorker.q1.push([]);EcAesCtrAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcAesCtrAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcAesCtrAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage= -function(b){b=b.data;var c=EcAesCtrAsyncWorker.q1[a].shift(),e=EcAesCtrAsyncWorker.q2[a].shift();null!=b.error?null!=e&&e(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcAesCtrAsyncWorker.q1[a].shift();var c=EcAesCtrAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};d.encrypt=function(a,c,e,d,l){EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){var b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var g={};g.secret=c;g.iv=e;g.text=forge.util.encodeUtf8(a); -g.cmd="encryptAesCtr";EcAesCtrAsyncWorker.q1[b].push(d);EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(g)}else d(EcAesCtr.encrypt(a,c,e))};d.decrypt=function(a,c,e,d,l){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[c+e+a];if(null!=b){d(b);return}}EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var g={};g.secret=c;g.iv=e;g.text=a;g.cmd="decryptAesCtr";EcCrypto.caching? -EcAesCtrAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[c+e+a]=forge.util.decodeUtf8(b);d(forge.util.decodeUtf8(b))}):EcAesCtrAsyncWorker.q1[b].push(function(a){d(forge.util.decodeUtf8(a))});EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(g)}else d(EcAesCtr.decrypt(a,c,e))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}}, -{}),EcRsaOaepAsync=function(){},EcRsaOaepAsync=stjs.extend(EcRsaOaepAsync,null,[],function(d,a){d.encrypt=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.encrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.encrypt(a,c,e,d);else{var b=[];b.push("encrypt");var g={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.key=b;window.crypto.subtle.encrypt(g, -b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)},d):window.crypto.subtle.encrypt(g,a.key,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.decrypt=function(a,c,e,d){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){e(b);return}}if(0==EcRemote.async)e(EcRsaOaep.decrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.decrypt(a, -c,e,d);else{b=[];b.push("decrypt");var g={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.key=b;window.crypto.subtle.decrypt(g,b,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+c]=b);e(b)},d)},d):window.crypto.subtle.decrypt(g,a.key,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+ -c]=b);e(b)},d)}};d.sign=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.sign(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,e,d);else{var b=[];b.push("sign");var g={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(g,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))}, -d)},d):window.crypto.subtle.sign(g,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.signSha256=function(a,c,e,d){if(0==EcRemote.async)e(EcRsaOaep.signSha256(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,e,d);else{var b=[];b.push("sign");var g={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.signKey= -b;window.crypto.subtle.sign(g,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)},d):window.crypto.subtle.sign(g,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){e(base64.encode(a))},d)}};d.verify=function(a,c,e,d,l){if(0==EcRemote.async)d(EcRsaOaep.verify(a,c,e));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.verify(a,c,e,d,l);else{var b=[];b.push("verify");var g={name:"RSASSA-PKCS1-v1_5", -hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),g,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.verify(g,b,base64.decode(e),str2ab(forge.util.encodeUtf8(c))).then(function(a){d(a)},l)},l):window.crypto.subtle.verify(g,a.signKey,base64.decode(e),str2ab(forge.util.encodeUtf8(c))).then(function(a){d(a)},l)}}},{},{}),EcAesCtrAsync=function(){},EcAesCtrAsync=stjs.extend(EcAesCtrAsync,null,[],function(d,a){d.encrypt=function(a,c,e,d,l){if(null==window||null==window.crypto|| -null==window.crypto.subtle)EcAesCtrAsyncWorker.encrypt(a,c,e,d,l);else if(0==EcRemote.async)d(EcAesCtr.encrypt(a,c,e));else{var b=[];b.push("encrypt","decrypt");var g={name:"AES-CTR"};g.counter=base64.decode(e);g.length=128;var n;n=str2ab(a);window.crypto.subtle.importKey("raw",base64.decode(c),g,!1,b).then(function(a){window.crypto.subtle.encrypt(g,a,n).then(function(a){d(base64.encode(a))},l)},l)}};d.decrypt=function(a,c,e,d,l){if(EcCrypto.caching){var b=EcCrypto.decryptionCache[c+e+a];if(null!= -b){d(b);return}}if(null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.decrypt(a,c,e,d,l);else{0==EcRemote.async&&d(EcAesCtr.decrypt(a,c,e));b=[];b.push("encrypt","decrypt");var g={name:"AES-CTR"};g.counter=base64.decode(e);g.length=128;var n;n=base64.decode(a);window.crypto.subtle.importKey("raw",base64.decode(c),g,!1,b).then(function(b){window.crypto.subtle.decrypt(g,b,n).then(function(b){EcCrypto.decryptionCache[c+e+a]=ab2str(b);d(ab2str(b))},l)},l)}}},{},{}),EcLinkedData=function(d, -a){this.setContextAndType(d,a)},EcLinkedData=stjs.extend(EcLinkedData,null,[],function(d,a){d.atProperties=["id","type","schema","context","graph"];a.type=null;a.context=null;d.isAtProperty=function(a){for(var b=0;ba;a++)EcRsaOaepAsyncWorker.createWorker(a)}};e.createWorker=function(a){EcRsaOaepAsyncWorker.q1.push([]);EcRsaOaepAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcRsaOaepAsyncWorker.w.push(b=new Worker(window.scriptPath+ +"forgeAsync.js")):EcRsaOaepAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage=function(b){b=b.data;var c=EcRsaOaepAsyncWorker.q1[a].shift(),d=EcRsaOaepAsyncWorker.q2[a].shift();null!=b.error?null!=d&&d(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcRsaOaepAsyncWorker.q1[a].shift();var c=EcRsaOaepAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};e.encrypt=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++; +EcRsaOaepAsyncWorker.rotator%=8;var f={};f.pk=a.toPem();f.text=forge.util.encodeUtf8(c);f.cmd="encryptRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.encrypt(a,c))};e.decrypt=function(a,c,d,e){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){d(b);return}}EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%= +8;var f={};f.ppk=a.toPem();f.text=c;f.cmd="decryptRsaOaep";EcCrypto.caching?EcRsaOaepAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[a.toPem()+c]=forge.util.decodeUtf8(b);d(forge.util.decodeUtf8(b))}):EcRsaOaepAsyncWorker.q1[b].push(function(a){d(forge.util.decodeUtf8(a))});EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.decrypt(a,c))};e.sign=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b= +EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.ppk=a.toPem();f.text=forge.util.encodeUtf8(c);f.cmd="signRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.sign(a,c))};e.signSha256=function(a,c,d,e){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.ppk=a.toPem();f.text=forge.util.encodeUtf8(c); +f.cmd="signSha256RsaOaep";EcRsaOaepAsyncWorker.q1[b].push(d);EcRsaOaepAsyncWorker.q2[b].push(e);EcRsaOaepAsyncWorker.w[b].postMessage(f)}else d(EcRsaOaep.signSha256(a,c))};e.verify=function(a,c,d,e,l){EcRsaOaepAsyncWorker.initWorker();if(EcRemote.async&&null!=EcRsaOaepAsyncWorker.w){var b=EcRsaOaepAsyncWorker.rotator++;EcRsaOaepAsyncWorker.rotator%=8;var f={};f.pk=a.toPem();f.text=forge.util.encodeUtf8(c);f.signature=d;f.cmd="verifyRsaOaep";EcRsaOaepAsyncWorker.q1[b].push(e);EcRsaOaepAsyncWorker.q2[b].push(l); +EcRsaOaepAsyncWorker.w[b].postMessage(f)}else e(EcRsaOaep.verify(a,c,d))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}},{}),EcAesCtrAsyncWorker=function(){},EcAesCtrAsyncWorker=stjs.extend(EcAesCtrAsyncWorker,null,[],function(e,a){e.rotator=0;e.w=null;e.q1=null;e.q2=null;e.initWorker=function(){if(!(null==window&&(typeof self).equals("undefined")|| +void 0==Worker||null==Worker)&&EcRemote.async&&null==EcAesCtrAsyncWorker.w){EcAesCtrAsyncWorker.rotator=0;EcAesCtrAsyncWorker.q1=[];EcAesCtrAsyncWorker.q2=[];EcAesCtrAsyncWorker.w=[];for(var a=0;8>a;a++)EcAesCtrAsyncWorker.createWorker(a)}};e.createWorker=function(a){EcAesCtrAsyncWorker.q1.push([]);EcAesCtrAsyncWorker.q2.push([]);var b;null!=window.scriptPath?EcAesCtrAsyncWorker.w.push(b=new Worker(window.scriptPath+"forgeAsync.js")):EcAesCtrAsyncWorker.w.push(b=new Worker("forgeAsync.js"));b.onmessage= +function(b){b=b.data;var c=EcAesCtrAsyncWorker.q1[a].shift(),d=EcAesCtrAsyncWorker.q2[a].shift();null!=b.error?null!=d&&d(b.error):null!=c&&c(b.result)};b.onerror=function(b){EcAesCtrAsyncWorker.q1[a].shift();var c=EcAesCtrAsyncWorker.q2[a].shift();null!=c&&c(b.toString())}};e.encrypt=function(a,c,d,e,l){EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){var b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var f={};f.secret=c;f.iv=d;f.text=forge.util.encodeUtf8(a); +f.cmd="encryptAesCtr";EcAesCtrAsyncWorker.q1[b].push(e);EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(f)}else e(EcAesCtr.encrypt(a,c,d))};e.decrypt=function(a,c,d,e,l){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[c+d+a];if(null!=b){e(b);return}}EcAesCtrAsyncWorker.initWorker();if(EcRemote.async&&null!=EcAesCtrAsyncWorker.w){b=EcAesCtrAsyncWorker.rotator++;EcAesCtrAsyncWorker.rotator%=8;var f={};f.secret=c;f.iv=d;f.text=a;f.cmd="decryptAesCtr";EcCrypto.caching? +EcAesCtrAsyncWorker.q1[b].push(function(b){EcCrypto.decryptionCache[c+d+a]=forge.util.decodeUtf8(b);e(forge.util.decodeUtf8(b))}):EcAesCtrAsyncWorker.q1[b].push(function(a){e(forge.util.decodeUtf8(a))});EcAesCtrAsyncWorker.q2[b].push(l);EcAesCtrAsyncWorker.w[b].postMessage(f)}else e(EcAesCtr.decrypt(a,c,d))}},{w:{name:"Array",arguments:[{name:"Worker",arguments:["Object"]}]},q1:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]},q2:{name:"Array",arguments:[{name:"Array",arguments:["Callback1"]}]}}, +{}),EcRsaOaepAsync=function(){},EcRsaOaepAsync=stjs.extend(EcRsaOaepAsync,null,[],function(e,a){e.encrypt=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.encrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.encrypt(a,c,d,e);else{var b=[];b.push("encrypt");var f={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.key=b;window.crypto.subtle.encrypt(f, +b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)},e):window.crypto.subtle.encrypt(f,a.key,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.decrypt=function(a,c,d,e){if(EcCrypto.caching){var b=null,b=EcCrypto.decryptionCache[a.toPem()+c];if(null!=b){d(b);return}}if(0==EcRemote.async)d(EcRsaOaep.decrypt(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.decrypt(a, +c,d,e);else{b=[];b.push("decrypt");var f={name:"RSA-OAEP",hash:"SHA-1"};null==a.key?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.key=b;window.crypto.subtle.decrypt(f,b,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+c]=b);d(b)},e)},e):window.crypto.subtle.decrypt(f,a.key,base64.decode(c)).then(function(b){b=forge.util.decodeUtf8(ab2str(b));EcCrypto.caching&&(EcCrypto.decryptionCache[a.toPem()+ +c]=b);d(b)},e)}};e.sign=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.sign(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,d,e);else{var b=[];b.push("sign");var f={name:"RSASSA-PKCS1-v1_5",hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.sign(f,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))}, +e)},e):window.crypto.subtle.sign(f,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.signSha256=function(a,c,d,e){if(0==EcRemote.async)d(EcRsaOaep.signSha256(a,c));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.sign(a,c,d,e);else{var b=[];b.push("sign");var f={name:"RSASSA-PKCS1-v1_5",hash:"SHA-256"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.signKey= +b;window.crypto.subtle.sign(f,b,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)},e):window.crypto.subtle.sign(f,a.signKey,str2ab(forge.util.encodeUtf8(c))).then(function(a){d(base64.encode(a))},e)}};e.verify=function(a,c,d,e,l){if(0==EcRemote.async)e(EcRsaOaep.verify(a,c,d));else if(EcBrowserDetection.isIeOrEdge()||null==window||null==window.crypto||null==window.crypto.subtle)EcRsaOaepAsyncWorker.verify(a,c,d,e,l);else{var b=[];b.push("verify");var f={name:"RSASSA-PKCS1-v1_5", +hash:"SHA-1"};null==a.signKey?window.crypto.subtle.importKey("jwk",a.toJwk(),f,!1,b).then(function(b){a.signKey=b;window.crypto.subtle.verify(f,b,base64.decode(d),str2ab(forge.util.encodeUtf8(c))).then(function(a){e(a)},l)},l):window.crypto.subtle.verify(f,a.signKey,base64.decode(d),str2ab(forge.util.encodeUtf8(c))).then(function(a){e(a)},l)}}},{},{}),EcAesCtrAsync=function(){},EcAesCtrAsync=stjs.extend(EcAesCtrAsync,null,[],function(e,a){e.encrypt=function(a,c,d,e,l){if(null==window||null==window.crypto|| +null==window.crypto.subtle)EcAesCtrAsyncWorker.encrypt(a,c,d,e,l);else if(0==EcRemote.async)e(EcAesCtr.encrypt(a,c,d));else{var b=[];b.push("encrypt","decrypt");var f={name:"AES-CTR"};f.counter=base64.decode(d);f.length=128;var n;n=str2ab(a);window.crypto.subtle.importKey("raw",base64.decode(c),f,!1,b).then(function(a){window.crypto.subtle.encrypt(f,a,n).then(function(a){e(base64.encode(a))},l)},l)}};e.decrypt=function(a,c,d,e,l){if(EcCrypto.caching){var b=EcCrypto.decryptionCache[c+d+a];if(null!= +b){e(b);return}}if(null==window.crypto||null==window.crypto.subtle)EcAesCtrAsyncWorker.decrypt(a,c,d,e,l);else{0==EcRemote.async&&e(EcAesCtr.decrypt(a,c,d));b=[];b.push("encrypt","decrypt");var f={name:"AES-CTR"};f.counter=base64.decode(d);f.length=128;var n;n=base64.decode(a);window.crypto.subtle.importKey("raw",base64.decode(c),f,!1,b).then(function(b){window.crypto.subtle.decrypt(f,b,n).then(function(b){EcCrypto.decryptionCache[c+d+a]=ab2str(b);e(ab2str(b))},l)},l)}}},{},{}),EcLinkedData=function(e, +a){this.setContextAndType(e,a)},EcLinkedData=stjs.extend(EcLinkedData,null,[],function(e,a){e.atProperties=["id","type","schema","context","graph"];a.type=null;a.context=null;e.isAtProperty=function(a){for(var b=0;b(new Date).getTime()+a)return b[1];a+=2E4}b=[];for(var d=0;d(new Date).getTime()+a){e(g[1]);return}a+=2E4}var k=a;(new EcAsyncHelper).each(EcIdentityManager.ids,function(a,e){EcIdentityManager.createSignatureAsync(k,c,a.ppk,function(a){b.push(a.atIfy());e()},function(a){d(a);e()})}, -function(a){var d=JSON.stringify(b);EcIdentityManager.signatureSheetCaching&&(a=[],a[0]=(new Date).getTime()+k,a[1]=d,EcIdentityManager.signatureSheetCache[c]=a);e(d)})}else a=EcIdentityManager.signatureSheet(a,c),null!=e&&e(a)};d.createSignature=function(a,c,e){var b=new EbacSignature;b.expiry=(new Date).getTime()+a;b.server=c;b["@owner"]=e.toPk().toPem();b["@signature"]=EcRsaOaep.sign(e,b.toJson());return b};d.createSignatureAsync=function(a,c,e,d,l){var b=new EbacSignature;b["@owner"]=e.toPk().toPem(); -b.expiry=(new Date).getTime()+a;b.server=c;EcRsaOaepAsync.sign(e,b.toJson(),function(a){b["@signature"]=a;d(b)},l)};d.getPpk=function(a){a=a.toPem();for(var b=0;b(new Date).getTime()+a)return b[1];a+=2E4}b=[];for(var e=0;e(new Date).getTime()+a){d(f[1]);return}a+=2E4}var k=a;(new EcAsyncHelper).each(EcIdentityManager.ids,function(a,d){EcIdentityManager.createSignatureAsync(k,c,a.ppk,function(a){b.push(a.atIfy());d()},function(a){e(a);d()})}, +function(a){var e=JSON.stringify(b);EcIdentityManager.signatureSheetCaching&&(a=[],a[0]=(new Date).getTime()+k,a[1]=e,EcIdentityManager.signatureSheetCache[c]=a);d(e)})}else a=EcIdentityManager.signatureSheet(a,c),null!=d&&d(a)};e.createSignature=function(a,c,d){var b=new EbacSignature;b.expiry=(new Date).getTime()+a;b.server=c;b["@owner"]=d.toPk().toPem();b["@signature"]=EcRsaOaep.sign(d,b.toJson());return b};e.createSignatureAsync=function(a,c,d,e,l){var b=new EbacSignature;b["@owner"]=d.toPk().toPem(); +b.expiry=(new Date).getTime()+a;b.server=c;EcRsaOaepAsync.sign(d,b.toJson(),function(a){b["@signature"]=a;e(b)},l)};e.getPpk=function(a){a=a.toPem();for(var b=0;bb.usernameSalt.length?c("Insufficient length on Username Salt"):(b.usernameIterations=stjs.trunc(e.usernameIterations),1E3>b.usernameIterations?c("Insufficient iterations on Username Hash"): -(b.usernameWidth=stjs.trunc(e.usernameLength),64!=b.usernameWidth?c("Username Hash required to be length 64."):(b.passwordSalt=e.passwordSalt,16>b.passwordSalt.length?c("Insufficient length on Password Salt"):(b.passwordIterations=stjs.trunc(e.passwordIterations),1E3>b.passwordIterations?c("Insufficient iterations on Password Hash"):(b.passwordWidth=stjs.trunc(e.passwordLength),64!=b.passwordWidth?c("Password Hash required to be length 64."):(b.secretSalt=e.secretSalt,16>b.secretSalt.length?c("Insufficient length on Secret Salt"): -(b.secretIterations=stjs.trunc(e.secretIterations),1E3>b.secretIterations?c("Insufficient iterations on Secret Hash"):(b.configured=!0,null!=a&&a(e)))))))))},function(a){b.configured=!1;null!=c?c(a):console.error(a)})};a.clear=function(){this.token=this.pad=this.secretWithSalt=this.passwordWithSalt=this.usernameWithSalt=null};a.setDefaultIdentityManagementServer=function(a){this.server=a};a.startLogin=function(a,c){if(!this.configured)throw new RuntimeException("Remote Identity not configured."); -this.usernameWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt,this.usernameIterations,this.usernameWidth));this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));var b=[];b.push(a,c);a=this.splicePasswords(b);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32))};a.changePassword=function(a,c,e){var b=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt, -this.usernameIterations,this.usernameWidth));if(this.usernameWithSalt!=b)throw new RuntimeException("Username does not match. Aborting password change.");c=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));if(this.passwordWithSalt!=c)throw new RuntimeException("Old password does not match. Aborting password change.");this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(e,this.passwordSalt,this.passwordIterations,this.passwordWidth));c= -[];c.push(a,e);a=this.splicePasswords(c);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32));return!0};a.fetch=function(a,c){if(this.configured)if(null==this.usernameWithSalt||null==this.passwordWithSalt||null==this.secretWithSalt)c("Please log in before performing this operation.");else{var b=new EbacCredentialRequest;b.username=this.usernameWithSalt;b.password=this.passwordWithSalt;var d=new FormData;d.append("credentialRequest",b.toJson());var l= -this;EcRemote.postExpectingObject(this.server,"sky/id/login",d,function(b){l.pad=b.pad;l.token=b.token;if(null!=b.credentials)for(var c=0;c=a[l].length||(b+=a[l].charAt(e),d=!0);if(!d)break}return b}},{},{}),EcContactGrant=function(){EbacContactGrant.call(this)},EcContactGrant=stjs.extend(EcContactGrant,EbacContactGrant, -[],function(d,a){a.valid=function(){if(!this.verify()||this.invalid())return!1;for(var a=!1,c=0;c -c||d!=c)try{b=this.tryDecryptSecretByKeyAndIndex(a,d)}catch(l){}if(null!=b)return b}}return null};a.decryptSecretAsync=function(a,c){var b=[],d=[];if(null!=this.owner)for(var l=0;lc||c>=this.secret.length? -this.decryptSecretsByKeyAsync(a,e,d):EcRsaOaepAsync.decrypt(a,this.secret[c],function(c){EcLinkedData.isProbablyJson(c)?e(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(c))):b.decryptSecretsByKeyAsync(a,e,d)},function(c){b.decryptSecretsByKeyAsync(a,e,d)}):d("Secret field is empty.")};a.decryptSecretsByKeyAsync=function(a,c,e){var b=new EcAsyncHelper;b.each(this.secret,function(e,d){EcRsaOaepAsync.decrypt(a,e,function(a){-1!=b.counter&&(EcLinkedData.isProbablyJson(a)?(b.stop(),c(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(a)))): -d())},function(a){d()})},function(a){e("Could not find decryption key.")})};a.isAnEncrypted=function(a){if(null==this.encryptedType)return!1;var b=a.split("/");return this.encryptedType==a||this.encryptedType==b[b.length-1]};a.addReader=function(a){this.addReaderBasic(a);var b=this.decryptSecret();null==b?console.error("Cannot add a Reader if you don't know the secret"):EcArray.setAdd(this.secret,EcRsaOaep.encrypt(a,b.toEncryptableJson()))};a.addReaderBasic=function(a){a=a.toPem();null==this.reader&& +var OAuth2FileBasedRemoteIdentityManager=function(e){var a=this;EcRemote.getExpectingObject("","hello.json",function(b){try{a.configuration=JSON.parse(JSON.stringify(b)),hello.init(b),a.constructor.oauthEnabled=!0,e()}catch(c){a.constructor.oauthEnabled=!1}},function(b){a.constructor.oauthEnabled=!1})},OAuth2FileBasedRemoteIdentityManager=stjs.extend(OAuth2FileBasedRemoteIdentityManager,null,[RemoteIdentityManagerInterface],function(e,a){e.oauthEnabled=!1;a.server=null;a.configuration=null;a.oauthLoginResponse= +null;a.network=null;a.global=null;a.isGlobal=function(){return null==this.global?!0:this.global};a.configure=function(a,c,d,e,l,g,k,n){};a.configureFromServer=function(a,c){a(null)};a.clear=function(){OAuth2FileBasedRemoteIdentityManager.oauthEnabled=!1;null!=this.server&&hello.logout(this.server,null)};a.setDefaultIdentityManagementServer=function(a){this.server=a};a.startLogin=function(a,c){};a.changePassword=function(a,c,d){return!1};a.fetch=function(a,c){var b={};b.scope=this.configuration[this.server+ +"Scope"];b.display="page";var e=this;hello.on("auth.login",function(b){e.oauthLoginResponse=b;e.network=e.oauthLoginResponse.network;hello.api(e.network+"/me/folders","get",{}).then(function(b){b=b.data;for(var d=!1,f=!1,g=0;gb.usernameSalt.length?c("Insufficient length on Username Salt"):(b.usernameIterations=stjs.trunc(d.usernameIterations),1E3>b.usernameIterations?c("Insufficient iterations on Username Hash"): +(b.usernameWidth=stjs.trunc(d.usernameLength),64!=b.usernameWidth?c("Username Hash required to be length 64."):(b.passwordSalt=d.passwordSalt,16>b.passwordSalt.length?c("Insufficient length on Password Salt"):(b.passwordIterations=stjs.trunc(d.passwordIterations),1E3>b.passwordIterations?c("Insufficient iterations on Password Hash"):(b.passwordWidth=stjs.trunc(d.passwordLength),64!=b.passwordWidth?c("Password Hash required to be length 64."):(b.secretSalt=d.secretSalt,16>b.secretSalt.length?c("Insufficient length on Secret Salt"): +(b.secretIterations=stjs.trunc(d.secretIterations),1E3>b.secretIterations?c("Insufficient iterations on Secret Hash"):(b.configured=!0,null!=a&&a(d)))))))))},function(a){b.configured=!1;null!=c?c(a):console.error(a)})};a.clear=function(){this.token=this.pad=this.secretWithSalt=this.passwordWithSalt=this.usernameWithSalt=null};a.setDefaultIdentityManagementServer=function(a){this.server=a};a.startLogin=function(a,c){if(!this.configured)throw new RuntimeException("Remote Identity not configured."); +this.usernameWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt,this.usernameIterations,this.usernameWidth));this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));var b=[];b.push(a,c);a=this.splicePasswords(b);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32))};a.changePassword=function(a,c,d){var b=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.usernameSalt, +this.usernameIterations,this.usernameWidth));if(this.usernameWithSalt!=b)throw new RuntimeException("Username does not match. Aborting password change.");c=forge.util.encode64(forge.pkcs5.pbkdf2(c,this.passwordSalt,this.passwordIterations,this.passwordWidth));if(this.passwordWithSalt!=c)throw new RuntimeException("Old password does not match. Aborting password change.");this.passwordWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(d,this.passwordSalt,this.passwordIterations,this.passwordWidth));c= +[];c.push(a,d);a=this.splicePasswords(c);this.secretWithSalt=forge.util.encode64(forge.pkcs5.pbkdf2(a,this.secretSalt,this.secretIterations,32));return!0};a.fetch=function(a,c){if(this.configured)if(null==this.usernameWithSalt||null==this.passwordWithSalt||null==this.secretWithSalt)c("Please log in before performing this operation.");else{var b=new EbacCredentialRequest;b.username=this.usernameWithSalt;b.password=this.passwordWithSalt;var e=new FormData;e.append("credentialRequest",b.toJson());var l= +this;EcRemote.postExpectingObject(this.server,"sky/id/login",e,function(b){l.pad=b.pad;l.token=b.token;if(null!=b.credentials)for(var c=0;c=a[l].length||(b+=a[l].charAt(d),e=!0);if(!e)break}return b}},{},{}),EcContactGrant=function(){EbacContactGrant.call(this)},EcContactGrant=stjs.extend(EcContactGrant,EbacContactGrant, +[],function(e,a){a.valid=function(){if(!this.verify()||this.invalid())return!1;for(var a=!1,c=0;c +c||e!=c)try{b=this.tryDecryptSecretByKeyAndIndex(a,e)}catch(l){}if(null!=b)return b}}return null};a.decryptSecretAsync=function(a,c){var b=[],e=[];if(null!=this.owner)for(var l=0;lc||c>=this.secret.length? +this.decryptSecretsByKeyAsync(a,d,e):EcRsaOaepAsync.decrypt(a,this.secret[c],function(c){EcLinkedData.isProbablyJson(c)?d(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(c))):b.decryptSecretsByKeyAsync(a,d,e)},function(c){b.decryptSecretsByKeyAsync(a,d,e)}):e("Secret field is empty.")};a.decryptSecretsByKeyAsync=function(a,c,d){var b=new EcAsyncHelper;b.each(this.secret,function(d,e){EcRsaOaepAsync.decrypt(a,d,function(a){-1!=b.counter&&(EcLinkedData.isProbablyJson(a)?(b.stop(),c(EbacEncryptedSecret.fromEncryptableJson(JSON.parse(a)))): +e())},function(a){e()})},function(a){d("Could not find decryption key.")})};a.isAnEncrypted=function(a){if(null==this.encryptedType)return!1;var b=a.split("/");return this.encryptedType==a||this.encryptedType==b[b.length-1]};a.addReader=function(a){this.addReaderBasic(a);var b=this.decryptSecret();null==b?console.error("Cannot add a Reader if you don't know the secret"):EcArray.setAdd(this.secret,EcRsaOaep.encrypt(a,b.toEncryptableJson()))};a.addReaderBasic=function(a){a=a.toPem();null==this.reader&& (this.reader=[]);EcArray.has(this.reader,a)||null!=this.owner&&EcArray.has(this.owner,a)||EcArray.setAdd(this.reader,a)};a.removeReader=function(a){var b=this.decryptSecret();a=a.toPem();null!=this.reader&&EcArray.setRemove(this.reader,a);if(null==b)console.error("Cannot remove a Reader if you don't know the secret");else{this.secret=[];if(null!=this.owner)for(a=0;a(new Date).getTime()){setTimeout(function(){EcRepository.get(b,c,e)},100);return}EcRepository.fetching[a]=(new Date).getTime()+6E4}}if(!EcRepository.shouldTryUrl(a))if(1== -EcRepository.repos.length)a.startsWith(EcRepository.repos[0].selectedServer)||(a=EcRemoteLinkedData.veryShortId(EcRepository.repos[0].selectedServer,EcCrypto.md5(a)));else{EcRepository.find(a,"Could not locate object. May be due to EcRepository.alwaysTryUrl flag.",{},0,c,e);return}var d=new FormData,h=a;if(EcRepository.unsigned)EcRemote.getExpectingObject(h,null,function(a){EcRepository.getHandleData(a,b,c,e,h)},function(a){EcRepository.find(b,a,{},0,c,e)});else{var k=EcRepository.setOffset(a);EcIdentityManager.signatureSheetAsync(6E4+ -k,a,function(a){null!=EcRepository.cache[b]?(delete EcRepository.fetching[b],c(EcRepository.cache[b])):(d.append("signatureSheet",a),EcRemote.postExpectingObject(h,null,d,function(a){EcRepository.getHandleData(a,b,c,e,h)},function(a){EcRepository.find(b,a,{},0,c,e)}))},e)}}}};d.setOffset=function(a){for(var b=0,e=0;eEcRepository.repos.length||null==EcRepository.repos[d])delete EcRepository.fetching[a],null!=h&&h(c);else{var b=EcRepository.repos[d];null==b.selectedServer?EcRepository.find(a,c,e,d+1,l,h):1==e[b.selectedServer]?EcRepository.find(a,c,e,d+1,l,h):(e[b.selectedServer]=!0,b.search('@id:"'+a+'"',null,function(d){if(null!=d&&0!=d.length){for(var g=!1,k=0;kEcRepository.repos.length||null==EcRepository.repos[d])return delete EcRepository.fetching[a],null;var b=EcRepository.repos[d];if(null==b.selectedServer)return EcRepository.findBlocking(a,c,e,d+1);1==e[b.selectedServer]&&EcRepository.findBlocking(a,c,e,d+1);e[b.selectedServer]=!0;b=b.searchBlocking('@id:"'+ -a+'"');if(null!=b&&0!=b.length)for(var g=0;g(new Date).getTime()){setTimeout(function(){EcRepository.get(b,c,d)},100);return}EcRepository.fetching[a]=(new Date).getTime()+6E4}}if(!EcRepository.shouldTryUrl(a))if(1== +EcRepository.repos.length)a.startsWith(EcRepository.repos[0].selectedServer)||(a=EcRemoteLinkedData.veryShortId(EcRepository.repos[0].selectedServer,EcCrypto.md5(a)));else{EcRepository.find(a,"Could not locate object. May be due to EcRepository.alwaysTryUrl flag.",{},0,c,d);return}var e=new FormData,g=a;if(EcRepository.unsigned)EcRemote.getExpectingObject(g,null,function(a){EcRepository.getHandleData(a,b,c,d,g)},function(a){EcRepository.find(b,a,{},0,c,d)});else{var k=EcRepository.setOffset(a);EcIdentityManager.signatureSheetAsync(6E4+ +k,a,function(a){null!=EcRepository.cache[b]?(delete EcRepository.fetching[b],c(EcRepository.cache[b])):(e.append("signatureSheet",a),EcRemote.postExpectingObject(g,null,e,function(a){EcRepository.getHandleData(a,b,c,d,g)},function(a){EcRepository.find(b,a,{},0,c,d)}))},d)}}}};e.setOffset=function(a){for(var b=0,d=0;dEcRepository.repos.length||null==EcRepository.repos[e])delete EcRepository.fetching[a],null!=g&&g(c);else{var b=EcRepository.repos[e];null==b.selectedServer?EcRepository.find(a,c,d,e+1,l,g):1==d[b.selectedServer]?EcRepository.find(a,c,d,e+1,l,g):(d[b.selectedServer]=!0,b.search('@id:"'+a+'"',null,function(e){if(null!=e&&0!=e.length){for(var f=!1,k=0;kEcRepository.repos.length||null==EcRepository.repos[e])return delete EcRepository.fetching[a],null;var b=EcRepository.repos[e];if(null==b.selectedServer)return EcRepository.findBlocking(a,c,d,e+1);1==d[b.selectedServer]&&EcRepository.findBlocking(a,c,d,e+1);d[b.selectedServer]=!0;b=b.searchBlocking('@id:"'+ +a+'"');if(null!=b&&0!=b.length)for(var f=0;f(new Date).getTime()){setTimeout(function(){m.searchWithParams(a,c,e,d,l)},100);return}EcRepository.fetching[f]=(new Date).getTime()+6E4}}else f=null;var p=new FormData; -p.append("data",b);null!=n&&p.append("searchParams",JSON.stringify(n));m=this;1==EcRepository.unsigned||1==g.unsigned?(p.append("signatureSheet","[]"),EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];m.handleSearchResults(a,e,d,l)},function(a){null!=f&&delete EcRepository.fetching[f];null!=l&&l(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer, -function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[f]=a);null!=f&&delete EcRepository.fetching[f];m.handleSearchResults(a,e,d,l)},function(a){null!=f&&delete EcRepository.fetching[f];null!=l&&l(a)})},l)}};a.searchWithParamsBlocking=function(a,c){var b;null==c&&(c={});var d={};b=this.searchParamProps(a,c,d);null!=c.fields&&(d.fields=c.fields);a=EcRemote.async;EcRemote.async=!1;var l; -l=JSON.stringify(d)+b;if(EcRepository.cachingSearch&&null!=EcRepository.cache[l])return this.handleSearchResults(EcRepository.cache[l],null,null,null);var h=new FormData;h.append("data",b);null!=d&&h.append("searchParams",JSON.stringify(d));1==EcRepository.unsigned||1==c.unsigned?(h.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l]; -EcRepository.cache[l]=null})):(c=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),h.append("signatureSheet",c),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",h,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null}));c=this.handleSearchResults(EcRepository.cache[l],null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[l];EcRemote.async= -a;return c};a.searchParamProps=function(a,c,e){null!=c.start&&(e.start=c.start);null!=c.size&&(e.size=c.size);null!=c.types&&(e.types=c.types);null!=c.sort&&(e.sort=c.sort);null!=c.track_scores&&(e.track_scores=c.track_scores);null!=c.index_hint&&(e.index_hint=c.index_hint);if(null!=c.ownership)if(c=c.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==c)a+=" AND (_missing_:owner) AND (_missing_:@owner)";else if("owned"==c)a+=" AND (_exists_:owner OR _exists_:@owner)";else if("me"== -c){a+=" AND (";for(c=0;c(new Date).getTime()){setTimeout(function(){m.searchWithParams(a, +c,d,e,l)},100);return}EcRepository.fetching[h]=(new Date).getTime()+6E4}}else h=null;var p=new FormData;p.append("data",b);null!=n&&p.append("searchParams",JSON.stringify(n));m=this;1==EcRepository.unsigned||1==f.unsigned?(p.append("signatureSheet","[]"),EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[h]=a);null!=h&&delete EcRepository.fetching[h];m.handleSearchResults(a,d,e,l)},function(a){null!=h&&delete EcRepository.fetching[h]; +null!=l&&l(a)})):EcIdentityManager.signatureSheetAsync(6E4+this.timeOffset,this.selectedServer,function(a){p.append("signatureSheet",a);EcRemote.postExpectingObject(m.selectedServer,"sky/repo/search",p,function(a){EcRepository.cachingSearch&&(EcRepository.cache[h]=a);null!=h&&delete EcRepository.fetching[h];m.handleSearchResults(a,d,e,l)},function(a){null!=h&&delete EcRepository.fetching[h];null!=l&&l(a)})},l)}};a.searchWithParamsBlocking=function(a,c){var b;null==c&&(c={});var e={};b=this.searchParamProps(a, +c,e);null!=c.fields&&(e.fields=c.fields);a=EcRemote.async;EcRemote.async=!1;var l;l=JSON.stringify(e)+b;if(EcRepository.cachingSearch&&null!=EcRepository.cache[l])return this.handleSearchResults(EcRepository.cache[l],null,null,null);var g=new FormData;g.append("data",b);null!=e&&g.append("searchParams",JSON.stringify(e));1==EcRepository.unsigned||1==c.unsigned?(g.append("signatureSheet","[]"),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",g,function(a){EcRepository.cache[l]=a; +null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null})):(c=EcIdentityManager.signatureSheet(6E4+this.timeOffset,this.selectedServer),g.append("signatureSheet",c),EcRemote.postExpectingObject(this.selectedServer,"sky/repo/search",g,function(a){EcRepository.cache[l]=a;null!=l&&delete EcRepository.fetching[l]},function(a){null!=l&&delete EcRepository.fetching[l];EcRepository.cache[l]=null}));c=this.handleSearchResults(EcRepository.cache[l], +null,null,null);EcRepository.cachingSearch||delete EcRepository.cache[l];EcRemote.async=a;return c};a.searchParamProps=function(a,c,d){null!=c.start&&(d.start=c.start);null!=c.size&&(d.size=c.size);null!=c.types&&(d.types=c.types);null!=c.sort&&(d.sort=c.sort);null!=c.track_scores&&(d.track_scores=c.track_scores);null!=c.index_hint&&(d.index_hint=c.index_hint);if(null!=c.ownership)if(c=c.ownership,a.startsWith("(")&&a.endsWith(")")||(a="("+a+")"),"public"==c)a+=" AND (_missing_:owner) AND (_missing_:@owner)"; +else if("owned"==c)a+=" AND (_exists_:owner OR _exists_:@owner)";else if("me"==c){a+=" AND (";for(c=0;c=this.relation.length&&null!=e?e(""):EcAlignment.get(this.relation[c],function(h){null!=h&&h.source==b||h.target==b||h.source==a||h.target==a?(g.relation.splice(c,1),g.removeRelationshipsThatInclude(a,c,e,d)):g.removeRelationshipsThatInclude(a,c+1,e,d)},function(b){g.removeRelationshipsThatInclude(a,c+1,e,d)})};a.removeLevelsThatInclude=function(a,c,e,d){var b=EcRemoteLinkedData.trimVersionFromUrl(a),g=this;c>=this.level.length&& -null!=e?e(""):EcLevel.get(this.level[c],function(h){h.competency==b||h.competency==a?(g.level.splice(c,1),g.removeLevelsThatInclude(a,c,e,d)):g.removeLevelsThatInclude(a,c+1,e,d)},function(b){g.removeLevelsThatInclude(a,c+1,e,d)})};a.addRelation=function(a){a=EcRemoteLinkedData.trimVersionFromUrl(a);null==this.relation&&(this.relation=[]);for(var b=0;b=this.relation.length&&null!=d?d(""):EcAlignment.get(this.relation[c],function(g){null!=g&&g.source==b||g.target==b||g.source==a||g.target==a?(f.relation.splice(c,1),f.removeRelationshipsThatInclude(a,c,d,e)):f.removeRelationshipsThatInclude(a, +c+1,d,e)},function(b){f.removeRelationshipsThatInclude(a,c+1,d,e)})};a.removeLevelsThatInclude=function(a,c,d,e){var b=EcRemoteLinkedData.trimVersionFromUrl(a),f=this;c>=this.level.length&&null!=d?d(""):EcLevel.get(this.level[c],function(g){g.competency==b||g.competency==a?(f.level.splice(c,1),f.removeLevelsThatInclude(a,c,d,e)):f.removeLevelsThatInclude(a,c+1,d,e)},function(b){f.removeLevelsThatInclude(a,c+1,d,e)})};a.addRelation=function(a){a=EcRemoteLinkedData.trimVersionFromUrl(a);null==this.relation&& +(this.relation=[]);for(var b=0;bd)r("Name Index not Set");else{var b=[];Papa.parse(a,{encoding:"UTF-8",complete:function(a){a=a.data;for(var g=a[0],w=1;wd?f("Source Index not Set"):null== -l||0>l?f("Relation Type Index not Set"):null==h||0>h?f("Destination Index not Set"):Papa.parse(e,{encoding:"UTF-8",complete:function(e){e=e.data;for(var g=1;ga?1:0=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS);a>=PapCompetencyNetwork.HIGH_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.HIGH_CONFLICT_CLASS);return b};a.getDependencies=function(){return this.dependencies};a.setDependencies=function(a){this.dependencies=a};a.getActivations=function(){return this.activations};a.setActivations=function(a){this.activations= -a};a.getAlphas=function(){return this.alphas};a.setAlphas=function(a){this.alphas=a};a.getBetas=function(){return this.betas};a.setBetas=function(a){this.betas=a};a.getUpdated=function(){return this.updated};a.setUpdated=function(a){this.updated=a};a.getNumberNodes=function(){return this.numberNodes};a.setNumberNodes=function(a){this.numberNodes=a}},{dependencies:{name:"Map",arguments:[null,{name:"Map",arguments:[null,{name:"Array",arguments:["PapDependency"]}]}]},activations:{name:"Array",arguments:[null]}, -alphas:{name:"Array",arguments:[null]},betas:{name:"Array",arguments:[null]},updated:{name:"Array",arguments:[null]}},{}),PapAssertion=function(d,a,b,c,e){this.confidence=d;this.assertionDate=b;this.expirationDate=c;this.result=e;this.competencyIndex=a},PapAssertion=stjs.extend(PapAssertion,null,[],function(d,a){a.confidence=null;a.competencyIndex=null;a.assertionDate=null;a.expirationDate=null;a.result=!1;a.getConfidence=function(){return this.confidence};a.setConfidence=function(a){this.confidence= -a};a.getCompetencyIndex=function(){return this.competencyIndex};a.setCompetencyIndex=function(a){this.competencyIndex=a};a.getAssertionDate=function(){return this.assertionDate};a.setAssertionDate=function(a){this.assertionDate=a};a.getExpirationDate=function(){return this.expirationDate};a.setExpirationDate=function(a){this.expirationDate=a};a.getResult=function(){return this.result};a.setResult=function(a){this.result=a}},{},{}),EcGraphUtil=function(){},EcGraphUtil=stjs.extend(EcGraphUtil,null, -[],function(d,a){d.buildIdSearchQueryForIdList=function(a){var b="";1=this.queryOperations.length)){var b=this.generateComboAndPacket(),e;RollupRulePacketGenerator.OperationType.OR.equals(this.queryOperations[0])? -a.subPackets.push(this.generateRollupRulePacket(this.queries[0])):b.subPackets.push(this.generateRollupRulePacket(this.queries[0]));e=this.queryOperations[0];for(var d=1;de)r("Name Index not Set");else{var b=[];Papa.parse(a,{encoding:"UTF-8",complete:function(a){a=a.data;for(var f=a[0],w=1;we?h("Source Index not Set"):null== +l||0>l?h("Relation Type Index not Set"):null==g||0>g?h("Destination Index not Set"):Papa.parse(d,{encoding:"UTF-8",complete:function(d){d=d.data;for(var f=1;fa?1:0=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.MEDIUM_CONFLICT_CLASS); +a>=PapCompetencyNetwork.HIGH_CONFLICT_CLASS_QUALIFIER&&(b=PapCompetencyNetwork.HIGH_CONFLICT_CLASS);return b};a.getDependencies=function(){return this.dependencies};a.setDependencies=function(a){this.dependencies=a};a.getActivations=function(){return this.activations};a.setActivations=function(a){this.activations=a};a.getAlphas=function(){return this.alphas};a.setAlphas=function(a){this.alphas=a};a.getBetas=function(){return this.betas};a.setBetas=function(a){this.betas=a};a.getUpdated=function(){return this.updated}; +a.setUpdated=function(a){this.updated=a};a.getNumberNodes=function(){return this.numberNodes};a.setNumberNodes=function(a){this.numberNodes=a}},{dependencies:{name:"Map",arguments:[null,{name:"Map",arguments:[null,{name:"Array",arguments:["PapDependency"]}]}]},activations:{name:"Array",arguments:[null]},alphas:{name:"Array",arguments:[null]},betas:{name:"Array",arguments:[null]},updated:{name:"Array",arguments:[null]}},{}),PapAssertion=function(e,a,b,c,d){this.confidence=e;this.assertionDate=b;this.expirationDate= +c;this.result=d;this.competencyIndex=a},PapAssertion=stjs.extend(PapAssertion,null,[],function(e,a){a.confidence=null;a.competencyIndex=null;a.assertionDate=null;a.expirationDate=null;a.result=!1;a.getConfidence=function(){return this.confidence};a.setConfidence=function(a){this.confidence=a};a.getCompetencyIndex=function(){return this.competencyIndex};a.setCompetencyIndex=function(a){this.competencyIndex=a};a.getAssertionDate=function(){return this.assertionDate};a.setAssertionDate=function(a){this.assertionDate= +a};a.getExpirationDate=function(){return this.expirationDate};a.setExpirationDate=function(a){this.expirationDate=a};a.getResult=function(){return this.result};a.setResult=function(a){this.result=a}},{},{}),EcGraphUtil=function(){},EcGraphUtil=stjs.extend(EcGraphUtil,null,[],function(e,a){e.buildIdSearchQueryForIdList=function(a){var b="";1=this.queryOperations.length)){var b=this.generateComboAndPacket(),d;RollupRulePacketGenerator.OperationType.OR.equals(this.queryOperations[0])?a.subPackets.push(this.generateRollupRulePacket(this.queries[0])):b.subPackets.push(this.generateRollupRulePacket(this.queries[0])); +d=this.queryOperations[0];for(var e=1;e=this.numberOfRelationsToProcess&&this.finishRelationProcessing()};a.processFindCompetencyRelationshipSuccess=function(a,c){c.numberOfQueriesRunning--;var b=null;if(c.hasId(a.source)&&c.hasId(a.target))this.numberOfRelationsProcessed++,this.checkForFinish();else{if(c.hasId(a.source))b=a.target;else if(c.hasId(a.target))b=a.source; -else{this.numberOfRelationsProcessed++;this.checkForFinish();return}this.log("Relationship found ("+a.relationType+") source: "+a.source+" target: "+a.target);c.numberOfQueriesRunning++;var d=this;c.context.isId(a.source)||c.context.isId(a.target)?(this.numberOfRelationsProcessed++,c.numberOfQueriesRunning--,this.checkForFinish()):EcCompetency.get(b,function(b){d.processGetRelatedCompetencySuccess(b,a)},function(a){d.processEventFailure(a,c)})}};a.go=function(){if(null==this.ip.getContext().relation)this.success(); -else for(var a=this.numberOfRelationsToProcess=0;a=this.assertionsToFillIn&&(this.addAssertionsToGraph(),this.returnGraph())};a.fetchAssertionDetailsNegativeStatus=function(a,c){var b=this;a.getNegativeAsync(function(a){null!=a&&a?c.setNegative(!0):c.setNegative(!1);b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()},function(a){c.setNegative(!1); -b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()})};a.fetchAssertionDetailsExpirationDate=function(a,c){var b=this;a.getExpirationDateAsync(function(e){null==e||e<=stjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setExpirationDate(e),b.fetchAssertionDetailsNegativeStatus(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsExpirationDate: "+a))})};a.fetchAssertionDetailsAssertionDate=function(a, -c){var b=this;a.getAssertionDateAsync(function(e){null==e||e>stjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setAssertionDate(e),b.fetchAssertionDetailsExpirationDate(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsAssertionDate: "+a))})};a.isASubject=function(a){if(null==this.subjects||0==this.subjects.length)return!0;for(var b,e=0;e=this.repositoriesToQuery&&this.fillInAssertions()};a.addAssertionsToList=function(a){for(var b=0;b=this.relationshipsToProcess&&this.assembleGraphComponents()};a.addRelationshipToList=function(a){this.frameworkRelationList.push(a);this.relationshipsProcessed++};a.fetchFrameworkRelations=function(a){this.relationshipsToProcess=a.relation.length;this.relationshipsProcessed=0;var b=this;if(0==this.relationshipsToProcess)this.competencyGraph.addNode(this.rootCompetencyId),this.success(this.competencyGraph);else for(var e= -0;e=this.subjectPem.length)this.addAssertions(this.inputGraph.getNegativeAssertions()),this.addAssertions(this.inputGraph.getPositiveAssertions());else{for(var a,c=[],e=0;ec?PredictiveAssertionProcessor.ABRUBT_EXP_RETENTION:this.settings.getGradualForgetting()?(a=this.getTimeFactor(a,c),Math.exp(-a)):PredictiveAssertionProcessor.DEFAULT_RETENTION};a.addAssertionsToUpdateQueue=function(a){for(var b, -e,d,l=0;lthis.priorityQueueThreshold&&a.push(new PapUpdate(e.getCompetencyIndex(),d,e.getResult()))}};a.processNecessaryNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.NECESSARY_TYPE][String.valueOf(a.getIndex())]; -if(null!=b){var d=PredictiveAssertionProcessor.DEFAULT_PROB_LEARN_UNMET_REQS;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(), -k)))}};a.processSufficientNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.SUFFICIENT_TYPE][String.valueOf(a.getIndex())];if(null!=b){var d=PredictiveAssertionProcessor.DEFAULT_PROB_INSUFF;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(),k)))}};a.processEquivalenceNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.EQUIVALENCE_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var d,l,h=0;hthis.priorityQueueThreshold&& -c.push(a.updateChild(d.getChildIndex(),l)))};a.processBroadensNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.BROADENS_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var d,l,h=0;hthis.priorityQueueThreshold&&c.push(a.updateChild(d.getChildIndex(),l)))};a.predictCompetence=function(){this.competencyNetwork=new PapCompetencyNetwork(this.dependencies, -this.inputGraph.getNodes().length,this.settings);for(var a,c,d=0;d=this.frameworksToProcess&&(this.debugMessage("All profile assertion framework graphs processed"),this.successCallback())};a.processFrameworkGraphAssertions=function(a,c){this.debugMessage("("+Date.now()+") Processing framework graph assertions for:"); -this.debugMessage(c.shortId());this.debugMessage(c.getName());var b=this;a.processAssertionsBoolean(this.profileAssertions,function(){b.frameworksProcessed++;b.assertedFrameworkGraphs.push(a);b.checkAllFrameworkGraphAssertionsHaveProcessed()},function(a){b.handleFailedFrameworkGraphOperation("Process Graph: "+a)})};a.handleFailedFrameworkGraphOperation=function(a){this.debugMessage("handleFailedFrameworkGraphOperation: "+a);this.frameworksProcessed++;this.checkAllFrameworkGraphAssertionsHaveProcessed()}; -a.buildProfileAssertionFrameworkGraph=function(a){this.debugMessage("("+Date.now()+") Generating framework graph for:");this.debugMessage(a.shortId());this.debugMessage(a.getName());var b=this,d=new EcFrameworkGraph;d.addFramework(a,this.repo,function(){b.processFrameworkGraphAssertions(d,a)},function(a){b.handleFailedFrameworkGraphOperation("Build Graph: "+a)})};a.generateProfileAssertionFrameworkGraphs=function(a){if(0>=a.length)this.successCallback();else{this.frameworksToProcess=a.length;this.debugMessage("Generating framework graphs..."); -this.debugMessage(a);for(var b=0;bstjs.trunc((new Date).getTime())?(b.log(d,"Assertion is made for a future date."),g()):a.getExpirationDateAsync(function(c){null!=c&&c<=stjs.trunc((new Date).getTime())?(b.log(d,"Assertion is expired. Skipping."),g()):(b.logFoundAssertion(a,d),a.getNegativeAsync(function(c){null!=c&&c?(b.log(d,"Found valid negative assertion"),d.negative.push(a)):(b.log(d,"Found valid positive assertion"),d.positive.push(a));g()},function(c){b.log(d,"Found valid positive assertion");d.positive.push(a);g()}))}, -l)},l)):l("Incorrect subject.")},l)};a.processFindAssertionsSuccess=function(a,c){0==a.length?this.log(c,"No results found."):this.log(c,"Total number of assertions found: "+a.length);c.numberOfQueriesRunning--;this.checkStepSecondPass(c)};a.findSubjectAssertionsForCompetency=function(a){if(null==this.assertions)return!0;a.hasCheckedAssertionsForCompetency=!0;if(!InquiryPacket.IPType.COMPETENCY.equals(a.type)&&!InquiryPacket.IPType.ROLLUPRULE.equals(a.type))return this.log(a,"No assertions for combinator types"), -!1;var b=this;if(InquiryPacket.IPType.COMPETENCY.equals(a.type))for(var d=0;dc.competency.length)l("Framework has no competencies");else if(null==a)l("Repo is null or undefined"); -else{this.repo=a;this.framework=c;this.createImpliedRelations=d;this.successCallback=g;this.failureCallback=l;var b=this;null!=c.competency?a.multiget(c.competency,function(a){for(var d=0;d=this.assertionsToFillIn&&(this.addAssertionsToGraph(),this.returnGraph())};a.fetchAssertionDetailsNegativeStatus=function(a,c){var b=this;a.getNegativeAsync(function(a){null!=a&&a?c.setNegative(!0):c.setNegative(!1);b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()},function(a){c.setNegative(!1);b.assertionMap[c.getId()]=c;b.assertionsFilledIn++;b.checkAssertionDetailsFetched()})}; +a.fetchAssertionDetailsExpirationDate=function(a,c){var b=this;a.getExpirationDateAsync(function(d){null==d||d<=stjs.trunc((new Date).getTime())?(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setExpirationDate(d),b.fetchAssertionDetailsNegativeStatus(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsExpirationDate: "+a))})};a.fetchAssertionDetailsAssertionDate=function(a,c){var b=this;a.getAssertionDateAsync(function(d){null==d||d>stjs.trunc((new Date).getTime())? +(b.assertionsFilledIn++,b.checkAssertionDetailsFetched()):(c.setAssertionDate(d),b.fetchAssertionDetailsExpirationDate(a,c))},function(a){b.failure(new ExceptionReturn("Failed fetchAssertionDetailsAssertionDate: "+a))})};a.isASubject=function(a){if(null==this.subjects||0==this.subjects.length)return!0;for(var b,d=0;d=this.repositoriesToQuery&&this.fillInAssertions()};a.addAssertionsToList=function(a){for(var b=0;b=this.relationshipsToProcess&&this.assembleGraphComponents()}; +a.addRelationshipToList=function(a){this.frameworkRelationList.push(a);this.relationshipsProcessed++};a.fetchFrameworkRelations=function(a){this.relationshipsToProcess=a.relation.length;this.relationshipsProcessed=0;var b=this;if(0==this.relationshipsToProcess)this.competencyGraph.addNode(this.rootCompetencyId),this.success(this.competencyGraph);else for(var d=0;d=this.subjectPem.length)this.addAssertions(this.inputGraph.getNegativeAssertions()), +this.addAssertions(this.inputGraph.getPositiveAssertions());else{for(var a,c=[],d=0;dc?PredictiveAssertionProcessor.ABRUBT_EXP_RETENTION:this.settings.getGradualForgetting()?(a=this.getTimeFactor(a,c),Math.exp(-a)):PredictiveAssertionProcessor.DEFAULT_RETENTION};a.addAssertionsToUpdateQueue=function(a){for(var b,d,e,l=0;lthis.priorityQueueThreshold&&a.push(new PapUpdate(d.getCompetencyIndex(),e,d.getResult()))}};a.processNecessaryNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.NECESSARY_TYPE][String.valueOf(a.getIndex())];if(null!=b){var e=PredictiveAssertionProcessor.DEFAULT_PROB_LEARN_UNMET_REQS;0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(),k)))}};a.processSufficientNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.SUFFICIENT_TYPE][String.valueOf(a.getIndex())];if(null!=b){var e=PredictiveAssertionProcessor.DEFAULT_PROB_INSUFF; +0this.priorityQueueThreshold&&c.push(a.updateChild(l.getChildIndex(),k)))}};a.processEquivalenceNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.EQUIVALENCE_TYPE][String.valueOf(a.getIndex())]; +if(null!=b)for(var e,l,g=0;gthis.priorityQueueThreshold&&c.push(a.updateChild(e.getChildIndex(),l)))};a.processBroadensNetworkDependencies=function(a,c){var b=this.competencyNetwork.getDependencies()[PapDependency.BROADENS_TYPE][String.valueOf(a.getIndex())];if(null!=b)for(var e,l,g=0;gthis.priorityQueueThreshold&&c.push(a.updateChild(e.getChildIndex(),l)))};a.predictCompetence=function(){this.competencyNetwork=new PapCompetencyNetwork(this.dependencies,this.inputGraph.getNodes().length,this.settings);for(var a,c,d=0;d=this.frameworksToProcess&&(this.debugMessage("All profile assertion framework graphs processed"),this.successCallback())};a.processFrameworkGraphAssertions=function(a,c){this.debugMessage("("+Date.now()+") Processing framework graph assertions for:");this.debugMessage(c.shortId());this.debugMessage(c.getName());var b=this;a.processAssertionsBoolean(this.profileAssertions,function(){b.frameworksProcessed++;b.assertedFrameworkGraphs.push(a);b.checkAllFrameworkGraphAssertionsHaveProcessed()}, +function(a){b.handleFailedFrameworkGraphOperation("Process Graph: "+a)})};a.handleFailedFrameworkGraphOperation=function(a){this.debugMessage("handleFailedFrameworkGraphOperation: "+a);this.frameworksProcessed++;this.checkAllFrameworkGraphAssertionsHaveProcessed()};a.buildProfileAssertionFrameworkGraph=function(a){this.debugMessage("("+Date.now()+") Generating framework graph for:");this.debugMessage(a.shortId());this.debugMessage(a.getName());var b=this,d=new EcFrameworkGraph;d.addFramework(a,this.repo, +function(){b.processFrameworkGraphAssertions(d,a)},function(a){b.handleFailedFrameworkGraphOperation("Build Graph: "+a)})};a.generateProfileAssertionFrameworkGraphs=function(a){if(0>=a.length)this.successCallback();else{this.frameworksToProcess=a.length;this.debugMessage("Generating framework graphs...");this.debugMessage(a);for(var b=0;bstjs.trunc((new Date).getTime())?(b.log(d,"Assertion is made for a future date."),e()):a.getExpirationDateAsync(function(c){null!=c&&c<=stjs.trunc((new Date).getTime())? +(b.log(d,"Assertion is expired. Skipping."),e()):(b.logFoundAssertion(a,d),a.getNegativeAsync(function(c){null!=c&&c?(b.log(d,"Found valid negative assertion"),d.negative.push(a)):(b.log(d,"Found valid positive assertion"),d.positive.push(a));e()},function(c){b.log(d,"Found valid positive assertion");d.positive.push(a);e()}))},l)},l)):l("Incorrect subject.")},l)};a.processFindAssertionsSuccess=function(a,c){0==a.length?this.log(c,"No results found."):this.log(c,"Total number of assertions found: "+ +a.length);c.numberOfQueriesRunning--;this.checkStepSecondPass(c)};a.findSubjectAssertionsForCompetency=function(a){if(null==this.assertions)return!0;a.hasCheckedAssertionsForCompetency=!0;if(!InquiryPacket.IPType.COMPETENCY.equals(a.type)&&!InquiryPacket.IPType.ROLLUPRULE.equals(a.type))return this.log(a,"No assertions for combinator types"),!1;var b=this;if(InquiryPacket.IPType.COMPETENCY.equals(a.type))for(var d=0;dc.competency.length)l("Framework has no competencies");else if(null==a)l("Repo is null or undefined");else{this.repo=a;this.framework=c;this.createImpliedRelations=d;this.successCallback=e;this.failureCallback=l;var b=this;null!=c.competency?a.multiget(c.competency, +function(a){for(var d=0;d