diff --git a/build.gradle b/build.gradle index 3e23a22..ddb350e 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ plugins { id "org.jetbrains.kotlin.jvm" version "1.4.10" id 'maven' id 'signing' + id("org.jetbrains.dokka") version "1.9.20" } group 'com.natpryce' @@ -70,6 +71,10 @@ signing { sign configurations.archives } +tasks.dokkaHtml { + outputDirectory.set(layout.projectDirectory.dir("docs/dokka")) +} + task ossrhAuthentication { doFirst { if (!(project.hasProperty('ossrh.username') && project.hasProperty('ossrh.password'))) { diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html b/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html new file mode 100644 index 0000000..f8ba6ca --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html @@ -0,0 +1,80 @@ + + + + + assertThat + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

assertThat

+
+
fun <T> assertThat(actual: T, criteria: Matcher<T>, message: () -> String = ::noMessage)
fun <T> assertThat(actual: T, criteria: (T) -> Boolean, message: () -> String = ::noMessage)

Asserts that criteria matches actual. On failure, the diagnostic is prefixed with the result of calling message.

Throws

AssertionError

if there is a mismatch


fun <T, U> assertThat(actual: T, criteria: (T, U) -> Boolean, other: U, message: () -> String = ::noMessage)

Asserts that criteria(actual, other) returns true. On failure, the diagnostic is prefixed with the result of calling message.

Throws

AssertionError

if there is a mismatch


fun <T> assertThat(message: String, actual: T, criteria: Matcher<T>)

Asserts that criteria matches actual. On failure, the diagnostic is prefixed with message.

Throws

AssertionError

if there is a mismatch


fun <T> assertThat(message: String, actual: T, criteria: (T) -> Boolean)

Asserts that criteria returns true for actual. On failure, the diagnostic is prefixed with message.

Throws

AssertionError

if there is a mismatch


fun <T, U> assertThat(message: String, actual: T, criteria: (T, U) -> Boolean, other: U)

Asserts that criteria(actual, other) returns true. On failure, the diagnostic is prefixed with message.

Throws

AssertionError

if there is a mismatch

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/index.html new file mode 100644 index 0000000..cca9e94 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest.assertion/index.html @@ -0,0 +1,103 @@ + + + + + com.natpryce.hamkrest.assertion + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> assertThat(actual: T, criteria: Matcher<T>, message: () -> String = ::noMessage)
fun <T> assertThat(actual: T, criteria: (T) -> Boolean, message: () -> String = ::noMessage)

Asserts that criteria matches actual. On failure, the diagnostic is prefixed with the result of calling message.

fun <T> assertThat(message: String, actual: T, criteria: Matcher<T>)

Asserts that criteria matches actual. On failure, the diagnostic is prefixed with message.

fun <T> assertThat(message: String, actual: T, criteria: (T) -> Boolean)

Asserts that criteria returns true for actual. On failure, the diagnostic is prefixed with message.

fun <T, U> assertThat(actual: T, criteria: (T, U) -> Boolean, other: U, message: () -> String = ::noMessage)

Asserts that criteria(actual, other) returns true. On failure, the diagnostic is prefixed with the result of calling message.

fun <T, U> assertThat(message: String, actual: T, criteria: (T, U) -> Boolean, other: U)

Asserts that criteria(actual, other) returns true. On failure, the diagnostic is prefixed with message.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-insensitive/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-insensitive/index.html new file mode 100644 index 0000000..efe4c26 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-insensitive/index.html @@ -0,0 +1,84 @@ + + + + + CaseInsensitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CaseInsensitive

+

Indicates that the match is case insensitive.

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-sensitive/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-sensitive/index.html new file mode 100644 index 0000000..8b0ff88 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-sensitive/index.html @@ -0,0 +1,84 @@ + + + + + CaseSensitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CaseSensitive

+

Indicates that the match is case sensitive.

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/index.html new file mode 100644 index 0000000..a0b17c0 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-case-sensitivity/index.html @@ -0,0 +1,119 @@ + + + + + CaseSensitivity + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

CaseSensitivity

+
sealed class CaseSensitivity

The case sensitivity of a StringMatcher.

A case sensitive StringMatcher can be converted into a case insensitive equivalent by calling StringMatcher.caseSensitive, and a case insensitive StringMatcher can be converted into a case sensitive equivalent by calling StringMatcher.caseInsensitive.

By convention, StringMatchers are case sensitive by default.

The StringMatcher type is parameterised by case sensitivity, so it is possible to enforce at compile time whether a match should be case sensitive or not.

Inheritors

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Indicates that the match is case insensitive.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Indicates that the match is case sensitive.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/index.html new file mode 100644 index 0000000..caecf50 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/index.html @@ -0,0 +1,104 @@ + + + + + Match + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Match

+

Represents that the actual value matched.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/to-string.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/to-string.html new file mode 100644 index 0000000..aa443a2 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-match/to-string.html @@ -0,0 +1,80 @@ + + + + + toString + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toString

+
+
open override fun toString(): String
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/-mismatch.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/-mismatch.html new file mode 100644 index 0000000..545d9a2 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/-mismatch.html @@ -0,0 +1,80 @@ + + + + + Mismatch + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mismatch

+
+
constructor(description: String)

Parameters

description

human readable text that explains why the value did not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/description.html new file mode 100644 index 0000000..ae539df --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
open override val description: String

Parameters

description

human readable text that explains why the value did not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/index.html new file mode 100644 index 0000000..10fbae4 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/index.html @@ -0,0 +1,142 @@ + + + + + Mismatch + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Mismatch

+
class Mismatch(val description: String) : MatchResult, SelfDescribing

Represents that the actual value did not match, and includes a human-readable description of the reason.

Parameters

description

human readable text that explains why the value did not match.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(description: String)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val description: String
+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String
+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/to-string.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/to-string.html new file mode 100644 index 0000000..0037d31 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/to-string.html @@ -0,0 +1,80 @@ + + + + + toString + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

toString

+
+
open override fun toString(): String
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/index.html new file mode 100644 index 0000000..de320ae --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-match-result/index.html @@ -0,0 +1,119 @@ + + + + + MatchResult + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

MatchResult

+
sealed class MatchResult

The result of matching some actual value against criteria defined by a Matcher.

Inheritors

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Represents that the actual value matched.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class Mismatch(val description: String) : MatchResult, SelfDescribing

Represents that the actual value did not match, and includes a human-readable description of the reason.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/index.html new file mode 100644 index 0000000..0b1d063 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/index.html @@ -0,0 +1,104 @@ + + + + + Companion + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T> invoke(fn: (T) -> Boolean): Matcher<T>

Converts a unary predicate into a Matcher. The description is derived from the name of the predicate.

operator fun <T, U> invoke(fn: (T, U) -> Boolean): (U) -> Matcher<T>

Converts a binary predicate into a factory function that receives the second argument of the predicate and returns a Matcher that receives the first argument. The description of the matcher is derived from the name of the predicate.

operator fun <T> invoke(property: KProperty1<T, Boolean>): Matcher<T>

Converts a property into a Matcher. The description is derived from the name of the property.

operator fun <T> invoke(name: String, feature: (T) -> Boolean): Matcher<T>

Converts a unary predicate into a Matcher. The description of the matcher uses name to describe the feature.

operator fun <T, U> invoke(fn: (T, U) -> Boolean, cmp: U): Matcher<T>

Converts a binary predicate and second argument into a Matcher that receives the first argument. The description is derived from the name of the predicate.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html new file mode 100644 index 0000000..5835b9d --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun <T> invoke(fn: (T) -> Boolean): Matcher<T>

Converts a unary predicate into a Matcher. The description is derived from the name of the predicate.

Parameters

fn

the predicate to convert into a Matcher.


operator fun <T, U> invoke(fn: (T, U) -> Boolean, cmp: U): Matcher<T>

Converts a binary predicate and second argument into a Matcher that receives the first argument. The description is derived from the name of the predicate.

Parameters

fn

The predicate to convert into a Matcher

cmp

The second argument to be passed to fn


operator fun <T, U> invoke(fn: (T, U) -> Boolean): (U) -> Matcher<T>

Converts a binary predicate into a factory function that receives the second argument of the predicate and returns a Matcher that receives the first argument. The description of the matcher is derived from the name of the predicate.

Parameters

fn

The predicate to convert into a Matcher


operator fun <T> invoke(property: KProperty1<T, Boolean>): Matcher<T>

Converts a property into a Matcher. The description is derived from the name of the property.

Parameters

property

the property to convert into a Matcher.


operator fun <T> invoke(name: String, feature: (T) -> Boolean): Matcher<T>

Converts a unary predicate into a Matcher. The description of the matcher uses name to describe the feature.

Parameters

name

the name to be used to describe feature

feature

the predicate to convert into a Matcher.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/-conjunction.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/-conjunction.html new file mode 100644 index 0000000..28d3e92 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/-conjunction.html @@ -0,0 +1,80 @@ + + + + + Conjunction + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Conjunction

+
+
constructor(left: Matcher<T>, right: Matcher<T>)
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/description.html new file mode 100644 index 0000000..d0c7142 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
open override val description: String

The description of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/index.html new file mode 100644 index 0000000..6d4e144 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/index.html @@ -0,0 +1,232 @@ + + + + + Conjunction + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Conjunction

+
class Conjunction<in T>(left: Matcher<T>, right: Matcher<T>) : Matcher<T>

The logican conjunction ("and") of two matchers. Evaluation is short-cut, so that if the left matcher fails to match, the right matcher is never invoked.

Use the infix and function or allOf to combine matchers with a Disjunction.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(left: Matcher<T>, right: Matcher<T>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/invoke.html new file mode 100644 index 0000000..1735995 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/-disjunction.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/-disjunction.html new file mode 100644 index 0000000..d8bbccb --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/-disjunction.html @@ -0,0 +1,80 @@ + + + + + Disjunction + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Disjunction

+
+
constructor(left: Matcher<T>, right: Matcher<T>)
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/description.html new file mode 100644 index 0000000..8bc1fe4 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
open override val description: String

The description of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/index.html new file mode 100644 index 0000000..9577171 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/index.html @@ -0,0 +1,232 @@ + + + + + Disjunction + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Disjunction

+
class Disjunction<in T>(left: Matcher<T>, right: Matcher<T>) : Matcher<T>

The logican disjunction ("or") of two matchers. Evaluation is short-cut, so that if the left matcher matches, the right matcher is never invoked.

Use the infix or function or anyOf to combine matchers with a Disjunction.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(left: Matcher<T>, right: Matcher<T>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/invoke.html new file mode 100644 index 0000000..c49517a --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/-negation.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/-negation.html new file mode 100644 index 0000000..6e84c4b --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/-negation.html @@ -0,0 +1,80 @@ + + + + + Negation + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Negation

+
+
constructor(negated: Matcher<T>)
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/description.html new file mode 100644 index 0000000..613d3dc --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
open override val description: String

The description of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/index.html new file mode 100644 index 0000000..50f857e --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/index.html @@ -0,0 +1,232 @@ + + + + + Negation + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Negation

+
class Negation<in T>(negated: Matcher<T>) : Matcher<T>

The negation of a matcher.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(negated: Matcher<T>)
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/invoke.html new file mode 100644 index 0000000..a994d11 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
open operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/negated-description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/negated-description.html new file mode 100644 index 0000000..e94f3b1 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/negated-description.html @@ -0,0 +1,80 @@ + + + + + negatedDescription + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

negatedDescription

+
+
open override val negatedDescription: String

Describes the negation of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/not.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/not.html new file mode 100644 index 0000000..1d5b50c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-negation/not.html @@ -0,0 +1,80 @@ + + + + + not + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

not

+
+
open operator override fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/-primitive.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/-primitive.html new file mode 100644 index 0000000..7d00c24 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/-primitive.html @@ -0,0 +1,80 @@ + + + + + Primitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Primitive

+
+
constructor()
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/index.html new file mode 100644 index 0000000..5f2ff4c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/index.html @@ -0,0 +1,232 @@ + + + + + Primitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Primitive

+
abstract class Primitive<in T> : Matcher<T>

Base class of matchers for which the match criteria is coded, not composed. Subclass this to write your own matchers.

Inheritors

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor()
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/as-predicate.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/as-predicate.html new file mode 100644 index 0000000..ad271b0 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/as-predicate.html @@ -0,0 +1,80 @@ + + + + + asPredicate + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

asPredicate

+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/description.html new file mode 100644 index 0000000..a7caaa4 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
abstract override val description: String

The description of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/index.html new file mode 100644 index 0000000..472299c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/index.html @@ -0,0 +1,292 @@ + + + + + Matcher + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Matcher

+
interface Matcher<in T> : Function1<T, MatchResult> , SelfDescribing

Acceptability criteria for a value of type T. A Matcher reports if a value of type T matches the criteria and describes the criteria in human-readable language.

A Matcher is either a "primitive" matcher, that implements the criteria in code, or a logical combination (not, and, or or) of other matchers.

To implement your own primitive matcher, create a subclass of Matcher.Primitive.

Inheritors

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class Conjunction<in T>(left: Matcher<T>, right: Matcher<T>) : Matcher<T>

The logican conjunction ("and") of two matchers. Evaluation is short-cut, so that if the left matcher fails to match, the right matcher is never invoked.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class Disjunction<in T>(left: Matcher<T>, right: Matcher<T>) : Matcher<T>

The logican disjunction ("or") of two matchers. Evaluation is short-cut, so that if the left matcher matches, the right matcher is never invoked.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
class Negation<in T>(negated: Matcher<T>) : Matcher<T>

The negation of a matcher.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class Primitive<in T> : Matcher<T>

Base class of matchers for which the match criteria is coded, not composed. Subclass this to write your own matchers.

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (T) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/invoke.html new file mode 100644 index 0000000..1bfdac3 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
abstract operator override fun invoke(actual: T): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/negated-description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/negated-description.html new file mode 100644 index 0000000..ed4095b --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/negated-description.html @@ -0,0 +1,80 @@ + + + + + negatedDescription + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

negatedDescription

+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/not.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/not.html new file mode 100644 index 0000000..6d5b64f --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-matcher/not.html @@ -0,0 +1,80 @@ + + + + + not + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

not

+
+
open operator fun not(): Matcher<T>

Returns a matcher that matches the negation of this criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/description.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/description.html new file mode 100644 index 0000000..defe938 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/description.html @@ -0,0 +1,80 @@ + + + + + description + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

description

+
+
abstract val description: String

The description of this object

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/index.html new file mode 100644 index 0000000..29760b8 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-self-describing/index.html @@ -0,0 +1,104 @@ + + + + + SelfDescribing + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

SelfDescribing

+
interface SelfDescribing

An object that can describe itself.

Inheritors

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract val description: String

The description of this object

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/index.html new file mode 100644 index 0000000..6fe7e82 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/index.html @@ -0,0 +1,104 @@ + + + + + Companion + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Companion

+
object Companion
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
operator fun <T> invoke(fn: (CharSequence, T, Boolean) -> Boolean, expected: T): StringMatcher<CaseSensitivity.CaseSensitive>

Convert a String predicate to a case sensitive StringMatcher.

operator fun <T, S : CaseSensitivity> invoke(fn: (CharSequence, T, Boolean) -> Boolean, expected: T, sensitivity: S): StringMatcher<S>

Convert a String predicate to a StringMatcher, specifying the desired case sensitivity.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/invoke.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/invoke.html new file mode 100644 index 0000000..ec14db5 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/invoke.html @@ -0,0 +1,80 @@ + + + + + invoke + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

invoke

+
+
operator fun <T, S : CaseSensitivity> invoke(fn: (CharSequence, T, Boolean) -> Boolean, expected: T, sensitivity: S): StringMatcher<S>

Convert a String predicate to a StringMatcher, specifying the desired case sensitivity.

The predicate must have the signature (CharSequence, T, Boolean) -> Boolean, where the final Boolean argument indicates case sensitivity.


operator fun <T> invoke(fn: (CharSequence, T, Boolean) -> Boolean, expected: T): StringMatcher<CaseSensitivity.CaseSensitive>

Convert a String predicate to a case sensitive StringMatcher.

The predicate must have the signature <T> (CharSequence, T, Boolean) -> Boolean, where the final Boolean argument indicates case sensitivity.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-string-matcher.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-string-matcher.html new file mode 100644 index 0000000..3093478 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/-string-matcher.html @@ -0,0 +1,80 @@ + + + + + StringMatcher + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StringMatcher

+
+
constructor(caseSensitivity: S)
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/index.html new file mode 100644 index 0000000..73e72c2 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-string-matcher/index.html @@ -0,0 +1,281 @@ + + + + + StringMatcher + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

StringMatcher

+
abstract class StringMatcher<S : CaseSensitivity>(caseSensitivity: S) : Matcher.Primitive<CharSequence>

A Matcher of strings with a specified case sensitivity.

A case insensitive version of a case sensitive matcher can be obtained by calling its caseInsensitive method, and a case sensitive version of a case insensitive matcher can be obtained by calling its caseSensitive method.

If desired, case sensitivity can be enforced at compile time, by requiring a StringMatcher<CaseSensitivity.CaseInsensitive> or StringMatcher<CaseSensitivity.CaseSensitive>. If case sensitivity does not need to be enforced, require a Matcher<String>.

+
+
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
constructor(caseSensitivity: S)
+
+
+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
object Companion
+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract override val description: String

The description of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open val negatedDescription: String

Describes the negation of this criteria.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open fun asPredicate(): (CharSequence) -> Boolean

Returns this matcher as a predicate, that can be used for testing, finding and filtering collections and kotlin.sequences.Sequences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract operator override fun invoke(actual: CharSequence): MatchResult

Reports whether the actual value meets the criteria and, if not, why it does not match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator fun not(): Matcher<CharSequence>

Returns a matcher that matches the negation of this criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/describe.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/describe.html new file mode 100644 index 0000000..32a8558 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/describe.html @@ -0,0 +1,80 @@ + + + + + describe + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describe

+
+
abstract fun describe(v: Any?): String?

Describes the value v or returns null to indicate that this service cannot describe the value, in which case, other registered services are tried. If no services can describe the value, the defaultDescription function is called.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/index.html new file mode 100644 index 0000000..cc7f982 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/-value-description/index.html @@ -0,0 +1,104 @@ + + + + + ValueDescription + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

ValueDescription

+

A service interface for extensions to the describe function.

+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract fun describe(v: Any?): String?

Describes the value v or returns null to indicate that this service cannot describe the value, in which case, other registered services are tried. If no services can describe the value, the defaultDescription function is called.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/absent.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/absent.html new file mode 100644 index 0000000..1f71ef0 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/absent.html @@ -0,0 +1,80 @@ + + + + + absent + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

absent

+
+
fun <T> absent(): Matcher<T?>

Returns a matcher that reports if a value is null.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/all-elements.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/all-elements.html new file mode 100644 index 0000000..7210a15 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/all-elements.html @@ -0,0 +1,80 @@ + + + + + allElements + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allElements

+
+
fun <T> allElements(elementMatcher: Matcher<T>): Matcher.Primitive<Iterable<T>>

Matches an Iterable if all elements are matched by elementMatcher.


fun <T> allElements(elementPredicate: (T) -> Boolean): Matcher.Primitive<Iterable<T>>

Matches an Iterable if all elements are matched by elementPredicate.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/all-of.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/all-of.html new file mode 100644 index 0000000..2bf3ebb --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/all-of.html @@ -0,0 +1,80 @@ + + + + + allOf + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

allOf

+
+
fun <T> allOf(matchers: List<Matcher<T>>): Matcher<T>
fun <T> allOf(vararg matchers: Matcher<T>): Matcher<T>

Returns a matcher that matches if all of the supplied matchers match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/and.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/and.html new file mode 100644 index 0000000..b1f083b --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/and.html @@ -0,0 +1,80 @@ + + + + + and + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

and

+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> (T) -> Boolean.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>
infix fun <T> (T) -> Boolean.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/any-element.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/any-element.html new file mode 100644 index 0000000..5c8a15a --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/any-element.html @@ -0,0 +1,80 @@ + + + + + anyElement + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anyElement

+
+
fun <T> anyElement(elementMatcher: Matcher<T>): Matcher.Primitive<Iterable<T>>

Matches an Iterable if any element is matched by elementMatcher.


fun <T> anyElement(elementPredicate: (T) -> Boolean): Matcher.Primitive<Iterable<T>>

Matches an Iterable if any element is matched by elementPredicate.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/any-of.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/any-of.html new file mode 100644 index 0000000..e6a414b --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/any-of.html @@ -0,0 +1,80 @@ + + + + + anyOf + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anyOf

+
+
fun <T> anyOf(matchers: List<Matcher<T>>): Matcher<T>
fun <T> anyOf(vararg matchers: Matcher<T>): Matcher<T>

Returns a matcher that matches if any of the supplied matchers match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/anything.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/anything.html new file mode 100644 index 0000000..7669721 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/anything.html @@ -0,0 +1,80 @@ + + + + + anything + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

anything

+
+
val anything: Matcher<Any?>

A Matcher that matches anything, always returning MatchResult.Match.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/case-insensitive.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/case-insensitive.html new file mode 100644 index 0000000..8037fac --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/case-insensitive.html @@ -0,0 +1,80 @@ + + + + + caseInsensitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

caseInsensitive

+
+ +
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/case-sensitive.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/case-sensitive.html new file mode 100644 index 0000000..3a3707e --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/case-sensitive.html @@ -0,0 +1,80 @@ + + + + + caseSensitive + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

caseSensitive

+
+ +
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/cast.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/cast.html new file mode 100644 index 0000000..6fa9c6c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/cast.html @@ -0,0 +1,80 @@ + + + + + cast + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

cast

+
+
inline fun <T : Any> cast(downcastMatcher: Matcher<T>): Matcher<Any>

Returns a matcher that reports if a value of Any type is of a type compatible with downcastMatcher and, if so, if the value meets its criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/close-to.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/close-to.html new file mode 100644 index 0000000..73ffb58 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/close-to.html @@ -0,0 +1,80 @@ + + + + + closeTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

closeTo

+
+
fun closeTo(expected: Float, error: Float = 1.0E-5f): Matcher<Float>
fun closeTo(expected: Double, error: Double = 1.0E-5): Matcher<Double>

Returns a matcher that reports if a value is equal to an expected value, withing a range of +/- error.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/contains-substring.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/contains-substring.html new file mode 100644 index 0000000..2cd3717 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/contains-substring.html @@ -0,0 +1,80 @@ + + + + + containsSubstring + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

containsSubstring

+
+

Matches a char sequence if it contains substring.

A case insensitive version can be obtained by calling StringMatcher.caseInsensitive.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/contains.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/contains.html new file mode 100644 index 0000000..7b72744 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/contains.html @@ -0,0 +1,80 @@ + + + + + contains + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

contains

+
+
fun contains(r: Regex): Matcher<String>

Matches a char sequence if it contain the given Regex.

See also

contains
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/describe.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/describe.html new file mode 100644 index 0000000..2f708f8 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/describe.html @@ -0,0 +1,80 @@ + + + + + describe + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describe

+
+
fun describe(v: Any?): String

Formats v to be included in a description. Strings are delimited with quotes and elements of tuples, ranges, iterable collections and maps are (recursively) described. A null reference is described as null. For anything else, the result of Any.toString is used.

Parameters

v

the value to be described.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/described-by.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/described-by.html new file mode 100644 index 0000000..0c95ad8 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/described-by.html @@ -0,0 +1,80 @@ + + + + + describedBy + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

describedBy

+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/ends-with.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/ends-with.html new file mode 100644 index 0000000..1e8bdba --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/ends-with.html @@ -0,0 +1,80 @@ + + + + + endsWith + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

endsWith

+
+

Matches a char sequence if it ends with suffix.

A case insensitive version can be obtained by calling StringMatcher.caseInsensitive.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to-ignoring-case.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to-ignoring-case.html new file mode 100644 index 0000000..22ea33e --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to-ignoring-case.html @@ -0,0 +1,80 @@ + + + + + equalToIgnoringCase + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

equalToIgnoringCase

+
+
fun equalToIgnoringCase(expected: String?): Matcher<String?>

Matches a string if it is the same as the given string, ignoring case differences.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to.html new file mode 100644 index 0000000..b3a907c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/equal-to.html @@ -0,0 +1,80 @@ + + + + + equalTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

equalTo

+
+
fun <T> equalTo(expected: T?): Matcher<T?>

Returns a matcher that reports if a value is equal to an expected value. Handles null comparisons, just as the == operator does.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than-or-equal-to.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than-or-equal-to.html new file mode 100644 index 0000000..492bcdb --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than-or-equal-to.html @@ -0,0 +1,80 @@ + + + + + greaterThanOrEqualTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

greaterThanOrEqualTo

+
+
fun <N : Comparable<N>> greaterThanOrEqualTo(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is greater than or equal to n

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than.html new file mode 100644 index 0000000..7bf4286 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/greater-than.html @@ -0,0 +1,80 @@ + + + + + greaterThan + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

greaterThan

+
+
fun <N : Comparable<N>> greaterThan(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is greater than n

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/has-element.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/has-element.html new file mode 100644 index 0000000..de54603 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/has-element.html @@ -0,0 +1,80 @@ + + + + + hasElement + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hasElement

+
+
fun <T> hasElement(element: T): Matcher<Collection<T>>

Matches a collection that contains element

See Collection::contains

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/has-size.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/has-size.html new file mode 100644 index 0000000..ed5c002 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/has-size.html @@ -0,0 +1,80 @@ + + + + + hasSize + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hasSize

+
+
fun hasSize(sizeMatcher: Matcher<Int>): Matcher<Collection<Any>>

Matches a collection with a size that matches sizeMatcher.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/has.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/has.html new file mode 100644 index 0000000..5520e68 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/has.html @@ -0,0 +1,80 @@ + + + + + has + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

has

+
+
fun <T, R> has(name: String, feature: (T) -> R, featureMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies featureMatcher to the result of applying feature to a value. The description of the matcher uses name to describe the feature.

Parameters

name

the name to be used to describe feature

feature

a function that extracts a feature of a value to be matched by featureMatcher

featureMatcher

a matcher applied to the result of the feature


fun <T, R> has(property: KProperty1<T, R>, propertyMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies propertyMatcher to the current value of property of an object.


fun <T, R> has(feature: (T) -> R, featureMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies featureMatcher to the result of applying feature to a value.

Parameters

feature

a function that extracts a feature of a value to be matched by featureMatcher

featureMatcher

a matcher applied to the result of the feature

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/identifier-to-words.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/identifier-to-words.html new file mode 100644 index 0000000..e1fda5c --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/identifier-to-words.html @@ -0,0 +1,80 @@ + + + + + identifierToWords + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

identifierToWords

+
+
fun identifierToWords(s: String): List<String>
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/index.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/index.html new file mode 100644 index 0000000..161e9ba --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/index.html @@ -0,0 +1,801 @@ + + + + + com.natpryce.hamkrest + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

Package-level declarations

+
+
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed class CaseSensitivity

The case sensitivity of a StringMatcher.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface Matcher<in T> : Function1<T, MatchResult> , SelfDescribing

Acceptability criteria for a value of type T. A Matcher reports if a value of type T matches the criteria and describes the criteria in human-readable language.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
sealed class MatchResult

The result of matching some actual value against criteria defined by a Matcher.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
interface SelfDescribing

An object that can describe itself.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
abstract class StringMatcher<S : CaseSensitivity>(caseSensitivity: S) : Matcher.Primitive<CharSequence>

A Matcher of strings with a specified case sensitivity.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

A service interface for extensions to the describe function.

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
val anything: Matcher<Any?>

A Matcher that matches anything, always returning MatchResult.Match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isBlank: Matcher<CharSequence>

Matches a char sequence if it is empty or consists solely of whitespace characters.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isEmpty: Matcher<Collection<Any>>

Matches an empty collection.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isEmptyString: Matcher<CharSequence>

Matches a char sequence if it is empty (contains no characters).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isNullOrBlank: Matcher<CharSequence?>

Matches a nullable char sequence if it is either null or empty or consists solely of whitespace characters.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isNullOrEmptyString: Matcher<CharSequence?>

Matches a char sequence if it is either null or empty (contains no characters).

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val nothing: Matcher<Any?>

A Matcher that matches nothing, always returning a MatchResult.Mismatch.

+
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> absent(): Matcher<T?>

Returns a matcher that reports if a value is null.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> allElements(elementMatcher: Matcher<T>): Matcher.Primitive<Iterable<T>>

Matches an Iterable if all elements are matched by elementMatcher.

fun <T> allElements(elementPredicate: (T) -> Boolean): Matcher.Primitive<Iterable<T>>

Matches an Iterable if all elements are matched by elementPredicate.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> allOf(vararg matchers: Matcher<T>): Matcher<T>
fun <T> allOf(matchers: List<Matcher<T>>): Matcher<T>

Returns a matcher that matches if all of the supplied matchers match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.and(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.and(that: (T) -> Boolean): Matcher<T>
infix fun <T> (T) -> Boolean.and(that: Matcher<T>): Matcher<T>
infix fun <T> (T) -> Boolean.and(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Conjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> anyElement(elementMatcher: Matcher<T>): Matcher.Primitive<Iterable<T>>

Matches an Iterable if any element is matched by elementMatcher.

fun <T> anyElement(elementPredicate: (T) -> Boolean): Matcher.Primitive<Iterable<T>>

Matches an Iterable if any element is matched by elementPredicate.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> anyOf(vararg matchers: Matcher<T>): Matcher<T>
fun <T> anyOf(matchers: List<Matcher<T>>): Matcher<T>

Returns a matcher that matches if any of the supplied matchers match.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+ +
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T : Any> cast(downcastMatcher: Matcher<T>): Matcher<Any>

Returns a matcher that reports if a value of Any type is of a type compatible with downcastMatcher and, if so, if the value meets its criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun closeTo(expected: Double, error: Double = 1.0E-5): Matcher<Double>
fun closeTo(expected: Float, error: Float = 1.0E-5f): Matcher<Float>

Returns a matcher that reports if a value is equal to an expected value, withing a range of +/- error.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun contains(r: Regex): Matcher<String>

Matches a char sequence if it contain the given Regex.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Matches a char sequence if it contains substring.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun describe(v: Any?): String

Formats v to be included in a description. Strings are delimited with quotes and elements of tuples, ranges, iterable collections and maps are (recursively) described. A null reference is described as null. For anything else, the result of Any.toString is used.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> Matcher<T>.describedBy(fn: () -> String): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Matches a char sequence if it ends with suffix.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> equalTo(expected: T?): Matcher<T?>

Returns a matcher that reports if a value is equal to an expected value. Handles null comparisons, just as the == operator does.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun equalToIgnoringCase(expected: String?): Matcher<String?>

Matches a string if it is the same as the given string, ignoring case differences.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <N : Comparable<N>> greaterThan(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is greater than n

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <N : Comparable<N>> greaterThanOrEqualTo(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is greater than or equal to n

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T, R> has(feature: (T) -> R, featureMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies featureMatcher to the result of applying feature to a value.

fun <T, R> has(property: KProperty1<T, R>, propertyMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies propertyMatcher to the current value of property of an object.

fun <T, R> has(name: String, feature: (T) -> R, featureMatcher: Matcher<R>): Matcher<T>

Returns a matcher that applies featureMatcher to the result of applying feature to a value. The description of the matcher uses name to describe the feature.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> hasElement(element: T): Matcher<Collection<T>>

Matches a collection that contains element

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun hasSize(sizeMatcher: Matcher<Int>): Matcher<Collection<Any>>

Matches a collection with a size that matches sizeMatcher.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun identifierToWords(s: String): List<String>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T : Any> isA(downcastMatcher: Matcher<T>? = null): Matcher<Any>

Returns a matcher that reports if a value of Any type is of a type compatible with downcastMatcher and, if so, if the value meets its criteria.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> isIn(vararg elements: T): Matcher<T>
fun <T> isIn(i: Iterable<T>): Matcher<T>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T : Comparable<T>> isWithin(range: ClosedRange<T>): Matcher<T>

Returns a matcher that reports if a kotlin.Comparable value falls within the given range.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <N : Comparable<N>> lessThan(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is less than n

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <N : Comparable<N>> lessThanOrEqualTo(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is less than or equal to n

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun matches(r: Regex): Matcher<CharSequence>

Matches a char sequence if it all characters matches the given Regex.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>
infix fun <T> (T) -> Boolean.or(that: Matcher<T>): Matcher<T>
infix fun <T> (T) -> Boolean.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> present(valueMatcher: Matcher<T>? = null): Matcher<T?>

Returns a matcher that reports if a value is not null and meets the criteria of the valueMatcher

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun <T> sameInstance(expected: T): Matcher<T>

Returns a matcher that reports if a value is the same instance as expected value.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Matches a char sequence if it starts with prefix.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline fun <T : Throwable> throws(exceptionCriteria: Matcher<T>? = null): Matcher<() -> Unit>

Returns a matcher that reports if a block throws an exception of type T and, if exceptionCriteria is given, the exception matches the exceptionCriteria.

+
+
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-a.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-a.html new file mode 100644 index 0000000..79c35a7 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-a.html @@ -0,0 +1,80 @@ + + + + + isA + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isA

+
+
inline fun <T : Any> isA(downcastMatcher: Matcher<T>? = null): Matcher<Any>

Returns a matcher that reports if a value of Any type is of a type compatible with downcastMatcher and, if so, if the value meets its criteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-blank.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-blank.html new file mode 100644 index 0000000..0e3c0b1 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-blank.html @@ -0,0 +1,80 @@ + + + + + isBlank + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isBlank

+
+
val isBlank: Matcher<CharSequence>

Matches a char sequence if it is empty or consists solely of whitespace characters.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty-string.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty-string.html new file mode 100644 index 0000000..2817aa0 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty-string.html @@ -0,0 +1,80 @@ + + + + + isEmptyString + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isEmptyString

+
+
val isEmptyString: Matcher<CharSequence>

Matches a char sequence if it is empty (contains no characters).

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty.html new file mode 100644 index 0000000..00aa23b --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-empty.html @@ -0,0 +1,80 @@ + + + + + isEmpty + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isEmpty

+
+
val isEmpty: Matcher<Collection<Any>>

Matches an empty collection.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-in.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-in.html new file mode 100644 index 0000000..908c9aa --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-in.html @@ -0,0 +1,80 @@ + + + + + isIn + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isIn

+
+
fun <T> isIn(i: Iterable<T>): Matcher<T>
fun <T> isIn(vararg elements: T): Matcher<T>
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-blank.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-blank.html new file mode 100644 index 0000000..a3254cc --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-blank.html @@ -0,0 +1,80 @@ + + + + + isNullOrBlank + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isNullOrBlank

+
+
val isNullOrBlank: Matcher<CharSequence?>

Matches a nullable char sequence if it is either null or empty or consists solely of whitespace characters.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-empty-string.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-empty-string.html new file mode 100644 index 0000000..a6d29ee --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-null-or-empty-string.html @@ -0,0 +1,80 @@ + + + + + isNullOrEmptyString + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isNullOrEmptyString

+
+
val isNullOrEmptyString: Matcher<CharSequence?>

Matches a char sequence if it is either null or empty (contains no characters).

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/is-within.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-within.html new file mode 100644 index 0000000..4aed808 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/is-within.html @@ -0,0 +1,80 @@ + + + + + isWithin + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

isWithin

+
+
fun <T : Comparable<T>> isWithin(range: ClosedRange<T>): Matcher<T>

Returns a matcher that reports if a kotlin.Comparable value falls within the given range.

Parameters

range

The range that contains matching values.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than-or-equal-to.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than-or-equal-to.html new file mode 100644 index 0000000..0a6d032 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than-or-equal-to.html @@ -0,0 +1,80 @@ + + + + + lessThanOrEqualTo + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

lessThanOrEqualTo

+
+
fun <N : Comparable<N>> lessThanOrEqualTo(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is less than or equal to n

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than.html new file mode 100644 index 0000000..eec6693 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/less-than.html @@ -0,0 +1,80 @@ + + + + + lessThan + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

lessThan

+
+
fun <N : Comparable<N>> lessThan(n: N): Matcher<N>

Returns a matcher that reports if a Comparable value is less than n

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/matches.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/matches.html new file mode 100644 index 0000000..3fc2ea9 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/matches.html @@ -0,0 +1,80 @@ + + + + + matches + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

matches

+
+
fun matches(r: Regex): Matcher<CharSequence>

Matches a char sequence if it all characters matches the given Regex.

See also

matches
+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/nothing.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/nothing.html new file mode 100644 index 0000000..68ed272 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/nothing.html @@ -0,0 +1,80 @@ + + + + + nothing + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

nothing

+
+
val nothing: Matcher<Any?>

A Matcher that matches nothing, always returning a MatchResult.Mismatch.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/or.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/or.html new file mode 100644 index 0000000..7499418 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/or.html @@ -0,0 +1,80 @@ + + + + + or + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

or

+
+
infix fun <T> Matcher<T>.or(that: Matcher<T>): Matcher<T>
infix fun <T> (T) -> Boolean.or(that: Matcher<T>): Matcher<T>
infix fun <T> Matcher<T>.or(that: (T) -> Boolean): Matcher<T>
infix fun <T> (T) -> Boolean.or(that: (T) -> Boolean): Matcher<T>

Syntactic sugar to create a Matcher.Disjunction

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/present.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/present.html new file mode 100644 index 0000000..7942419 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/present.html @@ -0,0 +1,80 @@ + + + + + present + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

present

+
+
fun <T> present(valueMatcher: Matcher<T>? = null): Matcher<T?>

Returns a matcher that reports if a value is not null and meets the criteria of the valueMatcher

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/same-instance.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/same-instance.html new file mode 100644 index 0000000..07fdc96 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/same-instance.html @@ -0,0 +1,80 @@ + + + + + sameInstance + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

sameInstance

+
+
fun <T> sameInstance(expected: T): Matcher<T>

Returns a matcher that reports if a value is the same instance as expected value.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/starts-with.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/starts-with.html new file mode 100644 index 0000000..a47b172 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/starts-with.html @@ -0,0 +1,80 @@ + + + + + startsWith + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

startsWith

+
+

Matches a char sequence if it starts with prefix.

A case insensitive version can be obtained by calling StringMatcher.caseInsensitive.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/com.natpryce.hamkrest/throws.html b/docs/dokka/hamkrest/com.natpryce.hamkrest/throws.html new file mode 100644 index 0000000..a6eefe8 --- /dev/null +++ b/docs/dokka/hamkrest/com.natpryce.hamkrest/throws.html @@ -0,0 +1,80 @@ + + + + + throws + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

throws

+
+
inline fun <T : Throwable> throws(exceptionCriteria: Matcher<T>? = null): Matcher<() -> Unit>

Returns a matcher that reports if a block throws an exception of type T and, if exceptionCriteria is given, the exception matches the exceptionCriteria.

+
+ +
+
+
+ + diff --git a/docs/dokka/hamkrest/package-list b/docs/dokka/hamkrest/package-list new file mode 100644 index 0000000..ddb4f92 --- /dev/null +++ b/docs/dokka/hamkrest/package-list @@ -0,0 +1,115 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html +$dokka.location:com.natpryce.hamkrest.assertion////PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/index.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#TypeParam(bounds=[kotlin.Any?])#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function0[kotlin.String]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#TypeParam(bounds=[kotlin.Any?])#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#kotlin.Function0[kotlin.String]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#TypeParam(bounds=[kotlin.Any?])#kotlin.reflect.KFunction2[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#TypeParam(bounds=[kotlin.Any?])#kotlin.Function0[kotlin.String]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#kotlin.String#TypeParam(bounds=[kotlin.Any?])#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#kotlin.String#TypeParam(bounds=[kotlin.Any?])#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest.assertion//assertThat/#kotlin.String#TypeParam(bounds=[kotlin.Any?])#kotlin.reflect.KFunction2[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest.assertion/assert-that.html +$dokka.location:com.natpryce.hamkrest////PointingToDeclaration/hamkrest/com.natpryce.hamkrest/index.html +$dokka.location:com.natpryce.hamkrest//absent/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/absent.html +$dokka.location:com.natpryce.hamkrest//allElements/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/all-elements.html +$dokka.location:com.natpryce.hamkrest//allElements/#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/all-elements.html +$dokka.location:com.natpryce.hamkrest//allOf/#kotlin.Array[com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/all-of.html +$dokka.location:com.natpryce.hamkrest//allOf/#kotlin.collections.List[com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/all-of.html +$dokka.location:com.natpryce.hamkrest//and/com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/and.html +$dokka.location:com.natpryce.hamkrest//and/com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/and.html +$dokka.location:com.natpryce.hamkrest//and/kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/and.html +$dokka.location:com.natpryce.hamkrest//and/kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/and.html +$dokka.location:com.natpryce.hamkrest//anyElement/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/any-element.html +$dokka.location:com.natpryce.hamkrest//anyElement/#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/any-element.html +$dokka.location:com.natpryce.hamkrest//anyOf/#kotlin.Array[com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/any-of.html +$dokka.location:com.natpryce.hamkrest//anyOf/#kotlin.collections.List[com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/any-of.html +$dokka.location:com.natpryce.hamkrest//anything/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/anything.html +$dokka.location:com.natpryce.hamkrest//caseInsensitive/com.natpryce.hamkrest.StringMatcher[com.natpryce.hamkrest.CaseSensitivity.CaseSensitive]#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/case-insensitive.html +$dokka.location:com.natpryce.hamkrest//caseSensitive/com.natpryce.hamkrest.StringMatcher[com.natpryce.hamkrest.CaseSensitivity.CaseInsensitive]#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/case-sensitive.html +$dokka.location:com.natpryce.hamkrest//cast/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/cast.html +$dokka.location:com.natpryce.hamkrest//closeTo/#kotlin.Double#kotlin.Double/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/close-to.html +$dokka.location:com.natpryce.hamkrest//closeTo/#kotlin.Float#kotlin.Float/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/close-to.html +$dokka.location:com.natpryce.hamkrest//contains/#kotlin.text.Regex/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/contains.html +$dokka.location:com.natpryce.hamkrest//containsSubstring/#kotlin.CharSequence/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/contains-substring.html +$dokka.location:com.natpryce.hamkrest//describe/#kotlin.Any?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/describe.html +$dokka.location:com.natpryce.hamkrest//describedBy/com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#kotlin.Function0[kotlin.String]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/described-by.html +$dokka.location:com.natpryce.hamkrest//endsWith/#kotlin.CharSequence/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/ends-with.html +$dokka.location:com.natpryce.hamkrest//equalTo/#TypeParam(bounds=[kotlin.Any?])?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/equal-to.html +$dokka.location:com.natpryce.hamkrest//equalToIgnoringCase/#kotlin.String?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/equal-to-ignoring-case.html +$dokka.location:com.natpryce.hamkrest//greaterThan/#TypeParam(bounds=[kotlin.Comparable[^]])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/greater-than.html +$dokka.location:com.natpryce.hamkrest//greaterThanOrEqualTo/#TypeParam(bounds=[kotlin.Comparable[^]])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/greater-than-or-equal-to.html +$dokka.location:com.natpryce.hamkrest//has/#kotlin.String#kotlin.Function1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/has.html +$dokka.location:com.natpryce.hamkrest//has/#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/has.html +$dokka.location:com.natpryce.hamkrest//has/#kotlin.reflect.KProperty1[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/has.html +$dokka.location:com.natpryce.hamkrest//hasElement/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/has-element.html +$dokka.location:com.natpryce.hamkrest//hasSize/#com.natpryce.hamkrest.Matcher[kotlin.Int]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/has-size.html +$dokka.location:com.natpryce.hamkrest//identifierToWords/#kotlin.String/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/identifier-to-words.html +$dokka.location:com.natpryce.hamkrest//isA/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any])]?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-a.html +$dokka.location:com.natpryce.hamkrest//isBlank/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-blank.html +$dokka.location:com.natpryce.hamkrest//isEmpty/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-empty.html +$dokka.location:com.natpryce.hamkrest//isEmptyString/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-empty-string.html +$dokka.location:com.natpryce.hamkrest//isIn/#kotlin.Array[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-in.html +$dokka.location:com.natpryce.hamkrest//isIn/#kotlin.collections.Iterable[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-in.html +$dokka.location:com.natpryce.hamkrest//isNullOrBlank/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-null-or-blank.html +$dokka.location:com.natpryce.hamkrest//isNullOrEmptyString/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-null-or-empty-string.html +$dokka.location:com.natpryce.hamkrest//isWithin/#kotlin.ranges.ClosedRange[TypeParam(bounds=[kotlin.Comparable[^]])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/is-within.html +$dokka.location:com.natpryce.hamkrest//lessThan/#TypeParam(bounds=[kotlin.Comparable[^]])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/less-than.html +$dokka.location:com.natpryce.hamkrest//lessThanOrEqualTo/#TypeParam(bounds=[kotlin.Comparable[^]])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/less-than-or-equal-to.html +$dokka.location:com.natpryce.hamkrest//matches/#kotlin.text.Regex/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/matches.html +$dokka.location:com.natpryce.hamkrest//nothing/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/nothing.html +$dokka.location:com.natpryce.hamkrest//or/com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/or.html +$dokka.location:com.natpryce.hamkrest//or/com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/or.html +$dokka.location:com.natpryce.hamkrest//or/kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/or.html +$dokka.location:com.natpryce.hamkrest//or/kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/or.html +$dokka.location:com.natpryce.hamkrest//present/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/present.html +$dokka.location:com.natpryce.hamkrest//sameInstance/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/same-instance.html +$dokka.location:com.natpryce.hamkrest//startsWith/#kotlin.CharSequence/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/starts-with.html +$dokka.location:com.natpryce.hamkrest//throws/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Throwable])]?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/throws.html +$dokka.location:com.natpryce.hamkrest/CaseSensitivity.CaseInsensitive///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-insensitive/index.html +$dokka.location:com.natpryce.hamkrest/CaseSensitivity.CaseSensitive///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-case-sensitivity/-case-sensitive/index.html +$dokka.location:com.natpryce.hamkrest/CaseSensitivity///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-case-sensitivity/index.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Match///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-match/index.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Match/toString/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-match/to-string.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Mismatch///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/index.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Mismatch/Mismatch/#kotlin.String/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/-mismatch.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Mismatch/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/description.html +$dokka.location:com.natpryce.hamkrest/MatchResult.Mismatch/toString/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/-mismatch/to-string.html +$dokka.location:com.natpryce.hamkrest/MatchResult///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-match-result/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion/invoke/#kotlin.String#kotlin.Function1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion/invoke/#kotlin.reflect.KFunction1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion/invoke/#kotlin.reflect.KFunction2[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion/invoke/#kotlin.reflect.KFunction2[TypeParam(bounds=[kotlin.Any?]),TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Companion/invoke/#kotlin.reflect.KProperty1[TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Conjunction///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Conjunction/Conjunction/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/-conjunction.html +$dokka.location:com.natpryce.hamkrest/Matcher.Conjunction/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/description.html +$dokka.location:com.natpryce.hamkrest/Matcher.Conjunction/invoke/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-conjunction/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Disjunction///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Disjunction/Disjunction/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/-disjunction.html +$dokka.location:com.natpryce.hamkrest/Matcher.Disjunction/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/description.html +$dokka.location:com.natpryce.hamkrest/Matcher.Disjunction/invoke/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-disjunction/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation/Negation/#com.natpryce.hamkrest.Matcher[TypeParam(bounds=[kotlin.Any?])]/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/-negation.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/description.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation/invoke/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation/negatedDescription/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/negated-description.html +$dokka.location:com.natpryce.hamkrest/Matcher.Negation/not/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-negation/not.html +$dokka.location:com.natpryce.hamkrest/Matcher.Primitive///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/index.html +$dokka.location:com.natpryce.hamkrest/Matcher.Primitive/Primitive/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/-primitive/-primitive.html +$dokka.location:com.natpryce.hamkrest/Matcher///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/index.html +$dokka.location:com.natpryce.hamkrest/Matcher/asPredicate/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/as-predicate.html +$dokka.location:com.natpryce.hamkrest/Matcher/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/description.html +$dokka.location:com.natpryce.hamkrest/Matcher/invoke/#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/invoke.html +$dokka.location:com.natpryce.hamkrest/Matcher/negatedDescription/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/negated-description.html +$dokka.location:com.natpryce.hamkrest/Matcher/not/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-matcher/not.html +$dokka.location:com.natpryce.hamkrest/SelfDescribing///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-self-describing/index.html +$dokka.location:com.natpryce.hamkrest/SelfDescribing/description/#/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-self-describing/description.html +$dokka.location:com.natpryce.hamkrest/StringMatcher.Companion///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/index.html +$dokka.location:com.natpryce.hamkrest/StringMatcher.Companion/invoke/#kotlin.reflect.KFunction3[kotlin.CharSequence,TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean,kotlin.Boolean]#TypeParam(bounds=[kotlin.Any?])#TypeParam(bounds=[com.natpryce.hamkrest.CaseSensitivity])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/StringMatcher.Companion/invoke/#kotlin.reflect.KFunction3[kotlin.CharSequence,TypeParam(bounds=[kotlin.Any?]),kotlin.Boolean,kotlin.Boolean]#TypeParam(bounds=[kotlin.Any?])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-string-matcher/-companion/invoke.html +$dokka.location:com.natpryce.hamkrest/StringMatcher///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-string-matcher/index.html +$dokka.location:com.natpryce.hamkrest/StringMatcher/StringMatcher/#TypeParam(bounds=[com.natpryce.hamkrest.CaseSensitivity])/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-string-matcher/-string-matcher.html +$dokka.location:com.natpryce.hamkrest/ValueDescription///PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-value-description/index.html +$dokka.location:com.natpryce.hamkrest/ValueDescription/describe/#kotlin.Any?/PointingToDeclaration/hamkrest/com.natpryce.hamkrest/-value-description/describe.html +com.natpryce.hamkrest +com.natpryce.hamkrest.assertion + diff --git a/docs/dokka/images/anchor-copy-button.svg b/docs/dokka/images/anchor-copy-button.svg new file mode 100644 index 0000000..19c1fa3 --- /dev/null +++ b/docs/dokka/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/docs/dokka/images/arrow_down.svg b/docs/dokka/images/arrow_down.svg new file mode 100644 index 0000000..639aaf1 --- /dev/null +++ b/docs/dokka/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/docs/dokka/images/burger.svg b/docs/dokka/images/burger.svg new file mode 100644 index 0000000..fcca732 --- /dev/null +++ b/docs/dokka/images/burger.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/docs/dokka/images/copy-icon.svg b/docs/dokka/images/copy-icon.svg new file mode 100644 index 0000000..2cb02ec --- /dev/null +++ b/docs/dokka/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/docs/dokka/images/copy-successful-icon.svg b/docs/dokka/images/copy-successful-icon.svg new file mode 100644 index 0000000..c4b9538 --- /dev/null +++ b/docs/dokka/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/docs/dokka/images/footer-go-to-link.svg b/docs/dokka/images/footer-go-to-link.svg new file mode 100644 index 0000000..a87add7 --- /dev/null +++ b/docs/dokka/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/docs/dokka/images/go-to-top-icon.svg b/docs/dokka/images/go-to-top-icon.svg new file mode 100644 index 0000000..abc3d1c --- /dev/null +++ b/docs/dokka/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/docs/dokka/images/homepage.svg b/docs/dokka/images/homepage.svg new file mode 100644 index 0000000..e3c83b1 --- /dev/null +++ b/docs/dokka/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/dokka/images/logo-icon.svg b/docs/dokka/images/logo-icon.svg new file mode 100644 index 0000000..e42f957 --- /dev/null +++ b/docs/dokka/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/abstract-class-kotlin.svg b/docs/dokka/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 0000000..19d6148 --- /dev/null +++ b/docs/dokka/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/abstract-class.svg b/docs/dokka/images/nav-icons/abstract-class.svg new file mode 100644 index 0000000..6018203 --- /dev/null +++ b/docs/dokka/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/annotation-kotlin.svg b/docs/dokka/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 0000000..b90f508 --- /dev/null +++ b/docs/dokka/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/annotation.svg b/docs/dokka/images/nav-icons/annotation.svg new file mode 100644 index 0000000..b80c54b --- /dev/null +++ b/docs/dokka/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/class-kotlin.svg b/docs/dokka/images/nav-icons/class-kotlin.svg new file mode 100644 index 0000000..797a242 --- /dev/null +++ b/docs/dokka/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/class.svg b/docs/dokka/images/nav-icons/class.svg new file mode 100644 index 0000000..3f1ad16 --- /dev/null +++ b/docs/dokka/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/enum-kotlin.svg b/docs/dokka/images/nav-icons/enum-kotlin.svg new file mode 100644 index 0000000..775a7cc --- /dev/null +++ b/docs/dokka/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/enum.svg b/docs/dokka/images/nav-icons/enum.svg new file mode 100644 index 0000000..fa7f247 --- /dev/null +++ b/docs/dokka/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/exception-class.svg b/docs/dokka/images/nav-icons/exception-class.svg new file mode 100644 index 0000000..c0b2bde --- /dev/null +++ b/docs/dokka/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/field-value.svg b/docs/dokka/images/nav-icons/field-value.svg new file mode 100644 index 0000000..2771ee5 --- /dev/null +++ b/docs/dokka/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/docs/dokka/images/nav-icons/field-variable.svg b/docs/dokka/images/nav-icons/field-variable.svg new file mode 100644 index 0000000..e2d2bbd --- /dev/null +++ b/docs/dokka/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/docs/dokka/images/nav-icons/function.svg b/docs/dokka/images/nav-icons/function.svg new file mode 100644 index 0000000..f0da64a --- /dev/null +++ b/docs/dokka/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/interface-kotlin.svg b/docs/dokka/images/nav-icons/interface-kotlin.svg new file mode 100644 index 0000000..5e16326 --- /dev/null +++ b/docs/dokka/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/interface.svg b/docs/dokka/images/nav-icons/interface.svg new file mode 100644 index 0000000..32063ba --- /dev/null +++ b/docs/dokka/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/dokka/images/nav-icons/object.svg b/docs/dokka/images/nav-icons/object.svg new file mode 100644 index 0000000..31f0ee3 --- /dev/null +++ b/docs/dokka/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/nav-icons/typealias-kotlin.svg b/docs/dokka/images/nav-icons/typealias-kotlin.svg new file mode 100644 index 0000000..f4bb238 --- /dev/null +++ b/docs/dokka/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/docs/dokka/images/theme-toggle.svg b/docs/dokka/images/theme-toggle.svg new file mode 100644 index 0000000..df86202 --- /dev/null +++ b/docs/dokka/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/docs/dokka/index.html b/docs/dokka/index.html new file mode 100644 index 0000000..8e3a25a --- /dev/null +++ b/docs/dokka/index.html @@ -0,0 +1,117 @@ + + + + + hamkrest + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

hamkrest

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+ + diff --git a/docs/dokka/navigation.html b/docs/dokka/navigation.html new file mode 100644 index 0000000..332f463 --- /dev/null +++ b/docs/dokka/navigation.html @@ -0,0 +1,184 @@ +
+
hamkrest
+
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ + + +
+ +
+
+ +
+ + + + + +
+ +
+ + + +
+ +
+ +
+ +
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+ + + + + +
+ +
+ +
+ + +
+ +
+
+ +
+
+
+ +
+
+ +
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+ + + + +
+ +
+ +
+
+ + +
+
+ diff --git a/docs/dokka/scripts/clipboard.js b/docs/dokka/scripts/clipboard.js new file mode 100644 index 0000000..7a4f33c --- /dev/null +++ b/docs/dokka/scripts/clipboard.js @@ -0,0 +1,56 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +window.addEventListener('load', () => { + document.querySelectorAll('span.copy-icon').forEach(element => { + element.addEventListener('click', (el) => copyElementsContentToClipboard(element)); + }) + + document.querySelectorAll('span.anchor-icon').forEach(element => { + element.addEventListener('click', (el) => { + if(element.hasAttribute('pointing-to')){ + const location = hrefWithoutCurrentlyUsedAnchor() + '#' + element.getAttribute('pointing-to') + copyTextToClipboard(element, location) + } + }); + }) +}) + +const copyElementsContentToClipboard = (element) => { + const selection = window.getSelection(); + const range = document.createRange(); + range.selectNodeContents(element.parentNode.parentNode); + selection.removeAllRanges(); + selection.addRange(range); + + copyAndShowPopup(element, () => selection.removeAllRanges()) +} + +const copyTextToClipboard = (element, text) => { + var textarea = document.createElement("textarea"); + textarea.textContent = text; + textarea.style.position = "fixed"; + document.body.appendChild(textarea); + textarea.select(); + + copyAndShowPopup(element, () => document.body.removeChild(textarea)) +} + +const copyAndShowPopup = (element, after) => { + try { + document.execCommand('copy'); + element.nextElementSibling.classList.add('active-popup'); + setTimeout(() => { + element.nextElementSibling.classList.remove('active-popup'); + }, 1200); + } catch (e) { + console.error('Failed to write to clipboard:', e) + } + finally { + if(after) after() + } +} + +const hrefWithoutCurrentlyUsedAnchor = () => window.location.href.split('#')[0] + diff --git a/docs/dokka/scripts/main.js b/docs/dokka/scripts/main.js new file mode 100644 index 0000000..ba6c347 --- /dev/null +++ b/docs/dokka/scripts/main.js @@ -0,0 +1,44 @@ +(()=>{var e={8527:e=>{e.exports=''},5570:e=>{e.exports=''},107:e=>{e.exports=''},7224:e=>{e.exports=''},538:e=>{e.exports=''},1924:(e,n,t)=>{"use strict";var r=t(210),o=t(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var n=l(r,a,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+s(0,e.length-(arguments.length-1))})}return n};var f=function(){return l(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,n)=>{var t; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return"