diff --git a/README.md b/README.md index 30339a3..ae47bb8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](http://opensource.org/licenses/BSD-3-Clause) [![Release](https://img.shields.io/github/release/ethauvin/akismet-kotlin.svg)](https://github.com/ethauvin/akismet-kotlin/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/akismet-kotlin.svg?label=maven%20central)](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22akismet-kotlin%22) +[![License (3-Clause BSD)](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square)](https://opensource.org/licenses/BSD-3-Clause) [![Release](https://img.shields.io/github/release/ethauvin/akismet-kotlin.svg)](https://github.com/ethauvin/akismet-kotlin/releases/latest) [![Maven Central](https://img.shields.io/maven-central/v/net.thauvin.erik/akismet-kotlin.svg?label=maven%20central)](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22akismet-kotlin%22) [![Known Vulnerabilities](https://snyk.io/test/github/ethauvin/akismet-kotlin/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/ethauvin/akismet-kotlin?targetFile=pom.xml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ethauvin_akismet-kotlin&metric=alert_status)](https://sonarcloud.io/dashboard?id=ethauvin_akismet-kotlin) [![GitHub CI](https://github.com/ethauvin/akismet-kotlin/actions/workflows/gradle.yml/badge.svg)](https://github.com/ethauvin/akismet-kotlin/actions/workflows/gradle.yml) [![CircleCI](https://circleci.com/gh/ethauvin/akismet-kotlin/tree/master.svg?style=shield)](https://circleci.com/gh/ethauvin/akismet-kotlin/tree/master) @@ -15,11 +15,11 @@ val akismet = Akismet(apiKey = "YOUR_API_KEY", blog = "YOUR_BLOG_URL") val comment = AkismetComment(userIp = "127.0.0.1", userAgent = "curl/7.29.0") with(comment) { - referrer = "http://www.google.com" + referrer = "https://www.google.com" type = AkismetComment.TYPE_COMMENT author = "admin" authorEmail = "test@test.com" - authorUrl = "http://www.CheckOutMyCoolSite.com" + authorUrl = "https://www.CheckOutMyCoolSite.com" dateGmt = Akismet.dateToGmt(Date()) content = "It means a lot that you would take the time to review our software." } @@ -39,11 +39,11 @@ if (isSpam) { final Akismet akismet = new Akismet("YOUR_API_KEY", "YOUR_BLOG_URL"); final AkismetComment comment = new AkismetComment("127.0.0.1", "curl/7.29.0"); -comment.setReferrer("http://www.google.com"); +comment.setReferrer("https://www.google.com"); comment.setType(AkismetComment.TYPE_COMMENT); comment.setAuthor("admin"); comment.setAuthorEmail("test@test.com"); -comment.setAuthorUrl("http://www.CheckOutMyCoolSite.com"); +comment.setAuthorUrl("https://www.CheckOutMyCoolSite.com"); comment.setDateGmt(Akismet.dateToGmt(new Date())); comment.setContent("It means a lot that you would take the time to review our software."); //... diff --git a/build.gradle.kts b/build.gradle.kts index cff78fc..b1a4d6c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,19 +5,19 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.api.tasks.testing.logging.TestLogEvent plugins { - id("com.github.ben-manes.versions") version "0.40.0" - id("io.gitlab.arturbosch.detekt") version "1.19.0" + id("com.github.ben-manes.versions") version "0.42.0" + id("io.gitlab.arturbosch.detekt") version "1.20.0" id("java-library") id("java") id("maven-publish") id("net.thauvin.erik.gradle.semver") version "1.0.4" - id("org.jetbrains.dokka") version "1.6.10" - id("org.jetbrains.kotlinx.kover") version "0.4.4" + id("org.jetbrains.dokka") version "1.6.21" + id("org.jetbrains.kotlinx.kover") version "0.5.0" id("org.sonarqube") version "3.3" id("signing") - kotlin("jvm") version "1.6.10" - kotlin("kapt") version "1.6.10" - kotlin("plugin.serialization") version "1.6.10" + kotlin("jvm") version "1.6.21" + kotlin("kapt") version "1.6.21" + kotlin("plugin.serialization") version "1.6.21" } group = "net.thauvin.erik" @@ -61,8 +61,8 @@ dependencies { implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2") - testImplementation("org.mockito:mockito-core:4.2.0") - testImplementation("org.testng:testng:7.4.0") + testImplementation("org.mockito:mockito-core:4.5.1") + testImplementation("org.testng:testng:7.5") } kapt { diff --git a/config/detekt/baseline.xml b/config/detekt/baseline.xml index ef2ce8d..7568296 100644 --- a/config/detekt/baseline.xml +++ b/config/detekt/baseline.xml @@ -5,8 +5,7 @@ ComplexMethod:Akismet.kt$Akismet$private fun buildFormBody(comment: AkismetComment): FormBody ComplexMethod:AkismetComment.kt$AkismetComment$ @Suppress("DuplicatedCode") override fun equals(other: Any?): Boolean MagicNumber:Akismet.kt$Akismet$12 - MagicNumber:Akismet.kt$Akismet.<no name provided>$8 - NestedBlockDepth:Akismet.kt$Akismet$ @JvmOverloads fun executeMethod(apiUrl: HttpUrl, formBody: FormBody, trueOnError: Boolean = false): Boolean + MagicNumber:Akismet.kt$Akismet$8 NestedBlockDepth:AkismetTest.kt$fun getKey(key: String): String ReturnCount:Akismet.kt$Akismet$ @JvmOverloads fun executeMethod(apiUrl: HttpUrl, formBody: FormBody, trueOnError: Boolean = false): Boolean diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html index 06bc180..84c0df2 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-akismet-comment.html @@ -1,44 +1,83 @@ + - + AkismetComment - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

AkismetComment

-
-
- -
-
fun AkismetComment(request: HttpServletRequest)
+
+
+
+ +
+

AkismetComment

-

Creates a new instance extracting the userIp, userAgent, referrer and serverEnv environment variables from a Servlet request.

See the Akismet API for more details.

See also

-
- -
-
fun AkismetComment(userIp: String, userAgent: String)
-
-

Creates a new instance.

See the Akismet API for more details.

Parameters

userIp

IP address of the comment submitter.

userAgent

User agent string of the web browser submitting the comment.

-
- +
fun AkismetComment(request: HttpServletRequest)

Creates a new instance extracting the userIp, userAgent, referrer and serverEnv environment variables from a Servlet request.

See the Akismet API for more details.

See also


fun AkismetComment(userIp: String, userAgent: String)

Creates a new instance.

See the Akismet API for more details.

Parameters

userIp

IP address of the comment submitter.

userAgent

User agent string of the web browser submitting the comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-a-d-m-i-n_-r-o-l-e.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-a-d-m-i-n_-r-o-l-e.html index 1ce4a2e..b5193d6 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-a-d-m-i-n_-r-o-l-e.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-a-d-m-i-n_-r-o-l-e.html @@ -1,49 +1,72 @@ + - + ADMIN_ROLE - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

ADMIN_ROLE

-
-
- -
-
const val ADMIN_ROLE: String
+
+
+
+ +
+

ADMIN_ROLE

-

Administrator role. If used, Akismet will always return false.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val ADMIN_ROLE: String

Administrator role. If used, Akismet will always return false.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-b-l-o-g_-p-o-s-t.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-b-l-o-g_-p-o-s-t.html index 30ebf38..dde0345 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-b-l-o-g_-p-o-s-t.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-b-l-o-g_-p-o-s-t.html @@ -1,49 +1,72 @@ + - + TYPE_BLOG_POST - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_BLOG_POST

-
-
- -
-
const val TYPE_BLOG_POST: String
+
+
+
+ +
+

TYPE_BLOG_POST

-

A blog post.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_BLOG_POST: String

A blog post.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-m-m-e-n-t.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-m-m-e-n-t.html index 6b8eb58..b992dee 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-m-m-e-n-t.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-m-m-e-n-t.html @@ -1,49 +1,72 @@ + - + TYPE_COMMENT - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_COMMENT

-
-
- -
-
const val TYPE_COMMENT: String
+
+
+
+ +
+

TYPE_COMMENT

-

A blog comment.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_COMMENT: String

A blog comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-n-t-a-c-t_-f-o-r-m.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-n-t-a-c-t_-f-o-r-m.html index 9885ad5..afab0d1 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-n-t-a-c-t_-f-o-r-m.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-c-o-n-t-a-c-t_-f-o-r-m.html @@ -1,49 +1,72 @@ + - + TYPE_CONTACT_FORM - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_CONTACT_FORM

-
-
- -
-
const val TYPE_CONTACT_FORM: String
+
+
+
+ +
+

TYPE_CONTACT_FORM

-

A contact form or feedback form submission.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_CONTACT_FORM: String

A contact form or feedback form submission.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-f-o-r-u-m_-p-o-s-t.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-f-o-r-u-m_-p-o-s-t.html index 7c22343..1eced6a 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-f-o-r-u-m_-p-o-s-t.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-f-o-r-u-m_-p-o-s-t.html @@ -1,49 +1,72 @@ + - + TYPE_FORUM_POST - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_FORUM_POST

-
-
- -
-
const val TYPE_FORUM_POST: String
+
+
+
+ +
+

TYPE_FORUM_POST

-

A top-level forum post.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_FORUM_POST: String

A top-level forum post.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-m-e-s-s-a-g-e.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-m-e-s-s-a-g-e.html index b5a84a3..fa383dc 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-m-e-s-s-a-g-e.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-m-e-s-s-a-g-e.html @@ -1,49 +1,72 @@ + - + TYPE_MESSAGE - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_MESSAGE

-
-
- -
-
const val TYPE_MESSAGE: String
+
+
+
+ +
+

TYPE_MESSAGE

-

A message sent between just a few users.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_MESSAGE: String

A message sent between just a few users.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-p-i-n-g-b-a-c-k.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-p-i-n-g-b-a-c-k.html index bac03c0..9847b56 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-p-i-n-g-b-a-c-k.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-p-i-n-g-b-a-c-k.html @@ -1,49 +1,72 @@ + - + TYPE_PINGBACK - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_PINGBACK

-
-
- -
-
const val TYPE_PINGBACK: String
+
+
+
+ +
+

TYPE_PINGBACK

-

A pingback.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_PINGBACK: String

A pingback.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-r-e-p-l-y.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-r-e-p-l-y.html index 3f39844..7a68e39 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-r-e-p-l-y.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-r-e-p-l-y.html @@ -1,49 +1,72 @@ + - + TYPE_REPLY - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_REPLY

-
-
- -
-
const val TYPE_REPLY: String
+
+
+
+ +
+

TYPE_REPLY

-

A reply to a top-level forum post.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_REPLY: String

A reply to a top-level forum post.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-s-i-g-n-u-p.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-s-i-g-n-u-p.html index 1a5648f..754f585 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-s-i-g-n-u-p.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-s-i-g-n-u-p.html @@ -1,49 +1,72 @@ + - + TYPE_SIGNUP - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_SIGNUP

-
-
- -
-
const val TYPE_SIGNUP: String
+
+
+
+ +
+

TYPE_SIGNUP

-

A new user account.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_SIGNUP: String

A new user account.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-r-a-c-k-b-a-c-k.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-r-a-c-k-b-a-c-k.html index 533aa92..2eb4ff8 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-r-a-c-k-b-a-c-k.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-r-a-c-k-b-a-c-k.html @@ -1,49 +1,72 @@ + - + TYPE_TRACKBACK - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_TRACKBACK

-
-
- -
-
const val TYPE_TRACKBACK: String
+
+
+
+ +
+

TYPE_TRACKBACK

-

A trackback.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_TRACKBACK: String

A trackback.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-w-e-e-t.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-w-e-e-t.html index b5e7d8c..f0bbb77 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-w-e-e-t.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/-t-y-p-e_-t-w-e-e-t.html @@ -1,49 +1,72 @@ + - + TYPE_TWEET - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

TYPE_TWEET

-
-
- -
-
const val TYPE_TWEET: String
+
+
+
+ +
+

TYPE_TWEET

-

A Twitter message.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
const val TYPE_TWEET: String

A Twitter message.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/index.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/index.html index 1c08722..84bad58 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/index.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/-companion/index.html @@ -1,194 +1,244 @@ + - + Companion - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

Companion

-
object Companion
-
-
-
-
-

Properties

-
-
-
-
ADMIN_ROLE -
Link copied to clipboard
-
-
-
-
const val ADMIN_ROLE: String

Administrator role. If used, Akismet will always return false.

-
-
-
-
- -
-
-
TYPE_BLOG_POST -
Link copied to clipboard
-
-
-
-
const val TYPE_BLOG_POST: String

A blog post.

-
-
-
-
- -
-
-
TYPE_COMMENT -
Link copied to clipboard
-
-
-
-
const val TYPE_COMMENT: String

A blog comment.

-
-
-
-
- -
-
-
TYPE_CONTACT_FORM -
Link copied to clipboard
-
-
-
-
const val TYPE_CONTACT_FORM: String

A contact form or feedback form submission.

-
-
-
-
- -
-
-
TYPE_FORUM_POST -
Link copied to clipboard
-
-
-
-
const val TYPE_FORUM_POST: String

A top-level forum post.

-
-
-
-
- -
-
-
TYPE_MESSAGE -
Link copied to clipboard
-
-
-
-
const val TYPE_MESSAGE: String

A message sent between just a few users.

-
-
-
-
- -
-
-
TYPE_PINGBACK -
Link copied to clipboard
-
-
-
-
const val TYPE_PINGBACK: String

A pingback.

-
-
-
-
- -
-
-
TYPE_REPLY -
Link copied to clipboard
-
-
-
-
const val TYPE_REPLY: String

A reply to a top-level forum post.

-
-
-
-
- -
-
-
TYPE_SIGNUP -
Link copied to clipboard
-
-
-
-
const val TYPE_SIGNUP: String

A new user account.

-
-
-
-
- -
-
-
TYPE_TRACKBACK -
Link copied to clipboard
-
-
-
-
const val TYPE_TRACKBACK: String

A trackback.

-
-
-
-
- -
-
-
TYPE_TWEET -
Link copied to clipboard
-
-
-
-
const val TYPE_TWEET: String

A Twitter message.

-
-
-
-
-
-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
+
+
+
+ +
+

Companion

+
object Companion
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val ADMIN_ROLE: String

Administrator role. If used, Akismet will always return false.

- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_BLOG_POST: String

A blog post.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_COMMENT: String

A blog comment.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_CONTACT_FORM: String

A contact form or feedback form submission.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_FORUM_POST: String

A top-level forum post.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_MESSAGE: String

A message sent between just a few users.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_PINGBACK: String

A pingback.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_REPLY: String

A reply to a top-level forum post.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_SIGNUP: String

A new user account.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_TRACKBACK: String

A trackback.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
const val TYPE_TWEET: String

A Twitter message.

+
+
+
+
+
+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-email.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-email.html index ac5d825..ce9215b 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-email.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-email.html @@ -1,49 +1,72 @@ + - + authorEmail - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

authorEmail

-
-
- -
-
var authorEmail: String?
+
+
+
+ +
+

authorEmail

-

Email address submitted with the comment.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var authorEmail: String?

Email address submitted with the comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-url.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-url.html index c2f47dc..f5942c5 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-url.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author-url.html @@ -1,49 +1,72 @@ + - + authorUrl - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

authorUrl

-
-
- -
-
var authorUrl: String?
+
+
+
+ +
+

authorUrl

-

URL submitted with comment.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var authorUrl: String?

URL submitted with comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author.html index 1d96f47..1141706 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/author.html @@ -1,49 +1,72 @@ + - + author - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

author

-
-
- -
-
var author: String?
+
+
+
+ +
+

author

-

Name submitted with the comment.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var author: String?

Name submitted with the comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-charset.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-charset.html index b5d53eb..64d96fd 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-charset.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-charset.html @@ -1,49 +1,72 @@ + - + blogCharset - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

blogCharset

-
-
- -
-
var blogCharset: String?
+
+
+
+ +
+

blogCharset

-

The character encoding for the form values included in comment parameters, such as UTF-8 or ISO-8859-1

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var blogCharset: String?

The character encoding for the form values included in comment parameters, such as UTF-8 or ISO-8859-1

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-lang.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-lang.html index 1765a53..06d926a 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-lang.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/blog-lang.html @@ -1,49 +1,72 @@ + - + blogLang - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

blogLang

-
-
- -
-
var blogLang: String?
+
+
+
+ +
+

blogLang

-

Indicates the language(s) in use on the blog or site, in ISO 639-1 format, comma-separated.

A site with articles in English and French might use: en, fr_ca

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var blogLang: String?

Indicates the language(s) in use on the blog or site, in ISO 639-1 format, comma-separated.

A site with articles in English and French might use: en, fr_ca

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/content.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/content.html index 1d615e1..8e83eef 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/content.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/content.html @@ -1,49 +1,72 @@ + - + content - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

content

-
-
- -
-
var content: String?
+
+
+
+ +
+

content

-

The content that was submitted.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var content: String?

The content that was submitted.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/date-gmt.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/date-gmt.html index 029be1b..d9685fe 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/date-gmt.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/date-gmt.html @@ -1,49 +1,72 @@ + - + dateGmt - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

dateGmt

-
-
- -
-
var dateGmt: String?
+
+
+
+ +
+

dateGmt

-

The UTC timestamp of the creation of the comment, in ISO 8601 format.

May be omitted if the comment is sent to the API at the time it is created.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var dateGmt: String?

The UTC timestamp of the creation of the comment, in ISO 8601 format.

May be omitted if the comment is sent to the API at the time it is created.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/equals.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/equals.html index 674ea2f..d480f9a 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/equals.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/equals.html @@ -1,49 +1,72 @@ + - + equals - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

equals

-
-
- -
-
open operator override fun equals(other: Any?): Boolean
+
+
+
+ +
+

equals

-

Indicates whether some other object is equal to this one.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is equal to this one.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/hash-code.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/hash-code.html index 9c1e688..cc7ad04 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/hash-code.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/hash-code.html @@ -1,49 +1,72 @@ + - + hashCode - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

hashCode

-
-
- -
-
open override fun hashCode(): Int
+
+
+
+ +
+

hashCode

-

Returns a hash code value for the object.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
open override fun hashCode(): Int

Returns a hash code value for the object.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/index.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/index.html index 8bf5338..75a2bff 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/index.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/index.html @@ -1,393 +1,449 @@ + - + AkismetComment - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+

AkismetComment

+
open class AkismetComment(val userIp: String, val userAgent: String)

A comment to send to Akismet.

Most everything is optional. Performance can drop dramatically if you choose to exclude data points. The more data you send Akismet about each comment, the greater the accuracy. They recommend erring on the side of including too much data.

See the Akismet API for more details.

+
+
+
+
+

Parameters

+
+
userIp

IP address of the comment submitter.

userAgent

User agent string of the web browser submitting the comment.

-
-
-
- -
-

AkismetComment

-
open class AkismetComment(userIp: String, userAgent: String)

A comment to send to Akismet.

Most everything is optional. Performance can drop dramatically if you choose to exclude data points. The more data you send Akismet about each comment, the greater the accuracy. They recommend erring on the side of including too much data.

See the Akismet API for more details.

-
-
-
-
-

Parameters

-
-
userIp

IP address of the comment submitter.

userAgent

User agent string of the web browser submitting the comment.

-
-

Constructors

-
-
-
-
AkismetComment -
Link copied to clipboard
-
-
-
-
fun AkismetComment(request: HttpServletRequest)

Creates a new instance extracting the userIp, userAgent, referrer and serverEnv environment variables from a Servlet request.

-
-
-
-
- -
-
-
AkismetComment -
Link copied to clipboard
-
-
-
-
fun AkismetComment(userIp: String, userAgent: String)

Creates a new instance.

-
-
-
-
-
-

Types

-
-
-
-
Companion -
Link copied to clipboard
-
-
-
- -
-
object Companion
-
-
-
-
-
-
-
-

Functions

-
-
-
-
equals -
Link copied to clipboard
-
-
-
- -
-
open operator override fun equals(other: Any?): Boolean
-
-

Indicates whether some other object is equal to this one.

-
-
-
-
- -
-
-
hashCode -
Link copied to clipboard
-
-
-
- -
-
open override fun hashCode(): Int
-
-

Returns a hash code value for the object.

-
-
-
-
- -
-
-
toJson -
Link copied to clipboard
-
-
-
- -
-
fun toJson(): String
-
-

Returns a JSON representation of the comment.

-
-
-
-
- -
-
-
toString -
Link copied to clipboard
-
-
-
- -
-
open override fun toString(): String
-
-

Returns a JSON representation of the comment.

-
-
-
-
-
-

Properties

-
-
-
-
author -
Link copied to clipboard
-
-
-
-
var author: String?

Name submitted with the comment.

-
-
-
-
- -
-
-
authorEmail -
Link copied to clipboard
-
-
-
-
var authorEmail: String?

Email address submitted with the comment.

-
-
-
-
- -
-
-
authorUrl -
Link copied to clipboard
-
-
-
-
var authorUrl: String?

URL submitted with comment.

-
-
-
-
- -
-
-
blogCharset -
Link copied to clipboard
-
-
-
-
var blogCharset: String?

The character encoding for the form values included in comment parameters, such as UTF-8 or ISO-8859-1

-
-
-
-
- -
-
-
blogLang -
Link copied to clipboard
-
-
-
-
var blogLang: String?

Indicates the language(s) in use on the blog or site, in ISO 639-1 format, comma-separated.

-
-
-
-
- -
-
-
content -
Link copied to clipboard
-
-
-
-
var content: String?

The content that was submitted.

-
-
-
-
- -
-
-
dateGmt -
Link copied to clipboard
-
-
-
-
var dateGmt: String?

The UTC timestamp of the creation of the comment, in ISO 8601 format.

-
-
-
-
- -
-
-
isTest -
Link copied to clipboard
-
-
-
-
var isTest: Boolean = false

This is an optional parameter. You can use it when submitting test queries to Akismet.

-
-
-
-
- -
-
-
permalink -
Link copied to clipboard
-
-
-
-
var permalink: String?

The full permanent URL of the entry the comment was submitted to.

-
-
-
-
- -
-
-
postModifiedGmt -
Link copied to clipboard
-
-
-
-
var postModifiedGmt: String?

The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.

-
-
-
-
- -
-
-
recheckReason -
Link copied to clipboard
-
-
-
-
var recheckReason: String?

If you are sending content to Akismet to be rechecked, such as a post that has been edited or old pending comments that you'd like to recheck, include this parameter with a string describing why the content is being rechecked.

-
-
-
-
- -
-
-
referrer -
Link copied to clipboard
-
-
-
-
var referrer: String?

The content of the referer header should be set here.

-
-
-
-
- -
-
-
serverEnv -
Link copied to clipboard
-
-
-
-
var serverEnv: Map<String, String>

In PHP, there is an array of environmental variables called $_SERVER that contains information about the Web server itself as well as a key/value for every HTTP header sent with the request. This data is highly useful to Akismet.

-
-
-
-
- -
-
-
type -
Link copied to clipboard
-
-
-
-
var type: String?

A string that describes the type of content being sent, such as:

-
-
-
-
- -
-
-
userAgent -
Link copied to clipboard
-
-
-
-
val userAgent: String
-
-
-
-
- -
-
-
userIp -
Link copied to clipboard
-
-
-
-
val userIp: String
-
-
-
-
- -
-
-
userRole -
Link copied to clipboard
-
-
-
-
var userRole: String?

The user role of the user who submitted the comment. This is an optional parameter.

-
-
-
-
-
-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun AkismetComment(request: HttpServletRequest)

Creates a new instance extracting the userIp, userAgent, referrer and serverEnv environment variables from a Servlet request.

- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun AkismetComment(userIp: String, userAgent: String)

Creates a new instance.

+
+
+
+
+
+

Types

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

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is equal to this one.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun hashCode(): Int

Returns a hash code value for the object.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun toJson(): String

Returns a JSON representation of the comment.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open override fun toString(): String

Returns a JSON representation of the comment.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
var author: String?

Name submitted with the comment.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var authorEmail: String?

Email address submitted with the comment.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var authorUrl: String?

URL submitted with comment.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var blogCharset: String?

The character encoding for the form values included in comment parameters, such as UTF-8 or ISO-8859-1

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var blogLang: String?

Indicates the language(s) in use on the blog or site, in ISO 639-1 format, comma-separated.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var content: String?

The content that was submitted.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var dateGmt: String?

The UTC timestamp of the creation of the comment, in ISO 8601 format.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var isTest: Boolean = false

This is an optional parameter. You can use it when submitting test queries to Akismet.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var permalink: String?

The full permanent URL of the entry the comment was submitted to.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var postModifiedGmt: String?

The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var recheckReason: String?

If you are sending content to Akismet to be rechecked, such as a post that has been edited or old pending comments that you'd like to recheck, include this parameter with a string describing why the content is being rechecked.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var referrer: String?

The content of the referer header should be set here.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var serverEnv: Map<String, String>

In PHP, there is an array of environmental variables called $_SERVER that contains information about the Web server itself as well as a key/value for every HTTP header sent with the request. This data is highly useful to Akismet.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var type: String?

A string that describes the type of content being sent, such as:

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val userAgent: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val userIp: String
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var userRole: String?

The user role of the user who submitted the comment. This is an optional parameter.

+
+
+
+
+
+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/is-test.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/is-test.html index ae3219c..b6d5db7 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/is-test.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/is-test.html @@ -1,49 +1,72 @@ + - + isTest - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

isTest

-
-
- -
-
var isTest: Boolean = false
+
+
+
+ +
+

isTest

-

This is an optional parameter. You can use it when submitting test queries to Akismet.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var isTest: Boolean = false

This is an optional parameter. You can use it when submitting test queries to Akismet.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/permalink.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/permalink.html index 4d55750..5c961c6 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/permalink.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/permalink.html @@ -1,49 +1,72 @@ + - + permalink - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

permalink

-
-
- -
-
var permalink: String?
+
+
+
+ +
+

permalink

-

The full permanent URL of the entry the comment was submitted to.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var permalink: String?

The full permanent URL of the entry the comment was submitted to.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/post-modified-gmt.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/post-modified-gmt.html index e6a2ff5..7b5e1ba 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/post-modified-gmt.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/post-modified-gmt.html @@ -1,49 +1,72 @@ + - + postModifiedGmt - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

postModifiedGmt

-
-
- -
-
var postModifiedGmt: String?
+
+
+
+ +
+

postModifiedGmt

-

The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var postModifiedGmt: String?

The UTC timestamp of the publication time for the post, page or thread on which the comment was posted.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/recheck-reason.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/recheck-reason.html index 0158c63..2aab544 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/recheck-reason.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/recheck-reason.html @@ -1,49 +1,72 @@ + - + recheckReason - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

recheckReason

-
-
- -
-
var recheckReason: String?
+
+
+
+ +
+

recheckReason

-

If you are sending content to Akismet to be rechecked, such as a post that has been edited or old pending comments that you'd like to recheck, include this parameter with a string describing why the content is being rechecked.

For example: edit

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var recheckReason: String?

If you are sending content to Akismet to be rechecked, such as a post that has been edited or old pending comments that you'd like to recheck, include this parameter with a string describing why the content is being rechecked.

For example: edit

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/referrer.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/referrer.html index 9e997e1..53557ee 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/referrer.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/referrer.html @@ -1,49 +1,72 @@ + - + referrer - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

referrer

-
-
- -
-
var referrer: String?
+
+
+
+ +
+

referrer

-

The content of the referer header should be set here.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var referrer: String?

The content of the referer header should be set here.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/server-env.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/server-env.html index 3d115f5..47ca63a 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/server-env.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/server-env.html @@ -1,49 +1,72 @@ + - + serverEnv - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

serverEnv

-
-
- -
-
var serverEnv: Map<String, String>
+
+
+
+ +
+

serverEnv

-

In PHP, there is an array of environmental variables called $_SERVER that contains information about the Web server itself as well as a key/value for every HTTP header sent with the request. This data is highly useful to Akismet.

How the submitted content interacts with the server can be very telling, so please include as much of it as possible.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var serverEnv: Map<String, String>

In PHP, there is an array of environmental variables called $_SERVER that contains information about the Web server itself as well as a key/value for every HTTP header sent with the request. This data is highly useful to Akismet.

How the submitted content interacts with the server can be very telling, so please include as much of it as possible.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-json.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-json.html index da8045d..2f4de4d 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-json.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-json.html @@ -1,49 +1,72 @@ + - + toJson - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

toJson

-
-
- -
-
fun toJson(): String
+
+
+
+ +
+

toJson

-

Returns a JSON representation of the comment.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun toJson(): String

Returns a JSON representation of the comment.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-string.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-string.html index 2db08b2..ba030f4 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-string.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/to-string.html @@ -1,49 +1,72 @@ + - + toString - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

toString

-
-
- -
-
open override fun toString(): String
+
+
+
+ +
+

toString

-

Returns a JSON representation of the comment.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
open override fun toString(): String

Returns a JSON representation of the comment.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/type.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/type.html index 225dc17..1b956d7 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/type.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/type.html @@ -1,49 +1,72 @@ + - + type - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

type

-
-
- -
-
var type: String?
+
+
+
+ +
+

type

-

A string that describes the type of content being sent, such as:

You may send a value not listed above if none of them accurately describe your content.

This is further explained here.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var type: String?

A string that describes the type of content being sent, such as:

You may send a value not listed above if none of them accurately describe your content.

This is further explained here.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-agent.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-agent.html index dab7d72..533e450 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-agent.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-agent.html @@ -1,49 +1,72 @@ + - + userAgent - - -
-
- - -
-
-
-
-
-
- -
-

userAgent

-
-
- -
-
val userAgent: String
-
+ + + + + + + + + + + + + + + + + -

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
+
+
+
+
+
+ +
+

userAgent

+
+
val userAgent: String

Parameters

userAgent

User agent string of the web browser submitting the comment.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-ip.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-ip.html index 9260b65..dbb166d 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-ip.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-ip.html @@ -1,49 +1,72 @@ + - + userIp - - -
-
- - -
-
-
-
-
-
- -
-

userIp

-
-
- -
-
val userIp: String
-
+ + + + + + + + + + + + + + + + + -

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
+
+
+
+
+
+ +
+

userIp

+
+
val userIp: String

Parameters

userIp

IP address of the comment submitter.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-role.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-role.html index 02846d1..ad7c55f 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-role.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet-comment/user-role.html @@ -1,49 +1,72 @@ + - + userRole - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

userRole

-
-
- -
-
var userRole: String?
+
+
+
+ +
+

userRole

-

The user role of the user who submitted the comment. This is an optional parameter.

If you set it to ADMIN_ROLE, Akismet will always return false.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var userRole: String?

The user role of the user who submitted the comment. This is an optional parameter.

If you set it to ADMIN_ROLE, Akismet will always return false.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-akismet.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-akismet.html index 06dfcb3..0b38cc7 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-akismet.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-akismet.html @@ -1,44 +1,83 @@ + - + Akismet - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

Akismet

-
-
- -
-
fun Akismet(apiKey: String, blog: String)
+
+
+
+ +
+

Akismet

-

Creates a new instance using an Akismet API key and URL registered with Akismet.

-
- -
-
fun Akismet(apiKey: String)
-
-

Creates a new instance using the provided Akismet API key.

-
- +
fun Akismet(apiKey: String, blog: String)

Creates a new instance using an Akismet API key and URL registered with Akismet.


fun Akismet(apiKey: String)

Creates a new instance using the provided Akismet API key.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/date-to-gmt.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/date-to-gmt.html index 8a7dcd5..2514795 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/date-to-gmt.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/date-to-gmt.html @@ -1,44 +1,83 @@ + - + dateToGmt - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

dateToGmt

-
-
- -
-
fun dateToGmt(date: Date): String
+
+
+
+ +
+

dateToGmt

-

Converts a date to a UTC timestamp. (ISO 8601)

See also

-
- -
-
fun dateToGmt(date: LocalDateTime): String
-
-

Converts a locale date/time to a UTC timestamp. (ISO 8601)

See also

-
- +
fun dateToGmt(date: Date): String

Converts a date to a UTC timestamp. (ISO 8601)

See also


fun dateToGmt(date: LocalDateTime): String

Converts a locale date/time to a UTC timestamp. (ISO 8601)

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
+
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/index.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/index.html index cd515e8..dd1cb0f 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/index.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/index.html @@ -1,91 +1,109 @@ + - + Companion - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

Companion

-
object Companion
-
-
-
-
-

Functions

-
-
-
-
dateToGmt -
Link copied to clipboard
-
-
-
- -
-
fun dateToGmt(date: LocalDateTime): String
+
+
+
+ +
+

Companion

+
object Companion
-

Converts a locale date/time to a UTC timestamp. (ISO 8601)

-
- -
-
fun dateToGmt(date: Date): String
-
-

Converts a date to a UTC timestamp. (ISO 8601)

-
-
-
-
- -
-
-
jsonComment -
Link copied to clipboard
-
-
-
- -
-
fun jsonComment(json: String): AkismetComment
-
-

(Re)Creates a comment from a JSON string.

-
-
-
-
-
-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun dateToGmt(date: LocalDateTime): String

Converts a locale date/time to a UTC timestamp. (ISO 8601)

fun dateToGmt(date: Date): String

Converts a date to a UTC timestamp. (ISO 8601)

- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun jsonComment(json: String): AkismetComment

(Re)Creates a comment from a JSON string.

+
+
+
+
+
+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/json-comment.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/json-comment.html index c302770..14c86ef 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/json-comment.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/-companion/json-comment.html @@ -1,49 +1,72 @@ + - + jsonComment - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

jsonComment

-
-
- -
-
fun jsonComment(json: String): AkismetComment
+
+
+
+ +
+

jsonComment

-

(Re)Creates a comment from a JSON string.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun jsonComment(json: String): AkismetComment

(Re)Creates a comment from a JSON string.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/app-user-agent.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/app-user-agent.html index c865342..a2628e5 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/app-user-agent.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/app-user-agent.html @@ -1,49 +1,72 @@ + - + appUserAgent - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

appUserAgent

-
-
- -
-
var appUserAgent: String
+
+
+
+ +
+

appUserAgent

-

The application user agent to be sent to Akismet.

If possible, the application user agent string should always use the following format:

    Application Name/Version

The library's own user agent string will automatically be appended.

See the Akismet API for more details.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var appUserAgent: String

The application user agent to be sent to Akismet.

If possible, the application user agent string should always use the following format:

    Application Name/Version

The library's own user agent string will automatically be appended.

See the Akismet API for more details.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/blog.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/blog.html index 3eb849c..d893443 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/blog.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/blog.html @@ -1,49 +1,72 @@ + - + blog - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

blog

-
-
- -
-
var blog: String
+
+
+
+ +
+

blog

-

The URL registered with Akismet.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
var blog: String

The URL registered with Akismet.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/check-comment.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/check-comment.html index 30c7cec..c8fe423 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/check-comment.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/check-comment.html @@ -1,49 +1,72 @@ + - + checkComment - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

checkComment

-
-
- -
-
fun checkComment(comment: AkismetComment, trueOnError: Boolean = false): Boolean
+
+
+
+ +
+

checkComment

-

Comment Check.

This is the call you will make the most. It takes a number of arguments and characteristics about the submitted content and then returns a thumbs up or thumbs down. Performance can drop dramatically if you choose to exclude data points. The more data you send Akismet about each comment, the greater the accuracy. They recommend erring on the side of including too much data

By default, if an error (IO, empty response from Akismet, etc.) occurs the function will return false and log the error, use the trueOnError parameter to change this behavior.

See the Akismet API for more details.

Return

true if the comment is spam, false if the comment is not.

Parameters

trueOnError

Set to return true on error.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun checkComment(comment: AkismetComment, trueOnError: Boolean = false): Boolean

Comment Check.

This is the call you will make the most. It takes a number of arguments and characteristics about the submitted content and then returns a thumbs up or thumbs down. Performance can drop dramatically if you choose to exclude data points. The more data you send Akismet about each comment, the greater the accuracy. They recommend erring on the side of including too much data

By default, if an error (IO, empty response from Akismet, etc.) occurs the function will return false and log the error, use the trueOnError parameter to change this behavior.

See the Akismet API for more details.

Return

true if the comment is spam, false if the comment is not.

Parameters

trueOnError

Set to return true on error.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/debug-help.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/debug-help.html index eccf180..e3f8f0d 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/debug-help.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/debug-help.html @@ -1,49 +1,72 @@ + - + debugHelp - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

debugHelp

-
-
- -
-
var debugHelp: String
+
+
+
+ +
+

debugHelp

-

The x-akismet-debug-help header from the last operation, if any.

If the call returns neither true nor false, the x-akismet-debug-help header will provide context for any error that has occurred.

Note that the x-akismet-debug-help header will not always be sent if a response does not return false or true.

See the Akismet API for more details.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val debugHelp: String

The x-akismet-debug-help header from the last operation, if any.

If the call returns neither true nor false, the x-akismet-debug-help header will provide context for any error that has occurred.

Note that the x-akismet-debug-help header will not always be sent if a response does not return false or true.

See the Akismet API for more details.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/error-message.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/error-message.html index ca83524..2ac2760 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/error-message.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/error-message.html @@ -1,49 +1,72 @@ + - + errorMessage - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

errorMessage

-
-
- -
-
var errorMessage: String
+
+
+
+ +
+

errorMessage

-

The error message.

The error (IO, empty response from Akismet, etc.) message is also logged as a warning.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val errorMessage: String

The error message.

The error (IO, empty response from Akismet, etc.) message is also logged as a warning.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html index 12ce16d..5ac249f 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html @@ -1,49 +1,72 @@ + - + executeMethod - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

executeMethod

-
-
- -
-
fun executeMethod(apiUrl: HttpUrl?, formBody: FormBody, trueOnError: Boolean = false): Boolean
+
+
+
+ +
+

executeMethod

-

Executes a call to an Akismet REST API method.

Parameters

apiUrl

The Akismet API URL endpoint. (e.g. https://rest.akismet.com/1.1/verify-key)

formBody

The HTTP POST form body containing the request parameters to be submitted.

trueOnError

Set to return true on error (IO, empty response, etc.)

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun executeMethod(    apiUrl: HttpUrl,     formBody: FormBody,     trueOnError: Boolean = false): Boolean

Executes a call to an Akismet REST API method.

Parameters

apiUrl

The Akismet API URL endpoint. (e.g. https://rest.akismet.com/1.1/verify-key)

formBody

The HTTP POST form body containing the request parameters to be submitted.

trueOnError

Set to return true on error (IO, empty response, etc.)

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/http-status-code.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/http-status-code.html index 2edad22..f3e7061 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/http-status-code.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/http-status-code.html @@ -1,49 +1,72 @@ + - + httpStatusCode - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

httpStatusCode

-
-
- -
-
var httpStatusCode: Int = 0
+
+
+
+ +
+

httpStatusCode

-

The HTTP status code of the last operation.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val httpStatusCode: Int = 0

The HTTP status code of the last operation.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/index.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/index.html index 1697719..d1edba0 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/index.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/index.html @@ -1,332 +1,370 @@ + - + Akismet - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

Akismet

-
open class Akismet(apiKey: String)

Provides access to the Akismet API.

-
-
-
-
-

Constructors

-
-
-
-
Akismet -
Link copied to clipboard
-
-
-
-
fun Akismet(apiKey: String, blog: String)

Creates a new instance using an Akismet API key and URL registered with Akismet.

-
-
-
-
- -
-
-
Akismet -
Link copied to clipboard
-
-
-
-
fun Akismet(apiKey: String)

Creates a new instance using the provided Akismet API key.

-
-
-
-
-
-

Types

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

Akismet

+
open class Akismet(apiKey: String)

Provides access to the Akismet API.

-
-
-
-
-
-
-

Functions

-
-
-
-
checkComment -
Link copied to clipboard
-
-
-
- -
-
fun checkComment(comment: AkismetComment, trueOnError: Boolean = false): Boolean
-
-

Comment Check.

-
-
-
-
- -
-
-
executeMethod -
Link copied to clipboard
-
-
-
- -
-
fun executeMethod(apiUrl: HttpUrl?, formBody: FormBody, trueOnError: Boolean = false): Boolean
-
-

Executes a call to an Akismet REST API method.

-
-
-
-
- -
-
-
reset -
Link copied to clipboard
-
-
-
- -
-
fun reset()
-
-
-
-
-
-
- -
-
-
submitHam -
Link copied to clipboard
-
-
-
- -
-
fun submitHam(comment: AkismetComment): Boolean
-
-

Submit Ham. (False Positives)

-
-
-
-
- -
-
-
submitSpam -
Link copied to clipboard
-
-
-
- -
-
fun submitSpam(comment: AkismetComment): Boolean
-
-

Submit Spam. (Missed Spam)

-
-
-
-
- -
-
-
verifyKey -
Link copied to clipboard
-
-
-
- -
-
fun verifyKey(): Boolean
-
-

Key Verification.

-
-
-
-
-
-

Properties

-
-
-
-
appUserAgent -
Link copied to clipboard
-
-
-
-
var appUserAgent: String

The application user agent to be sent to Akismet.

-
-
-
-
- -
-
-
blog -
Link copied to clipboard
-
-
-
-
var blog: String

The URL registered with Akismet.

-
-
-
-
- -
-
-
debugHelp -
Link copied to clipboard
-
-
-
-
var debugHelp: String

The x-akismet-debug-help header from the last operation, if any.

-
-
-
-
- -
-
-
errorMessage -
Link copied to clipboard
-
-
-
-
var errorMessage: String

The error message.

-
-
-
-
- -
-
-
httpStatusCode -
Link copied to clipboard
-
-
-
-
var httpStatusCode: Int = 0

The HTTP status code of the last operation.

-
-
-
-
- -
-
-
isDiscard -
Link copied to clipboard
-
-
-
-
var isDiscard: Boolean = false

Set to true if Akismet has determined that the last checked comment is blatant spam, and you can safely discard it without saving it in any spam queue.

-
-
-
-
- -
-
-
isVerifiedKey -
Link copied to clipboard
-
-
-
-
var isVerifiedKey: Boolean = false

Set to true if the API Key has been verified.

-
-
-
-
- -
-
-
logger -
Link copied to clipboard
-
-
-
-
val logger: Logger

The logger instance.

-
-
-
-
- -
-
-
proTip -
Link copied to clipboard
-
-
-
-
var proTip: String

The x-akismet-pro-tip header from the last operation, if any.

-
-
-
-
- -
-
-
response -
Link copied to clipboard
-
-
-
-
var response: String

The actual response sent by Akismet from the last operation.

-
-
-
-
-
-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
+
+
+
+

Constructors

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Akismet(apiKey: String, blog: String)

Creates a new instance using an Akismet API key and URL registered with Akismet.

- + +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun Akismet(apiKey: String)

Creates a new instance using the provided Akismet API key.

+
+
+
+
+
+

Types

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

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun checkComment(comment: AkismetComment, trueOnError: Boolean = false): Boolean

Comment Check.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun executeMethod(    apiUrl: HttpUrl,     formBody: FormBody,     trueOnError: Boolean = false): Boolean

Executes a call to an Akismet REST API method.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun reset()
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun submitHam(comment: AkismetComment): Boolean

Submit Ham. (False Positives)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun submitSpam(comment: AkismetComment): Boolean

Submit Spam. (Missed Spam)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun verifyKey(): Boolean

Key Verification.

+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
var appUserAgent: String

The application user agent to be sent to Akismet.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
var blog: String

The URL registered with Akismet.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val debugHelp: String

The x-akismet-debug-help header from the last operation, if any.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val errorMessage: String

The error message.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val httpStatusCode: Int = 0

The HTTP status code of the last operation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isDiscard: Boolean = false

Set to true if Akismet has determined that the last checked comment is blatant spam, and you can safely discard it without saving it in any spam queue.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val isVerifiedKey: Boolean = false

Set to true if the API Key has been verified.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val logger: Logger

The logger instance.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val proTip: String

The x-akismet-pro-tip header from the last operation, if any.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
val response: String

The actual response sent by Akismet from the last operation.

+
+
+
+
+
+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-discard.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-discard.html index ae46a18..ef951e1 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-discard.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-discard.html @@ -1,49 +1,72 @@ + - + isDiscard - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

isDiscard

-
-
- -
-
var isDiscard: Boolean = false
+
+
+
+ +
+

isDiscard

-

Set to true if Akismet has determined that the last checked comment is blatant spam, and you can safely discard it without saving it in any spam queue.

See the Akismet API for more details.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val isDiscard: Boolean = false

Set to true if Akismet has determined that the last checked comment is blatant spam, and you can safely discard it without saving it in any spam queue.

See the Akismet API for more details.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-verified-key.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-verified-key.html index 3ec9f01..e82c396 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-verified-key.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-verified-key.html @@ -1,49 +1,72 @@ + - + isVerifiedKey - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

isVerifiedKey

-
-
- -
-
var isVerifiedKey: Boolean = false
+
+
+
+ +
+

isVerifiedKey

-

Set to true if the API Key has been verified.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val isVerifiedKey: Boolean = false

Set to true if the API Key has been verified.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/logger.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/logger.html index fa461b8..dc59a50 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/logger.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/logger.html @@ -1,49 +1,72 @@ + - + logger - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

logger

-
-
- -
-
val logger: Logger
+
+
+
+ +
+

logger

-

The logger instance.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val logger: Logger

The logger instance.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/pro-tip.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/pro-tip.html index 9d5a38b..21daa97 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/pro-tip.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/pro-tip.html @@ -1,49 +1,72 @@ + - + proTip - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

proTip

-
-
- -
-
var proTip: String
+
+
+
+ +
+

proTip

-

The x-akismet-pro-tip header from the last operation, if any.

If the x-akismet-pro-tip header is set to discard, then Akismet has determined that the comment is blatant spam, and you can safely discard it without saving it in any spam queue.

See the Akismet API for more details.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val proTip: String

The x-akismet-pro-tip header from the last operation, if any.

If the x-akismet-pro-tip header is set to discard, then Akismet has determined that the comment is blatant spam, and you can safely discard it without saving it in any spam queue.

See the Akismet API for more details.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/reset.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/reset.html index e3b65cb..a55b96c 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/reset.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/reset.html @@ -1,49 +1,72 @@ + - + reset - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

reset

-
-
- -
-
fun reset()
+
+
+
+ +
+

reset

-

Resets the debugHelp, errorMessage, httpStatusCode, isDiscard, isVerifiedKey, proTip, and response properties.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun reset()

Resets the debugHelp, errorMessage, httpStatusCode, isDiscard, isVerifiedKey, proTip, and response properties.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/response.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/response.html index 43e7468..4c1fbd5 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/response.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/response.html @@ -1,49 +1,72 @@ + - + response - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

response

-
-
- -
-
var response: String
+
+
+
+ +
+

response

-

The actual response sent by Akismet from the last operation.

For example: true, false, valid, invalid, etc.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
val response: String

The actual response sent by Akismet from the last operation.

For example: true, false, valid, invalid, etc.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-ham.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-ham.html index f3bb33c..7da153c 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-ham.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-ham.html @@ -1,49 +1,72 @@ + - + submitHam - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

submitHam

-
-
- -
-
fun submitHam(comment: AkismetComment): Boolean
+
+
+
+ +
+

submitHam

-

Submit Ham. (False Positives)

This call is intended for the submission of false positives - items that were incorrectly classified as spam by Akismet. It takes identical arguments as comment check and submit spam.

It is very important that the values you submit with this call match those of your comment check calls as closely as possible. In order to learn from its mistakes, Akismet needs to match your missed spam and false positive reports to the original comment-check API calls made when the content was first posted. While it is normal for less information to be available for submit-spam and submit-ham calls (most comment systems and forums will not store all metadata), you should ensure that the values that you do send match those of the original content.

See the Akismet API for more details.

Return

true if the comment was submitted, false otherwise.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun submitHam(comment: AkismetComment): Boolean

Submit Ham. (False Positives)

This call is intended for the submission of false positives - items that were incorrectly classified as spam by Akismet. It takes identical arguments as comment check and submit spam.

It is very important that the values you submit with this call match those of your comment check calls as closely as possible. In order to learn from its mistakes, Akismet needs to match your missed spam and false positive reports to the original comment-check API calls made when the content was first posted. While it is normal for less information to be available for submit-spam and submit-ham calls (most comment systems and forums will not store all metadata), you should ensure that the values that you do send match those of the original content.

See the Akismet API for more details.

Return

true if the comment was submitted, false otherwise.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-spam.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-spam.html index 54ebbec..3254a25 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-spam.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/submit-spam.html @@ -1,49 +1,72 @@ + - + submitSpam - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

submitSpam

-
-
- -
-
fun submitSpam(comment: AkismetComment): Boolean
+
+
+
+ +
+

submitSpam

-

Submit Spam. (Missed Spam)

This call is for submitting comments that weren't marked as spam but should have been.

It is very important that the values you submit with this call match those of your comment check calls as closely as possible. In order to learn from its mistakes, Akismet needs to match your missed spam and false positive reports to the original comment-check API calls made when the content was first posted. While it is normal for less information to be available for submit-spam and submit-ham calls (most comment systems and forums will not store all metadata), you should ensure that the values that you do send match those of the original content.

See the Akismet API for more details.

Return

true if the comment was submitted, false otherwise.

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun submitSpam(comment: AkismetComment): Boolean

Submit Spam. (Missed Spam)

This call is for submitting comments that weren't marked as spam but should have been.

It is very important that the values you submit with this call match those of your comment check calls as closely as possible. In order to learn from its mistakes, Akismet needs to match your missed spam and false positive reports to the original comment-check API calls made when the content was first posted. While it is normal for less information to be available for submit-spam and submit-ham calls (most comment systems and forums will not store all metadata), you should ensure that the values that you do send match those of the original content.

See the Akismet API for more details.

Return

true if the comment was submitted, false otherwise.

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/verify-key.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/verify-key.html index b52e2cf..3d7b1db 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/verify-key.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/-akismet/verify-key.html @@ -1,49 +1,72 @@ + - + verifyKey - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

verifyKey

-
-
- -
-
fun verifyKey(): Boolean
+
+
+
+ +
+

verifyKey

-

Key Verification.

Key verification authenticates your key before calling the comment check, submit spam, or submit ham methods. This is the first call that you should make to Akismet and is especially useful if you will have multiple users with their own Akismet subscriptions using your application.

See the Akismet API for more details.

Return

true if the key is valid, false otherwise.

See also

-

Sources

-
-
-
-
jvm source -
Link copied to clipboard
-
-
-
-
-
-
- +
fun verifyKey(): Boolean

Key Verification.

Key verification authenticates your key before calling the comment check, submit spam, or submit ham methods. This is the first call that you should make to Akismet and is especially useful if you will have multiple users with their own Akismet subscriptions using your application.

See the Akismet API for more details.

Return

true if the key is valid, false otherwise.

See also

+

Sources

+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/net.thauvin.erik.akismet/index.html b/docs/akismet-kotlin/net.thauvin.erik.akismet/index.html index 7bdc2c9..81496b5 100644 --- a/docs/akismet-kotlin/net.thauvin.erik.akismet/index.html +++ b/docs/akismet-kotlin/net.thauvin.erik.akismet/index.html @@ -1,73 +1,95 @@ + - + net.thauvin.erik.akismet - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

Package net.thauvin.erik.akismet

-
-
-
-
-

Types

-
-
-
-
Akismet -
Link copied to clipboard
-
-
-
- -
-
open class Akismet(apiKey: String)
+
+
+
+ +
+

Package net.thauvin.erik.akismet

-

Provides access to the Akismet API.

-
-
-
-
- -
-
-
AkismetComment -
Link copied to clipboard
-
-
-
- -
-
open class AkismetComment(userIp: String, userAgent: String)
-
-

A comment to send to Akismet.

-
-
-
-
+
+
+
+

Types

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class Akismet(apiKey: String)

Provides access to the Akismet API.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
open class AkismetComment(val userIp: String, val userAgent: String)

A comment to send to Akismet.

-
- +
+
+ +
+
+ - diff --git a/docs/akismet-kotlin/package-list b/docs/akismet-kotlin/package-list index 342db5c..98e7476 100644 --- a/docs/akismet-kotlin/package-list +++ b/docs/akismet-kotlin/package-list @@ -13,7 +13,7 @@ $dokka.location:net.thauvin.erik.akismet/Akismet/blog/#/PointingToDeclaration/a $dokka.location:net.thauvin.erik.akismet/Akismet/checkComment/#net.thauvin.erik.akismet.AkismetComment#kotlin.Boolean/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/check-comment.html $dokka.location:net.thauvin.erik.akismet/Akismet/debugHelp/#/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/debug-help.html $dokka.location:net.thauvin.erik.akismet/Akismet/errorMessage/#/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/error-message.html -$dokka.location:net.thauvin.erik.akismet/Akismet/executeMethod/#okhttp3.HttpUrl?#okhttp3.FormBody#kotlin.Boolean/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html +$dokka.location:net.thauvin.erik.akismet/Akismet/executeMethod/#okhttp3.HttpUrl#okhttp3.FormBody#kotlin.Boolean/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/execute-method.html $dokka.location:net.thauvin.erik.akismet/Akismet/httpStatusCode/#/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/http-status-code.html $dokka.location:net.thauvin.erik.akismet/Akismet/isDiscard/#/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-discard.html $dokka.location:net.thauvin.erik.akismet/Akismet/isVerifiedKey/#/PointingToDeclaration/akismet-kotlin/net.thauvin.erik.akismet/-akismet/is-verified-key.html diff --git a/docs/images/arrow_down.svg b/docs/images/arrow_down.svg index 89e7df4..c0388de 100644 --- a/docs/images/arrow_down.svg +++ b/docs/images/arrow_down.svg @@ -1,3 +1,3 @@ - - - + + + \ No newline at end of file diff --git a/docs/images/logo-icon.svg b/docs/images/logo-icon.svg index 1b3b367..1fea087 100644 --- a/docs/images/logo-icon.svg +++ b/docs/images/logo-icon.svg @@ -1,3 +1,10 @@ - - - + + + + + + + + + + \ No newline at end of file diff --git a/docs/images/theme-toggle.svg b/docs/images/theme-toggle.svg new file mode 100644 index 0000000..2a8d750 --- /dev/null +++ b/docs/images/theme-toggle.svg @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 6c33ada..2c973e1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,47 +1,75 @@ + - + akismet-kotlin - - -
-
- - -
+ + + + + + + + + + + + + + + + + +
+
-
-
-
-
- -
-

akismet-kotlin

-

Akismet for Kotlin/Java, a client library for accessing the Automattic Kismet (Akismet) spam comments filtering service.

package net.thauvin.erik.akismet

A Kotlin/Java library for accessing the Akismet service.

-
-

Packages

-
-
-
-
-
net.thauvin.erik.akismet -
Link copied to clipboard
-
-
-
-
-
-
-
+
+
+
+ +
+

akismet-kotlin

+

Akismet for Kotlin/Java, a client library for accessing the Automattic Kismet (Akismet) spam comments filtering service.

package net.thauvin.erik.akismet

A Kotlin/Java library for accessing the Akismet service.

+
+

Packages

+
+
+
+
+
+ + +
Link copied to clipboard
+
+
- +
- +
+
+ +
+
+ - diff --git a/docs/navigation.html b/docs/navigation.html index 2893226..7c46138 100644 --- a/docs/navigation.html +++ b/docs/navigation.html @@ -1,7 +1,7 @@
- +
- + diff --git a/docs/scripts/main.js b/docs/scripts/main.js index b9637fa..b3ee88c 100644 --- a/docs/scripts/main.js +++ b/docs/scripts/main.js @@ -1,9 +1,9 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=390)}([function(e,t,n){e.exports=n(264)()},function(e,t,n){"use strict";e.exports=n(239)},function(e,t,n){var r; +(()=>{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) 2017 Jed Watson. + Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;to;)Q(e,n=r[o++],t[n]);return e},X=function(e){var t=F.call(this,e=x(e,!0));return!(this===W&&o(H,e)&&!o(U,e))&&(!(t||!o(this,e)||!o(H,e)||o(this,A)&&this[A][e])||t)},J=function(e,t){if(e=w(e),t=x(t,!0),e!==W||!o(H,t)||o(U,t)){var n=I(e,t);return!n||!o(H,t)||o(e,A)&&e[A][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=z(w(e)),r=[],i=0;n.length>i;)o(H,t=n[i++])||t==A||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===W,r=z(n?U:w(e)),i=[],a=0;r.length>a;)!o(H,t=r[a++])||n&&!o(W,t)||i.push(H[t]);return i};B||(l((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===W&&t.call(U,n),o(this,A)&&o(this[A],e)&&(this[A][e]=!1),K(this,e,S(1,n))};return i&&G&&K(W,e,{configurable:!0,set:t}),q(e)}).prototype,"toString",(function(){return this._k})),E.f=J,C.f=Q,n(114).f=O.f=Z,n(95).f=X,T.f=ee,i&&!n(111)&&l(W,"propertyIsEnumerable",X,!0),h.f=function(e){return q(d(e))}),a(a.G+a.W+a.F*!B,{Symbol:R});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=P(d.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=R(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):Y(k(e),t)},defineProperty:Q,defineProperties:Y,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee});var ie=u((function(){T.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),M&&a(a.S+a.F*(!B||u((function(){var e=R();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!$(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,N.apply(M,r)}}),R.prototype[L]||n(59)(R.prototype,L,R.prototype.valueOf),f(R,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(10);r(r.S+r.F*!n(30),"Object",{defineProperty:n(39).f})},function(e,t,n){"use strict";n(257);var r=n(27),o=n(135),i=n(30),a=/./.toString,l=function(e){n(42)(RegExp.prototype,"toString",e,!0)};n(31)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?l((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&l((function(){return a.call(this)}))},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(42)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){n(182)("asyncIterator")},function(e,t,n){var r=n(32),o=n(79),i=n(59),a=n(42),l=n(80),c=function(e,t,n){var u,s,f,p,d=e&c.F,h=e&c.G,v=e&c.S,g=e&c.P,m=e&c.B,y=h?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),_=b.prototype||(b.prototype={});for(u in h&&(n=t),n)f=((s=!d&&y&&void 0!==y[u])?y:n)[u],p=m&&s?l(f,r):g&&"function"==typeof f?l(Function.call,f):f,y&&a(y,u,f,e&c.U),b[u]!=f&&i(b,u,p),g&&_[u]!=f&&(_[u]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){for(var r=n(12),o=n(69),i=n(42),a=n(32),l=n(59),c=n(96),u=n(25),s=u("iterator"),f=u("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(10);r(r.S,"Object",{create:n(83)})},function(e,t,n){var r=n(10),o=n(83),i=n(81),a=n(27),l=n(29),c=n(31),u=n(184),s=(n(32).Reflect||{}).construct,f=c((function(){function e(){}return!(s((function(){}),[],e)instanceof e)})),p=!c((function(){s((function(){}))}));r(r.S+r.F*(f||p),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return s(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var c=n.prototype,d=o(l(c)?c:Object.prototype),h=Function.apply.call(e,d,t);return l(h)?h:d}})},function(e,t,n){var r=n(10);r(r.S,"Object",{setPrototypeOf:n(180).set})},function(e,t,n){var r=n(54),o=n(69);n(252)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){"use strict";var r=n(10),o=n(130)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(71)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(26),o=n(266);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){var r=n(10);r(r.S+r.F,"Object",{assign:n(185)})},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,l,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(35),o=n(28),i=n(98),a=n(73),l=n(74),c=function(e,t,n){var u,s,f,p=e&c.F,d=e&c.G,h=e&c.S,v=e&c.P,g=e&c.B,m=e&c.W,y=d?o:o[t]||(o[t]={}),b=y.prototype,_=d?r:h?r[t]:(r[t]||{}).prototype;for(u in d&&(n=t),n)(s=!p&&_&&void 0!==_[u])&&l(y,u)||(f=s?_[u]:n[u],y[u]=d&&"function"!=typeof _[u]?n[u]:g&&s?i(f,r):m&&_[u]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((y.virtual||(y.virtual={}))[u]=f,e&c.R&&b&&!b[u]&&a(b,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t,n){var r=n(26),o=n(332);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){var r=n(113),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(10),o=n(62)(1);r(r.P+r.F*!n(71)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(64);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(85)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var r=n(80),o=n(10),i=n(54),a=n(189),l=n(190),c=n(53),u=n(174),s=n(191);o(o.S+o.F*!n(192)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=0,y=s(p);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),null==y||d==Array&&l(y))for(n=new d(t=c(p.length));t>m;m++)u(n,m,g?v(p[m],m):p[m]);else for(f=y.call(p),n=new d;!(o=f.next()).done;m++)u(n,m,g?a(f,v,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(39),o=n(91);e.exports=n(30)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(112),o=n(70);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r=n(10),o=n(62)(0),i=n(71)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(80),o=n(112),i=n(54),a=n(53),l=n(259);e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,s=4==e,f=6==e,p=5==e||f,d=t||l;return function(t,l,h){for(var v,g,m=i(t),y=o(m),b=r(l,h,3),_=a(y.length),w=0,x=n?d(t,_):c?d(t,0):void 0;_>w;w++)if((p||w in y)&&(g=b(v=y[w],w,m),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(s)return!1;return f?-1:u||s?s:x}}},function(e,t,n){var r=n(56),o=n(200),i=n(147),a=Object.defineProperty;t.f=n(57)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports={default:n(282),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(304)),o=a(n(308)),i=a(n(205));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){var r=n(26),o=n(335);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){var r=n(26),o=n(376);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i={insert:"head",singleton:!1};r(o,i);e.exports=o.locals||{}},function(e,t,n){var r=n(173),o=n(132);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(31);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){"use strict";var r=n(27),o=n(54),i=n(53),a=n(113),l=n(138),c=n(139),u=Math.max,s=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(140)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var f=r(e),p=String(this),d="function"==typeof t;d||(t=String(t));var g=f.global;if(g){var m=f.unicode;f.lastIndex=0}for(var y=[];;){var b=c(f,p);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(f.lastIndex=l(p,i(f.lastIndex),m))}for(var _,w="",x=0,S=0;S=x&&(w+=p.slice(x,O)+I,x=O+k.length)}return w+p.slice(x)}];function v(e,t,r,i,a,l){var c=r+e.length,u=i.length,s=d;return void 0!==a&&(a=o(a),s=p),n.call(l,s,(function(n,o){var l;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":l=a[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>u){var p=f(s/10);return 0===p?n:p<=u?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}l=i[s-1]}return void 0===l?"":l}))}}))},function(e,t,n){var r=n(63),o=n(121);e.exports=n(57)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(202),o=n(148);e.exports=function(e){return r(o(e))}},function(e,t,n){(function(e,r){var o; +*/!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"