@icure/cardinal-sdk 2.0.0-PREVIEW-18.1 → 2.0.0-PREVIEW-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kermit-kermit-core.mjs +45 -40
- package/Kermit-kermit.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1577 -1577
- package/api/HealthcarePartyApi.d.mts +2 -0
- package/api/HealthcarePartyApiInGroup.d.mts +5 -0
- package/api/HealthcarePartyApiInGroup.mjs +1 -0
- package/api/RecoveryApi.d.mts +5 -1
- package/api.d.mts +1 -0
- package/api.mjs +1 -0
- package/bitops-library-bits.mjs +197 -0
- package/bitops-library-endian.mjs +117 -0
- package/cardinal-sdk-ts.d.mts +2 -2
- package/cardinal-sdk-ts.mjs +57007 -56794
- package/cardinal-sdk.mjs +120895 -120501
- package/core-library-digest.mjs +186 -0
- package/crypto/CryptoService.d.mts +17 -7
- package/error-library-error.mjs +42 -0
- package/hash-library-sha2.mjs +183 -0
- package/internal/BytesEncoding.d.mts +3 -0
- package/internal/BytesEncoding.mjs +99 -0
- package/internal/JsonDecodeUtils.d.mts +20 -0
- package/internal/JsonDecodeUtils.mjs +99 -0
- package/kerberus.mjs +557 -389
- package/kotlin-kotlin-stdlib.mjs +2445 -2713
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2455 -2450
- package/kotlinx-io-kotlinx-io-bytestring.mjs +36 -36
- package/kotlinx-io-kotlinx-io-core.mjs +459 -459
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2029 -2029
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1952 -1952
- package/kryptom-lib.mjs +3263 -1967
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +2713 -2713
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +481 -481
- package/ktor-ktor-http.mjs +693 -693
- package/ktor-ktor-io.mjs +963 -963
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +238 -238
- package/ktor-ktor-serialization.mjs +109 -109
- package/ktor-ktor-utils.mjs +557 -557
- package/ktor-ktor-websockets.mjs +673 -673
- package/model/AccessLog.d.mts +5 -0
- package/model/AccessLog.mjs +168 -0
- package/model/Agenda.d.mts +2 -0
- package/model/Agenda.mjs +82 -0
- package/model/ApplicationSettings.d.mts +5 -0
- package/model/ApplicationSettings.mjs +140 -0
- package/model/BooleanResponse.d.mts +2 -0
- package/model/BooleanResponse.mjs +20 -0
- package/model/CalendarItem.d.mts +5 -0
- package/model/CalendarItem.mjs +290 -0
- package/model/CalendarItemType.d.mts +7 -0
- package/model/CalendarItemType.mjs +117 -0
- package/model/Classification.d.mts +5 -0
- package/model/Classification.mjs +148 -0
- package/model/Code.d.mts +2 -0
- package/model/Code.mjs +69 -0
- package/model/Contact.d.mts +5 -0
- package/model/Contact.mjs +218 -0
- package/model/CryptoActorStub.d.mts +2 -0
- package/model/CryptoActorStub.mjs +45 -0
- package/model/CryptoActorStubWithType.d.mts +2 -0
- package/model/CryptoActorStubWithType.mjs +25 -0
- package/model/DataOwnerRegistrationSuccess.d.mts +2 -0
- package/model/DataOwnerRegistrationSuccess.mjs +24 -0
- package/model/DataOwnerWithType.d.mts +7 -0
- package/model/DataOwnerWithType.mjs +80 -0
- package/model/DatabaseInitialisation.d.mts +2 -0
- package/model/DatabaseInitialisation.mjs +34 -0
- package/model/Device.d.mts +2 -0
- package/model/Device.mjs +99 -0
- package/model/Document.d.mts +5 -0
- package/model/Document.mjs +246 -0
- package/model/DocumentTemplate.d.mts +2 -0
- package/model/DocumentTemplate.mjs +91 -0
- package/model/EntityReference.d.mts +2 -0
- package/model/EntityReference.mjs +29 -0
- package/model/EntityReferenceInGroup.d.mts +2 -0
- package/model/EntityReferenceInGroup.mjs +23 -0
- package/model/EntityTemplate.d.mts +2 -0
- package/model/EntityTemplate.mjs +46 -0
- package/model/Form.d.mts +5 -0
- package/model/Form.mjs +204 -0
- package/model/FormTemplate.d.mts +2 -0
- package/model/FormTemplate.mjs +82 -0
- package/model/FrontEndMigration.d.mts +2 -0
- package/model/FrontEndMigration.mjs +57 -0
- package/model/Group.d.mts +2 -0
- package/model/Group.mjs +68 -0
- package/model/GroupDeletionReport.d.mts +2 -0
- package/model/GroupDeletionReport.mjs +24 -0
- package/model/HealthElement.d.mts +5 -0
- package/model/HealthElement.mjs +226 -0
- package/model/HealthcareParty.d.mts +2 -0
- package/model/HealthcareParty.mjs +182 -0
- package/model/IdWithRev.d.mts +2 -0
- package/model/IdWithRev.mjs +23 -0
- package/model/IndexingInfo.d.mts +2 -0
- package/model/IndexingInfo.mjs +21 -0
- package/model/Insurance.d.mts +2 -0
- package/model/Insurance.mjs +46 -0
- package/model/Invoice.d.mts +5 -0
- package/model/Invoice.mjs +468 -0
- package/model/Keyword.d.mts +2 -0
- package/model/Keyword.mjs +58 -0
- package/model/ListOfIds.d.mts +2 -0
- package/model/ListOfIds.mjs +20 -0
- package/model/ListOfProperties.d.mts +2 -0
- package/model/ListOfProperties.mjs +22 -0
- package/model/MaintenanceTask.d.mts +5 -0
- package/model/MaintenanceTask.mjs +152 -0
- package/model/MedicalLocation.d.mts +2 -0
- package/model/MedicalLocation.mjs +63 -0
- package/model/Message.d.mts +5 -0
- package/model/Message.mjs +248 -0
- package/model/PaginatedDocumentKeyIdPair.d.mts +2 -0
- package/model/PaginatedDocumentKeyIdPair.mjs +24 -0
- package/model/Patient.d.mts +5 -0
- package/model/Patient.mjs +491 -0
- package/model/Place.d.mts +2 -0
- package/model/Place.mjs +33 -0
- package/model/PropertyStub.d.mts +5 -0
- package/model/PropertyStub.mjs +74 -0
- package/model/PropertyTypeStub.d.mts +2 -0
- package/model/PropertyTypeStub.mjs +26 -0
- package/model/PublicAgendasAndCalendarItemTypes.d.mts +2 -0
- package/model/PublicAgendasAndCalendarItemTypes.mjs +25 -0
- package/model/PublicKey.d.mts +2 -0
- package/model/PublicKey.mjs +24 -0
- package/model/Receipt.d.mts +5 -0
- package/model/Receipt.mjs +159 -0
- package/model/RegistrationInformation.d.mts +2 -0
- package/model/RegistrationInformation.mjs +43 -0
- package/model/RegistrationSuccess.d.mts +2 -0
- package/model/RegistrationSuccess.mjs +24 -0
- package/model/Replication.d.mts +2 -0
- package/model/Replication.mjs +35 -0
- package/model/ReplicationInfo.d.mts +2 -0
- package/model/ReplicationInfo.mjs +28 -0
- package/model/Role.d.mts +2 -0
- package/model/Role.mjs +34 -0
- package/model/StoredDocumentIdentifier.d.mts +2 -0
- package/model/StoredDocumentIdentifier.mjs +22 -0
- package/model/Tarification.d.mts +2 -0
- package/model/Tarification.mjs +92 -0
- package/model/TimeTable.d.mts +2 -0
- package/model/TimeTable.mjs +64 -0
- package/model/Topic.d.mts +5 -0
- package/model/Topic.mjs +163 -0
- package/model/User.d.mts +4 -0
- package/model/User.mjs +118 -0
- package/model/UserGroup.d.mts +2 -0
- package/model/UserGroup.mjs +55 -0
- package/model/base/CodeStub.d.mts +2 -0
- package/model/base/CodeStub.mjs +40 -0
- package/model/base/CryptoActor.d.mts +3 -0
- package/model/base/CryptoActor.mjs +19 -1
- package/model/base/Identifier.d.mts +2 -0
- package/model/base/Identifier.mjs +44 -0
- package/model/couchdb/Basic.d.mts +2 -0
- package/model/couchdb/Basic.mjs +22 -0
- package/model/couchdb/DatabaseInfo.d.mts +2 -0
- package/model/couchdb/DatabaseInfo.mjs +47 -0
- package/model/couchdb/DesignDocument.d.mts +2 -0
- package/model/couchdb/DesignDocument.mjs +40 -0
- package/model/couchdb/DocIdentifier.d.mts +2 -0
- package/model/couchdb/DocIdentifier.mjs +24 -0
- package/model/couchdb/GroupDatabasesInfo.d.mts +2 -0
- package/model/couchdb/GroupDatabasesInfo.mjs +26 -0
- package/model/couchdb/Remote.d.mts +2 -0
- package/model/couchdb/Remote.mjs +25 -0
- package/model/couchdb/RemoteAuthentication.d.mts +2 -0
- package/model/couchdb/RemoteAuthentication.mjs +23 -0
- package/model/couchdb/ReplicationStats.d.mts +2 -0
- package/model/couchdb/ReplicationStats.mjs +45 -0
- package/model/couchdb/ReplicatorDocument.d.mts +2 -0
- package/model/couchdb/ReplicatorDocument.mjs +61 -0
- package/model/couchdb/View.d.mts +2 -0
- package/model/couchdb/View.mjs +23 -0
- package/model/data/LabelledOccurence.d.mts +2 -0
- package/model/data/LabelledOccurence.mjs +22 -0
- package/model/embed/Address.d.mts +5 -0
- package/model/embed/Address.mjs +133 -0
- package/model/embed/AdministrationQuantity.d.mts +2 -0
- package/model/embed/AdministrationQuantity.mjs +29 -0
- package/model/embed/AgendaSlottingAlgorithm.d.mts +3 -0
- package/model/embed/AgendaSlottingAlgorithm.mjs +30 -0
- package/model/embed/AgreementAppendix.d.mts +2 -0
- package/model/embed/AgreementAppendix.mjs +30 -0
- package/model/embed/Annotation.d.mts +2 -0
- package/model/embed/Annotation.mjs +46 -0
- package/model/embed/CalendarItemTag.d.mts +5 -0
- package/model/embed/CalendarItemTag.mjs +72 -0
- package/model/embed/CareTeamMember.d.mts +5 -0
- package/model/embed/CareTeamMember.mjs +71 -0
- package/model/embed/CareTeamMembership.d.mts +5 -0
- package/model/embed/CareTeamMembership.mjs +73 -0
- package/model/embed/Content.d.mts +5 -0
- package/model/embed/Content.mjs +125 -0
- package/model/embed/DataAttachment.d.mts +2 -0
- package/model/embed/DataAttachment.mjs +26 -0
- package/model/embed/DatabaseSynchronization.d.mts +2 -0
- package/model/embed/DatabaseSynchronization.mjs +30 -0
- package/model/embed/Delegation.d.mts +2 -0
- package/model/embed/Delegation.mjs +30 -0
- package/model/embed/DeletedAttachment.d.mts +2 -0
- package/model/embed/DeletedAttachment.mjs +30 -0
- package/model/embed/DocumentGroup.d.mts +2 -0
- package/model/embed/DocumentGroup.mjs +24 -0
- package/model/embed/Duration.d.mts +2 -0
- package/model/embed/Duration.mjs +26 -0
- package/model/embed/EmbeddedTimeTableHour.d.mts +2 -0
- package/model/embed/EmbeddedTimeTableHour.mjs +22 -0
- package/model/embed/EmbeddedTimeTableItem.d.mts +2 -0
- package/model/embed/EmbeddedTimeTableItem.mjs +41 -0
- package/model/embed/Employer.d.mts +2 -0
- package/model/embed/Employer.mjs +26 -0
- package/model/embed/EmploymentInfo.d.mts +5 -0
- package/model/embed/EmploymentInfo.mjs +74 -0
- package/model/embed/Episode.d.mts +5 -0
- package/model/embed/Episode.mjs +75 -0
- package/model/embed/FinancialInstitutionInformation.d.mts +5 -0
- package/model/embed/FinancialInstitutionInformation.mjs +88 -0
- package/model/embed/FlatRateTarification.d.mts +5 -0
- package/model/embed/FlatRateTarification.mjs +72 -0
- package/model/embed/FlowItem.d.mts +2 -0
- package/model/embed/FlowItem.mjs +117 -0
- package/model/embed/HealthcarePartyHistoryStatus.d.mts +2 -0
- package/model/embed/HealthcarePartyHistoryStatus.mjs +28 -0
- package/model/embed/IdentityDocumentReader.d.mts +2 -0
- package/model/embed/IdentityDocumentReader.mjs +33 -0
- package/model/embed/Insurability.d.mts +5 -0
- package/model/embed/Insurability.mjs +100 -0
- package/model/embed/InvoicingCode.d.mts +5 -0
- package/model/embed/InvoicingCode.mjs +377 -0
- package/model/embed/KeywordSubword.d.mts +2 -0
- package/model/embed/KeywordSubword.mjs +25 -0
- package/model/embed/LetterValue.d.mts +2 -0
- package/model/embed/LetterValue.mjs +30 -0
- package/model/embed/Measure.d.mts +2 -0
- package/model/embed/Measure.mjs +57 -0
- package/model/embed/MedicalHouseContract.d.mts +5 -0
- package/model/embed/MedicalHouseContract.mjs +223 -0
- package/model/embed/Medication.d.mts +2 -0
- package/model/embed/Medication.mjs +157 -0
- package/model/embed/Medicinalproduct.d.mts +2 -0
- package/model/embed/Medicinalproduct.mjs +33 -0
- package/model/embed/MessageAttachment.d.mts +2 -0
- package/model/embed/MessageAttachment.mjs +25 -0
- package/model/embed/MessageReadStatus.d.mts +2 -0
- package/model/embed/MessageReadStatus.mjs +23 -0
- package/model/embed/ParagraphAgreement.d.mts +2 -0
- package/model/embed/ParagraphAgreement.mjs +86 -0
- package/model/embed/Partnership.d.mts +2 -0
- package/model/embed/Partnership.mjs +36 -0
- package/model/embed/PatientHealthCareParty.d.mts +9 -0
- package/model/embed/PatientHealthCareParty.mjs +88 -0
- package/model/embed/Payment.d.mts +2 -0
- package/model/embed/Payment.mjs +28 -0
- package/model/embed/Periodicity.d.mts +2 -0
- package/model/embed/Periodicity.mjs +26 -0
- package/model/embed/PersonName.d.mts +2 -0
- package/model/embed/PersonName.mjs +41 -0
- package/model/embed/PlanOfAction.d.mts +8 -3
- package/model/embed/PlanOfAction.mjs +179 -0
- package/model/embed/Range.d.mts +2 -0
- package/model/embed/Range.mjs +24 -0
- package/model/embed/ReferenceRange.d.mts +2 -0
- package/model/embed/ReferenceRange.mjs +40 -0
- package/model/embed/ReferralPeriod.d.mts +2 -0
- package/model/embed/ReferralPeriod.mjs +27 -0
- package/model/embed/RegimenItem.d.mts +2 -0
- package/model/embed/RegimenItem.mjs +40 -0
- package/model/embed/Renewal.d.mts +2 -0
- package/model/embed/Renewal.mjs +26 -0
- package/model/embed/ResourceGroupAllocationSchedule.d.mts +2 -0
- package/model/embed/ResourceGroupAllocationSchedule.mjs +39 -0
- package/model/embed/Right.d.mts +2 -0
- package/model/embed/Right.mjs +27 -0
- package/model/embed/RoleConfiguration.d.mts +2 -0
- package/model/embed/RoleConfiguration.mjs +22 -0
- package/model/embed/SchoolingInfo.d.mts +5 -0
- package/model/embed/SchoolingInfo.mjs +73 -0
- package/model/embed/SecureDelegation.d.mts +2 -0
- package/model/embed/SecureDelegation.mjs +39 -0
- package/model/embed/SecurityMetadata.d.mts +2 -0
- package/model/embed/SecurityMetadata.mjs +22 -0
- package/model/embed/Service.d.mts +5 -0
- package/model/embed/Service.mjs +240 -0
- package/model/embed/ServiceLink.d.mts +2 -0
- package/model/embed/ServiceLink.mjs +21 -0
- package/model/embed/SubContact.d.mts +5 -0
- package/model/embed/SubContact.mjs +146 -0
- package/model/embed/Substanceproduct.d.mts +2 -0
- package/model/embed/Substanceproduct.mjs +33 -0
- package/model/embed/Suspension.d.mts +2 -0
- package/model/embed/Suspension.mjs +30 -0
- package/model/embed/Telecom.d.mts +5 -0
- package/model/embed/Telecom.mjs +67 -0
- package/model/embed/TimeSeries.d.mts +2 -0
- package/model/embed/TimeSeries.mjs +32 -0
- package/model/embed/TimeTableHour.d.mts +2 -0
- package/model/embed/TimeTableHour.mjs +24 -0
- package/model/embed/TimeTableItem.d.mts +2 -0
- package/model/embed/TimeTableItem.mjs +57 -0
- package/model/embed/TypedValue.d.mts +5 -0
- package/model/embed/TypedValue.mjs +85 -0
- package/model/embed/Valorisation.d.mts +5 -0
- package/model/embed/Valorisation.mjs +108 -0
- package/model/embed/ValueWithPrecision.d.mts +2 -0
- package/model/embed/ValueWithPrecision.mjs +22 -0
- package/model/embed/Weekday.d.mts +2 -0
- package/model/embed/Weekday.mjs +26 -0
- package/model/embed/form/template/Action.d.mts +2 -0
- package/model/embed/form/template/Action.mjs +30 -0
- package/model/embed/form/template/CheckBox.d.mts +2 -0
- package/model/embed/form/template/CheckBox.mjs +71 -0
- package/model/embed/form/template/DatePicker.d.mts +2 -0
- package/model/embed/form/template/DatePicker.mjs +71 -0
- package/model/embed/form/template/DateTimePicker.d.mts +2 -0
- package/model/embed/form/template/DateTimePicker.mjs +71 -0
- package/model/embed/form/template/DropdownField.d.mts +2 -0
- package/model/embed/form/template/DropdownField.mjs +71 -0
- package/model/embed/form/template/FieldsGroup.d.mts +2 -0
- package/model/embed/form/template/FieldsGroup.mjs +28 -0
- package/model/embed/form/template/FormTemplateLayout.d.mts +2 -0
- package/model/embed/form/template/FormTemplateLayout.mjs +33 -0
- package/model/embed/form/template/Launcher.d.mts +2 -0
- package/model/embed/form/template/Launcher.mjs +26 -0
- package/model/embed/form/template/MeasureField.d.mts +2 -0
- package/model/embed/form/template/MeasureField.mjs +71 -0
- package/model/embed/form/template/MultipleChoice.d.mts +2 -0
- package/model/embed/form/template/MultipleChoice.mjs +71 -0
- package/model/embed/form/template/NumberField.d.mts +2 -0
- package/model/embed/form/template/NumberField.mjs +71 -0
- package/model/embed/form/template/RadioButton.d.mts +2 -0
- package/model/embed/form/template/RadioButton.mjs +71 -0
- package/model/embed/form/template/Section.d.mts +2 -0
- package/model/embed/form/template/Section.mjs +30 -0
- package/model/embed/form/template/State.d.mts +2 -0
- package/model/embed/form/template/State.mjs +26 -0
- package/model/embed/form/template/StructureElement.d.mts +3 -0
- package/model/embed/form/template/StructureElement.mjs +32 -1
- package/model/embed/form/template/TextField.d.mts +2 -0
- package/model/embed/form/template/TextField.mjs +71 -0
- package/model/embed/form/template/TimePicker.d.mts +2 -0
- package/model/embed/form/template/TimePicker.mjs +71 -0
- package/model/filter/predicate/AlwaysPredicate.d.mts +2 -0
- package/model/filter/predicate/AlwaysPredicate.mjs +20 -0
- package/model/filter/predicate/AndPredicate.d.mts +2 -0
- package/model/filter/predicate/AndPredicate.mjs +25 -0
- package/model/filter/predicate/KeyValuePredicate.d.mts +2 -0
- package/model/filter/predicate/KeyValuePredicate.mjs +32 -0
- package/model/filter/predicate/NotPredicate.d.mts +2 -0
- package/model/filter/predicate/NotPredicate.mjs +25 -0
- package/model/filter/predicate/OrPredicate.d.mts +2 -0
- package/model/filter/predicate/OrPredicate.mjs +25 -0
- package/model/filter/predicate/Predicate.d.mts +3 -0
- package/model/filter/predicate/Predicate.mjs +20 -1
- package/model/security/AlwaysPermissionItem.d.mts +2 -0
- package/model/security/AlwaysPermissionItem.mjs +25 -0
- package/model/security/AuthenticationToken.d.mts +2 -0
- package/model/security/AuthenticationToken.mjs +28 -0
- package/model/security/Enable2faRequest.d.mts +2 -0
- package/model/security/Enable2faRequest.mjs +22 -0
- package/model/security/ExternalJwtConfig.d.mts +18 -0
- package/model/security/ExternalJwtConfig.mjs +199 -0
- package/model/security/LoginIdentifier.d.mts +2 -0
- package/model/security/LoginIdentifier.mjs +22 -0
- package/model/security/OperationToken.d.mts +2 -0
- package/model/security/OperationToken.mjs +31 -0
- package/model/security/Permission.d.mts +2 -0
- package/model/security/Permission.mjs +24 -0
- package/model/security/PermissionItem.d.mts +3 -0
- package/model/security/PermissionItem.mjs +12 -1
- package/model/security/TokenWithGroup.d.mts +2 -0
- package/model/security/TokenWithGroup.mjs +25 -0
- package/options/SdkOptions.d.mts +3 -23
- package/package.json +1 -1
- package/utils/Id.d.mts +5 -0
- package/utils/Id.mjs +19 -10
- package/KotlinBigInteger-bignum.mjs +0 -5902
- /package/{KotlinBigInteger-bignum-serialization-kotlinx.mjs → core-library-core.mjs} +0 -0
package/ktor-ktor-http-cio.mjs
CHANGED
|
@@ -146,12 +146,12 @@ initMetadataForClass(MutableRange, 'MutableRange');
|
|
|
146
146
|
//endregion
|
|
147
147
|
function CIOMultipartDataBase(coroutineContext, channel, contentType, contentLength, formFieldLimit) {
|
|
148
148
|
formFieldLimit = formFieldLimit === VOID ? new Long(65536, 0) : formFieldLimit;
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
149
|
+
this.v5e_1 = coroutineContext;
|
|
150
|
+
this.w5e_1 = null;
|
|
151
|
+
this.x5e_1 = parseMultipart(this, channel, contentType, contentLength, formFieldLimit);
|
|
152
152
|
}
|
|
153
|
-
protoOf(CIOMultipartDataBase).
|
|
154
|
-
return this.
|
|
153
|
+
protoOf(CIOMultipartDataBase).du = function () {
|
|
154
|
+
return this.v5e_1;
|
|
155
155
|
};
|
|
156
156
|
function get_IntArrayPool() {
|
|
157
157
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
@@ -164,103 +164,103 @@ function get_HeadersDataPool() {
|
|
|
164
164
|
}
|
|
165
165
|
var HeadersDataPool;
|
|
166
166
|
function thresholdReached($this) {
|
|
167
|
-
return $this.
|
|
167
|
+
return $this.z5e_1 >= $this.a5f_1 * 0.75;
|
|
168
168
|
}
|
|
169
169
|
function resize($this) {
|
|
170
|
-
var prevSize = $this.
|
|
171
|
-
var prevData = $this.
|
|
172
|
-
$this.
|
|
173
|
-
$this.
|
|
170
|
+
var prevSize = $this.z5e_1;
|
|
171
|
+
var prevData = $this.b5f_1;
|
|
172
|
+
$this.z5e_1 = 0;
|
|
173
|
+
$this.a5f_1 = imul($this.a5f_1, 2) | 128;
|
|
174
174
|
var tmp = $this;
|
|
175
175
|
// Inline function 'kotlin.apply' call
|
|
176
|
-
var this_0 = get_HeadersDataPool().
|
|
177
|
-
this_0.
|
|
178
|
-
tmp.
|
|
179
|
-
var _iterator__ex2g4s = prevData.
|
|
176
|
+
var this_0 = get_HeadersDataPool().u4n();
|
|
177
|
+
this_0.e5f(imul(prevData.d5f(), 2) | 1);
|
|
178
|
+
tmp.b5f_1 = this_0;
|
|
179
|
+
var _iterator__ex2g4s = prevData.f5f().s();
|
|
180
180
|
while (_iterator__ex2g4s.t()) {
|
|
181
181
|
var headerOffset = _iterator__ex2g4s.u();
|
|
182
|
-
$this.
|
|
182
|
+
$this.h5f(prevData.g5f(headerOffset + 1 | 0), prevData.g5f(headerOffset + 2 | 0), prevData.g5f(headerOffset + 3 | 0), prevData.g5f(headerOffset + 4 | 0));
|
|
183
183
|
}
|
|
184
|
-
get_HeadersDataPool().
|
|
184
|
+
get_HeadersDataPool().v4n(prevData);
|
|
185
185
|
// Inline function 'kotlin.require' call
|
|
186
186
|
// Inline function 'kotlin.require' call
|
|
187
|
-
if (!(prevSize === $this.
|
|
187
|
+
if (!(prevSize === $this.z5e_1)) {
|
|
188
188
|
var message = 'Failed requirement.';
|
|
189
189
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
function headerHasName($this, name, headerOffset) {
|
|
193
|
-
var nameStartIndex = $this.
|
|
194
|
-
var nameEndIndex = $this.
|
|
195
|
-
return equalsLowerCase($this.
|
|
193
|
+
var nameStartIndex = $this.b5f_1.g5f(headerOffset + 1 | 0);
|
|
194
|
+
var nameEndIndex = $this.b5f_1.g5f(headerOffset + 2 | 0);
|
|
195
|
+
return equalsLowerCase($this.y5e_1, nameStartIndex, nameEndIndex, name);
|
|
196
196
|
}
|
|
197
197
|
function HttpHeadersMap(builder) {
|
|
198
|
-
this.
|
|
199
|
-
this.
|
|
200
|
-
this.
|
|
201
|
-
this.
|
|
198
|
+
this.y5e_1 = builder;
|
|
199
|
+
this.z5e_1 = 0;
|
|
200
|
+
this.a5f_1 = 0;
|
|
201
|
+
this.b5f_1 = get_HeadersDataPool().u4n();
|
|
202
202
|
}
|
|
203
|
-
protoOf(HttpHeadersMap).
|
|
204
|
-
if (this.
|
|
203
|
+
protoOf(HttpHeadersMap).x3h = function (name) {
|
|
204
|
+
if (this.z5e_1 === 0)
|
|
205
205
|
return null;
|
|
206
206
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
207
207
|
var this_0 = hashCodeLowerCase(name);
|
|
208
208
|
var hash = abs(this_0);
|
|
209
|
-
var headerIndex = hash % this.
|
|
210
|
-
while (!(this.
|
|
209
|
+
var headerIndex = hash % this.a5f_1 | 0;
|
|
210
|
+
while (!(this.b5f_1.g5f(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
211
211
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
212
|
-
return this.
|
|
212
|
+
return this.i5f(imul(headerIndex, 6));
|
|
213
213
|
}
|
|
214
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
214
|
+
headerIndex = (headerIndex + 1 | 0) % this.a5f_1 | 0;
|
|
215
215
|
}
|
|
216
216
|
return null;
|
|
217
217
|
};
|
|
218
|
-
protoOf(HttpHeadersMap).
|
|
219
|
-
return this.
|
|
218
|
+
protoOf(HttpHeadersMap).j5f = function () {
|
|
219
|
+
return this.b5f_1.f5f();
|
|
220
220
|
};
|
|
221
|
-
protoOf(HttpHeadersMap).
|
|
221
|
+
protoOf(HttpHeadersMap).h5f = function (nameStartIndex, nameEndIndex, valueStartIndex, valueEndIndex) {
|
|
222
222
|
if (thresholdReached(this)) {
|
|
223
223
|
resize(this);
|
|
224
224
|
}
|
|
225
225
|
// Inline function 'kotlin.math.absoluteValue' call
|
|
226
|
-
var this_0 = hashCodeLowerCase(this.
|
|
226
|
+
var this_0 = hashCodeLowerCase(this.y5e_1, nameStartIndex, nameEndIndex);
|
|
227
227
|
var hash = abs(this_0);
|
|
228
|
-
var name = this.
|
|
229
|
-
var headerIndex = hash % this.
|
|
228
|
+
var name = this.y5e_1.c(nameStartIndex, nameEndIndex);
|
|
229
|
+
var headerIndex = hash % this.a5f_1 | 0;
|
|
230
230
|
var sameNameHeaderIndex = -1;
|
|
231
|
-
while (!(this.
|
|
231
|
+
while (!(this.b5f_1.g5f(imul(headerIndex, 6) + 0 | 0) === -1)) {
|
|
232
232
|
if (headerHasName(this, name, imul(headerIndex, 6))) {
|
|
233
233
|
sameNameHeaderIndex = headerIndex;
|
|
234
234
|
}
|
|
235
|
-
headerIndex = (headerIndex + 1 | 0) % this.
|
|
235
|
+
headerIndex = (headerIndex + 1 | 0) % this.a5f_1 | 0;
|
|
236
236
|
}
|
|
237
237
|
var headerOffset = imul(headerIndex, 6);
|
|
238
|
-
this.
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
243
|
-
this.
|
|
238
|
+
this.b5f_1.r5f(headerOffset + 0 | 0, hash);
|
|
239
|
+
this.b5f_1.r5f(headerOffset + 1 | 0, nameStartIndex);
|
|
240
|
+
this.b5f_1.r5f(headerOffset + 2 | 0, nameEndIndex);
|
|
241
|
+
this.b5f_1.r5f(headerOffset + 3 | 0, valueStartIndex);
|
|
242
|
+
this.b5f_1.r5f(headerOffset + 4 | 0, valueEndIndex);
|
|
243
|
+
this.b5f_1.r5f(headerOffset + 5 | 0, -1);
|
|
244
244
|
if (!(sameNameHeaderIndex === -1)) {
|
|
245
|
-
this.
|
|
245
|
+
this.b5f_1.r5f(imul(sameNameHeaderIndex, 6) + 5 | 0, headerIndex);
|
|
246
246
|
}
|
|
247
|
-
this.
|
|
247
|
+
this.z5e_1 = this.z5e_1 + 1 | 0;
|
|
248
248
|
};
|
|
249
|
-
protoOf(HttpHeadersMap).
|
|
250
|
-
var nameStartIndex = this.
|
|
251
|
-
var nameEndIndex = this.
|
|
252
|
-
return this.
|
|
249
|
+
protoOf(HttpHeadersMap).s5f = function (headerOffset) {
|
|
250
|
+
var nameStartIndex = this.b5f_1.g5f(headerOffset + 1 | 0);
|
|
251
|
+
var nameEndIndex = this.b5f_1.g5f(headerOffset + 2 | 0);
|
|
252
|
+
return this.y5e_1.c(nameStartIndex, nameEndIndex);
|
|
253
253
|
};
|
|
254
|
-
protoOf(HttpHeadersMap).
|
|
255
|
-
var valueStartIndex = this.
|
|
256
|
-
var valueEndIndex = this.
|
|
257
|
-
return this.
|
|
254
|
+
protoOf(HttpHeadersMap).i5f = function (headerOffset) {
|
|
255
|
+
var valueStartIndex = this.b5f_1.g5f(headerOffset + 3 | 0);
|
|
256
|
+
var valueEndIndex = this.b5f_1.g5f(headerOffset + 4 | 0);
|
|
257
|
+
return this.y5e_1.c(valueStartIndex, valueEndIndex);
|
|
258
258
|
};
|
|
259
|
-
protoOf(HttpHeadersMap).
|
|
260
|
-
this.
|
|
261
|
-
this.
|
|
262
|
-
get_HeadersDataPool().
|
|
263
|
-
this.
|
|
259
|
+
protoOf(HttpHeadersMap).d1l = function () {
|
|
260
|
+
this.z5e_1 = 0;
|
|
261
|
+
this.a5f_1 = 0;
|
|
262
|
+
get_HeadersDataPool().v4n(this.b5f_1);
|
|
263
|
+
this.b5f_1 = get_HeadersDataPool().u4n();
|
|
264
264
|
};
|
|
265
265
|
protoOf(HttpHeadersMap).toString = function () {
|
|
266
266
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -270,94 +270,94 @@ protoOf(HttpHeadersMap).toString = function () {
|
|
|
270
270
|
return this_0.toString();
|
|
271
271
|
};
|
|
272
272
|
function HeadersData$headersStarts$slambda(this$0, resultContinuation) {
|
|
273
|
-
this.
|
|
273
|
+
this.b5g_1 = this$0;
|
|
274
274
|
CoroutineImpl.call(this, resultContinuation);
|
|
275
275
|
}
|
|
276
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
277
|
-
var tmp = this.
|
|
278
|
-
tmp.
|
|
279
|
-
tmp.
|
|
280
|
-
return tmp.
|
|
276
|
+
protoOf(HeadersData$headersStarts$slambda).h5g = function ($this$sequence, $completion) {
|
|
277
|
+
var tmp = this.i5g($this$sequence, $completion);
|
|
278
|
+
tmp.n8_1 = Unit_instance;
|
|
279
|
+
tmp.o8_1 = null;
|
|
280
|
+
return tmp.t8();
|
|
281
281
|
};
|
|
282
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
283
|
-
return this.
|
|
282
|
+
protoOf(HeadersData$headersStarts$slambda).f9 = function (p1, $completion) {
|
|
283
|
+
return this.h5g(p1 instanceof SequenceScope ? p1 : THROW_CCE(), $completion);
|
|
284
284
|
};
|
|
285
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
286
|
-
var suspendResult = this.
|
|
285
|
+
protoOf(HeadersData$headersStarts$slambda).t8 = function () {
|
|
286
|
+
var suspendResult = this.n8_1;
|
|
287
287
|
$sm: do
|
|
288
288
|
try {
|
|
289
|
-
var tmp = this.
|
|
289
|
+
var tmp = this.l8_1;
|
|
290
290
|
switch (tmp) {
|
|
291
291
|
case 0:
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
292
|
+
this.m8_1 = 7;
|
|
293
|
+
this.d5g_1 = 0;
|
|
294
|
+
this.g5g_1 = this.b5g_1.c5f_1.s();
|
|
295
|
+
this.l8_1 = 1;
|
|
296
296
|
continue $sm;
|
|
297
297
|
case 1:
|
|
298
|
-
if (!this.
|
|
299
|
-
this.
|
|
298
|
+
if (!this.g5g_1.t()) {
|
|
299
|
+
this.l8_1 = 6;
|
|
300
300
|
continue $sm;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
303
|
+
this.f5g_1 = this.g5g_1.u();
|
|
304
|
+
this.e5g_1 = 0;
|
|
305
|
+
this.l8_1 = 2;
|
|
306
306
|
continue $sm;
|
|
307
307
|
case 2:
|
|
308
|
-
if (!(this.
|
|
309
|
-
this.
|
|
308
|
+
if (!(this.e5g_1 < this.f5g_1.length)) {
|
|
309
|
+
this.l8_1 = 5;
|
|
310
310
|
continue $sm;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
if (!(this.
|
|
314
|
-
this.
|
|
315
|
-
suspendResult = this.
|
|
313
|
+
if (!(this.b5g_1.g5f(this.d5g_1 + 0 | 0) === -1)) {
|
|
314
|
+
this.l8_1 = 3;
|
|
315
|
+
suspendResult = this.c5g_1.lf(this.d5g_1, this);
|
|
316
316
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
317
317
|
return suspendResult;
|
|
318
318
|
}
|
|
319
319
|
continue $sm;
|
|
320
320
|
} else {
|
|
321
|
-
this.
|
|
321
|
+
this.l8_1 = 4;
|
|
322
322
|
continue $sm;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
case 3:
|
|
326
|
-
this.
|
|
326
|
+
this.l8_1 = 4;
|
|
327
327
|
continue $sm;
|
|
328
328
|
case 4:
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
329
|
+
this.e5g_1 = this.e5g_1 + 6 | 0;
|
|
330
|
+
this.d5g_1 = this.d5g_1 + 6 | 0;
|
|
331
|
+
this.l8_1 = 2;
|
|
332
332
|
continue $sm;
|
|
333
333
|
case 5:
|
|
334
|
-
this.
|
|
334
|
+
this.l8_1 = 1;
|
|
335
335
|
continue $sm;
|
|
336
336
|
case 6:
|
|
337
337
|
return Unit_instance;
|
|
338
338
|
case 7:
|
|
339
|
-
throw this.
|
|
339
|
+
throw this.o8_1;
|
|
340
340
|
}
|
|
341
341
|
} catch ($p) {
|
|
342
342
|
var e = $p;
|
|
343
|
-
if (this.
|
|
343
|
+
if (this.m8_1 === 7) {
|
|
344
344
|
throw e;
|
|
345
345
|
} else {
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
346
|
+
this.l8_1 = this.m8_1;
|
|
347
|
+
this.o8_1 = e;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
while (true);
|
|
351
351
|
};
|
|
352
|
-
protoOf(HeadersData$headersStarts$slambda).
|
|
353
|
-
var i = new HeadersData$headersStarts$slambda(this.
|
|
354
|
-
i.
|
|
352
|
+
protoOf(HeadersData$headersStarts$slambda).i5g = function ($this$sequence, completion) {
|
|
353
|
+
var i = new HeadersData$headersStarts$slambda(this.b5g_1, completion);
|
|
354
|
+
i.c5g_1 = $this$sequence;
|
|
355
355
|
return i;
|
|
356
356
|
};
|
|
357
357
|
function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
358
358
|
var i = new HeadersData$headersStarts$slambda(this$0, resultContinuation);
|
|
359
359
|
var l = function ($this$sequence, $completion) {
|
|
360
|
-
return i.
|
|
360
|
+
return i.h5g($this$sequence, $completion);
|
|
361
361
|
};
|
|
362
362
|
l.$arity = 1;
|
|
363
363
|
return l;
|
|
@@ -365,55 +365,55 @@ function HeadersData$headersStarts$slambda_0(this$0, resultContinuation) {
|
|
|
365
365
|
function HeadersData() {
|
|
366
366
|
var tmp = this;
|
|
367
367
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
368
|
-
tmp.
|
|
368
|
+
tmp.c5f_1 = ArrayList_init_$Create$();
|
|
369
369
|
}
|
|
370
|
-
protoOf(HeadersData).
|
|
371
|
-
return this.
|
|
370
|
+
protoOf(HeadersData).d5f = function () {
|
|
371
|
+
return this.c5f_1.v();
|
|
372
372
|
};
|
|
373
|
-
protoOf(HeadersData).
|
|
373
|
+
protoOf(HeadersData).e5f = function (subArraysCount) {
|
|
374
374
|
// Inline function 'kotlin.repeat' call
|
|
375
375
|
var inductionVariable = 0;
|
|
376
376
|
if (inductionVariable < subArraysCount)
|
|
377
377
|
do {
|
|
378
378
|
var index = inductionVariable;
|
|
379
379
|
inductionVariable = inductionVariable + 1 | 0;
|
|
380
|
-
this.
|
|
380
|
+
this.c5f_1.p(get_IntArrayPool().u4n());
|
|
381
381
|
}
|
|
382
382
|
while (inductionVariable < subArraysCount);
|
|
383
383
|
};
|
|
384
|
-
protoOf(HeadersData).
|
|
385
|
-
return this.
|
|
384
|
+
protoOf(HeadersData).g5f = function (index) {
|
|
385
|
+
return this.c5f_1.x(index / 768 | 0)[index % 768 | 0];
|
|
386
386
|
};
|
|
387
|
-
protoOf(HeadersData).
|
|
388
|
-
this.
|
|
387
|
+
protoOf(HeadersData).r5f = function (index, value) {
|
|
388
|
+
this.c5f_1.x(index / 768 | 0)[index % 768 | 0] = value;
|
|
389
389
|
};
|
|
390
|
-
protoOf(HeadersData).
|
|
390
|
+
protoOf(HeadersData).f5f = function () {
|
|
391
391
|
return sequence(HeadersData$headersStarts$slambda_0(this, null));
|
|
392
392
|
};
|
|
393
|
-
protoOf(HeadersData).
|
|
394
|
-
var _iterator__ex2g4s = this.
|
|
393
|
+
protoOf(HeadersData).d1l = function () {
|
|
394
|
+
var _iterator__ex2g4s = this.c5f_1.s();
|
|
395
395
|
while (_iterator__ex2g4s.t()) {
|
|
396
396
|
var array = _iterator__ex2g4s.u();
|
|
397
|
-
get_IntArrayPool().
|
|
397
|
+
get_IntArrayPool().v4n(array);
|
|
398
398
|
}
|
|
399
|
-
this.
|
|
399
|
+
this.c5f_1.i2();
|
|
400
400
|
};
|
|
401
401
|
function dumpTo(_this__u8e3s4, indent, out) {
|
|
402
402
|
_init_properties_HttpHeadersMap_kt__hwatby();
|
|
403
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
403
|
+
var _iterator__ex2g4s = _this__u8e3s4.j5f().s();
|
|
404
404
|
while (_iterator__ex2g4s.t()) {
|
|
405
405
|
var offset = _iterator__ex2g4s.u();
|
|
406
406
|
out.q(indent);
|
|
407
|
-
out.q(_this__u8e3s4.
|
|
407
|
+
out.q(_this__u8e3s4.s5f(offset));
|
|
408
408
|
out.q(' => ');
|
|
409
|
-
out.q(_this__u8e3s4.
|
|
409
|
+
out.q(_this__u8e3s4.i5f(offset));
|
|
410
410
|
out.q('\n');
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
function IntArrayPool$1() {
|
|
414
414
|
DefaultPool.call(this, 1000);
|
|
415
415
|
}
|
|
416
|
-
protoOf(IntArrayPool$1).
|
|
416
|
+
protoOf(IntArrayPool$1).n4n = function () {
|
|
417
417
|
var tmp = 0;
|
|
418
418
|
var tmp_0 = new Int32Array(768);
|
|
419
419
|
while (tmp < 768) {
|
|
@@ -422,25 +422,25 @@ protoOf(IntArrayPool$1).w4g = function () {
|
|
|
422
422
|
}
|
|
423
423
|
return tmp_0;
|
|
424
424
|
};
|
|
425
|
-
protoOf(IntArrayPool$1).
|
|
425
|
+
protoOf(IntArrayPool$1).m5g = function (instance) {
|
|
426
426
|
fill(instance, -1);
|
|
427
|
-
return protoOf(DefaultPool).
|
|
427
|
+
return protoOf(DefaultPool).s4n.call(this, instance);
|
|
428
428
|
};
|
|
429
|
-
protoOf(IntArrayPool$1).
|
|
430
|
-
return this.
|
|
429
|
+
protoOf(IntArrayPool$1).s4n = function (instance) {
|
|
430
|
+
return this.m5g(isIntArray(instance) ? instance : THROW_CCE());
|
|
431
431
|
};
|
|
432
432
|
function HeadersDataPool$1() {
|
|
433
433
|
DefaultPool.call(this, 1000);
|
|
434
434
|
}
|
|
435
|
-
protoOf(HeadersDataPool$1).
|
|
435
|
+
protoOf(HeadersDataPool$1).n4n = function () {
|
|
436
436
|
return new HeadersData();
|
|
437
437
|
};
|
|
438
|
-
protoOf(HeadersDataPool$1).
|
|
439
|
-
instance.
|
|
440
|
-
return protoOf(DefaultPool).
|
|
438
|
+
protoOf(HeadersDataPool$1).q5g = function (instance) {
|
|
439
|
+
instance.d1l();
|
|
440
|
+
return protoOf(DefaultPool).s4n.call(this, instance);
|
|
441
441
|
};
|
|
442
|
-
protoOf(HeadersDataPool$1).
|
|
443
|
-
return this.
|
|
442
|
+
protoOf(HeadersDataPool$1).s4n = function (instance) {
|
|
443
|
+
return this.q5g(instance instanceof HeadersData ? instance : THROW_CCE());
|
|
444
444
|
};
|
|
445
445
|
var properties_initialized_HttpHeadersMap_kt_kotj4w;
|
|
446
446
|
function _init_properties_HttpHeadersMap_kt__hwatby() {
|
|
@@ -464,22 +464,22 @@ var versions;
|
|
|
464
464
|
function parseHeaders(input, builder, range, $completion) {
|
|
465
465
|
range = range === VOID ? new MutableRange(0, 0) : range;
|
|
466
466
|
var tmp = new $parseHeadersCOROUTINE$(input, builder, range, $completion);
|
|
467
|
-
tmp.
|
|
468
|
-
tmp.
|
|
469
|
-
return tmp.
|
|
467
|
+
tmp.n8_1 = Unit_instance;
|
|
468
|
+
tmp.o8_1 = null;
|
|
469
|
+
return tmp.t8();
|
|
470
470
|
}
|
|
471
471
|
function parseHeaderName(text, range) {
|
|
472
472
|
_init_properties_HttpParser_kt__gbdom1();
|
|
473
|
-
var index = range.
|
|
474
|
-
var end = range.
|
|
473
|
+
var index = range.e5h_1;
|
|
474
|
+
var end = range.f5h_1;
|
|
475
475
|
while (index < end) {
|
|
476
476
|
var ch = text.b(index);
|
|
477
|
-
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.
|
|
478
|
-
range.
|
|
477
|
+
if (ch === _Char___init__impl__6a9atx(58) && !(index === range.e5h_1)) {
|
|
478
|
+
range.e5h_1 = index + 1 | 0;
|
|
479
479
|
return index;
|
|
480
480
|
}
|
|
481
481
|
if (isDelimiter(ch)) {
|
|
482
|
-
parseHeaderNameFailed(text, index, range.
|
|
482
|
+
parseHeaderNameFailed(text, index, range.e5h_1, ch);
|
|
483
483
|
}
|
|
484
484
|
index = index + 1 | 0;
|
|
485
485
|
}
|
|
@@ -487,12 +487,12 @@ function parseHeaderName(text, range) {
|
|
|
487
487
|
}
|
|
488
488
|
function parseHeaderValue(text, range) {
|
|
489
489
|
_init_properties_HttpParser_kt__gbdom1();
|
|
490
|
-
var start = range.
|
|
491
|
-
var end = range.
|
|
490
|
+
var start = range.e5h_1;
|
|
491
|
+
var end = range.f5h_1;
|
|
492
492
|
var index = start;
|
|
493
493
|
index = skipSpacesAndHorizontalTabs(text, index, end);
|
|
494
494
|
if (index >= end) {
|
|
495
|
-
range.
|
|
495
|
+
range.e5h_1 = end;
|
|
496
496
|
return Unit_instance;
|
|
497
497
|
}
|
|
498
498
|
var valueStart = index;
|
|
@@ -506,8 +506,8 @@ function parseHeaderValue(text, range) {
|
|
|
506
506
|
valueLastIndex = index;
|
|
507
507
|
index = index + 1 | 0;
|
|
508
508
|
}
|
|
509
|
-
range.
|
|
510
|
-
range.
|
|
509
|
+
range.e5h_1 = valueStart;
|
|
510
|
+
range.f5h_1 = valueLastIndex + 1 | 0;
|
|
511
511
|
}
|
|
512
512
|
function validateHostHeader(host) {
|
|
513
513
|
_init_properties_HttpParser_kt__gbdom1();
|
|
@@ -548,9 +548,9 @@ function parseHeaderNameFailed(text, index, start, ch) {
|
|
|
548
548
|
}
|
|
549
549
|
function noColonFound(text, range) {
|
|
550
550
|
_init_properties_HttpParser_kt__gbdom1();
|
|
551
|
-
var tmp2 = range.
|
|
551
|
+
var tmp2 = range.e5h_1;
|
|
552
552
|
// Inline function 'kotlin.text.substring' call
|
|
553
|
-
var endIndex = range.
|
|
553
|
+
var endIndex = range.f5h_1;
|
|
554
554
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, tmp2, endIndex));
|
|
555
555
|
throw new ParserException('No colon in HTTP header in ' + tmp$ret$0 + ' in builder: \n' + toString(text));
|
|
556
556
|
}
|
|
@@ -566,30 +566,30 @@ function ParserException(message) {
|
|
|
566
566
|
}
|
|
567
567
|
function $parseHeadersCOROUTINE$(input, builder, range, resultContinuation) {
|
|
568
568
|
CoroutineImpl.call(this, resultContinuation);
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
569
|
+
this.z5g_1 = input;
|
|
570
|
+
this.a5h_1 = builder;
|
|
571
|
+
this.b5h_1 = range;
|
|
572
572
|
}
|
|
573
|
-
protoOf($parseHeadersCOROUTINE$).
|
|
574
|
-
var suspendResult = this.
|
|
573
|
+
protoOf($parseHeadersCOROUTINE$).t8 = function () {
|
|
574
|
+
var suspendResult = this.n8_1;
|
|
575
575
|
$sm: do
|
|
576
576
|
try {
|
|
577
|
-
var tmp = this.
|
|
577
|
+
var tmp = this.l8_1;
|
|
578
578
|
switch (tmp) {
|
|
579
579
|
case 0:
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
580
|
+
this.m8_1 = 7;
|
|
581
|
+
this.c5h_1 = new HttpHeadersMap(this.a5h_1);
|
|
582
|
+
this.m8_1 = 6;
|
|
583
|
+
this.l8_1 = 1;
|
|
584
584
|
continue $sm;
|
|
585
585
|
case 1:
|
|
586
586
|
if (!true) {
|
|
587
|
-
this.
|
|
587
|
+
this.l8_1 = 5;
|
|
588
588
|
continue $sm;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
this.
|
|
592
|
-
suspendResult = readUTF8LineTo(this.
|
|
591
|
+
this.l8_1 = 2;
|
|
592
|
+
suspendResult = readUTF8LineTo(this.z5g_1, this.a5h_1, 8192, get_httpLineEndings(), this);
|
|
593
593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
594
594
|
return suspendResult;
|
|
595
595
|
}
|
|
@@ -597,68 +597,68 @@ protoOf($parseHeadersCOROUTINE$).a9 = function () {
|
|
|
597
597
|
continue $sm;
|
|
598
598
|
case 2:
|
|
599
599
|
if (!suspendResult) {
|
|
600
|
-
this.
|
|
600
|
+
this.c5h_1.d1l();
|
|
601
601
|
return null;
|
|
602
602
|
} else {
|
|
603
|
-
this.
|
|
603
|
+
this.l8_1 = 3;
|
|
604
604
|
continue $sm;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
607
|
case 3:
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
610
|
-
if (this.
|
|
611
|
-
this.
|
|
608
|
+
this.b5h_1.f5h_1 = this.a5h_1.q5f_1;
|
|
609
|
+
this.d5h_1 = this.b5h_1.f5h_1 - this.b5h_1.e5h_1 | 0;
|
|
610
|
+
if (this.d5h_1 === 0) {
|
|
611
|
+
this.l8_1 = 5;
|
|
612
612
|
continue $sm;
|
|
613
613
|
} else {
|
|
614
|
-
this.
|
|
614
|
+
this.l8_1 = 4;
|
|
615
615
|
continue $sm;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
case 4:
|
|
619
|
-
if (this.
|
|
619
|
+
if (this.d5h_1 >= 8192) {
|
|
620
620
|
var message = 'Header line length limit exceeded';
|
|
621
621
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
var nameStart = this.
|
|
625
|
-
var nameEnd = parseHeaderName(this.
|
|
626
|
-
var headerEnd = this.
|
|
627
|
-
parseHeaderValue(this.
|
|
628
|
-
var valueStart = this.
|
|
629
|
-
var valueEnd = this.
|
|
630
|
-
this.
|
|
631
|
-
this.
|
|
632
|
-
this.
|
|
624
|
+
var nameStart = this.b5h_1.e5h_1;
|
|
625
|
+
var nameEnd = parseHeaderName(this.a5h_1, this.b5h_1);
|
|
626
|
+
var headerEnd = this.b5h_1.f5h_1;
|
|
627
|
+
parseHeaderValue(this.a5h_1, this.b5h_1);
|
|
628
|
+
var valueStart = this.b5h_1.e5h_1;
|
|
629
|
+
var valueEnd = this.b5h_1.f5h_1;
|
|
630
|
+
this.b5h_1.e5h_1 = headerEnd;
|
|
631
|
+
this.c5h_1.h5f(nameStart, nameEnd, valueStart, valueEnd);
|
|
632
|
+
this.l8_1 = 1;
|
|
633
633
|
continue $sm;
|
|
634
634
|
case 5:
|
|
635
|
-
var host = this.
|
|
635
|
+
var host = this.c5h_1.x3h(HttpHeaders_getInstance().w4x_1);
|
|
636
636
|
if (!(host == null)) {
|
|
637
637
|
validateHostHeader(host);
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
return this.
|
|
640
|
+
return this.c5h_1;
|
|
641
641
|
case 6:
|
|
642
|
-
this.
|
|
643
|
-
var tmp_0 = this.
|
|
642
|
+
this.m8_1 = 7;
|
|
643
|
+
var tmp_0 = this.o8_1;
|
|
644
644
|
if (tmp_0 instanceof Error) {
|
|
645
|
-
var t = this.
|
|
646
|
-
this.
|
|
645
|
+
var t = this.o8_1;
|
|
646
|
+
this.c5h_1.d1l();
|
|
647
647
|
throw t;
|
|
648
648
|
} else {
|
|
649
|
-
throw this.
|
|
649
|
+
throw this.o8_1;
|
|
650
650
|
}
|
|
651
651
|
|
|
652
652
|
case 7:
|
|
653
|
-
throw this.
|
|
653
|
+
throw this.o8_1;
|
|
654
654
|
}
|
|
655
655
|
} catch ($p) {
|
|
656
656
|
var e = $p;
|
|
657
|
-
if (this.
|
|
657
|
+
if (this.m8_1 === 7) {
|
|
658
658
|
throw e;
|
|
659
659
|
} else {
|
|
660
|
-
this.
|
|
661
|
-
this.
|
|
660
|
+
this.l8_1 = this.m8_1;
|
|
661
|
+
this.o8_1 = e;
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
while (true);
|
|
@@ -668,8 +668,8 @@ function _init_properties_HttpParser_kt__gbdom1() {
|
|
|
668
668
|
if (!properties_initialized_HttpParser_kt_uedryv) {
|
|
669
669
|
properties_initialized_HttpParser_kt_uedryv = true;
|
|
670
670
|
hostForbiddenSymbols = setOf([new Char(_Char___init__impl__6a9atx(47)), new Char(_Char___init__impl__6a9atx(63)), new Char(_Char___init__impl__6a9atx(35)), new Char(_Char___init__impl__6a9atx(64))]);
|
|
671
|
-
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_0().
|
|
672
|
-
versions = Companion_instance.
|
|
671
|
+
httpLineEndings = LineEndingMode__plus_impl_ttpz2j(Companion_getInstance_0().p4j_1, Companion_getInstance_0().o4j_1);
|
|
672
|
+
versions = Companion_instance.g5h(listOf(['HTTP/1.0', 'HTTP/1.1']));
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
function get_CrLf() {
|
|
@@ -684,23 +684,23 @@ function get_PrefixString() {
|
|
|
684
684
|
var PrefixString;
|
|
685
685
|
function Preamble(body) {
|
|
686
686
|
MultipartEvent.call(this);
|
|
687
|
-
this.
|
|
687
|
+
this.h5h_1 = body;
|
|
688
688
|
}
|
|
689
689
|
function MultipartPart(headers, body) {
|
|
690
690
|
MultipartEvent.call(this);
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
691
|
+
this.i5h_1 = headers;
|
|
692
|
+
this.j5h_1 = body;
|
|
693
693
|
}
|
|
694
694
|
function Epilogue(body) {
|
|
695
695
|
MultipartEvent.call(this);
|
|
696
|
-
this.
|
|
696
|
+
this.k5h_1 = body;
|
|
697
697
|
}
|
|
698
698
|
function MultipartEvent() {
|
|
699
699
|
}
|
|
700
700
|
function parseMultipart(_this__u8e3s4, input, contentType, contentLength, maxPartSize) {
|
|
701
701
|
maxPartSize = maxPartSize === VOID ? new Long(-1, 2147483647) : maxPartSize;
|
|
702
702
|
_init_properties_Multipart_kt__ato98a();
|
|
703
|
-
if (!MultiPart_getInstance().
|
|
703
|
+
if (!MultiPart_getInstance().o4v(contentType)) {
|
|
704
704
|
throw new UnsupportedMediaTypeExceptionCIO('Failed to parse multipart: Content-Type should be multipart/* but it is ' + toString(contentType));
|
|
705
705
|
}
|
|
706
706
|
var boundaryByteBuffer = parseBoundaryInternal(contentType);
|
|
@@ -848,21 +848,21 @@ function parsePreambleImpl(boundary, input, output, limit, $completion) {
|
|
|
848
848
|
}
|
|
849
849
|
function parsePartHeadersImpl(input, $completion) {
|
|
850
850
|
var tmp = new $parsePartHeadersImplCOROUTINE$(input, $completion);
|
|
851
|
-
tmp.
|
|
852
|
-
tmp.
|
|
853
|
-
return tmp.
|
|
851
|
+
tmp.n8_1 = Unit_instance;
|
|
852
|
+
tmp.o8_1 = null;
|
|
853
|
+
return tmp.t8();
|
|
854
854
|
}
|
|
855
855
|
function parsePartBodyImpl(boundaryPrefixed, input, output, headers, limit, $completion) {
|
|
856
856
|
var tmp = new $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, $completion);
|
|
857
|
-
tmp.
|
|
858
|
-
tmp.
|
|
859
|
-
return tmp.
|
|
857
|
+
tmp.n8_1 = Unit_instance;
|
|
858
|
+
tmp.o8_1 = null;
|
|
859
|
+
return tmp.t8();
|
|
860
860
|
}
|
|
861
861
|
function skipIfFoundReadCount(_this__u8e3s4, prefix, $completion) {
|
|
862
862
|
var tmp = new $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, $completion);
|
|
863
|
-
tmp.
|
|
864
|
-
tmp.
|
|
865
|
-
return tmp.
|
|
863
|
+
tmp.n8_1 = Unit_instance;
|
|
864
|
+
tmp.o8_1 = null;
|
|
865
|
+
return tmp.t8();
|
|
866
866
|
}
|
|
867
867
|
function throwLimitExceeded(actual, limit) {
|
|
868
868
|
_init_properties_Multipart_kt__ato98a();
|
|
@@ -877,37 +877,37 @@ function parseBoundaryInternal$put(position, boundaryBytes, value) {
|
|
|
877
877
|
boundaryBytes[_unary__edvuaz] = value;
|
|
878
878
|
}
|
|
879
879
|
function parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation) {
|
|
880
|
-
this.
|
|
881
|
-
this.
|
|
880
|
+
this.e5j_1 = $firstBoundary;
|
|
881
|
+
this.f5j_1 = $countedInput;
|
|
882
882
|
CoroutineImpl.call(this, resultContinuation);
|
|
883
883
|
}
|
|
884
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
885
|
-
var tmp = this.
|
|
886
|
-
tmp.
|
|
887
|
-
tmp.
|
|
888
|
-
return tmp.
|
|
884
|
+
protoOf(parseMultipart$slambda$slambda).h5j = function ($this$writer, $completion) {
|
|
885
|
+
var tmp = this.i5j($this$writer, $completion);
|
|
886
|
+
tmp.n8_1 = Unit_instance;
|
|
887
|
+
tmp.o8_1 = null;
|
|
888
|
+
return tmp.t8();
|
|
889
889
|
};
|
|
890
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
891
|
-
return this.
|
|
890
|
+
protoOf(parseMultipart$slambda$slambda).f9 = function (p1, $completion) {
|
|
891
|
+
return this.h5j(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
892
892
|
};
|
|
893
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
894
|
-
var suspendResult = this.
|
|
893
|
+
protoOf(parseMultipart$slambda$slambda).t8 = function () {
|
|
894
|
+
var suspendResult = this.n8_1;
|
|
895
895
|
$sm: do
|
|
896
896
|
try {
|
|
897
|
-
var tmp = this.
|
|
897
|
+
var tmp = this.l8_1;
|
|
898
898
|
switch (tmp) {
|
|
899
899
|
case 0:
|
|
900
|
-
this.
|
|
901
|
-
this.
|
|
902
|
-
suspendResult = parsePreambleImpl(this.
|
|
900
|
+
this.m8_1 = 3;
|
|
901
|
+
this.l8_1 = 1;
|
|
902
|
+
suspendResult = parsePreambleImpl(this.e5j_1, this.f5j_1, this.g5j_1.p4l_1, new Long(8193, 0), this);
|
|
903
903
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
904
904
|
return suspendResult;
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
continue $sm;
|
|
908
908
|
case 1:
|
|
909
|
-
this.
|
|
910
|
-
suspendResult = this.
|
|
909
|
+
this.l8_1 = 2;
|
|
910
|
+
suspendResult = this.g5j_1.p4l_1.u4e(this);
|
|
911
911
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
912
912
|
return suspendResult;
|
|
913
913
|
}
|
|
@@ -916,61 +916,61 @@ protoOf(parseMultipart$slambda$slambda).a9 = function () {
|
|
|
916
916
|
case 2:
|
|
917
917
|
return Unit_instance;
|
|
918
918
|
case 3:
|
|
919
|
-
throw this.
|
|
919
|
+
throw this.o8_1;
|
|
920
920
|
}
|
|
921
921
|
} catch ($p) {
|
|
922
922
|
var e = $p;
|
|
923
|
-
if (this.
|
|
923
|
+
if (this.m8_1 === 3) {
|
|
924
924
|
throw e;
|
|
925
925
|
} else {
|
|
926
|
-
this.
|
|
927
|
-
this.
|
|
926
|
+
this.l8_1 = this.m8_1;
|
|
927
|
+
this.o8_1 = e;
|
|
928
928
|
}
|
|
929
929
|
}
|
|
930
930
|
while (true);
|
|
931
931
|
};
|
|
932
|
-
protoOf(parseMultipart$slambda$slambda).
|
|
933
|
-
var i = new parseMultipart$slambda$slambda(this.
|
|
934
|
-
i.
|
|
932
|
+
protoOf(parseMultipart$slambda$slambda).i5j = function ($this$writer, completion) {
|
|
933
|
+
var i = new parseMultipart$slambda$slambda(this.e5j_1, this.f5j_1, completion);
|
|
934
|
+
i.g5j_1 = $this$writer;
|
|
935
935
|
return i;
|
|
936
936
|
};
|
|
937
937
|
function parseMultipart$slambda$slambda_0($firstBoundary, $countedInput, resultContinuation) {
|
|
938
938
|
var i = new parseMultipart$slambda$slambda($firstBoundary, $countedInput, resultContinuation);
|
|
939
939
|
var l = function ($this$writer, $completion) {
|
|
940
|
-
return i.
|
|
940
|
+
return i.h5j($this$writer, $completion);
|
|
941
941
|
};
|
|
942
942
|
l.$arity = 1;
|
|
943
943
|
return l;
|
|
944
944
|
}
|
|
945
945
|
function parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
946
|
-
this.
|
|
947
|
-
this.
|
|
948
|
-
this.
|
|
949
|
-
this.
|
|
946
|
+
this.r5j_1 = $input;
|
|
947
|
+
this.s5j_1 = $boundaryPrefixed;
|
|
948
|
+
this.t5j_1 = $maxPartSize;
|
|
949
|
+
this.u5j_1 = $totalLength;
|
|
950
950
|
CoroutineImpl.call(this, resultContinuation);
|
|
951
951
|
}
|
|
952
|
-
protoOf(parseMultipart$slambda).
|
|
953
|
-
var tmp = this.
|
|
954
|
-
tmp.
|
|
955
|
-
tmp.
|
|
956
|
-
return tmp.
|
|
952
|
+
protoOf(parseMultipart$slambda).c5k = function ($this$produce, $completion) {
|
|
953
|
+
var tmp = this.d5k($this$produce, $completion);
|
|
954
|
+
tmp.n8_1 = Unit_instance;
|
|
955
|
+
tmp.o8_1 = null;
|
|
956
|
+
return tmp.t8();
|
|
957
957
|
};
|
|
958
|
-
protoOf(parseMultipart$slambda).
|
|
959
|
-
return this.
|
|
958
|
+
protoOf(parseMultipart$slambda).f9 = function (p1, $completion) {
|
|
959
|
+
return this.c5k((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
960
960
|
};
|
|
961
|
-
protoOf(parseMultipart$slambda).
|
|
962
|
-
var suspendResult = this.
|
|
961
|
+
protoOf(parseMultipart$slambda).t8 = function () {
|
|
962
|
+
var suspendResult = this.n8_1;
|
|
963
963
|
$sm: do
|
|
964
964
|
try {
|
|
965
|
-
var tmp = this.
|
|
965
|
+
var tmp = this.l8_1;
|
|
966
966
|
switch (tmp) {
|
|
967
967
|
case 0:
|
|
968
|
-
this.
|
|
969
|
-
this.
|
|
970
|
-
this.
|
|
971
|
-
var firstBoundary = this.
|
|
972
|
-
this.
|
|
973
|
-
suspendResult = readRemaining(writer(this.
|
|
968
|
+
this.m8_1 = 23;
|
|
969
|
+
this.w5j_1 = counted(this.r5j_1);
|
|
970
|
+
this.x5j_1 = this.w5j_1.b4n();
|
|
971
|
+
var firstBoundary = this.s5j_1.kq(get_PrefixString().v());
|
|
972
|
+
this.l8_1 = 1;
|
|
973
|
+
suspendResult = readRemaining(writer(this.v5j_1, VOID, VOID, parseMultipart$slambda$slambda_0(firstBoundary, this.w5j_1, null)).n4l_1, this);
|
|
974
974
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
975
975
|
return suspendResult;
|
|
976
976
|
}
|
|
@@ -979,153 +979,153 @@ protoOf(parseMultipart$slambda).a9 = function () {
|
|
|
979
979
|
case 1:
|
|
980
980
|
var preambleData = suspendResult;
|
|
981
981
|
if (compare(get_remaining(preambleData), new Long(0, 0)) > 0) {
|
|
982
|
-
this.
|
|
983
|
-
suspendResult = this.
|
|
982
|
+
this.l8_1 = 2;
|
|
983
|
+
suspendResult = this.v5j_1.d1d(new Preamble(preambleData), this);
|
|
984
984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
985
985
|
return suspendResult;
|
|
986
986
|
}
|
|
987
987
|
continue $sm;
|
|
988
988
|
} else {
|
|
989
|
-
this.
|
|
989
|
+
this.l8_1 = 3;
|
|
990
990
|
continue $sm;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
993
|
case 2:
|
|
994
|
-
this.
|
|
994
|
+
this.l8_1 = 3;
|
|
995
995
|
continue $sm;
|
|
996
996
|
case 3:
|
|
997
|
-
this.
|
|
997
|
+
this.l8_1 = 4;
|
|
998
998
|
continue $sm;
|
|
999
999
|
case 4:
|
|
1000
|
-
if (!this.
|
|
1001
|
-
this.
|
|
1002
|
-
suspendResult = skipIfFound(this.
|
|
1000
|
+
if (!this.w5j_1.r4e()) {
|
|
1001
|
+
this.l8_1 = 5;
|
|
1002
|
+
suspendResult = skipIfFound(this.w5j_1, get_PrefixString(), this);
|
|
1003
1003
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1004
1004
|
return suspendResult;
|
|
1005
1005
|
}
|
|
1006
1006
|
continue $sm;
|
|
1007
1007
|
} else {
|
|
1008
|
-
this.
|
|
1009
|
-
this.
|
|
1008
|
+
this.b5k_1 = false;
|
|
1009
|
+
this.l8_1 = 6;
|
|
1010
1010
|
continue $sm;
|
|
1011
1011
|
}
|
|
1012
1012
|
|
|
1013
1013
|
case 5:
|
|
1014
|
-
this.
|
|
1015
|
-
this.
|
|
1014
|
+
this.b5k_1 = !suspendResult;
|
|
1015
|
+
this.l8_1 = 6;
|
|
1016
1016
|
continue $sm;
|
|
1017
1017
|
case 6:
|
|
1018
|
-
if (!this.
|
|
1019
|
-
this.
|
|
1018
|
+
if (!this.b5k_1) {
|
|
1019
|
+
this.l8_1 = 13;
|
|
1020
1020
|
continue $sm;
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
this.
|
|
1024
|
-
suspendResult = skipIfFound(this.
|
|
1023
|
+
this.l8_1 = 7;
|
|
1024
|
+
suspendResult = skipIfFound(this.w5j_1, get_CrLf(), this);
|
|
1025
1025
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1026
1026
|
return suspendResult;
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
continue $sm;
|
|
1030
1030
|
case 7:
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1033
|
-
var part = new MultipartPart(this.
|
|
1034
|
-
this.
|
|
1035
|
-
suspendResult = this.
|
|
1031
|
+
this.y5j_1 = new ByteChannel();
|
|
1032
|
+
this.a5k_1 = CompletableDeferred();
|
|
1033
|
+
var part = new MultipartPart(this.a5k_1, this.y5j_1);
|
|
1034
|
+
this.l8_1 = 8;
|
|
1035
|
+
suspendResult = this.v5j_1.d1d(part, this);
|
|
1036
1036
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1037
1037
|
return suspendResult;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
continue $sm;
|
|
1041
1041
|
case 8:
|
|
1042
|
-
this.
|
|
1043
|
-
this.
|
|
1044
|
-
this.
|
|
1045
|
-
suspendResult = parsePartHeadersImpl(this.
|
|
1042
|
+
this.z5j_1 = null;
|
|
1043
|
+
this.m8_1 = 12;
|
|
1044
|
+
this.l8_1 = 9;
|
|
1045
|
+
suspendResult = parsePartHeadersImpl(this.w5j_1, this);
|
|
1046
1046
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1047
1047
|
return suspendResult;
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
1050
|
continue $sm;
|
|
1051
1051
|
case 9:
|
|
1052
|
-
this.
|
|
1053
|
-
if (!this.
|
|
1054
|
-
this.
|
|
1052
|
+
this.z5j_1 = suspendResult;
|
|
1053
|
+
if (!this.a5k_1.a12(this.z5j_1)) {
|
|
1054
|
+
this.z5j_1.d1l();
|
|
1055
1055
|
throw CancellationException_init_$Create$('Multipart processing has been cancelled');
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
this.
|
|
1059
|
-
suspendResult = parsePartBodyImpl(this.
|
|
1058
|
+
this.l8_1 = 10;
|
|
1059
|
+
suspendResult = parsePartBodyImpl(this.s5j_1, this.w5j_1, this.y5j_1, this.z5j_1, this.t5j_1, this);
|
|
1060
1060
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1061
1061
|
return suspendResult;
|
|
1062
1062
|
}
|
|
1063
1063
|
|
|
1064
1064
|
continue $sm;
|
|
1065
1065
|
case 10:
|
|
1066
|
-
this.
|
|
1067
|
-
this.
|
|
1068
|
-
this.
|
|
1066
|
+
this.y5j_1.p3();
|
|
1067
|
+
this.m8_1 = 23;
|
|
1068
|
+
this.l8_1 = 11;
|
|
1069
1069
|
continue $sm;
|
|
1070
1070
|
case 11:
|
|
1071
|
-
this.
|
|
1072
|
-
this.
|
|
1071
|
+
this.m8_1 = 23;
|
|
1072
|
+
this.l8_1 = 4;
|
|
1073
1073
|
continue $sm;
|
|
1074
1074
|
case 12:
|
|
1075
|
-
this.
|
|
1076
|
-
var tmp_0 = this.
|
|
1075
|
+
this.m8_1 = 23;
|
|
1076
|
+
var tmp_0 = this.o8_1;
|
|
1077
1077
|
if (tmp_0 instanceof Error) {
|
|
1078
|
-
var cause = this.
|
|
1079
|
-
if (this.
|
|
1080
|
-
var tmp0_safe_receiver = this.
|
|
1078
|
+
var cause = this.o8_1;
|
|
1079
|
+
if (this.a5k_1.b12(cause)) {
|
|
1080
|
+
var tmp0_safe_receiver = this.z5j_1;
|
|
1081
1081
|
if (tmp0_safe_receiver == null)
|
|
1082
1082
|
null;
|
|
1083
1083
|
else {
|
|
1084
|
-
tmp0_safe_receiver.
|
|
1084
|
+
tmp0_safe_receiver.d1l();
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
|
-
close(this.
|
|
1087
|
+
close(this.y5j_1, cause);
|
|
1088
1088
|
throw cause;
|
|
1089
1089
|
} else {
|
|
1090
|
-
throw this.
|
|
1090
|
+
throw this.o8_1;
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
1093
|
case 13:
|
|
1094
|
-
this.
|
|
1095
|
-
suspendResult = skipIfFound(this.
|
|
1094
|
+
this.l8_1 = 14;
|
|
1095
|
+
suspendResult = skipIfFound(this.w5j_1, get_CrLf(), this);
|
|
1096
1096
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1097
1097
|
return suspendResult;
|
|
1098
1098
|
}
|
|
1099
1099
|
|
|
1100
1100
|
continue $sm;
|
|
1101
1101
|
case 14:
|
|
1102
|
-
this.
|
|
1103
|
-
suspendResult = skipIfFound(this.
|
|
1102
|
+
this.l8_1 = 15;
|
|
1103
|
+
suspendResult = skipIfFound(this.w5j_1, get_CrLf(), this);
|
|
1104
1104
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1105
1105
|
return suspendResult;
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
1108
|
continue $sm;
|
|
1109
1109
|
case 15:
|
|
1110
|
-
if (!(this.
|
|
1111
|
-
var consumedExceptEpilogue = subtract(this.
|
|
1112
|
-
var size = subtract(this.
|
|
1110
|
+
if (!(this.u5j_1 == null)) {
|
|
1111
|
+
var consumedExceptEpilogue = subtract(this.w5j_1.b4n(), this.x5j_1);
|
|
1112
|
+
var size = subtract(this.u5j_1, consumedExceptEpilogue);
|
|
1113
1113
|
if (compare(size, new Long(2147483647, 0)) > 0)
|
|
1114
1114
|
throw IOException_init_$Create$('Failed to parse multipart: prologue is too long');
|
|
1115
1115
|
if (compare(size, new Long(0, 0)) > 0) {
|
|
1116
|
-
this.
|
|
1117
|
-
suspendResult = readPacket(this.
|
|
1116
|
+
this.l8_1 = 19;
|
|
1117
|
+
suspendResult = readPacket(this.w5j_1, convertToInt(size), this);
|
|
1118
1118
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1119
1119
|
return suspendResult;
|
|
1120
1120
|
}
|
|
1121
1121
|
continue $sm;
|
|
1122
1122
|
} else {
|
|
1123
|
-
this.
|
|
1123
|
+
this.l8_1 = 21;
|
|
1124
1124
|
continue $sm;
|
|
1125
1125
|
}
|
|
1126
1126
|
} else {
|
|
1127
|
-
this.
|
|
1128
|
-
suspendResult = readRemaining(this.
|
|
1127
|
+
this.l8_1 = 16;
|
|
1128
|
+
suspendResult = readRemaining(this.w5j_1, this);
|
|
1129
1129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1130
1130
|
return suspendResult;
|
|
1131
1131
|
}
|
|
@@ -1134,85 +1134,85 @@ protoOf(parseMultipart$slambda).a9 = function () {
|
|
|
1134
1134
|
|
|
1135
1135
|
case 16:
|
|
1136
1136
|
var epilogueContent = suspendResult;
|
|
1137
|
-
if (!epilogueContent.
|
|
1138
|
-
this.
|
|
1139
|
-
suspendResult = this.
|
|
1137
|
+
if (!epilogueContent.sq()) {
|
|
1138
|
+
this.l8_1 = 17;
|
|
1139
|
+
suspendResult = this.v5j_1.d1d(new Epilogue(epilogueContent), this);
|
|
1140
1140
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1141
1141
|
return suspendResult;
|
|
1142
1142
|
}
|
|
1143
1143
|
continue $sm;
|
|
1144
1144
|
} else {
|
|
1145
|
-
this.
|
|
1145
|
+
this.l8_1 = 18;
|
|
1146
1146
|
continue $sm;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
1149
|
case 17:
|
|
1150
|
-
this.
|
|
1150
|
+
this.l8_1 = 18;
|
|
1151
1151
|
continue $sm;
|
|
1152
1152
|
case 18:
|
|
1153
|
-
this.
|
|
1153
|
+
this.l8_1 = 22;
|
|
1154
1154
|
continue $sm;
|
|
1155
1155
|
case 19:
|
|
1156
1156
|
var ARGUMENT = suspendResult;
|
|
1157
1157
|
var ARGUMENT_0 = new Epilogue(ARGUMENT);
|
|
1158
|
-
this.
|
|
1159
|
-
suspendResult = this.
|
|
1158
|
+
this.l8_1 = 20;
|
|
1159
|
+
suspendResult = this.v5j_1.d1d(ARGUMENT_0, this);
|
|
1160
1160
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1161
1161
|
return suspendResult;
|
|
1162
1162
|
}
|
|
1163
1163
|
|
|
1164
1164
|
continue $sm;
|
|
1165
1165
|
case 20:
|
|
1166
|
-
this.
|
|
1166
|
+
this.l8_1 = 21;
|
|
1167
1167
|
continue $sm;
|
|
1168
1168
|
case 21:
|
|
1169
|
-
this.
|
|
1169
|
+
this.l8_1 = 22;
|
|
1170
1170
|
continue $sm;
|
|
1171
1171
|
case 22:
|
|
1172
1172
|
return Unit_instance;
|
|
1173
1173
|
case 23:
|
|
1174
|
-
throw this.
|
|
1174
|
+
throw this.o8_1;
|
|
1175
1175
|
}
|
|
1176
1176
|
} catch ($p) {
|
|
1177
1177
|
var e = $p;
|
|
1178
|
-
if (this.
|
|
1178
|
+
if (this.m8_1 === 23) {
|
|
1179
1179
|
throw e;
|
|
1180
1180
|
} else {
|
|
1181
|
-
this.
|
|
1182
|
-
this.
|
|
1181
|
+
this.l8_1 = this.m8_1;
|
|
1182
|
+
this.o8_1 = e;
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
while (true);
|
|
1186
1186
|
};
|
|
1187
|
-
protoOf(parseMultipart$slambda).
|
|
1188
|
-
var i = new parseMultipart$slambda(this.
|
|
1189
|
-
i.
|
|
1187
|
+
protoOf(parseMultipart$slambda).d5k = function ($this$produce, completion) {
|
|
1188
|
+
var i = new parseMultipart$slambda(this.r5j_1, this.s5j_1, this.t5j_1, this.u5j_1, completion);
|
|
1189
|
+
i.v5j_1 = $this$produce;
|
|
1190
1190
|
return i;
|
|
1191
1191
|
};
|
|
1192
1192
|
function parseMultipart$slambda_0($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation) {
|
|
1193
1193
|
var i = new parseMultipart$slambda($input, $boundaryPrefixed, $maxPartSize, $totalLength, resultContinuation);
|
|
1194
1194
|
var l = function ($this$produce, $completion) {
|
|
1195
|
-
return i.
|
|
1195
|
+
return i.c5k($this$produce, $completion);
|
|
1196
1196
|
};
|
|
1197
1197
|
l.$arity = 1;
|
|
1198
1198
|
return l;
|
|
1199
1199
|
}
|
|
1200
1200
|
function $parsePartHeadersImplCOROUTINE$(input, resultContinuation) {
|
|
1201
1201
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
|
-
this.
|
|
1202
|
+
this.t5h_1 = input;
|
|
1203
1203
|
}
|
|
1204
|
-
protoOf($parsePartHeadersImplCOROUTINE$).
|
|
1205
|
-
var suspendResult = this.
|
|
1204
|
+
protoOf($parsePartHeadersImplCOROUTINE$).t8 = function () {
|
|
1205
|
+
var suspendResult = this.n8_1;
|
|
1206
1206
|
$sm: do
|
|
1207
1207
|
try {
|
|
1208
|
-
var tmp = this.
|
|
1208
|
+
var tmp = this.l8_1;
|
|
1209
1209
|
switch (tmp) {
|
|
1210
1210
|
case 0:
|
|
1211
|
-
this.
|
|
1212
|
-
this.
|
|
1213
|
-
this.
|
|
1214
|
-
this.
|
|
1215
|
-
suspendResult = parseHeaders(this.
|
|
1211
|
+
this.m8_1 = 3;
|
|
1212
|
+
this.u5h_1 = new CharArrayBuilder();
|
|
1213
|
+
this.m8_1 = 2;
|
|
1214
|
+
this.l8_1 = 1;
|
|
1215
|
+
suspendResult = parseHeaders(this.t5h_1, this.u5h_1, VOID, this);
|
|
1216
1216
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1217
1217
|
return suspendResult;
|
|
1218
1218
|
}
|
|
@@ -1229,74 +1229,74 @@ protoOf($parsePartHeadersImplCOROUTINE$).a9 = function () {
|
|
|
1229
1229
|
|
|
1230
1230
|
return tmp_0;
|
|
1231
1231
|
case 2:
|
|
1232
|
-
this.
|
|
1233
|
-
var tmp_1 = this.
|
|
1232
|
+
this.m8_1 = 3;
|
|
1233
|
+
var tmp_1 = this.o8_1;
|
|
1234
1234
|
if (tmp_1 instanceof Error) {
|
|
1235
|
-
var t = this.
|
|
1236
|
-
this.
|
|
1235
|
+
var t = this.o8_1;
|
|
1236
|
+
this.u5h_1.d1l();
|
|
1237
1237
|
throw t;
|
|
1238
1238
|
} else {
|
|
1239
|
-
throw this.
|
|
1239
|
+
throw this.o8_1;
|
|
1240
1240
|
}
|
|
1241
1241
|
|
|
1242
1242
|
case 3:
|
|
1243
|
-
throw this.
|
|
1243
|
+
throw this.o8_1;
|
|
1244
1244
|
}
|
|
1245
1245
|
} catch ($p) {
|
|
1246
1246
|
var e = $p;
|
|
1247
|
-
if (this.
|
|
1247
|
+
if (this.m8_1 === 3) {
|
|
1248
1248
|
throw e;
|
|
1249
1249
|
} else {
|
|
1250
|
-
this.
|
|
1251
|
-
this.
|
|
1250
|
+
this.l8_1 = this.m8_1;
|
|
1251
|
+
this.o8_1 = e;
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
1254
|
while (true);
|
|
1255
1255
|
};
|
|
1256
1256
|
function $parsePartBodyImplCOROUTINE$(boundaryPrefixed, input, output, headers, limit, resultContinuation) {
|
|
1257
1257
|
CoroutineImpl.call(this, resultContinuation);
|
|
1258
|
-
this.
|
|
1259
|
-
this.
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1262
|
-
this.
|
|
1263
|
-
}
|
|
1264
|
-
protoOf($parsePartBodyImplCOROUTINE$).
|
|
1265
|
-
var suspendResult = this.
|
|
1258
|
+
this.d5i_1 = boundaryPrefixed;
|
|
1259
|
+
this.e5i_1 = input;
|
|
1260
|
+
this.f5i_1 = output;
|
|
1261
|
+
this.g5i_1 = headers;
|
|
1262
|
+
this.h5i_1 = limit;
|
|
1263
|
+
}
|
|
1264
|
+
protoOf($parsePartBodyImplCOROUTINE$).t8 = function () {
|
|
1265
|
+
var suspendResult = this.n8_1;
|
|
1266
1266
|
$sm: do
|
|
1267
1267
|
try {
|
|
1268
|
-
var tmp = this.
|
|
1268
|
+
var tmp = this.l8_1;
|
|
1269
1269
|
switch (tmp) {
|
|
1270
1270
|
case 0:
|
|
1271
|
-
this.
|
|
1272
|
-
var tmp0_safe_receiver = this.
|
|
1271
|
+
this.m8_1 = 6;
|
|
1272
|
+
var tmp0_safe_receiver = this.g5i_1.x3h('Content-Length');
|
|
1273
1273
|
var contentLength = tmp0_safe_receiver == null ? null : parseDecLong(tmp0_safe_receiver);
|
|
1274
1274
|
if (contentLength == null) {
|
|
1275
|
-
this.
|
|
1276
|
-
suspendResult = readUntil(this.
|
|
1275
|
+
this.l8_1 = 3;
|
|
1276
|
+
suspendResult = readUntil(this.e5i_1, this.d5i_1, this.f5i_1, this.h5i_1, true, this);
|
|
1277
1277
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1278
1278
|
return suspendResult;
|
|
1279
1279
|
}
|
|
1280
1280
|
continue $sm;
|
|
1281
1281
|
} else {
|
|
1282
|
-
if (longRangeToLong(new Long(0, 0), this.
|
|
1283
|
-
this.
|
|
1284
|
-
suspendResult = copyTo(this.
|
|
1282
|
+
if (longRangeToLong(new Long(0, 0), this.h5i_1).ui(contentLength)) {
|
|
1283
|
+
this.l8_1 = 1;
|
|
1284
|
+
suspendResult = copyTo(this.e5i_1, this.f5i_1, contentLength, this);
|
|
1285
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1286
1286
|
return suspendResult;
|
|
1287
1287
|
}
|
|
1288
1288
|
continue $sm;
|
|
1289
1289
|
} else {
|
|
1290
1290
|
var tmp_0 = this;
|
|
1291
|
-
throwLimitExceeded(contentLength, this.
|
|
1291
|
+
throwLimitExceeded(contentLength, this.h5i_1);
|
|
1292
1292
|
}
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
1295
|
break;
|
|
1296
1296
|
case 1:
|
|
1297
|
-
this.
|
|
1298
|
-
this.
|
|
1299
|
-
suspendResult = skipIfFoundReadCount(this.
|
|
1297
|
+
this.k5i_1 = suspendResult;
|
|
1298
|
+
this.l8_1 = 2;
|
|
1299
|
+
suspendResult = skipIfFoundReadCount(this.e5i_1, this.d5i_1, this);
|
|
1300
1300
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1301
1301
|
return suspendResult;
|
|
1302
1302
|
}
|
|
@@ -1304,53 +1304,53 @@ protoOf($parsePartBodyImplCOROUTINE$).a9 = function () {
|
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 2:
|
|
1306
1306
|
var ARGUMENT = suspendResult;
|
|
1307
|
-
this.
|
|
1308
|
-
this.
|
|
1307
|
+
this.j5i_1 = add(this.k5i_1, ARGUMENT);
|
|
1308
|
+
this.l8_1 = 4;
|
|
1309
1309
|
continue $sm;
|
|
1310
1310
|
case 3:
|
|
1311
|
-
this.
|
|
1312
|
-
this.
|
|
1311
|
+
this.j5i_1 = suspendResult;
|
|
1312
|
+
this.l8_1 = 4;
|
|
1313
1313
|
continue $sm;
|
|
1314
1314
|
case 4:
|
|
1315
|
-
this.
|
|
1316
|
-
this.
|
|
1317
|
-
suspendResult = this.
|
|
1315
|
+
this.i5i_1 = this.j5i_1;
|
|
1316
|
+
this.l8_1 = 5;
|
|
1317
|
+
suspendResult = this.f5i_1.j4e(this);
|
|
1318
1318
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1319
1319
|
return suspendResult;
|
|
1320
1320
|
}
|
|
1321
1321
|
|
|
1322
1322
|
continue $sm;
|
|
1323
1323
|
case 5:
|
|
1324
|
-
return this.
|
|
1324
|
+
return this.i5i_1;
|
|
1325
1325
|
case 6:
|
|
1326
|
-
throw this.
|
|
1326
|
+
throw this.o8_1;
|
|
1327
1327
|
}
|
|
1328
1328
|
} catch ($p) {
|
|
1329
1329
|
var e = $p;
|
|
1330
|
-
if (this.
|
|
1330
|
+
if (this.m8_1 === 6) {
|
|
1331
1331
|
throw e;
|
|
1332
1332
|
} else {
|
|
1333
|
-
this.
|
|
1334
|
-
this.
|
|
1333
|
+
this.l8_1 = this.m8_1;
|
|
1334
|
+
this.o8_1 = e;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
while (true);
|
|
1338
1338
|
};
|
|
1339
1339
|
function $skipIfFoundReadCountCOROUTINE$(_this__u8e3s4, prefix, resultContinuation) {
|
|
1340
1340
|
CoroutineImpl.call(this, resultContinuation);
|
|
1341
|
-
this.
|
|
1342
|
-
this.
|
|
1341
|
+
this.t5i_1 = _this__u8e3s4;
|
|
1342
|
+
this.u5i_1 = prefix;
|
|
1343
1343
|
}
|
|
1344
|
-
protoOf($skipIfFoundReadCountCOROUTINE$).
|
|
1345
|
-
var suspendResult = this.
|
|
1344
|
+
protoOf($skipIfFoundReadCountCOROUTINE$).t8 = function () {
|
|
1345
|
+
var suspendResult = this.n8_1;
|
|
1346
1346
|
$sm: do
|
|
1347
1347
|
try {
|
|
1348
|
-
var tmp = this.
|
|
1348
|
+
var tmp = this.l8_1;
|
|
1349
1349
|
switch (tmp) {
|
|
1350
1350
|
case 0:
|
|
1351
|
-
this.
|
|
1352
|
-
this.
|
|
1353
|
-
suspendResult = skipIfFound(this.
|
|
1351
|
+
this.m8_1 = 3;
|
|
1352
|
+
this.l8_1 = 1;
|
|
1353
|
+
suspendResult = skipIfFound(this.t5i_1, this.u5i_1, this);
|
|
1354
1354
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1355
1355
|
return suspendResult;
|
|
1356
1356
|
}
|
|
@@ -1359,28 +1359,28 @@ protoOf($skipIfFoundReadCountCOROUTINE$).a9 = function () {
|
|
|
1359
1359
|
case 1:
|
|
1360
1360
|
if (suspendResult) {
|
|
1361
1361
|
var tmp_0 = this;
|
|
1362
|
-
tmp_0.
|
|
1363
|
-
this.
|
|
1362
|
+
tmp_0.v5i_1 = fromInt(this.u5i_1.v());
|
|
1363
|
+
this.l8_1 = 2;
|
|
1364
1364
|
continue $sm;
|
|
1365
1365
|
} else {
|
|
1366
1366
|
var tmp_1 = this;
|
|
1367
|
-
tmp_1.
|
|
1368
|
-
this.
|
|
1367
|
+
tmp_1.v5i_1 = new Long(0, 0);
|
|
1368
|
+
this.l8_1 = 2;
|
|
1369
1369
|
continue $sm;
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
case 2:
|
|
1373
|
-
return this.
|
|
1373
|
+
return this.v5i_1;
|
|
1374
1374
|
case 3:
|
|
1375
|
-
throw this.
|
|
1375
|
+
throw this.o8_1;
|
|
1376
1376
|
}
|
|
1377
1377
|
} catch ($p) {
|
|
1378
1378
|
var e = $p;
|
|
1379
|
-
if (this.
|
|
1379
|
+
if (this.m8_1 === 3) {
|
|
1380
1380
|
throw e;
|
|
1381
1381
|
} else {
|
|
1382
|
-
this.
|
|
1383
|
-
this.
|
|
1382
|
+
this.l8_1 = this.m8_1;
|
|
1383
|
+
this.o8_1 = e;
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
1386
|
while (true);
|
|
@@ -1402,11 +1402,11 @@ function build($this, resultList, from, maxLength, idx, length, charAt) {
|
|
|
1402
1402
|
var element = _iterator__ex2g4s.u();
|
|
1403
1403
|
var key = charAt(element, idx);
|
|
1404
1404
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
1405
|
-
var value = destination.
|
|
1405
|
+
var value = destination.e2(key);
|
|
1406
1406
|
var tmp;
|
|
1407
1407
|
if (value == null) {
|
|
1408
1408
|
var answer = ArrayList_init_$Create$();
|
|
1409
|
-
destination.
|
|
1409
|
+
destination.m2(key, answer);
|
|
1410
1410
|
tmp = answer;
|
|
1411
1411
|
} else {
|
|
1412
1412
|
tmp = value;
|
|
@@ -1420,7 +1420,7 @@ function build($this, resultList, from, maxLength, idx, length, charAt) {
|
|
|
1420
1420
|
while (_iterator__ex2g4s_0.t()) {
|
|
1421
1421
|
var element_0 = _iterator__ex2g4s_0.u();
|
|
1422
1422
|
// Inline function 'kotlin.collections.component1' call
|
|
1423
|
-
var ch = element_0.d1().
|
|
1423
|
+
var ch = element_0.d1().o1_1;
|
|
1424
1424
|
// Inline function 'kotlin.collections.component2' call
|
|
1425
1425
|
var list_0 = element_0.e1();
|
|
1426
1426
|
var nextIdx = idx + 1 | 0;
|
|
@@ -1437,7 +1437,7 @@ function build($this, resultList, from, maxLength, idx, length, charAt) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
}
|
|
1439
1439
|
build(tmp_0, children, destination_0, maxLength, nextIdx, length, charAt);
|
|
1440
|
-
children.
|
|
1440
|
+
children.a5();
|
|
1441
1441
|
// Inline function 'kotlin.collections.filter' call
|
|
1442
1442
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1443
1443
|
var destination_1 = ArrayList_init_$Create$();
|
|
@@ -1458,16 +1458,16 @@ function AsciiCharTree$Companion$build$lambda_0(s, idx) {
|
|
|
1458
1458
|
return new Char(charSequenceGet(s, idx));
|
|
1459
1459
|
}
|
|
1460
1460
|
function Node(ch, exact, children) {
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1461
|
+
this.e5k_1 = ch;
|
|
1462
|
+
this.f5k_1 = exact;
|
|
1463
|
+
this.g5k_1 = children;
|
|
1464
1464
|
var tmp = this;
|
|
1465
1465
|
var tmp_0 = 0;
|
|
1466
1466
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
1467
1467
|
var tmp_1 = Array(256);
|
|
1468
1468
|
while (tmp_0 < 256) {
|
|
1469
1469
|
var tmp_2 = tmp_0;
|
|
1470
|
-
var tmp0 = this.
|
|
1470
|
+
var tmp0 = this.g5k_1;
|
|
1471
1471
|
var tmp$ret$3;
|
|
1472
1472
|
$l$block_0: {
|
|
1473
1473
|
// Inline function 'kotlin.collections.singleOrNull' call
|
|
@@ -1477,7 +1477,7 @@ function Node(ch, exact, children) {
|
|
|
1477
1477
|
while (_iterator__ex2g4s.t()) {
|
|
1478
1478
|
var element = _iterator__ex2g4s.u();
|
|
1479
1479
|
// Inline function 'kotlin.code' call
|
|
1480
|
-
var this_0 = element.
|
|
1480
|
+
var this_0 = element.e5k_1;
|
|
1481
1481
|
if (Char__toInt_impl_vasixd(this_0) === tmp_2) {
|
|
1482
1482
|
if (found) {
|
|
1483
1483
|
tmp$ret$3 = null;
|
|
@@ -1496,15 +1496,15 @@ function Node(ch, exact, children) {
|
|
|
1496
1496
|
tmp_1[tmp_2] = tmp$ret$3;
|
|
1497
1497
|
tmp_0 = tmp_0 + 1 | 0;
|
|
1498
1498
|
}
|
|
1499
|
-
tmp.
|
|
1499
|
+
tmp.h5k_1 = tmp_1;
|
|
1500
1500
|
}
|
|
1501
1501
|
function Companion() {
|
|
1502
1502
|
}
|
|
1503
|
-
protoOf(Companion).
|
|
1503
|
+
protoOf(Companion).g5h = function (from) {
|
|
1504
1504
|
var tmp = AsciiCharTree$Companion$build$lambda;
|
|
1505
|
-
return this.
|
|
1505
|
+
return this.i5k(from, tmp, AsciiCharTree$Companion$build$lambda_0);
|
|
1506
1506
|
};
|
|
1507
|
-
protoOf(Companion).
|
|
1507
|
+
protoOf(Companion).i5k = function (from, length, charAt) {
|
|
1508
1508
|
var tmp$ret$0;
|
|
1509
1509
|
$l$block_0: {
|
|
1510
1510
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -1573,7 +1573,7 @@ protoOf(Companion).r5d = function (from, length, charAt) {
|
|
|
1573
1573
|
throw IllegalArgumentException_init_$Create$('There should be no empty entries');
|
|
1574
1574
|
var root = ArrayList_init_$Create$();
|
|
1575
1575
|
build(this, root, from, maxLen, 0, length, charAt);
|
|
1576
|
-
root.
|
|
1576
|
+
root.a5();
|
|
1577
1577
|
return new AsciiCharTree(new Node(_Char___init__impl__6a9atx(0), emptyList(), root));
|
|
1578
1578
|
};
|
|
1579
1579
|
var Companion_instance;
|
|
@@ -1581,10 +1581,10 @@ function Companion_getInstance_1() {
|
|
|
1581
1581
|
return Companion_instance;
|
|
1582
1582
|
}
|
|
1583
1583
|
function AsciiCharTree(root) {
|
|
1584
|
-
this.
|
|
1584
|
+
this.j5k_1 = root;
|
|
1585
1585
|
}
|
|
1586
1586
|
function getImpl($this, index) {
|
|
1587
|
-
return bufferForIndex($this, index)[index % ensureNotNull($this.
|
|
1587
|
+
return bufferForIndex($this, index)[index % ensureNotNull($this.m5f_1).length | 0];
|
|
1588
1588
|
}
|
|
1589
1589
|
function copy($this, startIndex, endIndex) {
|
|
1590
1590
|
if (startIndex === endIndex)
|
|
@@ -1605,7 +1605,7 @@ function copy($this, startIndex, endIndex) {
|
|
|
1605
1605
|
do {
|
|
1606
1606
|
var innerIndex = inductionVariable;
|
|
1607
1607
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1608
|
-
builder.
|
|
1608
|
+
builder.t7(buffer[innerIndex]);
|
|
1609
1609
|
}
|
|
1610
1610
|
while (inductionVariable < innerEndIndex);
|
|
1611
1611
|
base = base + 2048 | 0;
|
|
@@ -1613,27 +1613,27 @@ function copy($this, startIndex, endIndex) {
|
|
|
1613
1613
|
return builder;
|
|
1614
1614
|
}
|
|
1615
1615
|
function SubSequenceImpl($outer, start, end) {
|
|
1616
|
-
this.
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1619
|
-
this.
|
|
1616
|
+
this.n5k_1 = $outer;
|
|
1617
|
+
this.k5k_1 = start;
|
|
1618
|
+
this.l5k_1 = end;
|
|
1619
|
+
this.m5k_1 = null;
|
|
1620
1620
|
}
|
|
1621
1621
|
protoOf(SubSequenceImpl).a = function () {
|
|
1622
|
-
return this.
|
|
1622
|
+
return this.l5k_1 - this.k5k_1 | 0;
|
|
1623
1623
|
};
|
|
1624
1624
|
protoOf(SubSequenceImpl).b = function (index) {
|
|
1625
|
-
var withOffset = index + this.
|
|
1625
|
+
var withOffset = index + this.k5k_1 | 0;
|
|
1626
1626
|
// Inline function 'kotlin.require' call
|
|
1627
1627
|
if (!(index >= 0)) {
|
|
1628
1628
|
var message = 'index is negative: ' + index;
|
|
1629
1629
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1630
1630
|
}
|
|
1631
1631
|
// Inline function 'kotlin.require' call
|
|
1632
|
-
if (!(withOffset < this.
|
|
1632
|
+
if (!(withOffset < this.l5k_1)) {
|
|
1633
1633
|
var message_0 = 'index (' + index + ') should be less than length (' + this.a() + ')';
|
|
1634
1634
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1635
1635
|
}
|
|
1636
|
-
return getImpl(this.
|
|
1636
|
+
return getImpl(this.n5k_1, withOffset);
|
|
1637
1637
|
};
|
|
1638
1638
|
protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
1639
1639
|
// Inline function 'kotlin.require' call
|
|
@@ -1647,21 +1647,21 @@ protoOf(SubSequenceImpl).c = function (startIndex, endIndex) {
|
|
|
1647
1647
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1648
1648
|
}
|
|
1649
1649
|
// Inline function 'kotlin.require' call
|
|
1650
|
-
if (!(endIndex <= (this.
|
|
1650
|
+
if (!(endIndex <= (this.l5k_1 - this.k5k_1 | 0))) {
|
|
1651
1651
|
var message_1 = 'end should be less than length (' + this.a() + ')';
|
|
1652
1652
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1653
1653
|
}
|
|
1654
1654
|
if (startIndex === endIndex)
|
|
1655
1655
|
return '';
|
|
1656
|
-
return new SubSequenceImpl(this.
|
|
1656
|
+
return new SubSequenceImpl(this.n5k_1, this.k5k_1 + startIndex | 0, this.k5k_1 + endIndex | 0);
|
|
1657
1657
|
};
|
|
1658
1658
|
protoOf(SubSequenceImpl).toString = function () {
|
|
1659
|
-
var tmp0_elvis_lhs = this.
|
|
1659
|
+
var tmp0_elvis_lhs = this.m5k_1;
|
|
1660
1660
|
var tmp;
|
|
1661
1661
|
if (tmp0_elvis_lhs == null) {
|
|
1662
1662
|
// Inline function 'kotlin.also' call
|
|
1663
|
-
var this_0 = toString(copy(this.
|
|
1664
|
-
this.
|
|
1663
|
+
var this_0 = toString(copy(this.n5k_1, this.k5k_1, this.l5k_1));
|
|
1664
|
+
this.m5k_1 = this_0;
|
|
1665
1665
|
tmp = this_0;
|
|
1666
1666
|
} else {
|
|
1667
1667
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1673,20 +1673,20 @@ protoOf(SubSequenceImpl).equals = function (other) {
|
|
|
1673
1673
|
return false;
|
|
1674
1674
|
if (!(charSequenceLength(other) === this.a()))
|
|
1675
1675
|
return false;
|
|
1676
|
-
return rangeEqualsImpl(this.
|
|
1676
|
+
return rangeEqualsImpl(this.n5k_1, this.k5k_1, other, 0, this.a());
|
|
1677
1677
|
};
|
|
1678
1678
|
protoOf(SubSequenceImpl).hashCode = function () {
|
|
1679
|
-
var tmp0_safe_receiver = this.
|
|
1679
|
+
var tmp0_safe_receiver = this.m5k_1;
|
|
1680
1680
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1681
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this.
|
|
1681
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this.n5k_1, this.k5k_1, this.l5k_1) : tmp1_elvis_lhs;
|
|
1682
1682
|
};
|
|
1683
1683
|
function bufferForIndex($this, index) {
|
|
1684
|
-
var list = $this.
|
|
1684
|
+
var list = $this.l5f_1;
|
|
1685
1685
|
if (list == null) {
|
|
1686
1686
|
if (index >= 2048) {
|
|
1687
1687
|
throwSingleBuffer($this, index);
|
|
1688
1688
|
}
|
|
1689
|
-
var tmp0_elvis_lhs = $this.
|
|
1689
|
+
var tmp0_elvis_lhs = $this.m5f_1;
|
|
1690
1690
|
var tmp;
|
|
1691
1691
|
if (tmp0_elvis_lhs == null) {
|
|
1692
1692
|
throwSingleBuffer($this, index);
|
|
@@ -1695,29 +1695,29 @@ function bufferForIndex($this, index) {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
return tmp;
|
|
1697
1697
|
}
|
|
1698
|
-
return list.x(index / ensureNotNull($this.
|
|
1698
|
+
return list.x(index / ensureNotNull($this.m5f_1).length | 0);
|
|
1699
1699
|
}
|
|
1700
1700
|
function throwSingleBuffer($this, index) {
|
|
1701
|
-
if ($this.
|
|
1701
|
+
if ($this.o5f_1)
|
|
1702
1702
|
throw IllegalStateException_init_$Create$('Buffer is already released');
|
|
1703
1703
|
throw IndexOutOfBoundsException_init_$Create$('' + index + ' is not in range [0; ' + currentPosition($this) + ')');
|
|
1704
1704
|
}
|
|
1705
1705
|
function nonFullBuffer($this) {
|
|
1706
|
-
return $this.
|
|
1706
|
+
return $this.p5f_1 === 0 ? appendNewArray($this) : ensureNotNull($this.m5f_1);
|
|
1707
1707
|
}
|
|
1708
1708
|
function appendNewArray($this) {
|
|
1709
|
-
var newBuffer = $this.
|
|
1710
|
-
var existing = $this.
|
|
1711
|
-
$this.
|
|
1712
|
-
$this.
|
|
1713
|
-
$this.
|
|
1709
|
+
var newBuffer = $this.k5f_1.u4n();
|
|
1710
|
+
var existing = $this.m5f_1;
|
|
1711
|
+
$this.m5f_1 = newBuffer;
|
|
1712
|
+
$this.p5f_1 = newBuffer.length;
|
|
1713
|
+
$this.o5f_1 = false;
|
|
1714
1714
|
if (!(existing == null)) {
|
|
1715
|
-
var tmp0_elvis_lhs = $this.
|
|
1715
|
+
var tmp0_elvis_lhs = $this.l5f_1;
|
|
1716
1716
|
var tmp;
|
|
1717
1717
|
if (tmp0_elvis_lhs == null) {
|
|
1718
1718
|
// Inline function 'kotlin.also' call
|
|
1719
1719
|
var this_0 = ArrayList_init_$Create$();
|
|
1720
|
-
$this.
|
|
1720
|
+
$this.l5f_1 = this_0;
|
|
1721
1721
|
this_0.p(existing);
|
|
1722
1722
|
tmp = this_0;
|
|
1723
1723
|
} else {
|
|
@@ -1756,20 +1756,20 @@ function hashCodeImpl($this, start, end) {
|
|
|
1756
1756
|
return hc;
|
|
1757
1757
|
}
|
|
1758
1758
|
function currentPosition($this) {
|
|
1759
|
-
return ensureNotNull($this.
|
|
1759
|
+
return ensureNotNull($this.m5f_1).length - $this.p5f_1 | 0;
|
|
1760
1760
|
}
|
|
1761
1761
|
function CharArrayBuilder(pool) {
|
|
1762
1762
|
pool = pool === VOID ? get_CharArrayPool() : pool;
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1769
|
-
this.
|
|
1763
|
+
this.k5f_1 = pool;
|
|
1764
|
+
this.l5f_1 = null;
|
|
1765
|
+
this.m5f_1 = null;
|
|
1766
|
+
this.n5f_1 = null;
|
|
1767
|
+
this.o5f_1 = false;
|
|
1768
|
+
this.p5f_1 = 0;
|
|
1769
|
+
this.q5f_1 = 0;
|
|
1770
1770
|
}
|
|
1771
1771
|
protoOf(CharArrayBuilder).a = function () {
|
|
1772
|
-
return this.
|
|
1772
|
+
return this.q5f_1;
|
|
1773
1773
|
};
|
|
1774
1774
|
protoOf(CharArrayBuilder).b = function (index) {
|
|
1775
1775
|
// Inline function 'kotlin.require' call
|
|
@@ -1778,8 +1778,8 @@ protoOf(CharArrayBuilder).b = function (index) {
|
|
|
1778
1778
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
1779
1779
|
}
|
|
1780
1780
|
// Inline function 'kotlin.require' call
|
|
1781
|
-
if (!(index < this.
|
|
1782
|
-
var message_0 = 'index ' + index + ' is not in range [0, ' + this.
|
|
1781
|
+
if (!(index < this.q5f_1)) {
|
|
1782
|
+
var message_0 = 'index ' + index + ' is not in range [0, ' + this.q5f_1 + ')';
|
|
1783
1783
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1784
1784
|
}
|
|
1785
1785
|
return getImpl(this, index);
|
|
@@ -1796,19 +1796,19 @@ protoOf(CharArrayBuilder).c = function (startIndex, endIndex) {
|
|
|
1796
1796
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
1797
1797
|
}
|
|
1798
1798
|
// Inline function 'kotlin.require' call
|
|
1799
|
-
if (!(endIndex <= this.
|
|
1800
|
-
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.
|
|
1799
|
+
if (!(endIndex <= this.q5f_1)) {
|
|
1800
|
+
var message_1 = 'endIndex (' + endIndex + ') is greater than length (' + this.q5f_1 + ')';
|
|
1801
1801
|
throw IllegalArgumentException_init_$Create$(toString(message_1));
|
|
1802
1802
|
}
|
|
1803
1803
|
return new SubSequenceImpl(this, startIndex, endIndex);
|
|
1804
1804
|
};
|
|
1805
1805
|
protoOf(CharArrayBuilder).toString = function () {
|
|
1806
|
-
var tmp0_elvis_lhs = this.
|
|
1806
|
+
var tmp0_elvis_lhs = this.n5f_1;
|
|
1807
1807
|
var tmp;
|
|
1808
1808
|
if (tmp0_elvis_lhs == null) {
|
|
1809
1809
|
// Inline function 'kotlin.also' call
|
|
1810
|
-
var this_0 = toString(copy(this, 0, this.
|
|
1811
|
-
this.
|
|
1810
|
+
var this_0 = toString(copy(this, 0, this.q5f_1));
|
|
1811
|
+
this.n5f_1 = this_0;
|
|
1812
1812
|
tmp = this_0;
|
|
1813
1813
|
} else {
|
|
1814
1814
|
tmp = tmp0_elvis_lhs;
|
|
@@ -1818,32 +1818,32 @@ protoOf(CharArrayBuilder).toString = function () {
|
|
|
1818
1818
|
protoOf(CharArrayBuilder).equals = function (other) {
|
|
1819
1819
|
if (!(!(other == null) ? isCharSequence(other) : false))
|
|
1820
1820
|
return false;
|
|
1821
|
-
if (!(this.
|
|
1821
|
+
if (!(this.q5f_1 === charSequenceLength(other)))
|
|
1822
1822
|
return false;
|
|
1823
|
-
return rangeEqualsImpl(this, 0, other, 0, this.
|
|
1823
|
+
return rangeEqualsImpl(this, 0, other, 0, this.q5f_1);
|
|
1824
1824
|
};
|
|
1825
1825
|
protoOf(CharArrayBuilder).hashCode = function () {
|
|
1826
|
-
var tmp0_safe_receiver = this.
|
|
1826
|
+
var tmp0_safe_receiver = this.n5f_1;
|
|
1827
1827
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : getStringHashCode(tmp0_safe_receiver);
|
|
1828
|
-
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.
|
|
1828
|
+
return tmp1_elvis_lhs == null ? hashCodeImpl(this, 0, this.q5f_1) : tmp1_elvis_lhs;
|
|
1829
1829
|
};
|
|
1830
|
-
protoOf(CharArrayBuilder).
|
|
1831
|
-
nonFullBuffer(this)[ensureNotNull(this.
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
this.
|
|
1830
|
+
protoOf(CharArrayBuilder).t7 = function (value) {
|
|
1831
|
+
nonFullBuffer(this)[ensureNotNull(this.m5f_1).length - this.p5f_1 | 0] = value;
|
|
1832
|
+
this.n5f_1 = null;
|
|
1833
|
+
this.p5f_1 = this.p5f_1 - 1 | 0;
|
|
1834
|
+
this.q5f_1 = this.q5f_1 + 1 | 0;
|
|
1835
1835
|
return this;
|
|
1836
1836
|
};
|
|
1837
|
-
protoOf(CharArrayBuilder).
|
|
1837
|
+
protoOf(CharArrayBuilder).hc = function (value, startIndex, endIndex) {
|
|
1838
1838
|
if (value == null)
|
|
1839
1839
|
return this;
|
|
1840
1840
|
var current = startIndex;
|
|
1841
1841
|
while (current < endIndex) {
|
|
1842
1842
|
var buffer = nonFullBuffer(this);
|
|
1843
|
-
var offset = buffer.length - this.
|
|
1843
|
+
var offset = buffer.length - this.p5f_1 | 0;
|
|
1844
1844
|
var tmp0 = endIndex - current | 0;
|
|
1845
1845
|
// Inline function 'kotlin.math.min' call
|
|
1846
|
-
var b = this.
|
|
1846
|
+
var b = this.p5f_1;
|
|
1847
1847
|
var bytesToCopy = Math.min(tmp0, b);
|
|
1848
1848
|
var inductionVariable = 0;
|
|
1849
1849
|
if (inductionVariable < bytesToCopy)
|
|
@@ -1854,45 +1854,45 @@ protoOf(CharArrayBuilder).oc = function (value, startIndex, endIndex) {
|
|
|
1854
1854
|
}
|
|
1855
1855
|
while (inductionVariable < bytesToCopy);
|
|
1856
1856
|
current = current + bytesToCopy | 0;
|
|
1857
|
-
this.
|
|
1857
|
+
this.p5f_1 = this.p5f_1 - bytesToCopy | 0;
|
|
1858
1858
|
}
|
|
1859
|
-
this.
|
|
1860
|
-
this.
|
|
1859
|
+
this.n5f_1 = null;
|
|
1860
|
+
this.q5f_1 = this.q5f_1 + (endIndex - startIndex | 0) | 0;
|
|
1861
1861
|
return this;
|
|
1862
1862
|
};
|
|
1863
1863
|
protoOf(CharArrayBuilder).q = function (value) {
|
|
1864
1864
|
if (value == null)
|
|
1865
1865
|
return this;
|
|
1866
|
-
return this.
|
|
1866
|
+
return this.hc(value, 0, charSequenceLength(value));
|
|
1867
1867
|
};
|
|
1868
|
-
protoOf(CharArrayBuilder).
|
|
1869
|
-
var list = this.
|
|
1868
|
+
protoOf(CharArrayBuilder).d1l = function () {
|
|
1869
|
+
var list = this.l5f_1;
|
|
1870
1870
|
if (!(list == null)) {
|
|
1871
|
-
this.
|
|
1871
|
+
this.m5f_1 = null;
|
|
1872
1872
|
var inductionVariable = 0;
|
|
1873
1873
|
var last = list.v();
|
|
1874
1874
|
if (inductionVariable < last)
|
|
1875
1875
|
do {
|
|
1876
1876
|
var i = inductionVariable;
|
|
1877
1877
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1878
|
-
this.
|
|
1878
|
+
this.k5f_1.v4n(list.x(i));
|
|
1879
1879
|
}
|
|
1880
1880
|
while (inductionVariable < last);
|
|
1881
1881
|
} else {
|
|
1882
|
-
var tmp0_safe_receiver = this.
|
|
1882
|
+
var tmp0_safe_receiver = this.m5f_1;
|
|
1883
1883
|
if (tmp0_safe_receiver == null)
|
|
1884
1884
|
null;
|
|
1885
1885
|
else {
|
|
1886
1886
|
// Inline function 'kotlin.let' call
|
|
1887
|
-
this.
|
|
1887
|
+
this.k5f_1.v4n(tmp0_safe_receiver);
|
|
1888
1888
|
}
|
|
1889
|
-
this.
|
|
1889
|
+
this.m5f_1 = null;
|
|
1890
1890
|
}
|
|
1891
|
-
this.
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1894
|
-
this.
|
|
1895
|
-
this.
|
|
1891
|
+
this.o5f_1 = true;
|
|
1892
|
+
this.l5f_1 = null;
|
|
1893
|
+
this.n5f_1 = null;
|
|
1894
|
+
this.q5f_1 = 0;
|
|
1895
|
+
this.p5f_1 = 0;
|
|
1896
1896
|
};
|
|
1897
1897
|
function get_CharArrayPool() {
|
|
1898
1898
|
_init_properties_CharArrayPool_kt__u4nq0d();
|
|
@@ -1902,13 +1902,13 @@ var CharArrayPool;
|
|
|
1902
1902
|
function CharArrayPool$1() {
|
|
1903
1903
|
NoPoolImpl.call(this);
|
|
1904
1904
|
}
|
|
1905
|
-
protoOf(CharArrayPool$1).
|
|
1905
|
+
protoOf(CharArrayPool$1).u4n = function () {
|
|
1906
1906
|
return charArray(2048);
|
|
1907
1907
|
};
|
|
1908
1908
|
function CharArrayPool$2() {
|
|
1909
1909
|
DefaultPool.call(this, 4096);
|
|
1910
1910
|
}
|
|
1911
|
-
protoOf(CharArrayPool$2).
|
|
1911
|
+
protoOf(CharArrayPool$2).n4n = function () {
|
|
1912
1912
|
return charArray(2048);
|
|
1913
1913
|
};
|
|
1914
1914
|
var properties_initialized_CharArrayPool_kt_aq0u0f;
|
|
@@ -2099,20 +2099,20 @@ function numberFormatException_0(cs, idx) {
|
|
|
2099
2099
|
}
|
|
2100
2100
|
function DefaultHttpMethods$lambda(it) {
|
|
2101
2101
|
_init_properties_Chars_kt__d3i39x();
|
|
2102
|
-
return it.
|
|
2102
|
+
return it.f51_1.length;
|
|
2103
2103
|
}
|
|
2104
2104
|
function DefaultHttpMethods$lambda_0(m, idx) {
|
|
2105
2105
|
_init_properties_Chars_kt__d3i39x();
|
|
2106
|
-
return new Char(charCodeAt(m.
|
|
2106
|
+
return new Char(charCodeAt(m.f51_1, idx));
|
|
2107
2107
|
}
|
|
2108
2108
|
var properties_initialized_Chars_kt_phjfhp;
|
|
2109
2109
|
function _init_properties_Chars_kt__d3i39x() {
|
|
2110
2110
|
if (!properties_initialized_Chars_kt_phjfhp) {
|
|
2111
2111
|
properties_initialized_Chars_kt_phjfhp = true;
|
|
2112
2112
|
var tmp = Companion_instance;
|
|
2113
|
-
var tmp_0 = Companion_getInstance().
|
|
2113
|
+
var tmp_0 = Companion_getInstance().e51_1;
|
|
2114
2114
|
var tmp_1 = DefaultHttpMethods$lambda;
|
|
2115
|
-
DefaultHttpMethods = tmp.
|
|
2115
|
+
DefaultHttpMethods = tmp.i5k(tmp_0, tmp_1, DefaultHttpMethods$lambda_0);
|
|
2116
2116
|
// Inline function 'kotlin.collections.map' call
|
|
2117
2117
|
var this_0 = numberRangeToNumber(0, 255);
|
|
2118
2118
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -2213,11 +2213,11 @@ function UnsupportedMediaTypeExceptionCIO(message) {
|
|
|
2213
2213
|
captureStack(this, UnsupportedMediaTypeExceptionCIO);
|
|
2214
2214
|
}
|
|
2215
2215
|
function MutableRange(start, end) {
|
|
2216
|
-
this.
|
|
2217
|
-
this.
|
|
2216
|
+
this.e5h_1 = start;
|
|
2217
|
+
this.f5h_1 = end;
|
|
2218
2218
|
}
|
|
2219
2219
|
protoOf(MutableRange).toString = function () {
|
|
2220
|
-
return 'MutableRange(start=' + this.
|
|
2220
|
+
return 'MutableRange(start=' + this.e5h_1 + ', end=' + this.f5h_1 + ')';
|
|
2221
2221
|
};
|
|
2222
2222
|
function skipSpacesAndHorizontalTabs(text, start, end) {
|
|
2223
2223
|
var index = start;
|